aboutsummaryrefslogtreecommitdiffstats
path: root/common-app-api/src
diff options
context:
space:
mode:
authorIdan Amit <ia096e@intl.att.com>2018-01-31 18:57:31 +0200
committerMichael Lando <ml636r@att.com>2018-02-01 08:15:25 +0000
commit162f50777e13eebe3b27ec8364ee892be628f7b0 (patch)
treeebce6947b372a61827745e9985eef0ac3f144af2 /common-app-api/src
parent3c9f4df71b978e92a6eeb6f22bc7535e749d11c2 (diff)
Align configuration for new design
Aligned the designers configuration according to the new design addition and changes Change-Id: Id08942b5a8adbac10bbe76bdd8a2a6f093ec8b46 Issue-ID: SDC-975 Signed-off-by: Idan Amit <ia096e@intl.att.com>
Diffstat (limited to 'common-app-api/src')
-rw-r--r--common-app-api/src/main/java/org/openecomp/sdc/fe/config/PluginsConfiguration.java81
1 files changed, 37 insertions, 44 deletions
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 ae04b7a102..7865abd3da 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
@@ -25,37 +25,11 @@ public class PluginsConfiguration extends BasicConfiguration {
public static class Plugin {
private String pluginId;
- private String pluginHost;
- private String pluginPort;
- private String pluginPath;
+ private String pluginDiscoveryUrl;
+ private String pluginSourceUrl;
private String pluginStateUrl;
- private String pluginProtocol;
private Map<String, PluginDisplayOptions> pluginDisplayOptions;
- public Map<String, PluginDisplayOptions> getPluginDisplayOptions() {
- return pluginDisplayOptions;
- }
-
- public void setPluginDisplayOptions(Map<String, PluginDisplayOptions> pluginDisplayOptions) {
- this.pluginDisplayOptions = pluginDisplayOptions;
- }
-
- public String getPluginStateUrl() {
- return pluginStateUrl;
- }
-
- public void setPluginStateUrl(String pluginStateUrl) {
- this.pluginStateUrl = pluginStateUrl;
- }
-
- public String getPluginProtocol() {
- return pluginProtocol;
- }
-
- public void setPluginProtocol(String pluginProtocol) {
- this.pluginProtocol = pluginProtocol;
- }
-
public String getPluginId() {
return pluginId;
}
@@ -64,28 +38,36 @@ public class PluginsConfiguration extends BasicConfiguration {
this.pluginId = pluginId;
}
- public String getPluginHost() {
- return pluginHost;
+ public String getPluginDiscoveryUrl() {
+ return pluginDiscoveryUrl;
+ }
+
+ public void setPluginDiscoveryUrl(String pluginDiscoveryUrl) {
+ this.pluginDiscoveryUrl = pluginDiscoveryUrl;
+ }
+
+ public String getPluginSourceUrl() {
+ return pluginSourceUrl;
}
- public void setPluginHost(String pluginHost) {
- this.pluginHost = pluginHost;
+ public void setPluginSourceUrl(String pluginSourceUrl) {
+ this.pluginSourceUrl = pluginSourceUrl;
}
- public String getPluginPort() {
- return pluginPort;
+ public String getPluginStateUrl() {
+ return pluginStateUrl;
}
- public void setPluginPort(String pluginPort) {
- this.pluginPort = pluginPort;
+ public void setPluginStateUrl(String pluginStateUrl) {
+ this.pluginStateUrl = pluginStateUrl;
}
- public String getPluginPath() {
- return pluginPath;
+ public Map<String, PluginDisplayOptions> getPluginDisplayOptions() {
+ return pluginDisplayOptions;
}
- public void setPluginPath(String pluginPath) {
- this.pluginPath = pluginPath;
+ public void setPluginDisplayOptions(Map<String, PluginDisplayOptions> pluginDisplayOptions) {
+ this.pluginDisplayOptions = pluginDisplayOptions;
}
}
@@ -94,6 +76,15 @@ public class PluginsConfiguration extends BasicConfiguration {
private String displayName;
private List<String> displayContext;
+ private List<String> displayRoles;
+
+ public String getDisplayName() {
+ return displayName;
+ }
+
+ public void setDisplayName(String displayName) {
+ this.displayName = displayName;
+ }
public List<String> getDisplayContext() {
return displayContext;
@@ -103,14 +94,16 @@ public class PluginsConfiguration extends BasicConfiguration {
this.displayContext = displayContext;
}
- public String getDisplayName() {
- return displayName;
+ public List<String> getDisplayRoles() {
+ return displayRoles;
}
- public void setDisplayName(String displayName) {
- this.displayName = displayName;
+ public void setDisplayRoles(List<String> displayRoles) {
+ this.displayRoles = displayRoles;
}
+
+
}
}