aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/http-cache/example
diff options
context:
space:
mode:
authorXue Gao <xg353y@intl.att.com>2020-02-11 14:07:57 +0000
committerGerrit Code Review <gerrit@onap.org>2020-02-11 14:07:57 +0000
commit67bb8026ac17792efc7c51e9f7905f918c965e01 (patch)
tree5b3c068205442fb382900b32c98c72bb98cd135e /src/test/resources/http-cache/example
parentb0fba2fc6c28ec5054cb3a59cc5ed694be1c574c (diff)
parent9b6f57681520b4f0e4ed3cabd80204a11041e20e (diff)
Merge "Add policy downloader"
Diffstat (limited to 'src/test/resources/http-cache/example')
-rw-r--r--src/test/resources/http-cache/example/policy/api/v1/policytypes/.file60
-rw-r--r--src/test/resources/http-cache/example/policy/api/v1/policytypes/.header1
2 files changed, 61 insertions, 0 deletions
diff --git a/src/test/resources/http-cache/example/policy/api/v1/policytypes/.file b/src/test/resources/http-cache/example/policy/api/v1/policytypes/.file
new file mode 100644
index 00000000..7394d3f9
--- /dev/null
+++ b/src/test/resources/http-cache/example/policy/api/v1/policytypes/.file
@@ -0,0 +1,60 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+policy_types:
+ - onap.policies.Monitoring:
+ version: 1.0.0
+ description: A base policy type for all policies that govern monitoring provision
+ derived_from: tosca.policies.Root
+ properties:
+ # Omitted for brevity, see Section 1
+
+ - onap.policies.controlloop.Operational:
+ version: 1.0.0
+ description: Operational Policy for Control Loops
+ derived_from: tosca.policies.Root
+ properties:
+ # Omitted for brevity, see Section 1
+
+ - onap.policies.controloop.operational.Drools:
+ version: 1.0.0
+ description: Operational Policy for Control Loops using the Drools PDP
+ derived_from: onap.policies.controlloop.Operational
+ properties:
+ # Omitted for brevity, see Section 1
+
+ - onap.policies.controloop.operational.Apex:
+ version: 1.0.0
+ description: Operational Policy for Control Loops using the APEX PDP
+ derived_from: onap.policies.controlloop.Operational
+ properties:
+ # Omitted for brevity, see Section 1
+
+ - onap.policies.controlloop.Guard:
+ version: 1.0.0
+ description: Operational Policy for Control Loops
+ derived_from: tosca.policies.Root
+ properties:
+ # Omitted for brevity, see Section 1
+
+ - onap.policies.controlloop.guard.FrequencyLimiter:
+ version: 1.0.0
+ description: Supports limiting the frequency of actions being taken by a Actor.
+ derived_from: onap.policies.controlloop.Guard
+ properties:
+ # Omitted for brevity, see Section 1
+
+ - onap.policies.controlloop.guard.Blacklist:
+ version: 1.0.0
+ description: Supports blacklist of VNF's from performing control loop actions on.
+ derived_from: onap.policies.controlloop.Guard
+ properties:
+ # Omitted for brevity, see Section 1
+
+ - onap.policies.controlloop.guard.MinMax:
+ version: 1.0.0
+ description: Supports Min/Max number of VF Modules
+ derived_from: onap.policies.controlloop.Guard
+ properties:
+ # Omitted for brevity, see Section 1
+
+data_types:
+ # Any bespoke data types referenced by policy type definitions[]
diff --git a/src/test/resources/http-cache/example/policy/api/v1/policytypes/.header b/src/test/resources/http-cache/example/policy/api/v1/policytypes/.header
new file mode 100644
index 00000000..6a280d97
--- /dev/null
+++ b/src/test/resources/http-cache/example/policy/api/v1/policytypes/.header
@@ -0,0 +1 @@
+{"Transfer-Encoding": "chunked", "Set-Cookie": "JSESSIONID=158qxkdtdobkd1umr3ikkgrmlx;Path=/", "Expires": "Thu, 01 Jan 1970 00:00:00 GMT", "Server": "Jetty(9.3.21.v20170918)", "Content-Type": "application/json", "X-ECOMP-RequestID": "e2ddb3c8-994f-47df-b4dc-097d4fb55c08"} \ No newline at end of file