diff options
author | 2020-03-17 11:30:11 -0500 | |
---|---|---|
committer | 2020-03-18 15:56:16 -0500 | |
commit | ffb12d3ca702aa53c3f95d6e721f202f27e1aa8b (patch) | |
tree | 4f12a6a6b4c5fde837880b3273b3ecdf50b9fbb0 /controlloop/common/rules-test/src/main/resources/vfw/tosca-compliant-timeout-vfw.json | |
parent | 01cbeec256bf5ec9e3ec2e7f599aef7eb4814ae3 (diff) |
Add rainyDayTest for VFW
Added less restrictive filter condition to consider discarded messages
Issue-ID: POLICY-2431
Change-Id: I0bc5e34636699094c97bd7e5669f66df875cd6ae
Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
Diffstat (limited to 'controlloop/common/rules-test/src/main/resources/vfw/tosca-compliant-timeout-vfw.json')
-rw-r--r-- | controlloop/common/rules-test/src/main/resources/vfw/tosca-compliant-timeout-vfw.json | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/controlloop/common/rules-test/src/main/resources/vfw/tosca-compliant-timeout-vfw.json b/controlloop/common/rules-test/src/main/resources/vfw/tosca-compliant-timeout-vfw.json new file mode 100644 index 000000000..335068514 --- /dev/null +++ b/controlloop/common/rules-test/src/main/resources/vfw/tosca-compliant-timeout-vfw.json @@ -0,0 +1,40 @@ +{ + "type": "onap.policies.controlloop.operational.common.Drools", + "type_version": "1.0.0", + "name": "operational.modifyconfig", + "version": "1.0.0", + "metadata": { + "policy-id": "operational.modifyconfig" + }, + "properties": { + "controllerName": "usecases", + "id": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", + "timeout": 7, + "abatement": false, + "trigger": "unique-policy-id-1-modifyConfig", + "operations": [ + { + "id": "unique-policy-id-1-modifyConfig", + "description": "Modify the packet generator", + "operation": { + "actor": "APPC", + "operation": "ModifyConfig", + "target": { + "targetType": "VNF", + "entityIds": { + "resourceID": "bbb3cefd-01c8-413c-9bdd-2b92f9ca3d38" + } + } + }, + "timeout": 10, + "retries": 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" + } + ] + } +} |