aboutsummaryrefslogtreecommitdiffstats
path: root/common/openecomp-tosca-datatype/src/main/resources
diff options
context:
space:
mode:
authoreleonorali <eleonoral@amdocs.com>2018-02-11 12:15:48 +0200
committereleonorali <eleonoral@amdocs.com>2018-02-11 12:16:01 +0200
commitd5b4901c6a1ae136138c1300d377447e26bac4ef (patch)
treee25360262affbacfdf1bcaeb1e8976e6d8ebae58 /common/openecomp-tosca-datatype/src/main/resources
parenteae2ba3f5ccfb20a899262562bd91129b6d53423 (diff)
SRIOV - add annotations
SRIOV - add annotations to input TOSCA parameter converted from HEAT file (2) Change-Id: Id0b0156730ae64093df42d09e2873de047c13ac9 Issue-ID: SDC-996 Signed-off-by: eleonorali <eleonoral@amdocs.com>
Diffstat (limited to 'common/openecomp-tosca-datatype/src/main/resources')
-rw-r--r--common/openecomp-tosca-datatype/src/main/resources/globalTypes/openecomp/_index.yml2
-rw-r--r--common/openecomp-tosca-datatype/src/main/resources/globalTypes/openecomp/annotations.yml42
2 files changed, 44 insertions, 0 deletions
diff --git a/common/openecomp-tosca-datatype/src/main/resources/globalTypes/openecomp/_index.yml b/common/openecomp-tosca-datatype/src/main/resources/globalTypes/openecomp/_index.yml
index 5c4cefb6ff..8f6d419536 100644
--- a/common/openecomp-tosca-datatype/src/main/resources/globalTypes/openecomp/_index.yml
+++ b/common/openecomp-tosca-datatype/src/main/resources/globalTypes/openecomp/_index.yml
@@ -32,4 +32,6 @@ imports:
file: groups.yml
- data:
file: data.yml
+- annotations:
+ file: annotations.yml
diff --git a/common/openecomp-tosca-datatype/src/main/resources/globalTypes/openecomp/annotations.yml b/common/openecomp-tosca-datatype/src/main/resources/globalTypes/openecomp/annotations.yml
new file mode 100644
index 0000000000..bfbf1c2d32
--- /dev/null
+++ b/common/openecomp-tosca-datatype/src/main/resources/globalTypes/openecomp/annotations.yml
@@ -0,0 +1,42 @@
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+tosca_definitions_version: tosca_simple_yaml_1_1
+
+metadata:
+ filename: openecomp/annotations.yml
+ version: '1.0'
+
+imports:
+- openecomp_index:
+ file: _index.yml
+
+annotation_types:
+
+ org.openecomp.annotations.Source:
+ description: Indicates the origin source of an input
+ properties:
+ source_type:
+ type: string
+ required: true
+ vf_module_label:
+ description: List of HEAT file name this input was originated from
+ type: list
+ required: true
+ entry_schema:
+ type: string
+ param_name:
+ type: string
+ required: false
+ description: Source parameter name \ No newline at end of file