A smart web management for configuration-center.
(hades-node-client: https://github.com/vernonzheng/hades-node-client)
forked from zk-web as prototype.
Latest Version 1.0.0-beta.
Jdk6+
Leiningen:http://leiningen.org/
git clone https://github.com/vernonzheng/hades-web
cd hades-web
lein deps # run this if you're using lein 1.x
lein run
lein uberjar
cd target
jar -jar hades-web-x.x.x-standalone.jar
Default Admin Role/Password: admin/hades
Language Change: en/zh (replace i18n.clj/language by zh/en)
You could use this feature to create a new group or project from a exists node.
Check all hades client status by comparing their memory data versions to zookeeper data versions.
For an example:
http://127.0.0.1:9011/data?node-path=/hades/configs/main/ad/log&inner-level=root/loggers
Parameters:
-
node-path: node path in zookeeper
-
inner-level: inner level in node data(data must be a JSON string), levels split by '/'.
Return:
JSON data as string
For an example:
http://127.0.0.1:9011/data-ls?node-path=/hades/configs/main/ad
Parameters:
- node-path: node path in zookeeper
Return:
JSON data as Array
Use feature 'export' to download a zip file, and it generate a backup file automatically.
Node backup for '/hades/configs/main/ad' runs as a task everyday. See task.clj.
Operation will be record both in memory and operation-{date}-log file.
Memory log only store latest 100 records and support to be read online. See log.clj