summaryrefslogtreecommitdiffstats
path: root/src/test/resources
diff options
context:
space:
mode:
authoraleemraja <ar00500721@techmahindra.com>2020-08-20 19:06:27 +0530
committeraleemraja <ar00500721@techmahindra.com>2020-08-20 19:06:42 +0530
commit417bd28022619432588cc58679e68d893c62c617 (patch)
tree0468cc9cfdc866ae581c62f86839aa86c604e298 /src/test/resources
parentac2672f417dabb4d097e485457089a0945ab8a71 (diff)
Passing Instance params for SO Macro request
- Added Support for Instance params for SO Macro request at Service level and VNF level. - Added JUnit Test cases for ExecutionTask and ToscaInfoProcessor. - Updated timeout for StatusResourceTest. Issue-ID: EXTAPI-369 Change-Id: Ibbbbbd2d7021c16ea6291cc899e310ae26200999 Signed-off-by: aleemraja <ar00500721@techmahindra.com>
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/__files/toscafile/service-DummyService-csar.csarbin0 -> 69676 bytes
-rw-r--r--src/test/resources/__files/toscafile/service-VfwCnf1308Service-csar.csarbin0 -> 100985 bytes
-rw-r--r--src/test/resources/karatetest/features/04--StatusRessourceTest.feature1
-rw-r--r--src/test/resources/mappings/sdc/sdc_get_3bed38ff-a4fd-4463-9784-caf738d46dbc.json85
-rw-r--r--src/test/resources/mappings/sdc/sdc_get_3bed38ff-a4fd-4463-9784-caf738d46dbc_tosca.json10
-rw-r--r--src/test/resources/mappings/sdc/sdc_get_edf094cc-281f-4be9-a284-e047ded86066.json272
-rw-r--r--src/test/resources/mappings/sdc/sdc_get_edf094cc-281f-4be9-a284-e047ded86066_tosca.json10
-rw-r--r--src/test/resources/toscafile/service-VfwCnf1308Service-csar.csarbin0 -> 100985 bytes
8 files changed, 378 insertions, 0 deletions
diff --git a/src/test/resources/__files/toscafile/service-DummyService-csar.csar b/src/test/resources/__files/toscafile/service-DummyService-csar.csar
new file mode 100644
index 0000000..10db0b3
--- /dev/null
+++ b/src/test/resources/__files/toscafile/service-DummyService-csar.csar
Binary files differ
diff --git a/src/test/resources/__files/toscafile/service-VfwCnf1308Service-csar.csar b/src/test/resources/__files/toscafile/service-VfwCnf1308Service-csar.csar
new file mode 100644
index 0000000..e9644e9
--- /dev/null
+++ b/src/test/resources/__files/toscafile/service-VfwCnf1308Service-csar.csar
Binary files differ
diff --git a/src/test/resources/karatetest/features/04--StatusRessourceTest.feature b/src/test/resources/karatetest/features/04--StatusRessourceTest.feature
index fdcc138..a2fddc5 100644
--- a/src/test/resources/karatetest/features/04--StatusRessourceTest.feature
+++ b/src/test/resources/karatetest/features/04--StatusRessourceTest.feature
@@ -22,6 +22,7 @@ Feature: Status Resource
Background:
* url nbiBaseUrl
* def Context = Java.type('org.onap.nbi.test.Context');
+* configure readTimeout = 10000
* call Context.startServers();
Scenario: testHealthCheck
diff --git a/src/test/resources/mappings/sdc/sdc_get_3bed38ff-a4fd-4463-9784-caf738d46dbc.json b/src/test/resources/mappings/sdc/sdc_get_3bed38ff-a4fd-4463-9784-caf738d46dbc.json
new file mode 100644
index 0000000..65df09e
--- /dev/null
+++ b/src/test/resources/mappings/sdc/sdc_get_3bed38ff-a4fd-4463-9784-caf738d46dbc.json
@@ -0,0 +1,85 @@
+{
+ "request": {
+ "method": "GET",
+ "url": "/sdc/v1/catalog/services/3bed38ff-a4fd-4463-9784-caf738d46dbc/metadata"
+ },
+ "response": {
+ "status": 200,
+ "jsonBody": {
+ "uuid": "3bed38ff-a4fd-4463-9784-caf738d46dbc",
+ "invariantUUID": "b96687b0-5353-4e4d-bbd5-a49796fc3f11",
+ "name": "dummy_service",
+ "version": "2.0",
+ "toscaModelURL": "/sdc/v1/catalog/services/3bed38ff-a4fd-4463-9784-caf738d46dbc/toscaModel",
+ "category": "Network Service",
+ "lifecycleState": "CERTIFIED",
+ "lastUpdaterUserId": "cs0008",
+ "distributionStatus": "DISTRIBUTED",
+ "lastUpdaterFullName": "Carlos Santana",
+ "resources": [{
+ "resourceInstanceName": "dummy_vsp 0",
+ "resourceName": "dummy_vsp",
+ "resourceInvariantUUID": "0fa0d33d-b268-42ce-b393-7d3c6fde6ca9",
+ "resourceVersion": "1.0",
+ "resoucreType": "VF",
+ "resourceUUID": "725860b4-1a98-4da6-9451-6c04a581eb44",
+ "artifacts": [{
+ "artifactName": "vf-license-model.xml",
+ "artifactType": "VF_LICENSE",
+ "artifactURL": "/sdc/v1/catalog/services/3bed38ff-a4fd-4463-9784-caf738d46dbc/resourceInstances/dummy_vsp0/artifacts/ac6dae44-91d7-4eb9-aa1d-da056f6a2c6c",
+ "artifactDescription": "VF license file",
+ "artifactChecksum": "YWZjYWY4MDIzMzRjMDFlMDg3NDcyOWNiZjU2ODk1MDU=",
+ "artifactUUID": "ac6dae44-91d7-4eb9-aa1d-da056f6a2c6c",
+ "artifactVersion": "1",
+ "artifactLabel": "vflicense",
+ "artifactGroupType": "DEPLOYMENT"
+ }, {
+ "artifactName": "dummy_vsp0_modules.json",
+ "artifactType": "VF_MODULES_METADATA",
+ "artifactURL": "/sdc/v1/catalog/services/3bed38ff-a4fd-4463-9784-caf738d46dbc/resourceInstances/dummy_vsp0/artifacts/362dd42f-3eff-45dd-8163-0821d191ebd3",
+ "artifactDescription": "Auto-generated VF Modules information artifact",
+ "artifactChecksum": "YzdlZTU5MmI1YmIwOTYzZGE2MmYyMWNmYTI3Yjc1ZWE=",
+ "artifactUUID": "362dd42f-3eff-45dd-8163-0821d191ebd3",
+ "artifactVersion": "2",
+ "artifactLabel": "vfModulesMetadata",
+ "artifactGroupType": "DEPLOYMENT"
+ }, {
+ "artifactName": "base_bono.yaml",
+ "artifactType": "HEAT",
+ "artifactURL": "/sdc/v1/catalog/services/3bed38ff-a4fd-4463-9784-caf738d46dbc/resourceInstances/dummy_vsp0/artifacts/b9d286f7-cd3c-4a54-a028-c673b7028c19",
+ "artifactDescription": "created from csar",
+ "artifactTimeout": 30,
+ "artifactChecksum": "NTYzNmFlM2ZkMWQ4Y2U3YTc5YzM3Nzc2OTRmMjBlMWU=",
+ "artifactUUID": "b9d286f7-cd3c-4a54-a028-c673b7028c19",
+ "artifactVersion": "1",
+ "artifactLabel": "heat1",
+ "artifactGroupType": "DEPLOYMENT"
+ }, {
+ "artifactName": "vendor-license-model.xml",
+ "artifactType": "VENDOR_LICENSE",
+ "artifactURL": "/sdc/v1/catalog/services/3bed38ff-a4fd-4463-9784-caf738d46dbc/resourceInstances/dummy_vsp0/artifacts/207fc34f-dc47-47ec-8dc4-669960c9e338",
+ "artifactDescription": " Vendor license file",
+ "artifactChecksum": "YmY4NDI2MTk2OTU1NWJmZDMzZmI0OWZkNzU1ZDliODQ=",
+ "artifactUUID": "207fc34f-dc47-47ec-8dc4-669960c9e338",
+ "artifactVersion": "1",
+ "artifactLabel": "vendorlicense",
+ "artifactGroupType": "DEPLOYMENT"
+ }, {
+ "artifactName": "base_bono.env",
+ "artifactType": "HEAT_ENV",
+ "artifactURL": "/sdc/v1/catalog/services/3bed38ff-a4fd-4463-9784-caf738d46dbc/resourceInstances/dummy_vsp0/artifacts/2f18acf8-89d9-4b4f-8b98-b8143e21d485",
+ "artifactDescription": "Auto-generated HEAT Environment deployment artifact",
+ "artifactChecksum": "ZDliY2ZhZWRkNjJlZTEzMTg4MzYwOTA3ZTMwNjM2MzI=",
+ "artifactUUID": "2f18acf8-89d9-4b4f-8b98-b8143e21d485",
+ "artifactVersion": "3",
+ "generatedFromUUID": "3fad956a-8ee5-4870-99a4-a13cfadb222b.heat1",
+ "artifactLabel": "heat1env",
+ "artifactGroupType": "DEPLOYMENT"
+ }]
+ }]
+},
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+} \ No newline at end of file
diff --git a/src/test/resources/mappings/sdc/sdc_get_3bed38ff-a4fd-4463-9784-caf738d46dbc_tosca.json b/src/test/resources/mappings/sdc/sdc_get_3bed38ff-a4fd-4463-9784-caf738d46dbc_tosca.json
new file mode 100644
index 0000000..cf8e2c2
--- /dev/null
+++ b/src/test/resources/mappings/sdc/sdc_get_3bed38ff-a4fd-4463-9784-caf738d46dbc_tosca.json
@@ -0,0 +1,10 @@
+{
+ "request": {
+ "method": "GET",
+ "url": "/sdc/v1/catalog/services/3bed38ff-a4fd-4463-9784-caf738d46dbc/toscaModel"
+ },
+ "response": {
+ "status": 200,
+ "bodyFileName": "toscafile/service-DummyService-csar.csar"
+ }
+} \ No newline at end of file
diff --git a/src/test/resources/mappings/sdc/sdc_get_edf094cc-281f-4be9-a284-e047ded86066.json b/src/test/resources/mappings/sdc/sdc_get_edf094cc-281f-4be9-a284-e047ded86066.json
new file mode 100644
index 0000000..32f42a8
--- /dev/null
+++ b/src/test/resources/mappings/sdc/sdc_get_edf094cc-281f-4be9-a284-e047ded86066.json
@@ -0,0 +1,272 @@
+{
+ "request": {
+ "method": "GET",
+ "url": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/metadata"
+ },
+ "response": {
+ "status": 200,
+ "jsonBody": {
+ "uuid": "edf094cc-281f-4be9-a284-e047ded86066",
+ "invariantUUID": "fa8cd207-ae25-4b4d-baa7-ba841907ab69",
+ "name": "vfw_cnf_1308_service",
+ "version": "2.0",
+ "toscaModelURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/toscaModel",
+ "category": "Network Service",
+ "lifecycleState": "CERTIFIED",
+ "lastUpdaterUserId": "cs0008",
+ "distributionStatus": "DISTRIBUTED",
+ "lastUpdaterFullName": "Carlos Santana",
+ "resources": [
+ {
+ "resourceInstanceName": "vfw_cnf_1308 0",
+ "resourceName": "vfw_cnf_1308",
+ "resourceInvariantUUID": "2c9870d3-21cd-4140-afa0-3ba770bef206",
+ "resourceVersion": "1.0",
+ "resoucreType": "VF",
+ "resourceUUID": "679effb6-35e7-425e-9272-4b4e6b2b8382",
+ "artifacts": [
+ {
+ "artifactName": "vf-license-model.xml",
+ "artifactType": "VF_LICENSE",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/64e27d2e-108c-41a5-81a5-5e7de8279f65",
+ "artifactDescription": "VF license file",
+ "artifactChecksum": "ZGM1YjI1ODQyYzM5NGU2NWYzNTU2ZWY4ZGUwYmIwZDU=",
+ "artifactUUID": "64e27d2e-108c-41a5-81a5-5e7de8279f65",
+ "artifactVersion": "1",
+ "artifactLabel": "vflicense",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "base_template_cloudtech_k8s_charts.env",
+ "artifactType": "HEAT_ENV",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/aa0020b4-5476-4c49-b2f4-3a1e63812f45",
+ "artifactDescription": "Auto-generated HEAT Environment deployment artifact",
+ "artifactChecksum": "MTA2MjAxNDAyMmY0NmMwYTlmMDMyN2FjZDUxODkzNWI=",
+ "artifactUUID": "aa0020b4-5476-4c49-b2f4-3a1e63812f45",
+ "artifactVersion": "3",
+ "generatedFromUUID": "7176f506-6215-4ecb-9417-a90542cba39c.cloudtechnologyspecificartifact12",
+ "artifactLabel": "cloudtechnologyspecificartifact12env",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "vfw_cnf_13080_modules.json",
+ "artifactType": "VF_MODULES_METADATA",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/49a4cca7-0af3-4671-a5b1-5ffb1cd51ed9",
+ "artifactDescription": "Auto-generated VF Modules information artifact",
+ "artifactChecksum": "NTY1NGI4YTViNGY5OGM1MDgyNDc5NmQxNTIwMzAwM2M=",
+ "artifactUUID": "49a4cca7-0af3-4671-a5b1-5ffb1cd51ed9",
+ "artifactVersion": "2",
+ "artifactLabel": "vfModulesMetadata",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "vfw_cloudtech_k8s_charts.env",
+ "artifactType": "HEAT_ENV",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/0433412e-cb99-4717-ae20-2461932a7862",
+ "artifactDescription": "Auto-generated HEAT Environment deployment artifact",
+ "artifactChecksum": "MTA2MjAxNDAyMmY0NmMwYTlmMDMyN2FjZDUxODkzNWI=",
+ "artifactUUID": "0433412e-cb99-4717-ae20-2461932a7862",
+ "artifactVersion": "3",
+ "generatedFromUUID": "7176f506-6215-4ecb-9417-a90542cba39c.cloudtechnologyspecificartifact11",
+ "artifactLabel": "cloudtechnologyspecificartifact11env",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "vsn_cloudtech_k8s_charts.tgz",
+ "artifactType": "CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/dcfe1cc8-0ebf-46a3-a754-8896e97f6280",
+ "artifactDescription": "created from csar",
+ "artifactTimeout": 30,
+ "artifactChecksum": "N2FlMmViOWU4ZTU4ZWVkYTY4ZDYwOTBmNTBkYmZmYWY=",
+ "artifactUUID": "dcfe1cc8-0ebf-46a3-a754-8896e97f6280",
+ "artifactVersion": "1",
+ "artifactLabel": "cloudtechnologyspecificartifact9",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "vsn.yaml",
+ "artifactType": "HEAT",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/2e87a975-4816-4bbe-951a-68ca36a011c8",
+ "artifactDescription": "created from csar",
+ "artifactTimeout": 30,
+ "artifactChecksum": "NzE1Njc2ZmI5MTIzNGQwYWQ1ZWU0YjU5ZGNiZDYwM2M=",
+ "artifactUUID": "2e87a975-4816-4bbe-951a-68ca36a011c8",
+ "artifactVersion": "1",
+ "artifactLabel": "heat1",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "vpkg.yaml",
+ "artifactType": "HEAT",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/2d2b3a58-d942-424c-9b44-19ce996dead3",
+ "artifactDescription": "created from csar",
+ "artifactTimeout": 30,
+ "artifactChecksum": "YjM5ZmU2NGUwMTQ4ZjJmYjNkYTk4ZmRmYjEwM2ZiMjI=",
+ "artifactUUID": "2d2b3a58-d942-424c-9b44-19ce996dead3",
+ "artifactVersion": "1",
+ "artifactLabel": "heat3",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "vendor-license-model.xml",
+ "artifactType": "VENDOR_LICENSE",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/dd8567f8-fa6a-4f26-bf7c-9a2dcf605250",
+ "artifactDescription": " Vendor license file",
+ "artifactChecksum": "M2ZmZGI0M2JlYzljZTU4YWNmZjJmNGQ2NGNlZGNiY2I=",
+ "artifactUUID": "dd8567f8-fa6a-4f26-bf7c-9a2dcf605250",
+ "artifactVersion": "1",
+ "artifactLabel": "vendorlicense",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "vfw.yaml",
+ "artifactType": "HEAT",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/5c22f875-5425-4b0c-9823-afba9ac75d20",
+ "artifactDescription": "created from csar",
+ "artifactTimeout": 30,
+ "artifactChecksum": "ODE4MTU4ZDc4YjZkOTAxNjBiN2Q4N2JkZDExYTRmZjM=",
+ "artifactUUID": "5c22f875-5425-4b0c-9823-afba9ac75d20",
+ "artifactVersion": "1",
+ "artifactLabel": "heat5",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "base_template.yaml",
+ "artifactType": "HEAT",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/c51b7dcf-796b-4355-b35c-54b49633e89b",
+ "artifactDescription": "created from csar",
+ "artifactTimeout": 30,
+ "artifactChecksum": "ZGYxYjZjOWY4NmFhY2Q5YTVhMThhMjNiYzEzMDk1ZGY=",
+ "artifactUUID": "c51b7dcf-796b-4355-b35c-54b49633e89b",
+ "artifactVersion": "1",
+ "artifactLabel": "heat7",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "base_template_cloudtech_k8s_charts.tgz",
+ "artifactType": "CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/cd7f5867-fb30-4282-bd89-ca0ff33e78a9",
+ "artifactDescription": "created from csar",
+ "artifactTimeout": 30,
+ "artifactChecksum": "NmUwYjIzMmJhZjE0OTA4OTY4ODI0MzQ1ZTU1N2RiNzA=",
+ "artifactUUID": "cd7f5867-fb30-4282-bd89-ca0ff33e78a9",
+ "artifactVersion": "1",
+ "artifactLabel": "cloudtechnologyspecificartifact12",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "vpkg_cloudtech_k8s_charts.tgz",
+ "artifactType": "CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/da443669-c1f6-4dfa-9cc8-d666b276906a",
+ "artifactDescription": "created from csar",
+ "artifactTimeout": 30,
+ "artifactChecksum": "Nzk4NmQzZWVhYzQ5OGE0ZWQyZDYyYjBhZWM2MDcyMzk=",
+ "artifactUUID": "da443669-c1f6-4dfa-9cc8-d666b276906a",
+ "artifactVersion": "1",
+ "artifactLabel": "cloudtechnologyspecificartifact10",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "vfw_cloudtech_k8s_charts.tgz",
+ "artifactType": "CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/8ba2f2d2-cc5e-4350-989a-707a1f84d761",
+ "artifactDescription": "created from csar",
+ "artifactTimeout": 30,
+ "artifactChecksum": "M2ZhOWFkOTk4MjFiZTM4Yjk1ZGQ0YThjN2ViMTM0ZjU=",
+ "artifactUUID": "8ba2f2d2-cc5e-4350-989a-707a1f84d761",
+ "artifactVersion": "1",
+ "artifactLabel": "cloudtechnologyspecificartifact11",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "base_template.env",
+ "artifactType": "HEAT_ENV",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/83a9702c-27ff-4b06-a2a8-ca08c8188317",
+ "artifactDescription": "Auto-generated HEAT Environment deployment artifact",
+ "artifactChecksum": "YWZkMzRjZWU2MDQ1MGVhYmQ2YWRiNWFiNWMzOTlkYjc=",
+ "artifactUUID": "83a9702c-27ff-4b06-a2a8-ca08c8188317",
+ "artifactVersion": "3",
+ "generatedFromUUID": "7176f506-6215-4ecb-9417-a90542cba39c.heat7",
+ "artifactLabel": "heat7env",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "vpkg_cloudtech_k8s_charts.env",
+ "artifactType": "HEAT_ENV",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/e3fb742e-eb30-4821-8adf-af3d002fe8c0",
+ "artifactDescription": "Auto-generated HEAT Environment deployment artifact",
+ "artifactChecksum": "MTA2MjAxNDAyMmY0NmMwYTlmMDMyN2FjZDUxODkzNWI=",
+ "artifactUUID": "e3fb742e-eb30-4821-8adf-af3d002fe8c0",
+ "artifactVersion": "3",
+ "generatedFromUUID": "7176f506-6215-4ecb-9417-a90542cba39c.cloudtechnologyspecificartifact10",
+ "artifactLabel": "cloudtechnologyspecificartifact10env",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "CBA.zip",
+ "artifactType": "CONTROLLER_BLUEPRINT_ARCHIVE",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/a4cac5d7-8d96-441c-afd2-4ea75e7cfd91",
+ "artifactDescription": "created from csar",
+ "artifactChecksum": "NmFiM2VjOWMxNTljNjcwYzQ2ODRlMjJmY2E3YzU4NjA=",
+ "artifactUUID": "a4cac5d7-8d96-441c-afd2-4ea75e7cfd91",
+ "artifactVersion": "1",
+ "artifactLabel": "controllerblueprintarchive13",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "vsn_cloudtech_k8s_charts.env",
+ "artifactType": "HEAT_ENV",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/fe315410-d43c-4168-89a2-2bc5cac9f606",
+ "artifactDescription": "Auto-generated HEAT Environment deployment artifact",
+ "artifactChecksum": "MTA2MjAxNDAyMmY0NmMwYTlmMDMyN2FjZDUxODkzNWI=",
+ "artifactUUID": "fe315410-d43c-4168-89a2-2bc5cac9f606",
+ "artifactVersion": "3",
+ "generatedFromUUID": "7176f506-6215-4ecb-9417-a90542cba39c.cloudtechnologyspecificartifact9",
+ "artifactLabel": "cloudtechnologyspecificartifact9env",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "vfw.env",
+ "artifactType": "HEAT_ENV",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/32d57f44-aea3-458f-b30d-080d8cc3f359",
+ "artifactDescription": "Auto-generated HEAT Environment deployment artifact",
+ "artifactChecksum": "NTk0OWFlMWU5NGYyNmZjZjhiNzhkOTdmYmM3ZmVkZjg=",
+ "artifactUUID": "32d57f44-aea3-458f-b30d-080d8cc3f359",
+ "artifactVersion": "3",
+ "generatedFromUUID": "7176f506-6215-4ecb-9417-a90542cba39c.heat5",
+ "artifactLabel": "heat5env",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "vpkg.env",
+ "artifactType": "HEAT_ENV",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/9305bcc3-4ef2-4659-9707-9a61420ac500",
+ "artifactDescription": "Auto-generated HEAT Environment deployment artifact",
+ "artifactChecksum": "MWRhYTA5ZDBhZWYxZjEwMDExZDliOWYyMDI2NzAyYzE=",
+ "artifactUUID": "9305bcc3-4ef2-4659-9707-9a61420ac500",
+ "artifactVersion": "3",
+ "generatedFromUUID": "7176f506-6215-4ecb-9417-a90542cba39c.heat3",
+ "artifactLabel": "heat3env",
+ "artifactGroupType": "DEPLOYMENT"
+ },
+ {
+ "artifactName": "vsn.env",
+ "artifactType": "HEAT_ENV",
+ "artifactURL": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/resourceInstances/vfw_cnf_13080/artifacts/70cdee61-ab45-4d89-a5a8-6f450304930a",
+ "artifactDescription": "Auto-generated HEAT Environment deployment artifact",
+ "artifactChecksum": "YTQ1NTY0YzA2MTk4M2IwMGUxZThlMTBlOTRjZjgyNTA=",
+ "artifactUUID": "70cdee61-ab45-4d89-a5a8-6f450304930a",
+ "artifactVersion": "3",
+ "generatedFromUUID": "7176f506-6215-4ecb-9417-a90542cba39c.heat1",
+ "artifactLabel": "heat1env",
+ "artifactGroupType": "DEPLOYMENT"
+ }
+ ]
+ }
+ ]
+ },
+ "headers": {
+ "Content-Type": "application/json"
+ }
+ }
+} \ No newline at end of file
diff --git a/src/test/resources/mappings/sdc/sdc_get_edf094cc-281f-4be9-a284-e047ded86066_tosca.json b/src/test/resources/mappings/sdc/sdc_get_edf094cc-281f-4be9-a284-e047ded86066_tosca.json
new file mode 100644
index 0000000..d0037a9
--- /dev/null
+++ b/src/test/resources/mappings/sdc/sdc_get_edf094cc-281f-4be9-a284-e047ded86066_tosca.json
@@ -0,0 +1,10 @@
+{
+ "request": {
+ "method": "GET",
+ "url": "/sdc/v1/catalog/services/edf094cc-281f-4be9-a284-e047ded86066/toscaModel"
+ },
+ "response": {
+ "status": 200,
+ "bodyFileName": "toscafile/service-VfwCnf1308Service-csar.csar"
+ }
+} \ No newline at end of file
diff --git a/src/test/resources/toscafile/service-VfwCnf1308Service-csar.csar b/src/test/resources/toscafile/service-VfwCnf1308Service-csar.csar
new file mode 100644
index 0000000..e9644e9
--- /dev/null
+++ b/src/test/resources/toscafile/service-VfwCnf1308Service-csar.csar
Binary files differ