aboutsummaryrefslogtreecommitdiffstats
path: root/tutorials/vFWDT/policies/types/queryPolicy-v20181031.yml
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@orange.com>2019-09-10 13:30:53 +0200
committerMarco Platania <platania@research.att.com>2019-09-13 16:21:28 +0000
commitd0d957e94bf17d53ae758a9aa6f732dbd78a98ff (patch)
treebdcd6b8bebca68abd47346e6cc8ab487aa2c4d64 /tutorials/vFWDT/policies/types/queryPolicy-v20181031.yml
parent1dfe955fc03f86fe0fea055d624da1338c5830bb (diff)
vFW DT tutorial improvements
- Improvements in the workflow script to use OSDF request - policy types added - policy rules added - script to upload policies added Change-Id: I61e2bf3bbb10ca45088e989bbd801ec9ca439ae3 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Issue-ID: INT-751
Diffstat (limited to 'tutorials/vFWDT/policies/types/queryPolicy-v20181031.yml')
-rw-r--r--tutorials/vFWDT/policies/types/queryPolicy-v20181031.yml43
1 files changed, 43 insertions, 0 deletions
diff --git a/tutorials/vFWDT/policies/types/queryPolicy-v20181031.yml b/tutorials/vFWDT/policies/types/queryPolicy-v20181031.yml
new file mode 100644
index 00000000..09824db9
--- /dev/null
+++ b/tutorials/vFWDT/policies/types/queryPolicy-v20181031.yml
@@ -0,0 +1,43 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+node_types:
+ policy.nodes.queryPolicy:
+ derived_from: policy.nodes.Root
+ properties:
+ policyScope:
+ type: list
+ description: scope where the policy is applicable
+ required: true
+ matchable: true
+ entry_schema:
+ type: string
+ policyType:
+ type: list
+ description: type of a policy
+ required: true
+ matchable: true
+ entry_schema:
+ type: string
+ consraints:
+ - valid_values:
+ - request_param_query
+ identity:
+ type: string
+ required: true
+ queryProperties:
+ type: list
+ required: true
+ entry_schema:
+ type:policy.data.queryProperties_properties
+data_types:
+ policy.data.queryProperties_properties:
+ derived_from: tosca.nodes.Root
+ properties:
+ attribute:
+ type: string
+ required: true
+ value:
+ type: string
+ required: true
+ attribute_location:
+ type: string
+ required: true