Add feature to hold configs in filesystem 01/33501/4
authorShashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Thu, 1 Mar 2018 01:54:59 +0000 (17:54 -0800)
committerShashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Sat, 3 Mar 2018 00:52:39 +0000 (16:52 -0800)
commit67dd59385cf983ef1307e3b3e410a8f773d8a5c3
treee53c1997f643a0826fb9cd5a8b44ccc6466dc392
parentff8cba5a49e85fbb1d2e14f0fa0bcb5bf92caf34
Add feature to hold configs in filesystem

This patch adds feature to hold config files
on filesystem and adds all unit tests to have
enough coverage for milestones.

Change-Id: Icd6f3dc93e0f419500f82f0a6ccd62e500dfc918
Issue-ID: MUSIC-42
Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
24 files changed:
README.md
mountpath/default/sampleAAIConfig.properties [moved from src/dkv/configurations/sampleAAIConfig.properties with 100% similarity]
mountpath/default/sampleAPPCConfig.properties [moved from src/dkv/configurations/sampleAPPCConfig.properties with 100% similarity]
src/dkv/Gopkg.lock
src/dkv/api/backendConsulConnection.go [moved from src/dkv/api/consulConnection.go with 96% similarity]
src/dkv/api/backendFilesystemConnection.go [new file with mode: 0644]
src/dkv/api/backendPropertiesConnection.go [new file with mode: 0644]
src/dkv/api/backendfakes.go [new file with mode: 0644]
src/dkv/api/configHandlers.go [new file with mode: 0644]
src/dkv/api/configHandlers_test.go [new file with mode: 0644]
src/dkv/api/consulConnection_test.go [deleted file]
src/dkv/api/endpointViews_fake.go [deleted file]
src/dkv/api/endpointViews_test.go [deleted file]
src/dkv/api/initialise.go
src/dkv/api/propertiesReader.go [deleted file]
src/dkv/api/propertiesReader_test.go [deleted file]
src/dkv/api/queryConsulHandlers.go [moved from src/dkv/api/endpointViews.go with 56% similarity]
src/dkv/api/queryConsulHandlers_test.go [new file with mode: 0644]
src/dkv/api/registrationHandlers.go [new file with mode: 0644]
src/dkv/api/registrationHandlers_test.go [new file with mode: 0644]
src/dkv/api/token_service_map.json [new file with mode: 0644]
src/dkv/api/utils.go [new file with mode: 0644]
src/dkv/api/utils_test.go [new file with mode: 0644]
src/dkv/main.go