Remove CBS and Consul dependencies from CBSClient lib
[dcaegen2/services/sdk.git] / rest-services / cbs-client / src / test / java / org / onap / dcaegen2 / services / sdk / rest / services / cbs / client / api / CbsClientFactoryTest.java
index 43577f4..bc4e675 100644 (file)
@@ -3,6 +3,7 @@
  * DCAEGEN2-SERVICES-SDK
  * =========================================================
  * Copyright (C) 2020 Nokia. All rights reserved.
+ * Copyright (C) 2022 AT&T Intellectual Property. All rights reserved.
  * =========================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -39,15 +40,7 @@ class CbsClientFactoryTest {
     void shouldAllowMultipleSubscriptions() throws URISyntaxException {
         //given
         ImmutableCbsClientConfiguration sampleConfiguration = ImmutableCbsClientConfiguration.builder()
-            .protocol("https")
             .appName("dcae-component")
-            .trustStoreKeys(ImmutableTrustStoreKeys.builder()
-                .trustStore(SecurityKeysStore.fromPath(
-                    Paths.get(CbsClientFactoryTest.class.getResource("/test-certs/trust.jks").toURI())))
-                .trustStorePassword(Passwords.fromResource("/test-certs/trust.pass"))
-                .build())
-            .hostname("config-binding-service")
-            .port(10443)
             .build();
 
         //when