summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Hwang <mhwang@research.att.com>2017-09-15 12:33:03 -0400
committerMichael Hwang <mhwang@research.att.com>2017-09-15 13:03:07 -0400
commit5a7ecc5f553c6416beb7327a55967287b0645d14 (patch)
treede5efad2675a62152e733fcd9f6eb859373c8a5c
parent0d4c19a9389a933cf5b5e83173f97f8cd72b7f5e (diff)
Restructure the json schemas repository
All the json schema files have been put into folders that will be emulated on the remote web server by the CI process. Change-Id: Id8ad12c4f4623db4b35ed2be7cb727666d83fc33 Issue-Id: DCAEGEN2-60 Signed-off-by: Michael Hwang <mhwang@research.att.com>
-rw-r--r--component-json-schemas/component-specification/dcae-cli-v1/component-spec-schema.json (renamed from component-json-schemas/component-spec-schema.json)0
-rw-r--r--component-json-schemas/data-format/dcae-cli-v1/data-format-schema.json (renamed from component-json-schemas/data-format-schema.json)0
-rw-r--r--component-json-schemas/dmaap/dcae-cli-v1/dmaap-schema.json (renamed from component-json-schemas/dmaap-schema.json)0
-rw-r--r--dcae-cli/dcae_cli/util/config.py2
4 files changed, 1 insertions, 1 deletions
diff --git a/component-json-schemas/component-spec-schema.json b/component-json-schemas/component-specification/dcae-cli-v1/component-spec-schema.json
index 27d0403..27d0403 100644
--- a/component-json-schemas/component-spec-schema.json
+++ b/component-json-schemas/component-specification/dcae-cli-v1/component-spec-schema.json
diff --git a/component-json-schemas/data-format-schema.json b/component-json-schemas/data-format/dcae-cli-v1/data-format-schema.json
index be15682..be15682 100644
--- a/component-json-schemas/data-format-schema.json
+++ b/component-json-schemas/data-format/dcae-cli-v1/data-format-schema.json
diff --git a/component-json-schemas/dmaap-schema.json b/component-json-schemas/dmaap/dcae-cli-v1/dmaap-schema.json
index e6745f7..e6745f7 100644
--- a/component-json-schemas/dmaap-schema.json
+++ b/component-json-schemas/dmaap/dcae-cli-v1/dmaap-schema.json
diff --git a/dcae-cli/dcae_cli/util/config.py b/dcae-cli/dcae_cli/util/config.py
index d3230bc..4628681 100644
--- a/dcae-cli/dcae_cli/util/config.py
+++ b/dcae-cli/dcae_cli/util/config.py
@@ -88,7 +88,7 @@ def get_config():
def get_path_component_spec():
return get_config().get("path_component_spec",
- "/schemas/component-specification/dcae-cli-v3/component-spec-schema.json")
+ "/schemas/component-specification/dcae-cli-v1/component-spec-schema.json")
def get_path_data_format():
return get_config().get("path_data_format",