aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/reception-plugins/src/test/resources
diff options
context:
space:
mode:
authorramverma <ram.krishna.verma@est.tech>2019-08-06 14:14:01 +0000
committerramverma <ram.krishna.verma@est.tech>2019-08-06 14:14:01 +0000
commitc04dd4a6984734869ef6888f95d304d3d53c1923 (patch)
treebb98d757a5890b1783959dcd9c2ff52a6341dc01 /plugins/reception-plugins/src/test/resources
parent039cd619bc102865d664bbf6b003cd33b243eaf1 (diff)
Changing parameters to use ParameterGroupImpl
1. Changing all the decoders & handlers parameters to use ParameterGroupImpl. 2. Fixed all the test cases. Issue-ID: POLICY-1890 Change-Id: I4a124c0acc650020977ac8e2cee143c72003973a Signed-off-by: ramverma <ram.krishna.verma@est.tech>
Diffstat (limited to 'plugins/reception-plugins/src/test/resources')
-rw-r--r--plugins/reception-plugins/src/test/resources/parameters/EmptyParameters.json2
-rw-r--r--plugins/reception-plugins/src/test/resources/parameters/FileInCsarPolicyDecoderParameters.json4
-rw-r--r--plugins/reception-plugins/src/test/resources/parameters/FileInCsarPolicyDecoderParametersInvalid.json4
-rw-r--r--plugins/reception-plugins/src/test/resources/parameters/PdpxPolicyDecoderParameters.json8
-rw-r--r--plugins/reception-plugins/src/test/resources/parameters/PdpxPolicyDecoderParametersInvalid.json8
5 files changed, 26 insertions, 0 deletions
diff --git a/plugins/reception-plugins/src/test/resources/parameters/EmptyParameters.json b/plugins/reception-plugins/src/test/resources/parameters/EmptyParameters.json
new file mode 100644
index 00000000..7a73a41b
--- /dev/null
+++ b/plugins/reception-plugins/src/test/resources/parameters/EmptyParameters.json
@@ -0,0 +1,2 @@
+{
+} \ No newline at end of file
diff --git a/plugins/reception-plugins/src/test/resources/parameters/FileInCsarPolicyDecoderParameters.json b/plugins/reception-plugins/src/test/resources/parameters/FileInCsarPolicyDecoderParameters.json
new file mode 100644
index 00000000..ce67ef47
--- /dev/null
+++ b/plugins/reception-plugins/src/test/resources/parameters/FileInCsarPolicyDecoderParameters.json
@@ -0,0 +1,4 @@
+{
+ "policyFileName": "apex_ddf_policy",
+ "policyTypeFileName": "apex_ddf_policy_type"
+} \ No newline at end of file
diff --git a/plugins/reception-plugins/src/test/resources/parameters/FileInCsarPolicyDecoderParametersInvalid.json b/plugins/reception-plugins/src/test/resources/parameters/FileInCsarPolicyDecoderParametersInvalid.json
new file mode 100644
index 00000000..50719d16
--- /dev/null
+++ b/plugins/reception-plugins/src/test/resources/parameters/FileInCsarPolicyDecoderParametersInvalid.json
@@ -0,0 +1,4 @@
+{
+ "policyFileName": "",
+ "policyTypeFileName": ""
+} \ No newline at end of file
diff --git a/plugins/reception-plugins/src/test/resources/parameters/PdpxPolicyDecoderParameters.json b/plugins/reception-plugins/src/test/resources/parameters/PdpxPolicyDecoderParameters.json
new file mode 100644
index 00000000..9f686632
--- /dev/null
+++ b/plugins/reception-plugins/src/test/resources/parameters/PdpxPolicyDecoderParameters.json
@@ -0,0 +1,8 @@
+{
+ "policyNamePrefix": "OOF",
+ "onapName": "onapName",
+ "version": "1.0",
+ "priority": "5",
+ "riskType": "Test",
+ "riskLevel": "2"
+} \ No newline at end of file
diff --git a/plugins/reception-plugins/src/test/resources/parameters/PdpxPolicyDecoderParametersInvalid.json b/plugins/reception-plugins/src/test/resources/parameters/PdpxPolicyDecoderParametersInvalid.json
new file mode 100644
index 00000000..a716452e
--- /dev/null
+++ b/plugins/reception-plugins/src/test/resources/parameters/PdpxPolicyDecoderParametersInvalid.json
@@ -0,0 +1,8 @@
+{
+ "policyNamePrefix": "",
+ "onapName": "",
+ "version": "",
+ "priority": "",
+ "riskType": "",
+ "riskLevel": ""
+} \ No newline at end of file