aboutsummaryrefslogtreecommitdiffstats
path: root/appc-event-listener/appc-event-listener-bundle
diff options
context:
space:
mode:
authorPatrick Brady <patrick.brady@att.com>2019-10-03 13:13:06 -0700
committerTakamune Cho <takamune.cho@att.com>2019-11-08 16:38:20 +0000
commit7b04a1754482ba02a49d4d6376dc45e4cd6551f4 (patch)
tree7933ace1bcbc66eadf0443b37c719b5b15b942fe /appc-event-listener/appc-event-listener-bundle
parent4c2899ac39fede0c276a58469ac53eecc776a028 (diff)
Cleanup of dmaap adapter
Remvoing the part of the appc-dmaap-adapter that uses the dmaapClient library. This part of the code was not being used and the dmaap client library has not been updated for a long time. Also removed several un-used dependencies. Change-Id: I690afaecbfe53d88576c43aa8d114fde54c0fe48 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1744
Diffstat (limited to 'appc-event-listener/appc-event-listener-bundle')
-rw-r--r--appc-event-listener/appc-event-listener-bundle/src/test/java/org/onap/appc/listener/LCM/operation/ProviderOperationsTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/appc-event-listener/appc-event-listener-bundle/src/test/java/org/onap/appc/listener/LCM/operation/ProviderOperationsTest.java b/appc-event-listener/appc-event-listener-bundle/src/test/java/org/onap/appc/listener/LCM/operation/ProviderOperationsTest.java
index b6ea54c09..fc6c14d16 100644
--- a/appc-event-listener/appc-event-listener-bundle/src/test/java/org/onap/appc/listener/LCM/operation/ProviderOperationsTest.java
+++ b/appc-event-listener/appc-event-listener-bundle/src/test/java/org/onap/appc/listener/LCM/operation/ProviderOperationsTest.java
@@ -27,7 +27,7 @@ import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
-import com.att.aft.dme2.internal.jersey.core.util.Base64;
+import org.apache.commons.codec.binary.Base64;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -85,7 +85,8 @@ public class ProviderOperationsTest {
assertEquals("http://123.1.2.3", providerOperations.getUrl());
String newAuthentication = providerOperations.setAuthentication("new_user", "new_password");
- assertEquals("new_user:new_password", Base64.base64Decode(newAuthentication));
+ String authStr = "new_user:new_password";
+ assertEquals(new String(Base64.encodeBase64(authStr.getBytes())), newAuthentication);
}
@Test