From 162f50777e13eebe3b27ec8364ee892be628f7b0 Mon Sep 17 00:00:00 2001 From: Idan Amit Date: Wed, 31 Jan 2018 18:57:31 +0200 Subject: 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 --- .../sdc/fe/config/PluginsConfiguration.java | 81 ++++++++++------------ 1 file changed, 37 insertions(+), 44 deletions(-) (limited to 'common-app-api/src/main/java/org') 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 pluginDisplayOptions; - public Map getPluginDisplayOptions() { - return pluginDisplayOptions; - } - - public void setPluginDisplayOptions(Map 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 getPluginDisplayOptions() { + return pluginDisplayOptions; } - public void setPluginPath(String pluginPath) { - this.pluginPath = pluginPath; + public void setPluginDisplayOptions(Map pluginDisplayOptions) { + this.pluginDisplayOptions = pluginDisplayOptions; } } @@ -94,6 +76,15 @@ public class PluginsConfiguration extends BasicConfiguration { private String displayName; private List displayContext; + private List displayRoles; + + public String getDisplayName() { + return displayName; + } + + public void setDisplayName(String displayName) { + this.displayName = displayName; + } public List getDisplayContext() { return displayContext; @@ -103,14 +94,16 @@ public class PluginsConfiguration extends BasicConfiguration { this.displayContext = displayContext; } - public String getDisplayName() { - return displayName; + public List getDisplayRoles() { + return displayRoles; } - public void setDisplayName(String displayName) { - this.displayName = displayName; + public void setDisplayRoles(List displayRoles) { + this.displayRoles = displayRoles; } + + } } -- cgit 1.2.3-korg