diff options
author | Zlatko Murgoski <zlatko.murgoski@nokia.com> | 2018-12-31 11:55:42 +0100 |
---|---|---|
committer | Zlatko Murgoski <zlatko.murgoski@nokia.com> | 2018-12-31 11:55:42 +0100 |
commit | 7ab93201e557976ed8b383cb5652fa129d7b36f7 (patch) | |
tree | 74506f4a079e1f59698eff12a03aa37e9fc9710b /src/main | |
parent | af23ebbe4e86e75cdb44cb6014132b0eb6d515c5 (diff) |
Fix sonar violation
Fix sonar violation'
Change-Id: Ia5718d2bcbf9f5efea40d8250b7ad57f6d2eb2f3
Issue-ID: DCAEGEN2-1016
Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/onap/dcae/VesApplication.java | 16 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/common/AnyNode.java (renamed from src/main/java/org/onap/dcae/commonFunction/AnyNode.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/common/ConfigProcessorAdapter.java (renamed from src/main/java/org/onap/dcae/commonFunction/ConfigProcessorAdapter.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/common/ConfigProcessors.java (renamed from src/main/java/org/onap/dcae/commonFunction/ConfigProcessors.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/common/Event.java (renamed from src/main/java/org/onap/dcae/commonFunction/Event.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/common/EventProcessor.java (renamed from src/main/java/org/onap/dcae/commonFunction/EventProcessor.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/common/EventSender.java (renamed from src/main/java/org/onap/dcae/commonFunction/EventSender.java) | 7 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/common/Processor.java (renamed from src/main/java/org/onap/dcae/commonFunction/Processor.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/common/SSLContextCreator.java (renamed from src/main/java/org/onap/dcae/commonFunction/SSLContextCreator.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/common/VESLogger.java (renamed from src/main/java/org/onap/dcae/commonFunction/VESLogger.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/common/publishing/DMaaPConfigurationParser.java (renamed from src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPConfigurationParser.java) | 8 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/common/publishing/DMaaPEventPublisher.java (renamed from src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPEventPublisher.java) | 6 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/common/publishing/DMaaPPublishersBuilder.java (renamed from src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPPublishersBuilder.java) | 6 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/common/publishing/DMaaPPublishersCache.java (renamed from src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPPublishersCache.java) | 4 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/common/publishing/EventPublisher.java (renamed from src/main/java/org/onap/dcae/commonFunction/event/publishing/EventPublisher.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/common/publishing/PublisherConfig.java (renamed from src/main/java/org/onap/dcae/commonFunction/event/publishing/PublisherConfig.java) | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/common/publishing/VavrUtils.java (renamed from src/main/java/org/onap/dcae/commonFunction/event/publishing/VavrUtils.java) | 5 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/controller/ConfigFilesFacade.java | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/controller/ConfigLoader.java | 5 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/controller/ConfigParsing.java | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/controller/ConfigSource.java | 4 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/controller/Conversions.java | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/controller/EnvPropertiesReader.java | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/controller/PreAppStartupConfigUpdater.java | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/restapi/ServletConfig.java | 2 | ||||
-rw-r--r-- | src/main/java/org/onap/dcae/restapi/VesRestController.java | 2 |
26 files changed, 44 insertions, 51 deletions
diff --git a/src/main/java/org/onap/dcae/VesApplication.java b/src/main/java/org/onap/dcae/VesApplication.java index b57caf3c..48ac6b88 100644 --- a/src/main/java/org/onap/dcae/VesApplication.java +++ b/src/main/java/org/onap/dcae/VesApplication.java @@ -28,11 +28,11 @@ import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.ScheduledThreadPoolExecutor; import java.util.concurrent.TimeUnit; import org.json.JSONObject; -import org.onap.dcae.commonFunction.EventProcessor; -import org.onap.dcae.commonFunction.EventSender; -import org.onap.dcae.commonFunction.event.publishing.DMaaPConfigurationParser; -import org.onap.dcae.commonFunction.event.publishing.EventPublisher; -import org.onap.dcae.commonFunction.event.publishing.PublisherConfig; +import org.onap.dcae.common.EventProcessor; +import org.onap.dcae.common.EventSender; +import org.onap.dcae.common.publishing.DMaaPConfigurationParser; +import org.onap.dcae.common.publishing.EventPublisher; +import org.onap.dcae.common.publishing.PublisherConfig; import org.onap.dcae.controller.ConfigLoader; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -48,9 +48,9 @@ import org.springframework.context.annotation.Lazy; public class VesApplication { private static final Logger metriclog = LoggerFactory.getLogger("com.att.ecomp.metrics"); - private static final Logger incomingRequestsLogger = LoggerFactory.getLogger("org.onap.dcae.commonFunction.input"); - private static final Logger oplog = LoggerFactory.getLogger("org.onap.dcae.commonFunction.output"); - private static final Logger errorLog = LoggerFactory.getLogger("org.onap.dcae.commonFunction.error"); + private static final Logger incomingRequestsLogger = LoggerFactory.getLogger("org.onap.dcae.common.input"); + private static final Logger oplog = LoggerFactory.getLogger("org.onap.dcae.common.output"); + private static final Logger errorLog = LoggerFactory.getLogger("org.onap.dcae.common.error"); private static final int MAX_THREADS = 20; public static LinkedBlockingQueue<JSONObject> fProcessingInputQueue; private static ApplicationSettings properties; diff --git a/src/main/java/org/onap/dcae/commonFunction/AnyNode.java b/src/main/java/org/onap/dcae/common/AnyNode.java index 7be45b0c..a68e6299 100644 --- a/src/main/java/org/onap/dcae/commonFunction/AnyNode.java +++ b/src/main/java/org/onap/dcae/common/AnyNode.java @@ -17,7 +17,7 @@ * limitations under the License. * ============LICENSE_END========================================================= */ -package org.onap.dcae.commonFunction; +package org.onap.dcae.common; import io.vavr.collection.List; import io.vavr.collection.Set; diff --git a/src/main/java/org/onap/dcae/commonFunction/ConfigProcessorAdapter.java b/src/main/java/org/onap/dcae/common/ConfigProcessorAdapter.java index 3df412ea..0a93bb8e 100644 --- a/src/main/java/org/onap/dcae/commonFunction/ConfigProcessorAdapter.java +++ b/src/main/java/org/onap/dcae/common/ConfigProcessorAdapter.java @@ -19,7 +19,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.dcae.commonFunction; +package org.onap.dcae.common; import java.lang.reflect.Method; import org.json.JSONObject; diff --git a/src/main/java/org/onap/dcae/commonFunction/ConfigProcessors.java b/src/main/java/org/onap/dcae/common/ConfigProcessors.java index 09ceeac7..c459bb1c 100644 --- a/src/main/java/org/onap/dcae/commonFunction/ConfigProcessors.java +++ b/src/main/java/org/onap/dcae/common/ConfigProcessors.java @@ -19,7 +19,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.dcae.commonFunction; +package org.onap.dcae.common; import org.json.JSONArray; import org.json.JSONObject; diff --git a/src/main/java/org/onap/dcae/commonFunction/Event.java b/src/main/java/org/onap/dcae/common/Event.java index faae2451..1fa8179e 100644 --- a/src/main/java/org/onap/dcae/commonFunction/Event.java +++ b/src/main/java/org/onap/dcae/common/Event.java @@ -17,7 +17,7 @@ * limitations under the License. * ============LICENSE_END========================================================= */ -package org.onap.dcae.commonFunction; +package org.onap.dcae.common; import com.google.gson.JsonObject; diff --git a/src/main/java/org/onap/dcae/commonFunction/EventProcessor.java b/src/main/java/org/onap/dcae/common/EventProcessor.java index bd830456..bf3bf70d 100644 --- a/src/main/java/org/onap/dcae/commonFunction/EventProcessor.java +++ b/src/main/java/org/onap/dcae/common/EventProcessor.java @@ -18,7 +18,7 @@ * ============LICENSE_END=========================================================
*/
-package org.onap.dcae.commonFunction;
+package org.onap.dcae.common;
import com.att.nsa.clock.SaClock;
import com.att.nsa.logging.LoggingContext;
diff --git a/src/main/java/org/onap/dcae/commonFunction/EventSender.java b/src/main/java/org/onap/dcae/common/EventSender.java index 8a9c1eca..3c95315c 100644 --- a/src/main/java/org/onap/dcae/commonFunction/EventSender.java +++ b/src/main/java/org/onap/dcae/common/EventSender.java @@ -18,23 +18,20 @@ * limitations under the License. * ============LICENSE_END========================================================= */ -package org.onap.dcae.commonFunction; +package org.onap.dcae.common; import com.google.common.reflect.TypeToken; import com.google.gson.Gson; import io.vavr.collection.Map; -import io.vavr.control.Option; import java.io.FileReader; import java.io.IOException; import java.lang.reflect.Type; import java.text.SimpleDateFormat; -import java.util.Arrays; import java.util.Date; import java.util.List; -import java.util.Optional; import org.json.JSONObject; import org.onap.dcae.ApplicationSettings; -import org.onap.dcae.commonFunction.event.publishing.EventPublisher; +import org.onap.dcae.common.publishing.EventPublisher; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/org/onap/dcae/commonFunction/Processor.java b/src/main/java/org/onap/dcae/common/Processor.java index ea79f1d3..20ef4da9 100644 --- a/src/main/java/org/onap/dcae/commonFunction/Processor.java +++ b/src/main/java/org/onap/dcae/common/Processor.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.dcae.commonFunction; +package org.onap.dcae.common; import com.google.gson.JsonObject; diff --git a/src/main/java/org/onap/dcae/commonFunction/SSLContextCreator.java b/src/main/java/org/onap/dcae/common/SSLContextCreator.java index 29e974ef..a76c7cbe 100644 --- a/src/main/java/org/onap/dcae/commonFunction/SSLContextCreator.java +++ b/src/main/java/org/onap/dcae/common/SSLContextCreator.java @@ -18,7 +18,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.dcae.commonFunction; +package org.onap.dcae.common; import org.springframework.boot.web.server.Ssl; diff --git a/src/main/java/org/onap/dcae/commonFunction/VESLogger.java b/src/main/java/org/onap/dcae/common/VESLogger.java index 2a392e81..c7354502 100644 --- a/src/main/java/org/onap/dcae/commonFunction/VESLogger.java +++ b/src/main/java/org/onap/dcae/common/VESLogger.java @@ -19,7 +19,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.dcae.commonFunction; +package org.onap.dcae.common; import com.att.nsa.clock.SaClock; import com.att.nsa.logging.LoggingContext; diff --git a/src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPConfigurationParser.java b/src/main/java/org/onap/dcae/common/publishing/DMaaPConfigurationParser.java index 91db5172..274e4490 100644 --- a/src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPConfigurationParser.java +++ b/src/main/java/org/onap/dcae/common/publishing/DMaaPConfigurationParser.java @@ -17,13 +17,13 @@ * limitations under the License. * ============LICENSE_END========================================================= */ -package org.onap.dcae.commonFunction.event.publishing; +package org.onap.dcae.common.publishing; import io.vavr.collection.List; import io.vavr.collection.Map; import io.vavr.control.Option; import io.vavr.control.Try; -import org.onap.dcae.commonFunction.AnyNode; +import org.onap.dcae.common.AnyNode; import java.net.URL; import java.nio.file.Files; @@ -32,8 +32,8 @@ import java.nio.file.Path; import org.json.JSONObject; import static io.vavr.API.*; -import static org.onap.dcae.commonFunction.event.publishing.VavrUtils.enhanceError; -import static org.onap.dcae.commonFunction.event.publishing.VavrUtils.f; +import static org.onap.dcae.common.publishing.VavrUtils.enhanceError; +import static org.onap.dcae.common.publishing.VavrUtils.f; /** * @author Pawel Szalapski (pawel.szalapski@nokia.com) diff --git a/src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPEventPublisher.java b/src/main/java/org/onap/dcae/common/publishing/DMaaPEventPublisher.java index a0ee3bfb..aa3dc7a3 100644 --- a/src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPEventPublisher.java +++ b/src/main/java/org/onap/dcae/common/publishing/DMaaPEventPublisher.java @@ -19,7 +19,7 @@ * ============LICENSE_END========================================================= */ -package org.onap.dcae.commonFunction.event.publishing; +package org.onap.dcae.common.publishing; import com.att.nsa.cambria.client.CambriaBatchingPublisher; import com.att.nsa.clock.SaClock; @@ -28,13 +28,13 @@ import com.att.nsa.logging.log4j.EcompFields; import io.vavr.collection.Map; import io.vavr.control.Try; import org.json.JSONObject; -import org.onap.dcae.commonFunction.VESLogger; +import org.onap.dcae.common.VESLogger; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; -import static org.onap.dcae.commonFunction.event.publishing.VavrUtils.f; +import static org.onap.dcae.common.publishing.VavrUtils.f; /** * @author Pawel Szalapski (pawel.szalapski@nokia.com) diff --git a/src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPPublishersBuilder.java b/src/main/java/org/onap/dcae/common/publishing/DMaaPPublishersBuilder.java index 4f672715..a93073bf 100644 --- a/src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPPublishersBuilder.java +++ b/src/main/java/org/onap/dcae/common/publishing/DMaaPPublishersBuilder.java @@ -17,7 +17,7 @@ * limitations under the License. * ============LICENSE_END========================================================= */ -package org.onap.dcae.commonFunction.event.publishing; +package org.onap.dcae.common.publishing; import com.att.nsa.cambria.client.CambriaBatchingPublisher; import com.att.nsa.cambria.client.CambriaClientBuilders; @@ -25,8 +25,8 @@ import com.att.nsa.cambria.client.CambriaClientBuilders.PublisherBuilder; import io.vavr.control.Try; import static io.vavr.API.Try; -import static org.onap.dcae.commonFunction.event.publishing.VavrUtils.enhanceError; -import static org.onap.dcae.commonFunction.event.publishing.VavrUtils.f; +import static org.onap.dcae.common.publishing.VavrUtils.enhanceError; +import static org.onap.dcae.common.publishing.VavrUtils.f; /** * @author Pawel Szalapski (pawel.szalapski@nokia.com) diff --git a/src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPPublishersCache.java b/src/main/java/org/onap/dcae/common/publishing/DMaaPPublishersCache.java index c66cee05..b7997ef9 100644 --- a/src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPPublishersCache.java +++ b/src/main/java/org/onap/dcae/common/publishing/DMaaPPublishersCache.java @@ -18,7 +18,7 @@ * limitations under the License. * ============LICENSE_END========================================================= */ -package org.onap.dcae.commonFunction.event.publishing; +package org.onap.dcae.common.publishing; import com.att.nsa.cambria.client.CambriaBatchingPublisher; import com.google.common.cache.*; @@ -33,7 +33,7 @@ import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicReference; import static io.vavr.API.Option; -import static org.onap.dcae.commonFunction.event.publishing.VavrUtils.f; +import static org.onap.dcae.common.publishing.VavrUtils.f; /** * @author Pawel Szalapski (pawel.szalapski@nokia.com) diff --git a/src/main/java/org/onap/dcae/commonFunction/event/publishing/EventPublisher.java b/src/main/java/org/onap/dcae/common/publishing/EventPublisher.java index 9cd718f8..42e721a8 100644 --- a/src/main/java/org/onap/dcae/commonFunction/event/publishing/EventPublisher.java +++ b/src/main/java/org/onap/dcae/common/publishing/EventPublisher.java @@ -17,7 +17,7 @@ * limitations under the License. * ============LICENSE_END========================================================= */ -package org.onap.dcae.commonFunction.event.publishing; +package org.onap.dcae.common.publishing; import io.vavr.collection.Map; import org.json.JSONObject; diff --git a/src/main/java/org/onap/dcae/commonFunction/event/publishing/PublisherConfig.java b/src/main/java/org/onap/dcae/common/publishing/PublisherConfig.java index f1cbb8e5..1fd0d316 100644 --- a/src/main/java/org/onap/dcae/commonFunction/event/publishing/PublisherConfig.java +++ b/src/main/java/org/onap/dcae/common/publishing/PublisherConfig.java @@ -17,7 +17,7 @@ * limitations under the License. * ============LICENSE_END========================================================= */ -package org.onap.dcae.commonFunction.event.publishing; +package org.onap.dcae.common.publishing; import io.vavr.collection.List; import io.vavr.control.Option; diff --git a/src/main/java/org/onap/dcae/commonFunction/event/publishing/VavrUtils.java b/src/main/java/org/onap/dcae/common/publishing/VavrUtils.java index 7d535a21..e1eae247 100644 --- a/src/main/java/org/onap/dcae/commonFunction/event/publishing/VavrUtils.java +++ b/src/main/java/org/onap/dcae/common/publishing/VavrUtils.java @@ -17,14 +17,11 @@ * limitations under the License. * ============LICENSE_END========================================================= */ -package org.onap.dcae.commonFunction.event.publishing; +package org.onap.dcae.common.publishing; import io.vavr.API; import io.vavr.API.Match.Case; -import io.vavr.Function0; -import io.vavr.Function1; import java.util.function.Consumer; -import java.util.function.Function; import org.slf4j.Logger; import static io.vavr.API.$; diff --git a/src/main/java/org/onap/dcae/controller/ConfigFilesFacade.java b/src/main/java/org/onap/dcae/controller/ConfigFilesFacade.java index 9338bf62..c83db2df 100644 --- a/src/main/java/org/onap/dcae/controller/ConfigFilesFacade.java +++ b/src/main/java/org/onap/dcae/controller/ConfigFilesFacade.java @@ -36,7 +36,7 @@ import java.nio.file.Files; import java.nio.file.Path; import static io.vavr.API.Try; -import static org.onap.dcae.commonFunction.event.publishing.VavrUtils.*; +import static org.onap.dcae.common.publishing.VavrUtils.*; import static org.onap.dcae.controller.Conversions.toList; class ConfigFilesFacade { diff --git a/src/main/java/org/onap/dcae/controller/ConfigLoader.java b/src/main/java/org/onap/dcae/controller/ConfigLoader.java index fb807075..c1ac65d2 100644 --- a/src/main/java/org/onap/dcae/controller/ConfigLoader.java +++ b/src/main/java/org/onap/dcae/controller/ConfigLoader.java @@ -20,7 +20,7 @@ */ package org.onap.dcae.controller; -import static org.onap.dcae.commonFunction.event.publishing.DMaaPConfigurationParser.parseToDomainMapping; +import static org.onap.dcae.common.publishing.DMaaPConfigurationParser.parseToDomainMapping; import static org.onap.dcae.controller.ConfigParsing.getDMaaPConfig; import static org.onap.dcae.controller.ConfigParsing.getProperties; import static org.onap.dcae.controller.EnvPropertiesReader.readEnvProps; @@ -33,8 +33,7 @@ import io.vavr.control.Try; import java.nio.file.Path; import java.util.function.Consumer; import org.json.JSONObject; -import org.onap.dcae.commonFunction.event.publishing.EventPublisher; -import org.onap.dcae.commonFunction.event.publishing.PublisherConfig; +import org.onap.dcae.common.publishing.PublisherConfig; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/org/onap/dcae/controller/ConfigParsing.java b/src/main/java/org/onap/dcae/controller/ConfigParsing.java index 2ee0c918..e1644222 100644 --- a/src/main/java/org/onap/dcae/controller/ConfigParsing.java +++ b/src/main/java/org/onap/dcae/controller/ConfigParsing.java @@ -22,7 +22,7 @@ package org.onap.dcae.controller; import static io.vavr.API.Try; import static io.vavr.API.Tuple; -import static org.onap.dcae.commonFunction.event.publishing.VavrUtils.f; +import static org.onap.dcae.common.publishing.VavrUtils.f; import static org.onap.dcae.controller.Conversions.toList; import io.vavr.collection.Map; diff --git a/src/main/java/org/onap/dcae/controller/ConfigSource.java b/src/main/java/org/onap/dcae/controller/ConfigSource.java index c20a22a2..68dc2501 100644 --- a/src/main/java/org/onap/dcae/controller/ConfigSource.java +++ b/src/main/java/org/onap/dcae/controller/ConfigSource.java @@ -21,8 +21,8 @@ package org.onap.dcae.controller; import static io.vavr.API.Try; -import static org.onap.dcae.commonFunction.event.publishing.VavrUtils.enhanceError; -import static org.onap.dcae.commonFunction.event.publishing.VavrUtils.f; +import static org.onap.dcae.common.publishing.VavrUtils.enhanceError; +import static org.onap.dcae.common.publishing.VavrUtils.f; import static org.onap.dcae.controller.Conversions.toJson; import static org.onap.dcae.controller.Conversions.toJsonArray; diff --git a/src/main/java/org/onap/dcae/controller/Conversions.java b/src/main/java/org/onap/dcae/controller/Conversions.java index 09a9a43c..e8f7cc0c 100644 --- a/src/main/java/org/onap/dcae/controller/Conversions.java +++ b/src/main/java/org/onap/dcae/controller/Conversions.java @@ -19,7 +19,7 @@ */ package org.onap.dcae.controller; -import static org.onap.dcae.commonFunction.event.publishing.VavrUtils.enhanceError; +import static org.onap.dcae.common.publishing.VavrUtils.enhanceError; import io.vavr.API; import io.vavr.collection.List; diff --git a/src/main/java/org/onap/dcae/controller/EnvPropertiesReader.java b/src/main/java/org/onap/dcae/controller/EnvPropertiesReader.java index 5f7a2fbd..319caa65 100644 --- a/src/main/java/org/onap/dcae/controller/EnvPropertiesReader.java +++ b/src/main/java/org/onap/dcae/controller/EnvPropertiesReader.java @@ -27,7 +27,7 @@ import org.slf4j.LoggerFactory; import static io.vavr.API.List; import static io.vavr.API.Try; -import static org.onap.dcae.commonFunction.event.publishing.VavrUtils.f; +import static org.onap.dcae.common.publishing.VavrUtils.f; final class EnvPropertiesReader { diff --git a/src/main/java/org/onap/dcae/controller/PreAppStartupConfigUpdater.java b/src/main/java/org/onap/dcae/controller/PreAppStartupConfigUpdater.java index c5ee9d86..be569119 100644 --- a/src/main/java/org/onap/dcae/controller/PreAppStartupConfigUpdater.java +++ b/src/main/java/org/onap/dcae/controller/PreAppStartupConfigUpdater.java @@ -23,7 +23,7 @@ import io.vavr.collection.Map; import java.nio.file.Path; import java.nio.file.Paths; import java.util.function.Consumer; -import org.onap.dcae.commonFunction.event.publishing.PublisherConfig; +import org.onap.dcae.common.publishing.PublisherConfig; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/org/onap/dcae/restapi/ServletConfig.java b/src/main/java/org/onap/dcae/restapi/ServletConfig.java index 49455e54..2ba8a28e 100644 --- a/src/main/java/org/onap/dcae/restapi/ServletConfig.java +++ b/src/main/java/org/onap/dcae/restapi/ServletConfig.java @@ -22,7 +22,7 @@ package org.onap.dcae.restapi; import org.onap.dcae.ApplicationSettings; -import org.onap.dcae.commonFunction.SSLContextCreator; +import org.onap.dcae.common.SSLContextCreator; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; diff --git a/src/main/java/org/onap/dcae/restapi/VesRestController.java b/src/main/java/org/onap/dcae/restapi/VesRestController.java index 21fa685c..68aecce5 100644 --- a/src/main/java/org/onap/dcae/restapi/VesRestController.java +++ b/src/main/java/org/onap/dcae/restapi/VesRestController.java @@ -38,7 +38,7 @@ import javax.servlet.http.HttpServletRequest; import org.json.JSONArray; import org.json.JSONObject; import org.onap.dcae.ApplicationSettings; -import org.onap.dcae.commonFunction.VESLogger; +import org.onap.dcae.common.VESLogger; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; |