diff options
Diffstat (limited to 'src/test/resources/example/operational-policy')
3 files changed, 0 insertions, 153 deletions
diff --git a/src/test/resources/example/operational-policy/json-policy-chain.json b/src/test/resources/example/operational-policy/json-policy-chain.json deleted file mode 100644 index 037b4d656..000000000 --- a/src/test/resources/example/operational-policy/json-policy-chain.json +++ /dev/null @@ -1,63 +0,0 @@ -[ - { - "name": "pname", - "value": "healthCheck Policy" - }, - { - "name": "pid", - "value": "1" - }, - { - "name": "timeout", - "value": "180" - }, - { - "policyConfigurations": [ - [ - { - "name": "recipe", - "value": [ - "healthCheck" - ] - }, - { - "name": "maxRetries", - "value": [ - "3" - ] - }, - { - "name": "retryTimeLimit", - "value": [ - "180" - ] - }, - { - "name": "_id", - "value": [ - "789875c1-e788-432f-9a76-eac8ed889734" - ] - }, - { - "name": "parentPolicy", - "value": [ - "" - ] - }, - { - "name": "actor", - "value": [ - "APPC" - ] - }, - { - "name": "targetResourceId", - "value": [ - "cdb69724-57d5-4a22-b96c-4c345150fd0e" - ] - } - - ] - ] - } -]
\ No newline at end of file diff --git a/src/test/resources/example/operational-policy/yaml-policy-chain-1.yaml b/src/test/resources/example/operational-policy/yaml-policy-chain-1.yaml deleted file mode 100644 index 19ee585b9..000000000 --- a/src/test/resources/example/operational-policy/yaml-policy-chain-1.yaml +++ /dev/null @@ -1,45 +0,0 @@ -controlLoop: - abatement: false - controlLoopName: controlNameTest - resources: null - services: null - timeout: 500 - trigger_policy: <generatedId> - version: 2.0.0 -policies: -- actor: APPC - description: restart Policy - the trigger (no parent) policy - created by CLDS - failure: <generatedId> - failure_exception: <generatedId> - failure_guard: FINAL_FAILURE_GUARD - failure_retries: <generatedId> - failure_timeout: <generatedId> - id: <generatedId> - name: restart Policy - operationsAccumulateParams: null - payload: null - recipe: restart - retry: 3 - success: <generatedId> - target: - resourceID: null - type: VM - timeout: 180 -- actor: APPC - description: rebuild Policy - triggered conditionally by restart Policy - created by CLDS - failure: <generatedId> - failure_exception: <generatedId> - failure_guard: FINAL_FAILURE_GUARD - failure_retries: <generatedId> - failure_timeout: <generatedId> - id: <generatedId> - name: rebuild Policy - operationsAccumulateParams: null - payload: null - recipe: rebuild - retry: 3 - success: <generatedId> - target: - resourceID: resource-id - type: VM - timeout: 180 diff --git a/src/test/resources/example/operational-policy/yaml-policy-chain-2.yaml b/src/test/resources/example/operational-policy/yaml-policy-chain-2.yaml deleted file mode 100644 index 19ee585b9..000000000 --- a/src/test/resources/example/operational-policy/yaml-policy-chain-2.yaml +++ /dev/null @@ -1,45 +0,0 @@ -controlLoop: - abatement: false - controlLoopName: controlNameTest - resources: null - services: null - timeout: 500 - trigger_policy: <generatedId> - version: 2.0.0 -policies: -- actor: APPC - description: restart Policy - the trigger (no parent) policy - created by CLDS - failure: <generatedId> - failure_exception: <generatedId> - failure_guard: FINAL_FAILURE_GUARD - failure_retries: <generatedId> - failure_timeout: <generatedId> - id: <generatedId> - name: restart Policy - operationsAccumulateParams: null - payload: null - recipe: restart - retry: 3 - success: <generatedId> - target: - resourceID: null - type: VM - timeout: 180 -- actor: APPC - description: rebuild Policy - triggered conditionally by restart Policy - created by CLDS - failure: <generatedId> - failure_exception: <generatedId> - failure_guard: FINAL_FAILURE_GUARD - failure_retries: <generatedId> - failure_timeout: <generatedId> - id: <generatedId> - name: rebuild Policy - operationsAccumulateParams: null - payload: null - recipe: rebuild - retry: 3 - success: <generatedId> - target: - resourceID: resource-id - type: VM - timeout: 180 |