diff options
author | Idan Amit <ia096e@intl.att.com> | 2018-01-31 13:27:33 +0200 |
---|---|---|
committer | Michael Lando <ml636r@att.com> | 2018-01-31 14:35:13 +0000 |
commit | eedaaf983d731d0179916b3f3a8e4d3a0d80981b (patch) | |
tree | 066eb388f47ac15ef35c98aa74618b751da47ae6 /catalog-ui/src/app/models | |
parent | 3b09e29e1e1cab9baf3b1380718a3c45126930bd (diff) |
Change designer to plugin in code
Changed all the use of the designer configuration in the code to be plugin
Change-Id: Id9792cbd4fb9385446780c28fb7fb5418772acf6
Issue-ID: SDC-974
Signed-off-by: Idan Amit <ia096e@intl.att.com>
Diffstat (limited to 'catalog-ui/src/app/models')
-rw-r--r-- | catalog-ui/src/app/models/app-config.ts | 2 | ||||
-rw-r--r-- | catalog-ui/src/app/models/designers-config.ts | 21 | ||||
-rw-r--r-- | catalog-ui/src/app/models/plugins-config.ts | 21 |
3 files changed, 22 insertions, 22 deletions
diff --git a/catalog-ui/src/app/models/app-config.ts b/catalog-ui/src/app/models/app-config.ts index 556603d4ab..1f6682f666 100644 --- a/catalog-ui/src/app/models/app-config.ts +++ b/catalog-ui/src/app/models/app-config.ts @@ -53,7 +53,7 @@ export interface IApi { GET_resource_artifact_types:string; GET_activity_log:string; GET_configuration_ui:string; - GET_designers_configuration:string; + GET_plugins_configuration:string; GET_service:string; GET_ecomp_menu_items:string; GET_service_validate_name:string; diff --git a/catalog-ui/src/app/models/designers-config.ts b/catalog-ui/src/app/models/designers-config.ts deleted file mode 100644 index b60e4204e7..0000000000 --- a/catalog-ui/src/app/models/designers-config.ts +++ /dev/null @@ -1,21 +0,0 @@ - -export class Designer { - designerId: string; - designerHost: string; - designerPort: string; - designerPath: string; - designerStateUrl: string; - designerProtocol: string; - designerDisplayOptions: Map<string, DesignerDisplayOptions>; -} - -export class DesignerDisplayOptions { - displayName: string; - displayContext: Array<string>; -} - -export type Designers = Array<Designer>; - -export class DesignersConfiguration { - static designers: Designers; -} diff --git a/catalog-ui/src/app/models/plugins-config.ts b/catalog-ui/src/app/models/plugins-config.ts new file mode 100644 index 0000000000..18782ec891 --- /dev/null +++ b/catalog-ui/src/app/models/plugins-config.ts @@ -0,0 +1,21 @@ + +export class Plugin { + pluginId: string; + pluginHost: string; + pluginPort: string; + pluginPath: string; + pluginStateUrl: string; + pluginProtocol: string; + pluginDisplayOptions: Map<string, PluginDisplayOptions>; +} + +export class PluginDisplayOptions { + displayName: string; + displayContext: Array<string>; +} + +export type Plugins = Array<Plugin>; + +export class PluginsConfiguration { + static plugins: Plugins; +} |