From eaea5ad06aa510cbf36bb95c920932ab6de0e6de Mon Sep 17 00:00:00 2001 From: "Determe, Sebastien (sd378r)" Date: Mon, 18 Sep 2017 12:27:51 +0200 Subject: Reformat the JSON and fix checkstyle issue All Json used in the tests have been reformatted. Also some checkstyle bugs have been fixed Change-Id: I48373d9d53d39244c62b9b88b1cf62c15c766cb3 Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) --- .../example/sdc/sdcCVFCResourceExample.json | 106 ++++++++++----------- 1 file changed, 53 insertions(+), 53 deletions(-) (limited to 'src/test/resources/example/sdc/sdcCVFCResourceExample.json') diff --git a/src/test/resources/example/sdc/sdcCVFCResourceExample.json b/src/test/resources/example/sdc/sdcCVFCResourceExample.json index ffda413d3..d31b66b11 100644 --- a/src/test/resources/example/sdc/sdcCVFCResourceExample.json +++ b/src/test/resources/example/sdc/sdcCVFCResourceExample.json @@ -1,54 +1,54 @@ { - "uuid": "a0475018-1e7e-4ddd-8bee-33cbf958c2e6", - "invariantUUID": "133dd665-fca8-4e8b-8126-9e74a8d23bf5", - "name": "CLAMP-Dev-nodes.virc_fe_be_0", - "version": "1.0", - "toscaModelURL": "/sdc/v1/catalog/resources/a0475018-1e7e-4ddd-8bee-33cbf958c2e6/toscaModel", - "category": "Generic", - "subCategory": "Abstract", - "resourceType": "CVFC", - "lifecycleState": "CERTIFIED", - "lastUpdaterUserId": "m08740", - "lastUpdaterFullName": "Zero ASDCMech", - "toscaResourceName": "org.openecomp.resource.vfc.ClampDev.abstract.nodes.virc_fe_be_0", - "resources": [ - { - "resourceInstanceName": "virc_fe_be_virc_fe_be_management_0_port", - "resourceName": "NeutronPort", - "resourceInvariantUUID": "10428340-a673-4377-8696-af579a2e67a8", - "resourceVersion": "5.0", - "resoucreType": "CP", - "resourceUUID": "045f3be0-7398-455b-8f0d-8eff2062a187" - }, - { - "resourceInstanceName": "virc_fe_be", - "resourceName": "ClampDev.nodes.heat.virc_fe_be", - "resourceInvariantUUID": "e81d960d-794c-4d86-bbc4-31a2f86141ed", - "resourceVersion": "1.0", - "resoucreType": "VFC", - "resourceUUID": "d7646638-2572-4a94-b497-c028ac15f9ca", - "artifacts": [ - { - "artifactName": "Fault-alarms-ASDC-vprobes-vLB.csv", - "artifactType": "SNMP_TRAP", - "artifactURL": "/sdc/v1/catalog/resources/a0475018-1e7e-4ddd-8bee-33cbf958c2e6/resourceInstances/virc_fe_be/artifacts/5138e316-0237-49aa-817a-b3d8eaf77392", - "artifactDescription": "Artifact created from csar", - "artifactChecksum": "YWY2ZTY5NjhlOTU0YjQyZThhNTIyOGFmNzI1NTRiYzQ=", - "artifactUUID": "5138e316-0237-49aa-817a-b3d8eaf77392", - "artifactVersion": "1", - "artifactLabel": "faultalarmsasdcvprobesvlbcsv", - "artifactGroupType": "DEPLOYMENT" - } - ] - }, - { - "resourceInstanceName": "virc_fe_be_virc_fe_be_data_1_port", - "resourceName": "NeutronPort", - "resourceInvariantUUID": "10428340-a673-4377-8696-af579a2e67a8", - "resourceVersion": "5.0", - "resoucreType": "CP", - "resourceUUID": "045f3be0-7398-455b-8f0d-8eff2062a187" - } - ], - "description": "Complex node type that is used as nested type in VF" -} \ No newline at end of file + "uuid": "a0475018-1e7e-4ddd-8bee-33cbf958c2e6", + "invariantUUID": "133dd665-fca8-4e8b-8126-9e74a8d23bf5", + "name": "CLAMP-Dev-nodes.virc_fe_be_0", + "version": "1.0", + "toscaModelURL": "/sdc/v1/catalog/resources/a0475018-1e7e-4ddd-8bee-33cbf958c2e6/toscaModel", + "category": "Generic", + "subCategory": "Abstract", + "resourceType": "CVFC", + "lifecycleState": "CERTIFIED", + "lastUpdaterUserId": "m08740", + "lastUpdaterFullName": "Zero ASDCMech", + "toscaResourceName": "org.openecomp.resource.vfc.ClampDev.abstract.nodes.virc_fe_be_0", + "resources": [ + { + "resourceInstanceName": "virc_fe_be_virc_fe_be_management_0_port", + "resourceName": "NeutronPort", + "resourceInvariantUUID": "10428340-a673-4377-8696-af579a2e67a8", + "resourceVersion": "5.0", + "resoucreType": "CP", + "resourceUUID": "045f3be0-7398-455b-8f0d-8eff2062a187" + }, + { + "resourceInstanceName": "virc_fe_be", + "resourceName": "ClampDev.nodes.heat.virc_fe_be", + "resourceInvariantUUID": "e81d960d-794c-4d86-bbc4-31a2f86141ed", + "resourceVersion": "1.0", + "resoucreType": "VFC", + "resourceUUID": "d7646638-2572-4a94-b497-c028ac15f9ca", + "artifacts": [ + { + "artifactName": "Fault-alarms-ASDC-vprobes-vLB.csv", + "artifactType": "SNMP_TRAP", + "artifactURL": "/sdc/v1/catalog/resources/a0475018-1e7e-4ddd-8bee-33cbf958c2e6/resourceInstances/virc_fe_be/artifacts/5138e316-0237-49aa-817a-b3d8eaf77392", + "artifactDescription": "Artifact created from csar", + "artifactChecksum": "YWY2ZTY5NjhlOTU0YjQyZThhNTIyOGFmNzI1NTRiYzQ=", + "artifactUUID": "5138e316-0237-49aa-817a-b3d8eaf77392", + "artifactVersion": "1", + "artifactLabel": "faultalarmsasdcvprobesvlbcsv", + "artifactGroupType": "DEPLOYMENT" + } + ] + }, + { + "resourceInstanceName": "virc_fe_be_virc_fe_be_data_1_port", + "resourceName": "NeutronPort", + "resourceInvariantUUID": "10428340-a673-4377-8696-af579a2e67a8", + "resourceVersion": "5.0", + "resoucreType": "CP", + "resourceUUID": "045f3be0-7398-455b-8f0d-8eff2062a187" + } + ], + "description": "Complex node type that is used as nested type in VF" +} -- cgit 1.2.3-korg