aboutsummaryrefslogtreecommitdiffstats
path: root/common-app-api/src/main
diff options
context:
space:
mode:
authorMichael Lando <ml636r@att.com>2018-05-22 20:43:41 +0300
committerMichael Lando <ml636r@att.com>2018-05-24 15:08:44 +0300
commitcb1b7daace9f16ed54b3bc0b419e100f52320fde (patch)
treec60c6c7ac781eb4252fb5f692daf8f46be07a684 /common-app-api/src/main
parent7c727c1a2bc672f20e87260ad3dc9c33ca31bbd4 (diff)
fix swagger issue
update the config servlt with mdc logs Change-Id: I0f0b9b4895ba16895ce5c11539904e1072a53782 Issue-ID: SDC-1321 Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'common-app-api/src/main')
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/common/servlets/BasicServlet.java11
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/fe/config/PluginsConfiguration.java14
2 files changed, 23 insertions, 2 deletions
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/common/servlets/BasicServlet.java b/common-app-api/src/main/java/org/openecomp/sdc/common/servlets/BasicServlet.java
index 816ebe3416..48661a0eea 100644
--- a/common-app-api/src/main/java/org/openecomp/sdc/common/servlets/BasicServlet.java
+++ b/common-app-api/src/main/java/org/openecomp/sdc/common/servlets/BasicServlet.java
@@ -20,11 +20,22 @@
package org.openecomp.sdc.common.servlets;
+import com.google.common.cache.Cache;
+import com.google.common.cache.CacheBuilder;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
+import org.openecomp.sdc.common.api.Constants;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.slf4j.MDC;
+
+import javax.servlet.http.HttpServletRequest;
+import java.util.concurrent.TimeUnit;
public abstract class BasicServlet {
protected Gson gson = new GsonBuilder().setPrettyPrinting().create();
+
+
}
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/fe/config/PluginsConfiguration.java b/common-app-api/src/main/java/org/openecomp/sdc/fe/config/PluginsConfiguration.java
index 3dbf31ba18..fbf56216a5 100644
--- a/common-app-api/src/main/java/org/openecomp/sdc/fe/config/PluginsConfiguration.java
+++ b/common-app-api/src/main/java/org/openecomp/sdc/fe/config/PluginsConfiguration.java
@@ -120,10 +120,20 @@ public class PluginsConfiguration extends BasicConfiguration {
this.displayRoles = displayRoles;
}
-
-
+ @Override
+ public String toString() {
+ return "PluginDisplayOptions[" +
+ "displayName='" + displayName +
+ ", displayContext=" + displayContext +
+ ", displayRoles=" + displayRoles +
+ ']';
+ }
}
+ @Override
+ public String toString() {
+ return "PluginsConfiguration[" + "pluginsList=" + pluginsList + ", connectionTimeout=" + connectionTimeout +']';
+ }
}