commit | 5a7ecc5f553c6416beb7327a55967287b0645d14 | [log] [tgz] |
---|---|---|
author | Michael Hwang <mhwang@research.att.com> | Fri Sep 15 12:33:03 2017 -0400 |
committer | Michael Hwang <mhwang@research.att.com> | Fri Sep 15 13:03:07 2017 -0400 |
tree | de5efad2675a62152e733fcd9f6eb859373c8a5c | |
parent | 0d4c19a9389a933cf5b5e83173f97f8cd72b7f5e [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>
diff --git a/component-json-schemas/component-spec-schema.json b/component-json-schemas/component-specification/dcae-cli-v1/component-spec-schema.json similarity index 100% rename from component-json-schemas/component-spec-schema.json rename to 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 similarity index 100% rename from component-json-schemas/data-format-schema.json rename to 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 similarity index 100% rename from component-json-schemas/dmaap-schema.json rename to 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_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",