summaryrefslogtreecommitdiffstats
path: root/policy-regression-tests/policy-clamp-regression/src/test/resources/data/AcUpdateProperty.json
diff options
context:
space:
mode:
Diffstat (limited to 'policy-regression-tests/policy-clamp-regression/src/test/resources/data/AcUpdateProperty.json')
-rw-r--r--policy-regression-tests/policy-clamp-regression/src/test/resources/data/AcUpdateProperty.json35
1 files changed, 28 insertions, 7 deletions
diff --git a/policy-regression-tests/policy-clamp-regression/src/test/resources/data/AcUpdateProperty.json b/policy-regression-tests/policy-clamp-regression/src/test/resources/data/AcUpdateProperty.json
index a8598aaf..6411c750 100644
--- a/policy-regression-tests/policy-clamp-regression/src/test/resources/data/AcUpdateProperty.json
+++ b/policy-regression-tests/policy-clamp-regression/src/test/resources/data/AcUpdateProperty.json
@@ -8,20 +8,41 @@
"709c62b3-8918-41b9-a747-d21eb79c6c20": {
"id": "709c62b3-8918-41b9-a747-d21eb79c6c20",
"definition": {
- "name": "onap.policy.clamp.ac.element.Policy_AutomationCompositionElement",
+ "name": "onap.policy.clamp.ac.element.Http_AutomationCompositionElement",
"version": "1.2.3"
},
- "description": "Policy Automation Composition Element for the Demo",
+ "description": "Automation composition element for the http requests of AC Element Starter microservice",
"properties": {
- "policy_type_id": {
- "name": "onap.policies.native.Apex",
- "version": "1.0.0"
+ "uninitializedToPassiveTimeout": 180,
+ "baseUrl": "https://api.restful-api.dev",
+ "httpHeaders": {
+ "Content-Type": "application/json",
+ "Authorization": "Basic YWNtVXNlcjp6YiFYenRHMzQ="
},
"policy_id": {
"get_input": "acm_element_policy_updated"
},
- "new_property": "test"
+ "new_property": "test",
+ "configurationEntities": [
+ {
+ "configurationEntityId": {
+ "name": "onap.policy.clamp.ac.starter",
+ "version": "1.0.0"
+ },
+ "restSequence": [
+ {
+ "restRequestId": {
+ "name": "request1",
+ "version": "1.0.1"
+ },
+ "httpMethod": "GET",
+ "path": "/objects",
+ "expectedResponse": 200
+ }
+ ]
+ }
+ ]
}
}
}
-} \ No newline at end of file
+}