aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/modules
diff options
context:
space:
mode:
authorIdan Amit <ia096e@intl.att.com>2018-03-21 12:04:57 +0200
committerMichael Lando <ml636r@att.com>2018-03-27 15:04:23 +0000
commit7363f3d875e08d5195cb5e8b7e4f9ac86ec99ef5 (patch)
treec49f7d31d5b694330b47247f30d9e7a5d6f602ea /catalog-ui/src/app/modules
parentfb81a037f9f81be9bdb4b13032a9415654d6d2cc (diff)
Create Error page for offline plugin
Created an error page to be displayed when a plugin is offline Change-Id: I7bff7d29896e5eae88eca79784854bcd1086ca50 Issue-ID: SDC-1082 Signed-off-by: Idan Amit <ia096e@intl.att.com>
Diffstat (limited to 'catalog-ui/src/app/modules')
-rw-r--r--catalog-ui/src/app/modules/directive-module.ts11
1 files changed, 9 insertions, 2 deletions
diff --git a/catalog-ui/src/app/modules/directive-module.ts b/catalog-ui/src/app/modules/directive-module.ts
index 1babeefbdb..6285415056 100644
--- a/catalog-ui/src/app/modules/directive-module.ts
+++ b/catalog-ui/src/app/modules/directive-module.ts
@@ -7,9 +7,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -183,6 +183,7 @@ import { SearchWithAutoCompleteComponent } from "../ng2/components/ui/search-wit
import { PalettePopupPanelComponent } from "../ng2/components/ui/palette-popup-panel/palette-popup-panel.component";
import { ServicePathComponent } from '../ng2/components/logic/service-path/service-path.component';
import { ServicePathSelectorComponent } from '../ng2/components/logic/service-path-selector/service-path-selector.component';
+import {PluginFrameComponent} from "../ng2/components/ui/plugin/plugin-frame.component";
directiveModule.directive('menuListNg2', downgradeComponent({
component: MenuListNg2Component,
@@ -240,3 +241,9 @@ directiveModule.directive('ng2ServicePathSelector', downgradeComponent({
inputs: ['drawPath', 'deletePaths', 'service', 'selectedPathId'],
outputs: []
}) as angular.IDirectiveFactory);
+
+directiveModule.directive('pluginFrame', downgradeComponent( {
+ component: PluginFrameComponent,
+ inputs: ['plugin', 'queryParams'],
+ outputs: ['onLoadingDone']
+}) as angular.IDirectiveFactory);