summaryrefslogtreecommitdiffstats
path: root/csarvalidation
diff options
context:
space:
mode:
authorAvinashS <avinash.s@huawei.com>2017-10-12 17:10:05 +0530
committerAvinashS <avinash.s@huawei.com>2017-10-12 17:10:05 +0530
commit20b01aa1fb3d83ccaf7c0918cd722da4b26c038f (patch)
tree0f05bb3bf44435eda3b5835f4ed47643b57993a3 /csarvalidation
parent0e21a3a775ef63e01b88905365d7fc5787c6c05a (diff)
Add validation schemas
Add validation schemas for reference for rel1 Change-Id: I340a6cbc0d6c738608905d8b0b3dd605b1619c85 Issue-Id: VNFSDK-107 Signed-off-by: AvinashS <avinash.s@huawei.com>
Diffstat (limited to 'csarvalidation')
-rw-r--r--csarvalidation/src/main/resources/schema/CSAR.meta5
-rw-r--r--csarvalidation/src/main/resources/schema/MRF.mf6
-rw-r--r--csarvalidation/src/main/resources/schema/TOSCA.meta4
3 files changed, 15 insertions, 0 deletions
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