summaryrefslogtreecommitdiffstats
path: root/reception/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'reception/src/test/resources')
-rw-r--r--reception/src/test/resources/EmptyClassName.json3
-rw-r--r--reception/src/test/resources/NullClassName.json5
-rw-r--r--reception/src/test/resources/PolicyDecoderConfiguration.json7
-rw-r--r--reception/src/test/resources/ReceptionHandlerConfiguration.json8
-rw-r--r--reception/src/test/resources/WrongClassName.json3
5 files changed, 26 insertions, 0 deletions
diff --git a/reception/src/test/resources/EmptyClassName.json b/reception/src/test/resources/EmptyClassName.json
new file mode 100644
index 00000000..11ef5c4c
--- /dev/null
+++ b/reception/src/test/resources/EmptyClassName.json
@@ -0,0 +1,3 @@
+{
+ "parameterClassName": ""
+}
diff --git a/reception/src/test/resources/NullClassName.json b/reception/src/test/resources/NullClassName.json
new file mode 100644
index 00000000..fc65c1bd
--- /dev/null
+++ b/reception/src/test/resources/NullClassName.json
@@ -0,0 +1,5 @@
+{
+ "parameters": {
+ "param1": "value"
+ }
+}
diff --git a/reception/src/test/resources/PolicyDecoderConfiguration.json b/reception/src/test/resources/PolicyDecoderConfiguration.json
new file mode 100644
index 00000000..80a6dcab
--- /dev/null
+++ b/reception/src/test/resources/PolicyDecoderConfiguration.json
@@ -0,0 +1,7 @@
+{
+ "parameterClassName": "org.onap.policy.distribution.reception.testclasses.DummyPolicyDecoderParameterGroup",
+ "parameters": {
+ "policyName": "SamplePolicy",
+ "policyType": "DUMMY"
+ }
+}
diff --git a/reception/src/test/resources/ReceptionHandlerConfiguration.json b/reception/src/test/resources/ReceptionHandlerConfiguration.json
new file mode 100644
index 00000000..75d157b2
--- /dev/null
+++ b/reception/src/test/resources/ReceptionHandlerConfiguration.json
@@ -0,0 +1,8 @@
+{
+ "parameterClassName": "org.onap.policy.distribution.reception.testclasses.DummyReceptionHandlerParameterGroup",
+ "parameters": {
+ "myStringParameter": "stringValue",
+ "myIntegerParameter": 20,
+ "myBooleanParameter": true
+ }
+}
diff --git a/reception/src/test/resources/WrongClassName.json b/reception/src/test/resources/WrongClassName.json
new file mode 100644
index 00000000..98beb411
--- /dev/null
+++ b/reception/src/test/resources/WrongClassName.json
@@ -0,0 +1,3 @@
+{
+ "parameterClassName": "org.onap.policy.distribution.reception.testclasses.NotExistentClass"
+}