aboutsummaryrefslogtreecommitdiffstats
path: root/onap-client/etc
diff options
context:
space:
mode:
Diffstat (limited to 'onap-client/etc')
-rw-r--r--onap-client/etc/config.example.yaml100
-rw-r--r--onap-client/etc/payloads/aai_create_customer.jinja5
-rw-r--r--onap-client/etc/payloads/action.jinja3
-rw-r--r--onap-client/etc/payloads/add_vsp_contributer.jinja1
-rw-r--r--onap-client/etc/payloads/catalog_resource.jinja43
-rw-r--r--onap-client/etc/payloads/catalog_service.jinja45
-rw-r--r--onap-client/etc/payloads/catalog_service_property.jinja40
-rw-r--r--onap-client/etc/payloads/catalog_vnf_group.jinja3
-rw-r--r--onap-client/etc/payloads/catalog_vnf_group_property.jinja26
-rw-r--r--onap-client/etc/payloads/catalog_vnf_input.jinja24
-rw-r--r--onap-client/etc/payloads/catalog_vnf_policy.jinja13
-rw-r--r--onap-client/etc/payloads/catalog_vnf_policy_property.jinja24
-rw-r--r--onap-client/etc/payloads/catalog_vnf_property.jinja20
-rw-r--r--onap-client/etc/payloads/entitlement_pool.jinja13
-rw-r--r--onap-client/etc/payloads/feature_group.jinja11
-rw-r--r--onap-client/etc/payloads/key_group.jinja10
-rw-r--r--onap-client/etc/payloads/license_agreement.jinja12
-rw-r--r--onap-client/etc/payloads/license_model.jinja5
-rw-r--r--onap-client/etc/payloads/resource_instance.jinja10
-rw-r--r--onap-client/etc/payloads/resource_instance_vnf.jinja10
-rw-r--r--onap-client/etc/payloads/so_create_module.jinja55
-rw-r--r--onap-client/etc/payloads/so_delete_module.jinja22
-rw-r--r--onap-client/etc/payloads/so_delete_service.jinja22
-rw-r--r--onap-client/etc/payloads/so_delete_vnf.jinja22
-rw-r--r--onap-client/etc/payloads/so_service_instance.jinja37
-rw-r--r--onap-client/etc/payloads/so_vnf_instance.jinja48
-rw-r--r--onap-client/etc/payloads/software_product.jinja17
-rw-r--r--onap-client/etc/payloads/user_remarks.jinja1
-rw-r--r--onap-client/etc/payloads/vid_maintenance.jinja3
29 files changed, 645 insertions, 0 deletions
diff --git a/onap-client/etc/config.example.yaml b/onap-client/etc/config.example.yaml
new file mode 100644
index 0000000..2d903d8
--- /dev/null
+++ b/onap-client/etc/config.example.yaml
@@ -0,0 +1,100 @@
+# -*- coding: utf8 -*-
+# ============LICENSE_START=======================================================
+# org.onap.vvp/validation-scripts
+# ===================================================================
+# Copyright © 2020 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the "License");
+# you may not use this software 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.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the "License");
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# 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.
+#
+# ============LICENSE_END============================================
+onap_client:
+ sdc:
+ SDC_BE_ENDPOINT: https://sdc.api.be.simpledemo.onap.org:30204
+ SDC_FE_ENDPOINT: https://sdc.api.be.simpledemo.onap.org:30207
+ SDC_HC_ENDPOINT: https://sdc.api.be.simpledemo.onap.org:30207
+ SDC_BE_ONBOARD_ENDPOINT: https://sdc.api.be.simpledemo.onap.org:31360
+ SDC_CONSUMER_USERNAME: vid
+ SDC_CONSUMER_PASSWORD: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
+ SDC_DESIGNER_USER_ID: cs0008
+ SDC_TESTER_USER_ID: jm0007
+ SDC_OPS_USER_ID: op0001
+ SDC_GOVERNOR_USER_ID: gv0001
+ SDC_DESIGNER_PASSWORD: demo123456!
+ GLOBAL_SDC_USERNAME: beep
+ GLOBAL_SDC_PASSWORD: boop
+ SDC_CONSUMER_CATALOG_PATH: /sdc/v1/catalog
+ SDC_SCREEN_PATH: /sdc2/rest/v1/screen
+ SDC_HEALTH_CHECK_PATH: /sdc1/rest/healthCheck
+ SDC_CATALOG_SERVICES_PATH: /sdc2/rest/v1/catalog/services
+ SDC_VENDOR_SOFTWARE_PRODUCT_PATH: /onboarding-api/v1.0/vendor-software-products
+ SDC_CATALOG_RESOURCES_PATH: /sdc2/rest/v1/catalog/resources
+ SDC_VENDOR_LICENSE_MODEL_PATH: /onboarding-api/v1.0/vendor-license-models
+ SDC_VENDOR_ITEMS_PATH: /onboarding-api/v1.0/items
+ SDC_FE_CATALOG_RESOURCES_PATH: /sdc1/feProxy/rest/v1/catalog/resources
+ ABSTRACT_NODE_PREFIX: abstract_
+ POLICIES:
+ SCALING_FIXED: org.openecomp.policies.scaling.Fixed
+ EXTERNAL: org.openecomp.policies.External
+ PLACEMENT: tosca.policies.Placement
+ GROUPS:
+ NETWORK_COLLECTION: org.openecomp.groups.NetworkCollection
+ PLACEMENT_GROUP: tosca.groups.nfv.PlacementGroup
+ VFC_INSTANCE: org.openecomp.groups.VfcInstanceGroup
+ SERVICE_DISTRIBUTION:
+ - "request_service_certification"
+ - "start_service_certification"
+ - "finish_service_certification"
+ - "approve_service_certification"
+ POLL_INTERVAL: 30
+ aai:
+ AAI_BE_ENDPOINT: https://aai.api.simpledemo.onap.org:30233
+ AAI_BUSINESS_PATH: /aai/v16/business
+ AAI_CLOUD_INFRASTRUCTURE_PATH: /aai/v16/cloud-infrastructure
+ AAI_HEALTH_CHECK_PATH: /aai/util/echo
+ AAI_USERNAME: AAI
+ AAI_PASSWORD: AAI
+ sdnc:
+ SDNC_ENDPOINT: http://sdnc.api.simpledemo.onap.org:30267
+ SDNC_OPERATIONS_PATH: /restconf/operations
+ SDNC_CONFIG_PATH: /restconf/config
+ SDNC_USERNAME: admin
+ SDNC_PASSWORD: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
+ vid:
+ VID_ENDPOINT: http://vid.api.simpledemo.onap.org:30238
+ VID_MAINTENANCE_PATH: /vid/maintenance
+ VID_HEALTH_CHECK_PATH: /vid/healthCheck
+ so:
+ SO_ENDPOINT: http://sdc.so.be.simpledemo.onap.org:30277
+ SO_HEALTH_CHECK_PATH: /globalhealthcheck
+ SO_USERNAME: bpel
+ SO_PASSWORD: password1$
+ SO_SERVICE_INSTANCE_PATH: /onap/so/infra/serviceInstantiation/v7/serviceInstances
+ SO_ORCHESTRATION_PATH: /onap/so/infra/orchestrationRequests/v7/
+ LOG_LEVEL: DEBUG
diff --git a/onap-client/etc/payloads/aai_create_customer.jinja b/onap-client/etc/payloads/aai_create_customer.jinja
new file mode 100644
index 0000000..cbf2b96
--- /dev/null
+++ b/onap-client/etc/payloads/aai_create_customer.jinja
@@ -0,0 +1,5 @@
+{
+ "global-customer-id": "{{customer_name}}",
+ "subscriber-name": "{{subscriber_name}}",
+ "subscriber-type": "INFRA"
+}
diff --git a/onap-client/etc/payloads/action.jinja b/onap-client/etc/payloads/action.jinja
new file mode 100644
index 0000000..3ef9f60
--- /dev/null
+++ b/onap-client/etc/payloads/action.jinja
@@ -0,0 +1,3 @@
+{
+ "action": "{{action}}"
+} \ No newline at end of file
diff --git a/onap-client/etc/payloads/add_vsp_contributer.jinja b/onap-client/etc/payloads/add_vsp_contributer.jinja
new file mode 100644
index 0000000..ac75634
--- /dev/null
+++ b/onap-client/etc/payloads/add_vsp_contributer.jinja
@@ -0,0 +1 @@
+{"removedUsersIds":[],"addedUsersIds":["{{user_id}}"]} \ No newline at end of file
diff --git a/onap-client/etc/payloads/catalog_resource.jinja b/onap-client/etc/payloads/catalog_resource.jinja
new file mode 100644
index 0000000..b051bcb
--- /dev/null
+++ b/onap-client/etc/payloads/catalog_resource.jinja
@@ -0,0 +1,43 @@
+{
+ "artifacts": {},
+ "toscaArtifacts": {},
+ "contactId": "cs0008",
+ "categories": [
+ {
+ "name": "Generic",
+ "normalizedName": "generic",
+ "uniqueId": "resourceNewCategory.generic",
+ "subcategories": [
+ {
+ "name": "Abstract",
+ "normalizedName": "abstract",
+ "uniqueId": "resourceNewCategory.generic.abstract",
+ "icons": [
+ "database"
+ ]
+ }
+ ]
+ }
+ ],
+ "description": "vendor software product",
+ "icon": "defaulticon",
+ "componentInstancesProperties": {},
+ "componentInstancesAttributes": {},
+ "name": "{{vnf_name}}",
+ "tags": [
+ "{{vnf_name}}"
+ ],
+ "capabilities": {},
+ "requirements": {},
+ "deploymentArtifacts": {},
+ "componentType": "RESOURCE",
+ "vendorName": "{{vendor_name}}",
+ "vendorRelease": "1.0",
+ "componentInstances": [],
+ "properties": [],
+ "attributes": [],
+ "groups": [],
+ "resourceType": "{{resource_type}}",
+ "csarUUID": "{{software_product_id}}",
+ "csarVersion": "1.0"
+} \ No newline at end of file
diff --git a/onap-client/etc/payloads/catalog_service.jinja b/onap-client/etc/payloads/catalog_service.jinja
new file mode 100644
index 0000000..51aec40
--- /dev/null
+++ b/onap-client/etc/payloads/catalog_service.jinja
@@ -0,0 +1,45 @@
+{
+ "artifacts": {},
+ "toscaArtifacts": {},
+ "contactId": "{{contact_id}}",
+ "categories": [
+ {
+ "name": "{{category_name}}",
+ "normalizedName": "{{category_name_lower}}",
+ "uniqueId": "{{category_id}}",
+ "icons": [
+ "{{category_name_icon}}"
+ ],
+ "subcategories": null,
+ "version": null,
+ "ownerId": null,
+ "empty": false,
+ "type": null
+ }
+ ],
+ "description": "{{description}}",
+ "icon": "defaulticon",
+ "componentInstancesProperties": {},
+ "componentInstancesAttributes": {},
+ "name": "{{service_name}}",
+ "tags": [
+ "{{tag}}",
+ "{{service_name}}"
+ ],
+ "capabilities": {},
+ "requirements": {},
+ "deploymentArtifacts": {},
+ "componentType": "SERVICE",
+ "projectCode": "{{project_code}}",
+ "componentInstances": [],
+ "properties": [],
+ "attributes": [],
+ "forwardingPaths": {},
+ "ecompGeneratedNaming": {{ecomp_generated_naming}},
+ "serviceApiArtifacts": {},
+ "instantiationType": "{{instantiation_type}}",
+ "environmentContext": "{{environment_context}}",
+ "serviceType": "{{service_type}}",
+ "serviceRole": "{{service_role}}",
+ "namingPolicy": "{{naming_policy}}"
+} \ No newline at end of file
diff --git a/onap-client/etc/payloads/catalog_service_property.jinja b/onap-client/etc/payloads/catalog_service_property.jinja
new file mode 100644
index 0000000..584002a
--- /dev/null
+++ b/onap-client/etc/payloads/catalog_service_property.jinja
@@ -0,0 +1,40 @@
+[
+{
+ "uniqueId": "{{unique_id}}",
+ "type": "{{property_type}}",
+ "required": false,
+ "definition": false,
+ "defaultValue": null,
+ "description": null,
+ "schema": null,
+ "password": false,
+ "name": "{{input_name}}",
+ "value": "{{input_value}}",
+ "label": null,
+ "hidden": false,
+ "immutable": false,
+ "inputPath": null,
+ "status": null,
+ "inputId": null,
+ "instanceUniqueId": null,
+ "propertyId": null,
+ "parentPropertyType": null,
+ "subPropertyInputPath": null,
+ "annotations": null,
+ "parentUniqueId": "{{parent_unique_id}}",
+ "getInputValues": null,
+ "isDeclaredListInput": false,
+ "getPolicyValues": null,
+ "constraints": null,
+ "inputs": null,
+ "properties": null,
+ {% if schema_type != "" %}
+ "schemaType": "{{schema_type}}",
+ {% endif %}
+ "schemaProperty": null,
+ "getInputProperty": false,
+ "version": null,
+ "ownerId": "{{owner_id}}",
+ "empty": false
+}
+] \ No newline at end of file
diff --git a/onap-client/etc/payloads/catalog_vnf_group.jinja b/onap-client/etc/payloads/catalog_vnf_group.jinja
new file mode 100644
index 0000000..99d8dcb
--- /dev/null
+++ b/onap-client/etc/payloads/catalog_vnf_group.jinja
@@ -0,0 +1,3 @@
+[
+ "{{instance_id}}"
+]
diff --git a/onap-client/etc/payloads/catalog_vnf_group_property.jinja b/onap-client/etc/payloads/catalog_vnf_group_property.jinja
new file mode 100644
index 0000000..0211add
--- /dev/null
+++ b/onap-client/etc/payloads/catalog_vnf_group_property.jinja
@@ -0,0 +1,26 @@
+[
+ {
+ "constraints": null,
+ "defaultValue": null,
+ "description": "{{description}}",
+ "name": "{{property_name}}",
+ "parentUniqueId": "{{parent_unique_id}}",
+ "password": false,
+ "required": true,
+ "schema": {
+ "property": {}
+ },
+ "schemaType": null,
+ "type": "{{property_type}}",
+ "uniqueId": "{{unique_id}}",
+ "value": "{{property_default_value}}",
+ "definition": false,
+ "getInputValues": null,
+ "parentPropertyType": null,
+ "subPropertyInputPath": null,
+ "getPolicyValues": null,
+ "inputPath": null,
+ "valueUniqueUid": null,
+ "ownerId": "{{owner_id}}"
+ }
+] \ No newline at end of file
diff --git a/onap-client/etc/payloads/catalog_vnf_input.jinja b/onap-client/etc/payloads/catalog_vnf_input.jinja
new file mode 100644
index 0000000..1bb129a
--- /dev/null
+++ b/onap-client/etc/payloads/catalog_vnf_input.jinja
@@ -0,0 +1,24 @@
+[
+ {
+ "defaultValue": "{{input_default_value}}",
+ "description": null,
+ "name": "{{input_name}}",
+ "parentUniqueId": "{{input_parent_unique_id}}",
+ "password": false,
+ "required": false,
+ "schema": {
+ "property": {}
+ },
+ "type": "string",
+ "uniqueId": "{{input_unique_id}}",
+ "value": null,
+ "definition": false,
+ "getInputValues": null,
+ "instanceUniqueId": null,
+ "propertyId": null,
+ "properties": null,
+ "inputs": null,
+ "ownerId": "{{input_owner_id}}",
+ "inputPath": null
+ }
+] \ No newline at end of file
diff --git a/onap-client/etc/payloads/catalog_vnf_policy.jinja b/onap-client/etc/payloads/catalog_vnf_policy.jinja
new file mode 100644
index 0000000..f89fcdd
--- /dev/null
+++ b/onap-client/etc/payloads/catalog_vnf_policy.jinja
@@ -0,0 +1,13 @@
+[
+ {
+ "type": "component_Instances",
+ "uniqueIds": [
+ {% for id in instance_ids %}
+ "{{id}}"
+ {% if loop.index < loop.length %}
+ ,
+ {% endif %}
+ {% endfor %}
+ ]
+ }
+]
diff --git a/onap-client/etc/payloads/catalog_vnf_policy_property.jinja b/onap-client/etc/payloads/catalog_vnf_policy_property.jinja
new file mode 100644
index 0000000..57ba2b1
--- /dev/null
+++ b/onap-client/etc/payloads/catalog_vnf_policy_property.jinja
@@ -0,0 +1,24 @@
+[
+ {
+ "defaultValue": null,
+ "description": "{{description}}",
+ "name": "{{property_name}}",
+ "parentUniqueId": null,
+ "password": false,
+ "required": true,
+ "schema": {
+ "property": {}
+ },
+ "schemaType": null,
+ "type": "{{property_type}}",
+ "uniqueId": "{{unique_id}}",
+ "value": "{{property_default_value}}",
+ "definition": true,
+ "getInputValues": null,
+ "parentPropertyType": null,
+ "subPropertyInputPath": null,
+ "getPolicyValues": null,
+ "inputPath": null,
+ "ownerId": null
+ }
+] \ No newline at end of file
diff --git a/onap-client/etc/payloads/catalog_vnf_property.jinja b/onap-client/etc/payloads/catalog_vnf_property.jinja
new file mode 100644
index 0000000..cebc0a8
--- /dev/null
+++ b/onap-client/etc/payloads/catalog_vnf_property.jinja
@@ -0,0 +1,20 @@
+[
+ {
+ "constraints": [],
+ "name": "{{property_name}}",
+ "parentUniqueId": "{{parent_unique_id}}",
+ "password": false,
+ "required": false,
+ "schema": {"property": {}},
+ {% if schema_type != "" %}
+ "schemaType": "{{schema_type}}",
+ {% endif %}
+ "type": "{{property_type}}",
+ "uniqueId": "{{unique_id}}",
+ "value": "{{property_default_value}}",
+ "definition": false,
+ "toscaPresentation": {
+ "ownerId": "{{owner_id}}"
+ }
+ }
+] \ No newline at end of file
diff --git a/onap-client/etc/payloads/entitlement_pool.jinja b/onap-client/etc/payloads/entitlement_pool.jinja
new file mode 100644
index 0000000..4ca68dd
--- /dev/null
+++ b/onap-client/etc/payloads/entitlement_pool.jinja
@@ -0,0 +1,13 @@
+{
+ "name": "{{entitlement_pool_name}}",
+ "description": "vendor entitlement pool",
+ "thresholdValue": "100",
+ "thresholdUnits": "Percentage",
+ "time": {
+ "choice": "",
+ "other": ""
+ },
+ "startDate": "{{license_start_date}}",
+ "expiryDate": "{{license_end_date}}",
+ "manufacturerReferenceNumber": "111111"
+} \ No newline at end of file
diff --git a/onap-client/etc/payloads/feature_group.jinja b/onap-client/etc/payloads/feature_group.jinja
new file mode 100644
index 0000000..cc3fec1
--- /dev/null
+++ b/onap-client/etc/payloads/feature_group.jinja
@@ -0,0 +1,11 @@
+{
+ "name": "{{feature_group_name}}",
+ "description": "vendor feature group",
+ "partNumber": "123abc456",
+ "addedLicenseKeyGroupsIds": [
+ "{{key_group_id}}"
+ ],
+ "addedEntitlementPoolsIds": [
+ "{{entitlement_pool_id}}"
+ ]
+} \ No newline at end of file
diff --git a/onap-client/etc/payloads/key_group.jinja b/onap-client/etc/payloads/key_group.jinja
new file mode 100644
index 0000000..e58639b
--- /dev/null
+++ b/onap-client/etc/payloads/key_group.jinja
@@ -0,0 +1,10 @@
+{
+ "name": "{{key_group_name}}",
+ "description": "vendor license key group",
+ "type": "Universal",
+ "thresholdValue": "100",
+ "thresholdUnits": "Percentage",
+ "startDate": "{{license_start_date}}",
+ "expiryDate": "{{license_end_date}}",
+ "manufacturerReferenceNumber": "11111"
+} \ No newline at end of file
diff --git a/onap-client/etc/payloads/license_agreement.jinja b/onap-client/etc/payloads/license_agreement.jinja
new file mode 100644
index 0000000..66776f4
--- /dev/null
+++ b/onap-client/etc/payloads/license_agreement.jinja
@@ -0,0 +1,12 @@
+{
+ "name": "{{license_agreement_name}}",
+ "description": "vendor license agreement",
+ "requirementsAndConstrains": "abcdef",
+ "licenseTerm": {
+ "choice": "Fixed_Term",
+ "other": ""
+ },
+ "addedFeatureGroupsIds": [
+ "{{feature_group_id}}"
+ ]
+} \ No newline at end of file
diff --git a/onap-client/etc/payloads/license_model.jinja b/onap-client/etc/payloads/license_model.jinja
new file mode 100644
index 0000000..27fe266
--- /dev/null
+++ b/onap-client/etc/payloads/license_model.jinja
@@ -0,0 +1,5 @@
+{
+ "vendorName": "{{vendor_name}}",
+ "description": "vendor license model",
+ "iconRef": "icon"
+} \ No newline at end of file
diff --git a/onap-client/etc/payloads/resource_instance.jinja b/onap-client/etc/payloads/resource_instance.jinja
new file mode 100644
index 0000000..c2c279c
--- /dev/null
+++ b/onap-client/etc/payloads/resource_instance.jinja
@@ -0,0 +1,10 @@
+{
+ "uniqueId": "{{catalog_resource_id}}{{milli_timestamp}}",
+ "posX": {{posX}},
+ "posY": {{posY}},
+ "name": "{{catalog_resource_name}}",
+ "componentVersion": "1.0",
+ "originType": "{{originType}}",
+ "icon": "defaulticon",
+ "componentUid": "{{catalog_resource_id}}"
+} \ No newline at end of file
diff --git a/onap-client/etc/payloads/resource_instance_vnf.jinja b/onap-client/etc/payloads/resource_instance_vnf.jinja
new file mode 100644
index 0000000..78bcf70
--- /dev/null
+++ b/onap-client/etc/payloads/resource_instance_vnf.jinja
@@ -0,0 +1,10 @@
+{
+ "uniqueId": "{{new_catalog_resource_id}}{{milli_timestamp}}",
+ "posX": {{posX}},
+ "posY": {{posY}},
+ "name": "{{new_catalog_resource_name}}",
+ "componentVersion": "1.0",
+ "originType": "{{originType}}",
+ "icon": "defaulticon",
+ "componentUid": "{{new_catalog_resource_id}}"
+} \ No newline at end of file
diff --git a/onap-client/etc/payloads/so_create_module.jinja b/onap-client/etc/payloads/so_create_module.jinja
new file mode 100644
index 0000000..263a3a9
--- /dev/null
+++ b/onap-client/etc/payloads/so_create_module.jinja
@@ -0,0 +1,55 @@
+{
+ "requestDetails": {
+ "requestInfo": {
+ "instanceName": "{{module_instance_name}}",
+ "source": "VID",
+ "suppressRollback": false,
+ "requestorId": "test"
+ },
+ "modelInfo": {
+ "modelType": "vfModule",
+ "modelInvariantId": "{{model_invariant_id}}",
+ "modelVersionId": "{{model_version_id}}",
+ "modelName": "{{model_name}}",
+ "modelVersion": "{{model_version}}",
+ "modelCustomizationId": "{{model_customization_id}}",
+ "modelCustomizationName": "{{model_name}} 0"
+ },
+ "requestParameters": {
+ "userParams": [],
+ "testApi": "{{api_type}}",
+ "usePreload": true
+ },
+ "cloudConfiguration": {
+ "tenantId": "{{tenant_id}}",
+ "cloudOwner": "{{cloud_owner}}",
+ "lcpCloudRegionId": "{{cloud_region}}"
+ },
+ "relatedInstanceList": [{
+ "relatedInstance": {
+ "instanceId": "{{service_instance_id}}",
+ "modelInfo": {
+ "modelType": "service",
+ "modelName": "{{service_model_name}}",
+ "modelInvariantId": "{{service_model_invariant_id}}",
+ "modelVersion": "{{service_model_version}}",
+ "modelVersionId": "{{service_model_version_id}}"
+ }
+ }
+ },
+ {
+ "relatedInstance": {
+ "instanceId": "{{vnf_instance_id}}",
+ "modelInfo": {
+ "modelType": "vnf",
+ "modelName": "{{vnf_model_name}}",
+ "modelInvariantId": "{{vnf_model_invariant_id}}",
+ "modelVersion": "{{vnf_model_version}}",
+ "modelVersionId": "{{vnf_model_version_id}}",
+ "modelCustomizationId": "{{vnf_model_customization_id}}",
+ "modelCustomizationName": "{{vnf_model_name}} 0"
+ }
+ }
+ }]
+ }
+} \ No newline at end of file
diff --git a/onap-client/etc/payloads/so_delete_module.jinja b/onap-client/etc/payloads/so_delete_module.jinja
new file mode 100644
index 0000000..f97ce10
--- /dev/null
+++ b/onap-client/etc/payloads/so_delete_module.jinja
@@ -0,0 +1,22 @@
+ {
+ "requestDetails": {
+ "requestInfo": {
+ "source": "VID",
+ "requestorId": "cs0008"
+ },
+ "modelInfo": {
+ "modelType": "vfModule",
+ "modelInvariantId": "{{module_invariant_id}}",
+ "modelName": "{{module_name}}",
+ "modelVersion": "{{module_version}}"
+ },
+ "requestParameters": {
+ "testApi": "{{api_type}}"
+ },
+ "cloudConfiguration": {
+ "lcpCloudRegionId": "{{cloud_region}}",
+ "tenantId": "{{tenant_id}}",
+ "cloudOwner": "{{cloud_owner}}"
+ }
+ }
+ } \ No newline at end of file
diff --git a/onap-client/etc/payloads/so_delete_service.jinja b/onap-client/etc/payloads/so_delete_service.jinja
new file mode 100644
index 0000000..21bcc7f
--- /dev/null
+++ b/onap-client/etc/payloads/so_delete_service.jinja
@@ -0,0 +1,22 @@
+ {
+ "requestDetails": {
+ "requestInfo": {
+ "source": "VID",
+ "requestorId": "cs0008"
+ },
+ "modelInfo": {
+ "modelType": "vnf",
+ "modelInvariantId": "{{service_invariant_id}}",
+ "modelName": "{{service_name}}",
+ "modelVersion": "{{service_version}}"
+ },
+ "requestParameters": {
+ "testApi": "{{api_type}}"
+ },
+ "cloudConfiguration": {
+ "cloudOwner": "CloudOwner",
+ "lcpCloudRegionId": "None",
+ "tenantId": "NoTenant"
+ }
+ }
+ } \ No newline at end of file
diff --git a/onap-client/etc/payloads/so_delete_vnf.jinja b/onap-client/etc/payloads/so_delete_vnf.jinja
new file mode 100644
index 0000000..c39ac28
--- /dev/null
+++ b/onap-client/etc/payloads/so_delete_vnf.jinja
@@ -0,0 +1,22 @@
+ {
+ "requestDetails": {
+ "requestInfo": {
+ "source": "VID",
+ "requestorId": "cs0008"
+ },
+ "modelInfo": {
+ "modelType": "vnf",
+ "modelInvariantId": "{{vnf_invariant_id}}",
+ "modelName": "{{vnf_name}}",
+ "modelVersion": "{{vnf_version}}"
+ },
+ "requestParameters": {
+ "testApi": "{{api_type}}"
+ },
+ "cloudConfiguration": {
+ "lcpCloudRegionId": "{{cloud_region}}",
+ "tenantId": "{{tenant_id}}",
+ "cloudOwner": "{{cloud_owner}}"
+ }
+ }
+ } \ No newline at end of file
diff --git a/onap-client/etc/payloads/so_service_instance.jinja b/onap-client/etc/payloads/so_service_instance.jinja
new file mode 100644
index 0000000..abdfe84
--- /dev/null
+++ b/onap-client/etc/payloads/so_service_instance.jinja
@@ -0,0 +1,37 @@
+{
+ "requestDetails": {
+ "requestInfo": {
+ "instanceName": "{{service_instance_name}}",
+ "source": "onap_client",
+ "suppressRollback": false,
+ "requestorId": "{{requestor_id}}"
+ },
+ "modelInfo": {
+ "modelType": "service",
+ "modelInvariantId": "{{model_invariant_id}}",
+ "modelVersionId": "{{model_version_id}}",
+ "modelName": "{{model_name}}",
+ "modelVersion": "{{model_version}}"
+ },
+ "cloudConfiguration": {
+ "tenantId": "{{tenant_id}}",
+ "cloudOwner": "{{cloud_owner}}",
+ "lcpCloudRegionId": "{{cloud_region}}"
+ },
+ "requestParameters": {
+ "userParams": [],
+ "testApi": "{{api_type}}",
+ "subscriptionServiceType": "{{service_type}}",
+ "aLaCarte": true
+ },
+ "subscriberInfo": {
+ "globalSubscriberId": "{{customer_id}}"
+ },
+ "project": {
+ "projectName": "{{project_name}}"
+ },
+ "owningEntity": {
+ "owningEntityId": "{{owning_entity_id}}"
+ }
+ }
+} \ No newline at end of file
diff --git a/onap-client/etc/payloads/so_vnf_instance.jinja b/onap-client/etc/payloads/so_vnf_instance.jinja
new file mode 100644
index 0000000..4419847
--- /dev/null
+++ b/onap-client/etc/payloads/so_vnf_instance.jinja
@@ -0,0 +1,48 @@
+{
+ "requestDetails": {
+ "requestInfo": {
+ "instanceName": "{{vnf_instance_name}}",
+ "source": "VID",
+ "suppressRollback": false,
+ "requestorId": "{{requestor_id}}",
+ "productFamilyId": "1234"
+ },
+ "modelInfo": {
+ "modelType": "vnf",
+ "modelInvariantId": "{{model_invariant_id}}",
+ "modelVersionId": "{{model_version_id}}",
+ "modelName": "{{model_name}}",
+ "modelVersion": "{{model_version}}",
+ "modelCustomizationId": "{{model_customization_id}}",
+ "modelCustomizationName": "{{model_name}} 0"
+ },
+ "requestParameters": {
+ "userParams": [],
+ "aLaCarte": true,
+ "testApi": "{{api_type}}"
+ },
+ "cloudConfiguration": {
+ "tenantId": "{{tenant_id}}",
+ "cloudOwner": "{{cloud_owner}}",
+ "lcpCloudRegionId": "{{cloud_region}}"
+ },
+ "lineOfBusiness": {
+ "lineOfBusinessName": "{{line_of_business}}"
+ },
+ "platform": {
+ "platformName": "{{platform}}"
+ },
+ "relatedInstanceList": [{
+ "relatedInstance": {
+ "instanceId": "{{service_instance_id}}",
+ "modelInfo": {
+ "modelType": "service",
+ "modelName": "{{service_model_name}}",
+ "modelInvariantId": "{{service_model_invariant_id}}",
+ "modelVersion": "{{service_model_version}}",
+ "modelVersionId": "{{service_model_version_id}}"
+ }
+ }
+ }]
+ }
+} \ No newline at end of file
diff --git a/onap-client/etc/payloads/software_product.jinja b/onap-client/etc/payloads/software_product.jinja
new file mode 100644
index 0000000..e7bb590
--- /dev/null
+++ b/onap-client/etc/payloads/software_product.jinja
@@ -0,0 +1,17 @@
+{
+ "name": "{{software_product_name}}",
+ "description": "{{description}}",
+ "category": "resourceNewCategory.{{category}}",
+ "subCategory": "resourceNewCategory.{{category}}.{{sub_category}}",
+ "onboardingMethod" : "NetworkPackage",
+ "licensingVersion": "{{license_model_version_id}}",
+ "vendorName": "{{vendor_name}}",
+ "vendorId": "{{license_model_id}}",
+ "icon": "icon",
+ "licensingData": {
+ "licenseAgreement": "{{license_agreement_id}}",
+ "featureGroups": [
+ "{{feature_group_id}}"
+ ]
+ }
+} \ No newline at end of file
diff --git a/onap-client/etc/payloads/user_remarks.jinja b/onap-client/etc/payloads/user_remarks.jinja
new file mode 100644
index 0000000..ea01a24
--- /dev/null
+++ b/onap-client/etc/payloads/user_remarks.jinja
@@ -0,0 +1 @@
+{"userRemarks":"{{user_remarks}}"} \ No newline at end of file
diff --git a/onap-client/etc/payloads/vid_maintenance.jinja b/onap-client/etc/payloads/vid_maintenance.jinja
new file mode 100644
index 0000000..1672140
--- /dev/null
+++ b/onap-client/etc/payloads/vid_maintenance.jinja
@@ -0,0 +1,3 @@
+{
+ "options": ["{{name}}"]
+} \ No newline at end of file