summaryrefslogtreecommitdiffstats
path: root/certService/src/test/resources
diff options
context:
space:
mode:
authorawudzins <adam.wudzinski@nokia.com>2020-02-18 13:13:12 +0100
committerawudzins <adam.wudzinski@nokia.com>2020-02-18 14:52:12 +0100
commit43e32e7b052600fc7ebd675a7a6b32bab5b6f992 (patch)
tree40f195f21f52de8c2bc50060b4754729ae3b4838 /certService/src/test/resources
parent39d5f8d61857e55fd36add1235ca87157b4c9c92 (diff)
Add configuration reading mechanism for CMP Server
Issue-ID: AAF-997 Signed-off-by: adamwudzinski <adam.wudzinski@nokia.com> Change-Id: I66ca48b019544f970fb1db18236a093cae28b2aa
Diffstat (limited to 'certService/src/test/resources')
-rw-r--r--certService/src/test/resources/cmpServers.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/certService/src/test/resources/cmpServers.json b/certService/src/test/resources/cmpServers.json
new file mode 100644
index 00000000..ee9e72b9
--- /dev/null
+++ b/certService/src/test/resources/cmpServers.json
@@ -0,0 +1,24 @@
+{
+ "cmpv2Servers": [
+ {
+ "caName": "TEST",
+ "url": "http://127.0.0.1/ejbca/publicweb/cmp/cmp",
+ "issuerDN": "CN=ManagementCA",
+ "caMode": "CLIENT",
+ "authentication": {
+ "iak": "xxx",
+ "rv": "yyy"
+ }
+ },
+ {
+ "caName": "TEST2",
+ "url": "http://127.0.0.1/ejbca/publicweb/cmp/cmpRA",
+ "issuerDN": "CN=ManagementCA2",
+ "caMode": "RA",
+ "authentication": {
+ "iak": "xxx",
+ "rv": "yyy"
+ }
+ }
+ ]
+} \ No newline at end of file