summaryrefslogtreecommitdiffstats
path: root/plugins/forwarding-plugins/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/forwarding-plugins/src/test/resources')
-rw-r--r--plugins/forwarding-plugins/src/test/resources/parameters/ApexPdpPolicyForwarderParameters.json6
-rw-r--r--plugins/forwarding-plugins/src/test/resources/parameters/ApexPdpPolicyForwarderParametersInvalid.json6
-rw-r--r--plugins/forwarding-plugins/src/test/resources/parameters/EmptyParameters.json2
-rw-r--r--plugins/forwarding-plugins/src/test/resources/parameters/LifecycleApiPolicyForwarderParameters.json12
-rw-r--r--plugins/forwarding-plugins/src/test/resources/parameters/LifecycleApiPolicyForwarderParametersInvalid.json12
-rw-r--r--plugins/forwarding-plugins/src/test/resources/parameters/XacmlPdpPolicyForwarderParameters.json10
-rw-r--r--plugins/forwarding-plugins/src/test/resources/parameters/XacmlPdpPolicyForwarderParametersInvalid.json10
7 files changed, 58 insertions, 0 deletions
diff --git a/plugins/forwarding-plugins/src/test/resources/parameters/ApexPdpPolicyForwarderParameters.json b/plugins/forwarding-plugins/src/test/resources/parameters/ApexPdpPolicyForwarderParameters.json
new file mode 100644
index 00000000..d244e0be
--- /dev/null
+++ b/plugins/forwarding-plugins/src/test/resources/parameters/ApexPdpPolicyForwarderParameters.json
@@ -0,0 +1,6 @@
+{
+ "hostname":"10.10.10.10",
+ "port":"1234",
+ "ignoreConflicts": false,
+ "forceUpdate": true
+} \ No newline at end of file
diff --git a/plugins/forwarding-plugins/src/test/resources/parameters/ApexPdpPolicyForwarderParametersInvalid.json b/plugins/forwarding-plugins/src/test/resources/parameters/ApexPdpPolicyForwarderParametersInvalid.json
new file mode 100644
index 00000000..c87b7767
--- /dev/null
+++ b/plugins/forwarding-plugins/src/test/resources/parameters/ApexPdpPolicyForwarderParametersInvalid.json
@@ -0,0 +1,6 @@
+{
+ "hostname":"",
+ "port":"-1",
+ "ignoreConflicts": false,
+ "forceUpdate": true
+}
diff --git a/plugins/forwarding-plugins/src/test/resources/parameters/EmptyParameters.json b/plugins/forwarding-plugins/src/test/resources/parameters/EmptyParameters.json
new file mode 100644
index 00000000..7a73a41b
--- /dev/null
+++ b/plugins/forwarding-plugins/src/test/resources/parameters/EmptyParameters.json
@@ -0,0 +1,2 @@
+{
+} \ No newline at end of file
diff --git a/plugins/forwarding-plugins/src/test/resources/parameters/LifecycleApiPolicyForwarderParameters.json b/plugins/forwarding-plugins/src/test/resources/parameters/LifecycleApiPolicyForwarderParameters.json
new file mode 100644
index 00000000..0bb54279
--- /dev/null
+++ b/plugins/forwarding-plugins/src/test/resources/parameters/LifecycleApiPolicyForwarderParameters.json
@@ -0,0 +1,12 @@
+{
+ "policyApiHostName": "10.10.10.10",
+ "policyApiPort": 1234,
+ "policyApiUserName": "api_user",
+ "policyApiPassword": "api_password",
+ "policyPapHostName": "20.20.20.20",
+ "policyPapPort": "4321",
+ "policyPapUserName": "pap_user",
+ "policyPapPassword": "pap_password",
+ "isHttps": true,
+ "deployPolicies": true
+} \ No newline at end of file
diff --git a/plugins/forwarding-plugins/src/test/resources/parameters/LifecycleApiPolicyForwarderParametersInvalid.json b/plugins/forwarding-plugins/src/test/resources/parameters/LifecycleApiPolicyForwarderParametersInvalid.json
new file mode 100644
index 00000000..b10be731
--- /dev/null
+++ b/plugins/forwarding-plugins/src/test/resources/parameters/LifecycleApiPolicyForwarderParametersInvalid.json
@@ -0,0 +1,12 @@
+{
+ "policyApiHostName": "",
+ "policyApiPort": -1,
+ "policyApiUserName": "api_user",
+ "policyApiPassword": "api_password",
+ "policyPapHostName": "",
+ "policyPapPort": "-2",
+ "policyPapUserName": "pap_user",
+ "policyPapPassword": "pap_password",
+ "isHttps": true,
+ "deployPolicies": true
+} \ No newline at end of file
diff --git a/plugins/forwarding-plugins/src/test/resources/parameters/XacmlPdpPolicyForwarderParameters.json b/plugins/forwarding-plugins/src/test/resources/parameters/XacmlPdpPolicyForwarderParameters.json
new file mode 100644
index 00000000..0e115ef2
--- /dev/null
+++ b/plugins/forwarding-plugins/src/test/resources/parameters/XacmlPdpPolicyForwarderParameters.json
@@ -0,0 +1,10 @@
+{
+ "useHttps": true,
+ "hostname": "10.10.10.10",
+ "port": 1234,
+ "userName": "myUser",
+ "password": "myPassword",
+ "clientAuth": "myClientAuth",
+ "isManaged": false,
+ "pdpGroup": "myPdpGroup"
+} \ No newline at end of file
diff --git a/plugins/forwarding-plugins/src/test/resources/parameters/XacmlPdpPolicyForwarderParametersInvalid.json b/plugins/forwarding-plugins/src/test/resources/parameters/XacmlPdpPolicyForwarderParametersInvalid.json
new file mode 100644
index 00000000..03e342b6
--- /dev/null
+++ b/plugins/forwarding-plugins/src/test/resources/parameters/XacmlPdpPolicyForwarderParametersInvalid.json
@@ -0,0 +1,10 @@
+{
+ "useHttps": true,
+ "hostname": "",
+ "port": -2,
+ "userName": "",
+ "password": "",
+ "clientAuth": "myClientAuth",
+ "isManaged": false,
+ "pdpGroup": "default"
+} \ No newline at end of file