summaryrefslogtreecommitdiffstats
path: root/component-json-schemas/tests
diff options
context:
space:
mode:
authorMichael Hwang <mhwang@research.att.com>2017-09-14 13:06:21 -0400
committerMichael Hwang <mhwang@research.att.com>2017-09-14 14:50:51 -0400
commit0d4c19a9389a933cf5b5e83173f97f8cd72b7f5e (patch)
treec160ab6cdaf600f8025d75e91898d133ebc000f8 /component-json-schemas/tests
parent3b22c6518e8dbb4a4ddf7aa615a8dccdc2d280b7 (diff)
Merge in changes there were made since seeding
* Fix DR config keys issue * Add data format generate command * Improve error messaging * Add in support for inputs otherwise known as "sourced at deployment" Change-Id: I9d97c30aeba587315d7fd1a18c38f71d8199d42b Issue-Id: DCAEGEN2-91 Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'component-json-schemas/tests')
-rw-r--r--component-json-schemas/tests/dmaap-mr-bad-extra.json12
-rw-r--r--component-json-schemas/tests/dmaap-mr-bad-missing.json10
-rw-r--r--component-json-schemas/tests/dmaap-mr-good.json11
3 files changed, 33 insertions, 0 deletions
diff --git a/component-json-schemas/tests/dmaap-mr-bad-extra.json b/component-json-schemas/tests/dmaap-mr-bad-extra.json
new file mode 100644
index 0000000..e1821d5
--- /dev/null
+++ b/component-json-schemas/tests/dmaap-mr-bad-extra.json
@@ -0,0 +1,12 @@
+{
+ "type": "message_router",
+ "aaf_username": "foo3",
+ "aaf_password": "bar3",
+ "something_else": "boo",
+ "dmaap_info":{
+ "client_role":"some.dcae.member",
+ "client_id":"123456",
+ "location":"mtc5",
+ "topic_url":"https://message-router-url/some-topic"
+ }
+}
diff --git a/component-json-schemas/tests/dmaap-mr-bad-missing.json b/component-json-schemas/tests/dmaap-mr-bad-missing.json
new file mode 100644
index 0000000..9151032
--- /dev/null
+++ b/component-json-schemas/tests/dmaap-mr-bad-missing.json
@@ -0,0 +1,10 @@
+{
+ "type": "message_router",
+ "aaf_username": "foo3",
+ "aaf_password": "bar3",
+ "dmaap_info":{
+ "client_role":"some.dcae.member",
+ "client_id":"123456",
+ "location":"mtc5"
+ }
+}
diff --git a/component-json-schemas/tests/dmaap-mr-good.json b/component-json-schemas/tests/dmaap-mr-good.json
new file mode 100644
index 0000000..d3e8dda
--- /dev/null
+++ b/component-json-schemas/tests/dmaap-mr-good.json
@@ -0,0 +1,11 @@
+{
+ "type": "message_router",
+ "aaf_username": "foo3",
+ "aaf_password": "bar3",
+ "dmaap_info":{
+ "client_role":"some.dcae.member",
+ "client_id":"123456",
+ "location":"mtc5",
+ "topic_url":"https://message-router-url/some-topic"
+ }
+}