aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources
diff options
context:
space:
mode:
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-03-01 15:16:52 +0100
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2018-03-01 15:16:52 +0100
commit55c16fa6e3f68597a6d20f1f780f8fcd5896dc89 (patch)
treebafbd0ee45d7c39e9cbbdf02e5db4e271feac561 /src/test/resources
parent465bfe233d22c5366696028b50f47c3606806893 (diff)
Add files required for test
Add files required for unit tests of SingleConfiguration Issue-ID: CLAMP-81 Change-Id: Ic7d86f9c6f4797bdfef00695ece06a0169ec9079 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/clds/sdc-controller-config-NULL.json10
-rw-r--r--src/test/resources/clds/sdc-controller-config-TLS.json13
-rw-r--r--src/test/resources/clds/sdc-controller-config-bad.json13
3 files changed, 36 insertions, 0 deletions
diff --git a/src/test/resources/clds/sdc-controller-config-NULL.json b/src/test/resources/clds/sdc-controller-config-NULL.json
new file mode 100644
index 000000000..5c8ec0cfe
--- /dev/null
+++ b/src/test/resources/clds/sdc-controller-config-NULL.json
@@ -0,0 +1,10 @@
+{
+ "user": "User",
+ "consumerGroup": "NULL",
+ "consumerId": "consumerId",
+ "environmentName": "environmentName",
+ "sdcAddress": "hostname",
+ "password": "bb3871669d893c7fb8aaacda31b77b4f537E67A081C2726889548ED7BC4C2DE6",
+ "pollingInterval":10,
+ "pollingTimeout":30
+}
diff --git a/src/test/resources/clds/sdc-controller-config-TLS.json b/src/test/resources/clds/sdc-controller-config-TLS.json
new file mode 100644
index 000000000..d7642e6b1
--- /dev/null
+++ b/src/test/resources/clds/sdc-controller-config-TLS.json
@@ -0,0 +1,13 @@
+{
+ "user": "User",
+ "consumerGroup": "consumerGroup",
+ "consumerId": "consumerId",
+ "environmentName": "environmentName",
+ "sdcAddress": "hostname",
+ "password": "bb3871669d893c7fb8aaacda31b77b4f537E67A081C2726889548ED7BC4C2DE6",
+ "pollingInterval":10,
+ "pollingTimeout":30,
+ "activateServerTLSAuth": true,
+ "keyStorePassword":"bb3871669d893c7fb8aaacda31b77b4f537E67A081C2726889548ED7BC4C2DE6",
+ "keyStorePath": "/test"
+}
diff --git a/src/test/resources/clds/sdc-controller-config-bad.json b/src/test/resources/clds/sdc-controller-config-bad.json
new file mode 100644
index 000000000..d99ed5801
--- /dev/null
+++ b/src/test/resources/clds/sdc-controller-config-bad.json
@@ -0,0 +1,13 @@
+{
+ "sdc-connections": {
+ "sdc-controller1": {
+ "user": "testuser",
+ "consumerGroup": "consumerGroup",
+ "consumerId": "consumerId",
+ "environmentName": "environmentName",
+ "sdcAddress": "hostname1",
+ "pollingInterval": 10,
+ "pollingTimeout": 30
+ }
+ }
+}