aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/tosca/operational-policy-payload.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/resources/tosca/operational-policy-payload.yaml')
-rw-r--r--src/test/resources/tosca/operational-policy-payload.yaml100
1 files changed, 0 insertions, 100 deletions
diff --git a/src/test/resources/tosca/operational-policy-payload.yaml b/src/test/resources/tosca/operational-policy-payload.yaml
deleted file mode 100644
index a756b57d..00000000
--- a/src/test/resources/tosca/operational-policy-payload.yaml
+++ /dev/null
@@ -1,100 +0,0 @@
-tosca_definitions_version: tosca_simple_yaml_1_0_0
-topology_template:
- policies:
- - testPolicy.legacy:
- type: onap.policies.controlloop.Operational
- version: 1.0.0
- metadata:
- policy-id: testPolicy.legacy
- properties:
- controlLoop:
- timeout: '0'
- abatement: 'True'
- trigger_policy: policy1
- controlLoopName: LOOP_ASJOy_v1_0_ResourceInstanceName1_tca
- policies:
- - id: policy1
- retry: '0'
- timeout: '0'
- success: final_success
- failure: policy2
- failure_timeout: final_failure_timeout
- failure_retries: final_failure_retries
- failure_exception: final_failure_exception
- failure_guard: final_failure_guard
- target:
- type: VNF
- resourceID: vLoadBalancerMS
- actor: APPC
- recipe: Restart
- payload:
- requestParameters: '{"usePreload":true,"userParams":[]}'
- configurationParameters: '[{"ip-addr":"$.vf-module-topology.vf-module-parameters.param[10].value","oam-ip-addr":"$.vf-module-topology.vf-module-parameters.param[15].value","enabled":"$.vf-module-topology.vf-module-parameters.param[22].value"}]'
- - id: policy2
- retry: '0'
- timeout: '0'
- success: final_success
- failure: final_failure
- failure_timeout: final_failure_timeout
- failure_retries: final_failure_retries
- failure_exception: final_failure_exception
- failure_guard: final_failure_guard
- target:
- type: VFMODULE
- resourceID: Vloadbalancerms..vpkg..module-1
- modelInvariantId: ca052563-eb92-4b5b-ad41-9111768ce043
- modelVersionId: 1e725ccc-b823-4f67-82b9-4f4367070dbc
- modelName: Vloadbalancerms..vpkg..module-1
- modelVersion: '1'
- modelCustomizationId: 1bffdc31-a37d-4dee-b65c-dde623a76e52
- actor: SO
- recipe: VF Module Create
- payload: ''
- - id: policy3
- retry: '0'
- timeout: '0'
- success: final_success
- failure: final_failure
- failure_timeout: final_failure_timeout
- failure_retries: final_failure_retries
- failure_exception: final_failure_exception
- failure_guard: final_failure_guard
- target:
- type: VFMODULE
- resourceID: Vloadbalancerms..vpkg..module-1
- modelInvariantId: ca052563-eb92-4b5b-ad41-9111768ce043
- modelVersionId: 1e725ccc-b823-4f67-82b9-4f4367070dbc
- modelName: Vloadbalancerms..vpkg..module-1
- modelVersion: '1'
- modelCustomizationId: 1bffdc31-a37d-4dee-b65c-dde623a76e52
- actor: CDS
- recipe: resource-assignment
- payload:
- artifact_name: baseconfiguration
- artifact_version: 1.0.0
- mode: async
- data: '{"resource-assignment-properties":{"request-id":"request-id","service-instance-id":"service-instance-id","vnf-id":"vnf-id","action-name":"action-name","scope-type":"scope-type","hostname":"hostname","vnf_name":"vnf_name"}}'
- - id: policy4
- retry: '0'
- timeout: '0'
- success: final_success
- failure: final_failure
- failure_timeout: final_failure_timeout
- failure_retries: final_failure_retries
- failure_exception: final_failure_exception
- failure_guard: final_failure_guard
- target:
- type: VFMODULE
- resourceID: Vloadbalancerms..vpkg..module-1
- modelInvariantId: ca052563-eb92-4b5b-ad41-9111768ce043
- modelVersionId: 1e725ccc-b823-4f67-82b9-4f4367070dbc
- modelName: Vloadbalancerms..vpkg..module-1
- modelVersion: '1'
- modelCustomizationId: 1bffdc31-a37d-4dee-b65c-dde623a76e52
- actor: CDS
- recipe: modify-config
- payload:
- artifact_name: baseconfiguration
- artifact_version: 1.0.0
- mode: async
- data: '{}'