aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/example
diff options
context:
space:
mode:
authorroot1 <vidyashree.rama@huawei.com>2020-08-11 18:44:29 +0530
committerroot1 <vidyashree.rama@huawei.com>2020-08-28 12:01:34 +0530
commit2d9f989e0d37002c758bdf66a3f25fcfdac35b62 (patch)
treef498e3895bd048c9542ec1b0356013481dd5e74a /src/test/resources/example
parentf095a271b67b3f2be3dbdcd00924cac3dd3209ec (diff)
CLAMP should not display all CDS workflow properties
CLAMP should not display all CDS workflow properties Issue-ID: CLAMP-856 Signed-off-by: root1 <vidyashree.rama@huawei.com> Change-Id: I98fc46c9c9ba574a3606740921d74743cb6f38ea
Diffstat (limited to 'src/test/resources/example')
-rw-r--r--src/test/resources/example/cds-response/vFW-CDS-modify-config-wf-expected-result.json72
-rw-r--r--src/test/resources/example/cds-response/vFW-CDS-modify-config-workflow.json7
-rw-r--r--src/test/resources/example/cds-response/vFW-CDS-resource-assignment-wf-expected-result.json32
-rw-r--r--src/test/resources/example/cds-response/vFW-CDS-resource-assignment-workflow.json2
4 files changed, 44 insertions, 69 deletions
diff --git a/src/test/resources/example/cds-response/vFW-CDS-modify-config-wf-expected-result.json b/src/test/resources/example/cds-response/vFW-CDS-modify-config-wf-expected-result.json
index 7e78bb062..2b6493176 100644
--- a/src/test/resources/example/cds-response/vFW-CDS-modify-config-wf-expected-result.json
+++ b/src/test/resources/example/cds-response/vFW-CDS-modify-config-wf-expected-result.json
@@ -1,57 +1,29 @@
{
"inputs": {
- "resolution-key": {
- "required": true,
- "type": "string"
- },
"modify-config-properties": {
- "vpg_onap_private_ip_0": {
- "description": "",
- "required": false,
- "type": "string",
- "status": "",
- "constraints": [
- {}
- ],
- "entry_schema": {
- "type": ""
+ "type": "object",
+ "properties": {
+ "service-instance-id": {
+ "type": "string",
+ "input-param": true
+ },
+ "update-active-streams": {
+ "description": "",
+ "required": false,
+ "type": "string",
+ "input-param": true,
+ "status": "",
+ "constraints": [
+ {}
+ ],
+ "entry_schema": {
+ "type": "dt-data"
+ }
+ },
+ "generic-vnf.vnf-id": {
+ "type": "string",
+ "input-param": true
}
- },
- "service-instance.service-instance-id": {
- "type": "string"
- },
- "vnf-id": {
- "type": "string"
- },
- "data": {
- "description": "",
- "required": false,
- "type": "string",
- "status": "",
- "constraints": [
- {}
- ],
- "entry_schema": {
- "type": "dt-data"
- }
- },
- "service-instance-id": {
- "type": "string"
- },
- "update-active-streams": {
- "description": "",
- "required": false,
- "type": "string",
- "status": "",
- "constraints": [
- {}
- ],
- "entry_schema": {
- "type": "dt-data"
- }
- },
- "generic-vnf.vnf-id": {
- "type": "string"
}
}
}
diff --git a/src/test/resources/example/cds-response/vFW-CDS-modify-config-workflow.json b/src/test/resources/example/cds-response/vFW-CDS-modify-config-workflow.json
index e46da6760..115d79b1f 100644
--- a/src/test/resources/example/cds-response/vFW-CDS-modify-config-workflow.json
+++ b/src/test/resources/example/cds-response/vFW-CDS-modify-config-workflow.json
@@ -51,12 +51,14 @@
}
},
"service-instance-id": {
- "type": "string"
+ "type": "string",
+ "input-param": true
},
"update-active-streams": {
"description": "",
"required": false,
"type": "string",
+ "input-param": true,
"status": "",
"constraints": [
{}
@@ -66,7 +68,8 @@
}
},
"generic-vnf.vnf-id": {
- "type": "string"
+ "type": "string",
+ "input-param": true
}
},
"derived_from": "tosca.datatypes.Dynamic"
diff --git a/src/test/resources/example/cds-response/vFW-CDS-resource-assignment-wf-expected-result.json b/src/test/resources/example/cds-response/vFW-CDS-resource-assignment-wf-expected-result.json
index 5b373a45e..07d851f38 100644
--- a/src/test/resources/example/cds-response/vFW-CDS-resource-assignment-wf-expected-result.json
+++ b/src/test/resources/example/cds-response/vFW-CDS-resource-assignment-wf-expected-result.json
@@ -1,12 +1,5 @@
{
"inputs": {
- "template-prefix": {
- "required": true,
- "type": "list",
- "entry_schema": {
- "type": "string"
- }
- },
"template-prefix-with-complex-type": {
"type": "list",
"properties": {
@@ -14,6 +7,7 @@
"description": "",
"required": false,
"type": "string",
+ "input-param": true,
"status": "",
"constraints": [
{}
@@ -25,16 +19,20 @@
}
},
"resource-assignment-properties": {
- "private1-prefix-id": {
- "description": "",
- "required": false,
- "type": "string",
- "status": "",
- "constraints": [
- {}
- ],
- "entry_schema": {
- "type": ""
+ "type": "object",
+ "properties": {
+ "private1-prefix-id": {
+ "description": "",
+ "required": false,
+ "type": "string",
+ "input-param": true,
+ "status": "",
+ "constraints": [
+ {}
+ ],
+ "entry_schema": {
+ "type": ""
+ }
}
}
}
diff --git a/src/test/resources/example/cds-response/vFW-CDS-resource-assignment-workflow.json b/src/test/resources/example/cds-response/vFW-CDS-resource-assignment-workflow.json
index d0f78cf1d..7f76c6cae 100644
--- a/src/test/resources/example/cds-response/vFW-CDS-resource-assignment-workflow.json
+++ b/src/test/resources/example/cds-response/vFW-CDS-resource-assignment-workflow.json
@@ -45,6 +45,7 @@
"description": "",
"required": false,
"type": "string",
+ "input-param": true,
"status": "",
"constraints": [
{}
@@ -64,6 +65,7 @@
"description": "",
"required": false,
"type": "string",
+ "input-param": true,
"status": "",
"constraints": [
{}