summaryrefslogtreecommitdiffstats
path: root/config/pe
diff options
context:
space:
mode:
Diffstat (limited to 'config/pe')
-rw-r--r--config/pe/elk.conf3
-rw-r--r--config/pe/push-policies.sh18
2 files changed, 9 insertions, 12 deletions
diff --git a/config/pe/elk.conf b/config/pe/elk.conf
new file mode 100644
index 00000000..938954ce
--- /dev/null
+++ b/config/pe/elk.conf
@@ -0,0 +1,3 @@
+# elasticsearch
+
+ELK_JMX_PORT=9995 \ No newline at end of file
diff --git a/config/pe/push-policies.sh b/config/pe/push-policies.sh
index 414e2e5b..a8ec6689 100644
--- a/config/pe/push-policies.sh
+++ b/config/pe/push-policies.sh
@@ -9,8 +9,7 @@ echo "Pushing default policies"
curl -X PUT --header 'Content-Type: application/json' --header 'Accept: text/plain' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHJlc3Q6M2MwbXBVI2gwMUBOMWMz' --header 'Environment: TEST' -d '{
"pdpGroup": "default",
- "policyName": "vFirewall",
- "policyScope": "com",
+ "policyName": "com.vFirewall",
"policyType": "MicroService"
}' 'http://pdp:8081/pdp/api/pushPolicy'
@@ -18,16 +17,14 @@ sleep 2
curl -X PUT --header 'Content-Type: application/json' --header 'Accept: text/plain' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHJlc3Q6M2MwbXBVI2gwMUBOMWMz' --header 'Environment: TEST' -d '{
"pdpGroup": "default",
- "policyName": "vLoadBalancer",
- "policyScope": "com",
+ "policyName": "com.vLoadBalancer",
"policyType": "MicroService"
}' 'http://pdp:8081/pdp/api/pushPolicy'
sleep 2
curl -X PUT --header 'Content-Type: application/json' --header 'Accept: text/plain' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHJlc3Q6M2MwbXBVI2gwMUBOMWMz' --header 'Environment: TEST' -d '{
"pdpGroup": "default",
- "policyName": "BRMSParamvLBDemoPolicy",
- "policyScope": "com",
+ "policyName": "com.BRMSParamvLBDemoPolicy",
"policyType": "BRMS_Param"
}' 'http://pdp:8081/pdp/api/pushPolicy'
@@ -35,8 +32,7 @@ sleep 2
curl -X PUT --header 'Content-Type: application/json' --header 'Accept: text/plain' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHJlc3Q6M2MwbXBVI2gwMUBOMWMz' --header 'Environment: TEST' -d '{
"pdpGroup": "default",
- "policyName": "BRMSParamvFWDemoPolicy",
- "policyScope": "com",
+ "policyName": "com.BRMSParamvFWDemoPolicy",
"policyType": "BRMS_Param"
}' 'http://pdp:8081/pdp/api/pushPolicy'
@@ -59,8 +55,7 @@ curl -X DELETE --header 'Content-Type: application/json' --header 'Accept: text/
sleep 2
curl -X PUT --header 'Content-Type: application/json' --header 'Accept: text/plain' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHJlc3Q6M2MwbXBVI2gwMUBOMWMz' --header 'Environment: TEST' -d '{
"pdpGroup": "default",
- "policyName": "BRMSParamvLBDemoPolicy",
- "policyScope": "com",
+ "policyName": "com.BRMSParamvLBDemoPolicy",
"policyType": "BRMS_Param"
}' 'http://pdp:8081/pdp/api/pushPolicy'
@@ -68,8 +63,7 @@ sleep 2
curl -X PUT --header 'Content-Type: application/json' --header 'Accept: text/plain' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHJlc3Q6M2MwbXBVI2gwMUBOMWMz' --header 'Environment: TEST' -d '{
"pdpGroup": "default",
- "policyName": "BRMSParamvFWDemoPolicy",
- "policyScope": "com",
+ "policyName": "com.BRMSParamvFWDemoPolicy",
"policyType": "BRMS_Param"
}' 'http://pdp:8081/pdp/api/pushPolicy'