aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/view-models/workspace
diff options
context:
space:
mode:
authorIdan Amit <ia096e@intl.att.com>2018-02-13 10:38:16 +0200
committerIdan Amit <ia096e@intl.att.com>2018-02-13 16:43:30 +0200
commit71904f241cd3047054dc0a36c04120a3f53205ae (patch)
tree4bc2a7de56d7737131ddab4f2d206a655dbc0d6d /catalog-ui/src/app/view-models/workspace
parent332f0679fbd23532a058f0ff6a7cffaed3b5424e (diff)
Plugin pubsub implementation
Added implementation for sdc-hub and plugin pubsub classes Added timeout in the plugin head request health check Passing parentUrl in query params to each plugin Change-Id: Ie94aa4b398dd2fcfdf2d134f6c5785d3aa50d237 Issue-ID: SDC-1007 Signed-off-by: Idan Amit <ia096e@intl.att.com>
Diffstat (limited to 'catalog-ui/src/app/view-models/workspace')
-rw-r--r--catalog-ui/src/app/view-models/workspace/tabs/plugins/plugins-context-view-model.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/catalog-ui/src/app/view-models/workspace/tabs/plugins/plugins-context-view-model.ts b/catalog-ui/src/app/view-models/workspace/tabs/plugins/plugins-context-view-model.ts
index 7a399d860a..959aead3ae 100644
--- a/catalog-ui/src/app/view-models/workspace/tabs/plugins/plugins-context-view-model.ts
+++ b/catalog-ui/src/app/view-models/workspace/tabs/plugins/plugins-context-view-model.ts
@@ -38,7 +38,9 @@ export class PluginsContextViewModel {
contextType: this.$scope.component.getComponentSubType(),
uuid: this.$scope.component.uuid,
lifecycleState: this.$scope.component.lifecycleState,
- isOwner: this.$scope.component.lastUpdaterUserId === this.$scope.user.userId
+ isOwner: this.$scope.component.lastUpdaterUserId === this.$scope.user.userId,
+ version: this.$scope.component.version ,
+ parentUrl: window.location.origin
};
}