Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dimitrovvlado/o11n-plugin-redis
Redis plug-in for vRealize Orchestrator
https://github.com/dimitrovvlado/o11n-plugin-redis
redis vrealize-orchestrator vro
Last synced: 2 months ago
JSON representation
Redis plug-in for vRealize Orchestrator
- Host: GitHub
- URL: https://github.com/dimitrovvlado/o11n-plugin-redis
- Owner: dimitrovvlado
- License: gpl-3.0
- Created: 2016-02-11T16:32:03.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-29T13:40:38.000Z (over 8 years ago)
- Last Synced: 2024-01-18T12:05:41.435Z (about 1 year ago)
- Topics: redis, vrealize-orchestrator, vro
- Language: Java
- Homepage:
- Size: 8.28 MB
- Stars: 5
- Watchers: 6
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Redis plug-in for vRealize Orchestrator
The Redis plug-in for vRealize Orchestrator is a a plug-in which provides integration capabilities with multiple [Redis](http://redis.io/) instances.
Plug-in features:
* Operations with hashes, lists, sets, sorted sets, geo locations
* Operations for scripting with Lua
* Cluster configurations are currently not supported### Plugin download
[o11nplugin-redis-1.0.0.vmoapp](https://github.com/dimitrovvlado/o11n-plugin-redis/blob/master/dist/o11nplugin-redis.vmoapp?raw=true)### Supported platform version
The Redis plug-in supports vRO 6.0 and later.### Sample scripting
#####Basic operations
```javascript
//Store a simple key-value in redis
var statusCode = connection.defaultDatabase.set("test-key", "test-value");
//Retrieve value
var value = connection.defaultDatabase.get("test-key");
```#####Scripting
```javascript
var script = "return {KEYS[1],KEYS[2],ARGV[1],ARGV[2]}";
//Evaluate script
var result = connection.defaultDatabase.eval(script, ["key1", "key2"], ["arg1", "arg2"]);
//Load and evaluate script by sha
var sha = connection.defaultDatabase.scriptLoad(script);
result = connection.defaultDatabase.evalsha(sha, ["key1", "key2"], ["arg1", "arg2"]);
```### Dependencies
The Redis plug-in for vRO uses the following third-party libraries:
* [Jedis](https://github.com/xetorthio/jedis) - a java-based Redis client.
* [Google Guava](https://github.com/google/guava) - core libraries for Java-based projects, distributed under the Apache License, Version 2.0
* [Apache Commons Pool](https://commons.apache.org/proper/commons-pool/download_pool.cgi) - a library for object pooling