diff options
author | 2020-02-29 22:11:26 +0200 | |
---|---|---|
committer | 2020-03-01 20:11:47 +0200 | |
commit | 4e32415b9d34fcd8b18cf278b92c441e5044feab (patch) | |
tree | 8873834358afc4814df85fc90c82f342dcba4525 /vid-webpack-master/src/app/shared/models | |
parent | decd21f501cbd5df2ec7436cce98b0a75f61ee29 (diff) |
Component-info: show version and customization id from instance
Issue-ID: Issue-ID: VID-771
Change-Id: If172a0aa6555087edabff3c112c565a768169b5c
Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com>
Diffstat (limited to 'vid-webpack-master/src/app/shared/models')
-rw-r--r-- | vid-webpack-master/src/app/shared/models/treeNodeModel.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vid-webpack-master/src/app/shared/models/treeNodeModel.ts b/vid-webpack-master/src/app/shared/models/treeNodeModel.ts index 8da204ce6..d25850dbb 100644 --- a/vid-webpack-master/src/app/shared/models/treeNodeModel.ts +++ b/vid-webpack-master/src/app/shared/models/treeNodeModel.ts @@ -3,6 +3,7 @@ import {NodeModel} from "./nodeModel"; import {ServiceNodeTypes} from "./ServiceNodeTypes"; import * as _ from 'lodash'; import {ServiceInstanceActions} from "./serviceInstanceActions"; +import {ModelInfo} from "./modelInfo"; export enum TreeLevel { Level_0 , Level_1, Level_2 @@ -23,6 +24,7 @@ export class TreeNodeModel { id: string; name: string; modelName: string; + instanceModelInfo?: ModelInfo; missingData: boolean; isEcompGeneratedNaming: boolean; orchStatus?:string; @@ -36,6 +38,7 @@ export class TreeNodeModel { constructor(instance: ChildNodeInstance, nodeModel: NodeModel){ this.modelInvariantId = nodeModel.invariantUuid; + this.instanceModelInfo = instance.modelInfo; if (instance.modelInfo) { this.modelCustomizationId = instance.modelInfo.modelCustomizationId; this.modelId = instance.modelInfo.modelVersionId; |