From 55c16fa6e3f68597a6d20f1f780f8fcd5896dc89 Mon Sep 17 00:00:00 2001 From: "Determe, Sebastien (sd378r)" Date: Thu, 1 Mar 2018 15:16:52 +0100 Subject: 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) --- src/test/resources/clds/sdc-controller-config-NULL.json | 10 ++++++++++ src/test/resources/clds/sdc-controller-config-TLS.json | 13 +++++++++++++ src/test/resources/clds/sdc-controller-config-bad.json | 13 +++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 src/test/resources/clds/sdc-controller-config-NULL.json create mode 100644 src/test/resources/clds/sdc-controller-config-TLS.json create mode 100644 src/test/resources/clds/sdc-controller-config-bad.json (limited to 'src/test/resources/clds') 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 + } + } +} -- cgit 1.2.3-korg