diff options
author | BhanuRamesh <bg6954@att.com> | 2019-01-18 15:56:05 -0600 |
---|---|---|
committer | BhanuRamesh <bg6954@att.com> | 2019-01-18 16:09:21 -0600 |
commit | b64034c4f7b6dafea01961af501c3e03f174d1ba (patch) | |
tree | 1dd6f7e488f1121ebe00938d95c56bae40e146ad | |
parent | 53548bf9c813d182f9169f9bbe740ed2f1c78e8e (diff) |
Removed unused imports and log file
Issue-ID: DMAAP-971
Change-Id: I5724e84f36d2d0fdb9d37c4bdee05249263ef0da
Signed-off-by: BhanuRamesh <bg6954@att.com>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java | 14 | ||||
-rw-r--r-- | src/test/resources/logs/mmagent.log | 4 |
3 files changed, 4 insertions, 15 deletions
@@ -1 +1,2 @@ /target/ +/bin/ diff --git a/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java b/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java index de19474..3b2f201 100644 --- a/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java +++ b/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java @@ -21,23 +21,18 @@ *******************************************************************************/ package org.onap.dmaap.mr.dmaapMMAgent; -import java.io.BufferedReader; -import java.io.DataOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; -import java.io.InputStreamReader; import java.io.OutputStream; -import java.net.HttpURLConnection; -import java.net.URL; import java.util.ArrayList; import java.util.Properties; -import org.json.JSONObject; + import org.apache.log4j.Logger; import org.jasypt.util.text.BasicTextEncryptor; - +import org.json.JSONObject; import org.onap.dmaap.mr.dmaapMMAgent.dao.CreateMirrorMaker; import org.onap.dmaap.mr.dmaapMMAgent.dao.DeleteMirrorMaker; import org.onap.dmaap.mr.dmaapMMAgent.dao.ListMirrorMaker; @@ -45,13 +40,10 @@ import org.onap.dmaap.mr.dmaapMMAgent.dao.MirrorMaker; import org.onap.dmaap.mr.dmaapMMAgent.dao.UpdateMirrorMaker; import org.onap.dmaap.mr.dmaapMMAgent.dao.UpdateWhiteList; import org.onap.dmaap.mr.dmaapMMAgent.utils.MirrorMakerProcessHandler; + import com.google.gson.Gson; -import com.google.gson.JsonArray; import com.google.gson.internal.LinkedTreeMap; -import com.sun.org.apache.xerces.internal.impl.dtd.models.CMAny; -import com.sun.org.apache.xerces.internal.impl.dv.util.Base64; - public class MirrorMakerAgent { static final Logger logger = Logger.getLogger(MirrorMakerAgent.class); Properties mirrorMakerProperties = new Properties(); diff --git a/src/test/resources/logs/mmagent.log b/src/test/resources/logs/mmagent.log deleted file mode 100644 index 3484430..0000000 --- a/src/test/resources/logs/mmagent.log +++ /dev/null @@ -1,4 +0,0 @@ -2017-10-02 21:46:17 INFO - Mirror Maker agentName Started WhiteListing:whitelist -2017-10-02 21:46:17 INFO - Mirror Maker AgentName Stopped -2017-10-02 22:19:07 INFO - Mirror Maker AgentName Stopped -2017-10-02 22:19:07 INFO - Mirror Maker agentName Started WhiteListing:whitelist |