Add swagger.json API ref and refactor code base 27/31127/2
authorShashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Fri, 9 Feb 2018 22:16:04 +0000 (14:16 -0800)
committerShashank Kumar Shankar <shashank.kumar.shankar@intel.com>
Fri, 9 Feb 2018 22:20:42 +0000 (14:20 -0800)
commiteebc178aa2c188ee25a4b2c6637b565279ae49f9
treefcb2c9e0b8d87786e52b01a75d385e83c66a665c
parentbe355e888af5b332797aee7507fdd6ed93261d6d
Add swagger.json API ref and refactor code base

This patch adds the API reference in the form of
swagger.json and refactors codebase to help in building
process using a Makefile.

Change-Id: I1ce11de6daf8defb563d8b6f319f05711057413b
Issue-ID: MUSIC-23
Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com>
15 files changed:
src/dkv/Gopkg.lock [moved from Gopkg.lock with 100% similarity]
src/dkv/Gopkg.toml [moved from Gopkg.toml with 100% similarity]
src/dkv/Makefile [new file with mode: 0644]
src/dkv/api/consulConnection.go [moved from api/consulConnection.go with 100% similarity]
src/dkv/api/consulConnection_test.go [moved from api/consulConnection_test.go with 100% similarity]
src/dkv/api/endpointViews.go [moved from api/endpointViews.go with 100% similarity]
src/dkv/api/endpointViews_test.go [moved from api/endpointViews_test.go with 100% similarity]
src/dkv/api/propertiesReader.go [moved from api/propertiesReader.go with 100% similarity]
src/dkv/api/propertiesReader_test.go [moved from api/propertiesReader_test.go with 97% similarity]
src/dkv/api/utils.go [moved from api/utils.go with 100% similarity]
src/dkv/api/utils_test.go [moved from api/utils_test.go with 97% similarity]
src/dkv/configurations/sampleAAIConfig.properties [moved from configurations/sampleAAIConfig.properties with 100% similarity]
src/dkv/configurations/sampleAPPCConfig.properties [moved from configurations/sampleAPPCConfig.properties with 100% similarity]
src/dkv/main.go [moved from main.go with 97% similarity]
swagger.json [new file with mode: 0644]