code refactor for genericparser
[modeling/etsicatalog.git] / genericparser / packages / tests / const.py
index caf60e3..a98ccb6 100644 (file)
@@ -455,3 +455,142 @@ pnfd_data = {
         "id": "zte-1.0",
     }
 }
+
+sd_data = {
+    "inputs": {
+        "sdwanvpnresource_list": [
+            {
+                "sdwanvpn_topology": "",
+                "required": True,
+                "type": "string"
+            }
+        ]
+    },
+    "pnfs": [
+        {
+            "pnf_id": "m6000_s",
+            "cps": [],
+            "description": "",
+            "properties": {
+                "vendor": "zte",
+                "request_reclassification": False,
+                "pnf_type": "m6000s",
+                "version": "1.0",
+                "management_address": "111111",
+                "id": "m6000_s",
+                "nsh_aware": False
+            }
+        }
+    ],
+    "description": "",
+    "vnfs": [
+        {
+            "vnf_id": "sdwansiteresource",
+            "description": "",
+            "properties": {
+                "sdwandevice_type": "",
+                "sdwandevice_class": "PNF",
+                "multi_stage_design": "false",
+                "min_instances": "1",
+                "sdwansite_controlPoint": "",
+                "id": "cd557883-ac4b-462d-aa01-421b5fa606b1",
+                "sdwansite_longitude": "",
+                "sdwansite_latitude": "",
+                "sdwansite_postcode": "",
+                "sdwansite_type": "",
+                "nf_naming": {
+                    "ecomp_generated_naming": True
+                },
+                "sdwansite_emails": "",
+                "sdwansite_role": "",
+                "vnfm_info": "",
+                "sdwansite_address": "",
+                "sdwansite_description": "",
+                "availability_zone_max_count": "1",
+                "sdwansite_name": ""
+            }
+        }
+    ],
+    "service": {
+        "type": "org.openecomp.service.EnhanceService",
+        "properties": {
+            "descriptor_id": "49ee73f4-1e31-4054-b871-eb9b1c29999b",
+            "designer": "",
+            "invariant_id": "5de07996-7ff0-4ec1-b93c-e3a00bb3f207",
+            "name": "Enhance_Service",
+            "verison": ""
+        },
+        "metadata": {
+            "category": "E2E Service",
+            "serviceType": "",
+            "description": "Enhance_Service",
+            "instantiationType": "A-la-carte",
+            "type": "Service",
+            "environmentContext": "General_Revenue-Bearing",
+            "serviceEcompNaming": True,
+            "UUID": "49ee73f4-1e31-4054-b871-eb9b1c29999b",
+            "ecompGeneratedNaming": True,
+            "serviceRole": "",
+            "invariantUUID": "5de07996-7ff0-4ec1-b93c-e3a00bb3f207",
+            "namingPolicy": "",
+            "name": "Enhance_Service"
+        }
+    },
+    "metadata": {
+        "category": "E2E Service",
+        "serviceType": "",
+        "description": "Enhance_Service",
+        "instantiationType": "A-la-carte",
+        "type": "Service",
+        "environmentContext": "General_Revenue-Bearing",
+        "serviceEcompNaming": True,
+        "UUID": "49ee73f4-1e31-4054-b871-eb9b1c29999b",
+        "ecompGeneratedNaming": True,
+        "serviceRole": "",
+        "invariantUUID": "5de07996-7ff0-4ec1-b93c-e3a00bb3f207",
+        "namingPolicy": "",
+        "name": "Enhance_Service"
+    }
+}
+
+vnf_subscription_data = {
+    "filters": {
+        "notificationTypes": [
+            "VnfPackageOnboardingNotification"
+        ],
+        "vnfProductsFromProviders": {
+            "vnfProvider": "string",
+            "vnfProducts": {
+                "vnfProductName": "string",
+                "versions": {
+                    "vnfSoftwareVersion": "string",
+                    "vnfdVersions": [
+                        "string"
+                    ]
+                }
+            }
+        },
+        "vnfdId": [
+            "3fa85f64-5717-4562-b3fc-2c963f66afa6"
+        ],
+        "vnfPkgId": [
+            "3fa85f64-5717-4562-b3fc-2c963f66afa6"
+        ],
+        "operationalState": [
+            "ENABLED"
+        ],
+        "usageState": [
+            "IN_USE"
+        ]
+    },
+    "callbackUri": "http://www.vnf1.com/notification",
+    "authentication": {
+        "authType": [
+            "BASIC"
+        ],
+        "paramsBasic": {
+            "userName": "string",
+            "password": "string"
+        }
+    }
+}