hedisdb / hedis

Hedis can retrieve data from **ANY** database directly via Redis
http://hedis.io
BSD 3-Clause "New" or "Revised" License
98 stars 7 forks source link

Environment variables support to configuration file #12

Closed kewang closed 9 years ago

kewang commented 9 years ago

Like below

cdh1:
  type: hbase
  zookeeper: localhost:2181
  env: # Environment variables
    CLASSPATH: $CLASSPATH:/home/kewang/git/libhbase/target/libhbase-1.0-SNAPSHOT/lib/async-1.4.0.jar:/home/kewang/git/libhbase/target/libhbase-1.0-SNAPSHOT/lib/asynchbase-1.5.0-libhbase-20140311.193218-1.jar
    HBASE_LIB_DIR: /home/kewang/hbase/lib
mysqltest:
  type: mysql
  username: root
  password: MY_PASSWORD
  host: localhost
  database: hedistest
otherdb:
  type: gooddb
kewang commented 9 years ago

Closed @ 0bc5dc96