summaryrefslogtreecommitdiffstats
path: root/prh-app-server/src/test/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'prh-app-server/src/test/java/org')
-rw-r--r--prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/TestAppConfiguration.java27
1 files changed, 12 insertions, 15 deletions
diff --git a/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/TestAppConfiguration.java b/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/TestAppConfiguration.java
index 88aa434c..37463575 100644
--- a/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/TestAppConfiguration.java
+++ b/prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/TestAppConfiguration.java
@@ -36,11 +36,10 @@ public class TestAppConfiguration {
.dmaapProtocol("http")
.dmaapUserName("admin")
.dmaapUserPassword("admin")
- .keyFile("/opt/app/prh/local/org.onap.prh.keyfile")
- .trustStore("/opt/app/prh/local/org.onap.prh.trust.jks")
- .trustStorePassword("change_it")
- .keyStore("/opt/app/prh/local/org.onap.prh.p12")
- .keyStorePassword("change_it")
+ .trustStorePath("/opt/app/prh/local/org.onap.prh.trust.jks")
+ .trustStorePasswordPath("change_it")
+ .keyStorePath("/opt/app/prh/local/org.onap.prh.p12")
+ .keyStorePasswordPath("change_it")
.enableDmaapCertAuth(false)
.dmaapTopicName("/events/unauthenticated.SEC_OTHER_OUTPUT")
.timeoutMs(-1)
@@ -56,11 +55,10 @@ public class TestAppConfiguration {
.dmaapProtocol("http")
.dmaapUserName("admin")
.dmaapUserPassword("admin")
- .keyFile("/opt/app/prh/local/org.onap.prh.keyfile")
- .trustStore("/opt/app/prh/local/org.onap.prh.trust.jks")
- .trustStorePassword("change_it")
- .keyStore("/opt/app/prh/local/org.onap.prh.p12")
- .keyStorePassword("change_it")
+ .trustStorePath("/opt/app/prh/local/org.onap.prh.trust.jks")
+ .trustStorePasswordPath("change_it")
+ .keyStorePath("/opt/app/prh/local/org.onap.prh.p12")
+ .keyStorePasswordPath("change_it")
.enableDmaapCertAuth(false)
.dmaapTopicName("/events/unauthenticated.PNF_READY")
.build();
@@ -76,11 +74,10 @@ public class TestAppConfiguration {
.aaiIgnoreSslCertificateErrors(true)
.aaiBasePath("/aai/v12")
.aaiPnfPath("/network/pnfs/pnf")
- .keyFile("/opt/app/prh/local/org.onap.prh.keyfile")
- .trustStore("/opt/app/prh/local/org.onap.prh.trust.jks")
- .trustStorePassword("change_it")
- .keyStore("/opt/app/prh/local/org.onap.prh.p12")
- .keyStorePassword("change_it")
+ .trustStorePath("/opt/app/prh/local/org.onap.prh.trust.jks")
+ .trustStorePasswordPath("change_it")
+ .keyStorePath("/opt/app/prh/local/org.onap.prh.p12")
+ .keyStorePasswordPath("change_it")
.enableAaiCertAuth(false)
.build();
}