aboutsummaryrefslogtreecommitdiffstats
path: root/common-app-api/src
diff options
context:
space:
mode:
Diffstat (limited to 'common-app-api/src')
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/fe/config/ConfigurationManager.java2
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/fe/config/DesignersConfiguration.java162
2 files changed, 95 insertions, 69 deletions
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/fe/config/ConfigurationManager.java b/common-app-api/src/main/java/org/openecomp/sdc/fe/config/ConfigurationManager.java
index 0e1aabcccf..807189dabb 100644
--- a/common-app-api/src/main/java/org/openecomp/sdc/fe/config/ConfigurationManager.java
+++ b/common-app-api/src/main/java/org/openecomp/sdc/fe/config/ConfigurationManager.java
@@ -94,7 +94,7 @@ public class ConfigurationManager implements FileChangeCallback, IEcompConfigura
public DesignersConfiguration getDesignersConfiguration() {
- log.info("requested designers configuration and got this:{}", (DesignersConfiguration) configurations.get(getKey(DesignersConfiguration.class)));
+ log.info("requested designers configuration and got this:{}", configurations.get(getKey(DesignersConfiguration.class)));
return (DesignersConfiguration) configurations.get(getKey(DesignersConfiguration.class));
}
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/fe/config/DesignersConfiguration.java b/common-app-api/src/main/java/org/openecomp/sdc/fe/config/DesignersConfiguration.java
index 1b89ba02fd..6803120341 100644
--- a/common-app-api/src/main/java/org/openecomp/sdc/fe/config/DesignersConfiguration.java
+++ b/common-app-api/src/main/java/org/openecomp/sdc/fe/config/DesignersConfiguration.java
@@ -1,76 +1,102 @@
package org.openecomp.sdc.fe.config;
-import java.util.HashMap;
-import java.util.Map;
+import java.util.ArrayList;
+import java.util.List;
import org.openecomp.sdc.common.api.BasicConfiguration;
-public class DesignersConfiguration extends BasicConfiguration {
-
- private Map<String,Designer> designersList;
-
- public Map<String,Designer> getDesignersList() {
- return designersList;
- }
-
- public void setDesignersList(Map<String,Designer> designersList) {
- this.designersList = designersList;
- }
-
- public DesignersConfiguration() {
- this.designersList = new HashMap<String, Designer>();
- }
-
- public static class Designer {
-
- private String displayName;
- private String designerHost;
- private Integer designerPort;
- private String designerPath;
- private String designerProtocol;
-
-
- public String getDesignerProtocol() {
- return designerProtocol;
- }
-
- public void setDesignerProtocol(String designerProtocol) {
- this.designerProtocol = designerProtocol;
- }
-
- public String getDisplayName() {
- return displayName;
- }
-
- public void setDisplayName(String displayName) {
- this.displayName = displayName;
- }
-
- public String getDesignerHost() {
- return designerHost;
- }
-
- public void setDesignerHost(String designerHost) {
- this.designerHost = designerHost;
- }
-
- public Integer getDesignerPort() {
- return designerPort;
- }
-
- public void setDesignerPort(Integer designerPort) {
- this.designerPort = designerPort;
- }
-
- public String getDesignerPath() {
- return designerPath;
- }
-
- public void setDesignerPath(String designerPath) {
- this.designerPath = designerPath;
- }
-
- }
+public class DesignersConfiguration extends BasicConfiguration {
+
+ private List<Designer> designersList;
+
+ public List<Designer> getDesignersList() {
+ return designersList;
+ }
+
+ public void setDesignersList(List<Designer> designersList) {
+ this.designersList = designersList;
+ }
+
+ public DesignersConfiguration() {
+ this.designersList = new ArrayList<>();
+ }
+
+ public static class Designer {
+
+ private String displayName;
+ private String designerHost;
+ private Integer designerPort;
+ private String designerPath;
+ private String designerStateUrl;
+ private String designerProtocol;
+ private List<String> designerButtonLocation;
+ private List<String> designerTabPresentation;
+
+ public List<String> getDesignerButtonLocation() {
+ return designerButtonLocation;
+ }
+
+ public void setDesignerButtonLocation(List<String> designerButtonLocation) {
+ this.designerButtonLocation = designerButtonLocation;
+ }
+
+ public List<String> getDesignerTabPresentation() {
+ return designerTabPresentation;
+ }
+
+ public void setDesignerTabPresentation(List<String> designerTabPresentation) {
+ this.designerTabPresentation = designerTabPresentation;
+ }
+
+ public String getDesignerStateUrl() {
+ return designerStateUrl;
+ }
+
+ public void setDesignerStateUrl(String designerStateUrl) {
+ this.designerStateUrl = designerStateUrl;
+ }
+
+ public String getDesignerProtocol() {
+ return designerProtocol;
+ }
+
+ public void setDesignerProtocol(String designerProtocol) {
+ this.designerProtocol = designerProtocol;
+ }
+
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ public void setDisplayName(String displayName) {
+ this.displayName = displayName;
+ }
+
+ public String getDesignerHost() {
+ return designerHost;
+ }
+
+ public void setDesignerHost(String designerHost) {
+ this.designerHost = designerHost;
+ }
+
+ public Integer getDesignerPort() {
+ return designerPort;
+ }
+
+ public void setDesignerPort(Integer designerPort) {
+ this.designerPort = designerPort;
+ }
+
+ public String getDesignerPath() {
+ return designerPath;
+ }
+
+ public void setDesignerPath(String designerPath) {
+ this.designerPath = designerPath;
+ }
+
+ }
}