summaryrefslogtreecommitdiffstats
path: root/services/services-onappf/src/test/resources
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@est.tech>2019-03-26 13:54:45 +0000
committera.sreekumar <ajith.sreekumar@est.tech>2019-03-26 13:54:45 +0000
commit1d86d11223e9c60ec65b737301b51ca9a42adff5 (patch)
tree16a96cb29b045c7ed0cc1c3cdafae8f573095922 /services/services-onappf/src/test/resources
parentcfcffbce70ddc3083e337f18377c0847f7233caa (diff)
Adding services-onappf module to apex-pdp
1) Adding services-onappf module to apex-pdp. 2) Following the code base from policy/pap to build the module. 3) Currently PAP is using property & configuration file for bootstrap. Continuing the same in this module as well. 4) Adding relevant test cases. Change-Id: Id9740ea60ae3ecbd88e5d6d3586ee0dde1054cca Issue-ID: POLICY-1452 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Diffstat (limited to 'services/services-onappf/src/test/resources')
-rw-r--r--services/services-onappf/src/test/resources/ApexStarterConfigParameters.json4
-rw-r--r--services/services-onappf/src/test/resources/ApexStarterConfigParameters_InvalidName.json4
-rw-r--r--services/services-onappf/src/test/resources/EmptyConfigParameters.json2
-rw-r--r--services/services-onappf/src/test/resources/InvalidParameters.json3
-rw-r--r--services/services-onappf/src/test/resources/NoParameters.json0
-rw-r--r--services/services-onappf/src/test/resources/topic.properties4
6 files changed, 17 insertions, 0 deletions
diff --git a/services/services-onappf/src/test/resources/ApexStarterConfigParameters.json b/services/services-onappf/src/test/resources/ApexStarterConfigParameters.json
new file mode 100644
index 000000000..2720cdefd
--- /dev/null
+++ b/services/services-onappf/src/test/resources/ApexStarterConfigParameters.json
@@ -0,0 +1,4 @@
+{
+ "name":"ApexStarterParameterGroup",
+ "timeInterval": 5
+}
diff --git a/services/services-onappf/src/test/resources/ApexStarterConfigParameters_InvalidName.json b/services/services-onappf/src/test/resources/ApexStarterConfigParameters_InvalidName.json
new file mode 100644
index 000000000..a7273ae2b
--- /dev/null
+++ b/services/services-onappf/src/test/resources/ApexStarterConfigParameters_InvalidName.json
@@ -0,0 +1,4 @@
+{
+ "name":" ",
+ "timeInterval": 5
+} \ No newline at end of file
diff --git a/services/services-onappf/src/test/resources/EmptyConfigParameters.json b/services/services-onappf/src/test/resources/EmptyConfigParameters.json
new file mode 100644
index 000000000..7a73a41bf
--- /dev/null
+++ b/services/services-onappf/src/test/resources/EmptyConfigParameters.json
@@ -0,0 +1,2 @@
+{
+} \ No newline at end of file
diff --git a/services/services-onappf/src/test/resources/InvalidParameters.json b/services/services-onappf/src/test/resources/InvalidParameters.json
new file mode 100644
index 000000000..de2040cc8
--- /dev/null
+++ b/services/services-onappf/src/test/resources/InvalidParameters.json
@@ -0,0 +1,3 @@
+{
+ "name" : []
+} \ No newline at end of file
diff --git a/services/services-onappf/src/test/resources/NoParameters.json b/services/services-onappf/src/test/resources/NoParameters.json
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/services/services-onappf/src/test/resources/NoParameters.json
diff --git a/services/services-onappf/src/test/resources/topic.properties b/services/services-onappf/src/test/resources/topic.properties
new file mode 100644
index 000000000..87c6ebd54
--- /dev/null
+++ b/services/services-onappf/src/test/resources/topic.properties
@@ -0,0 +1,4 @@
+noop.sink.topics=POLICY-PDP-PAP
+noop.sink.topics.POLICY-PDP-PAP.servers=anyserver
+noop.source.topics=POLICY-PDP-PAP
+noop.source.topics.POLICY-PDP-PAP.servers=anyserver \ No newline at end of file