From 20b01aa1fb3d83ccaf7c0918cd722da4b26c038f Mon Sep 17 00:00:00 2001 From: AvinashS Date: Thu, 12 Oct 2017 17:10:05 +0530 Subject: Add validation schemas Add validation schemas for reference for rel1 Change-Id: I340a6cbc0d6c738608905d8b0b3dd605b1619c85 Issue-Id: VNFSDK-107 Signed-off-by: AvinashS --- csarvalidation/src/main/resources/schema/CSAR.meta | 5 +++++ csarvalidation/src/main/resources/schema/MRF.mf | 6 ++++++ csarvalidation/src/main/resources/schema/TOSCA.meta | 4 ++++ 3 files changed, 15 insertions(+) create mode 100644 csarvalidation/src/main/resources/schema/CSAR.meta create mode 100644 csarvalidation/src/main/resources/schema/MRF.mf create mode 100644 csarvalidation/src/main/resources/schema/TOSCA.meta (limited to 'csarvalidation/src/main') diff --git a/csarvalidation/src/main/resources/schema/CSAR.meta b/csarvalidation/src/main/resources/schema/CSAR.meta new file mode 100644 index 0000000..76ae9a9 --- /dev/null +++ b/csarvalidation/src/main/resources/schema/CSAR.meta @@ -0,0 +1,5 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: UTF-8 + template_author: UTF-8 + template_version: description \ No newline at end of file diff --git a/csarvalidation/src/main/resources/schema/MRF.mf b/csarvalidation/src/main/resources/schema/MRF.mf new file mode 100644 index 0000000..4b7d65d --- /dev/null +++ b/csarvalidation/src/main/resources/schema/MRF.mf @@ -0,0 +1,6 @@ +metadata: + vnf_product_name: UTF-8 + vnf_provider_id: UTF-8 + vnf_package_version: Double + vnf_release_data_time: String_IETF_RFC-3339 + { get_input: myinput } diff --git a/csarvalidation/src/main/resources/schema/TOSCA.meta b/csarvalidation/src/main/resources/schema/TOSCA.meta new file mode 100644 index 0000000..837b45a --- /dev/null +++ b/csarvalidation/src/main/resources/schema/TOSCA.meta @@ -0,0 +1,4 @@ +TOSCA-Meta-File-Version: Double +CSAR-Version: Double +Created-By: String +Entry-Definitions: { get_input: myinput } \ No newline at end of file -- cgit 1.2.3-korg