diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/onap/dcae/VesApplication.java | 12 | ||||
-rw-r--r-- | src/main/resources/banner.txt | 5 |
2 files changed, 11 insertions, 6 deletions
diff --git a/src/main/java/org/onap/dcae/VesApplication.java b/src/main/java/org/onap/dcae/VesApplication.java index a7426be2..a70d0935 100644 --- a/src/main/java/org/onap/dcae/VesApplication.java +++ b/src/main/java/org/onap/dcae/VesApplication.java @@ -21,6 +21,12 @@ package org.onap.dcae; import io.vavr.collection.Map; +import java.nio.file.Paths; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; +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.event.publishing.DMaaPConfigurationParser; @@ -30,18 +36,13 @@ import org.onap.dcae.controller.ConfigLoader; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Qualifier; -import org.springframework.boot.Banner; import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration; import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Lazy; -import java.nio.file.Paths; -import java.util.concurrent.*; - @SpringBootApplication(exclude = {GsonAutoConfiguration.class, SecurityAutoConfiguration.class}) public class VesApplication { @@ -72,7 +73,6 @@ public class VesApplication { executor.execute(ep); } - app.setBannerMode(Banner.Mode.OFF); app.setAddCommandLineProperties(true); app.run(); } diff --git a/src/main/resources/banner.txt b/src/main/resources/banner.txt new file mode 100644 index 00000000..d73e9a36 --- /dev/null +++ b/src/main/resources/banner.txt @@ -0,0 +1,5 @@ + __ __ _____ ____ ____ _ _ _ + \ \ / / | ____| / ___| / ___| ___ | | | | ___ ___ | |_ ___ _ __ + \ \ / / | _| \___ \ | | / _ \ | | | | / _ \ / __| | __| / _ \ | '__| + \ V / | |___ ___) | | |___ | (_) | | | | | | __/ | (__ | |_ | (_) | | | + \_/ |_____| |____/ \____| \___/ |_| |_| \___| \___| \__| \___/ |_| |