summaryrefslogtreecommitdiffstats
path: root/src/test/resources/testParseDMaaPLegacy.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/resources/testParseDMaaPLegacy.json')
-rwxr-xr-xsrc/test/resources/testParseDMaaPLegacy.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/test/resources/testParseDMaaPLegacy.json b/src/test/resources/testParseDMaaPLegacy.json
new file mode 100755
index 0000000..fda9c60
--- /dev/null
+++ b/src/test/resources/testParseDMaaPLegacy.json
@@ -0,0 +1,21 @@
+{
+ "channels": [
+ {
+ "name": "url-precedes-hosts",
+ "cambria.url": "127.0.0.1:3904",
+ "cambria.hosts": "h1.att.com,h2.att.com",
+ "cambria.topic": "DCAE-RESTCONF-COLLECTOR-EVENTS-DEV"
+ },
+ {
+ "name": "url-key-missing",
+ "cambria.hosts": "h1.att.com,h2.att.com",
+ "cambria.topic": "DCAE-RESTCONF-COLLECTOR-EVENTS-DEV"
+ },
+ {
+ "name": "url-is-null",
+ "cambria.url": null,
+ "cambria.hosts": "h1.att.com,h2.att.com",
+ "cambria.topic": "DCAE-RESTCONF-COLLECTOR-EVENTS-DEV"
+ }
+ ]
+} \ No newline at end of file