diff options
author | 2023-07-07 16:16:49 +0100 | |
---|---|---|
committer | 2023-07-19 13:29:38 +0000 | |
commit | 3e63e2cdd6630dde5ecac3710bcb932d76d411da (patch) | |
tree | 759f60afa4d9c17c3432f3ea755f996b93a900dc /catalog-ui/src/app/ng2/pages/composition | |
parent | 85e3cda38a1767ade1724ea18842a50772170a25 (diff) |
Provide tosca function capability to list/map of complex type fields in composition view
Tosca function capability is provided to list/map entries of complex type fields in composition view
Issue-ID: SDC-4562
Signed-off-by: Imam hussain <imam.hussain@est.tech>
Change-Id: I38355f5ab399e1504ad433037d0d547fe07e9bfa
Diffstat (limited to 'catalog-ui/src/app/ng2/pages/composition')
-rw-r--r-- | catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/properties-tab/properties-tab.component.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/properties-tab/properties-tab.component.ts b/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/properties-tab/properties-tab.component.ts index d25daf2865..ec804f3d11 100644 --- a/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/properties-tab/properties-tab.component.ts +++ b/catalog-ui/src/app/ng2/pages/composition/panel/panel-tabs/properties-tab/properties-tab.component.ts @@ -12,6 +12,7 @@ import { InputsGroup, InputModel } from 'app/models'; +import {DataTypesService} from "app/services"; import {ToscaGetFunctionType} from "app/models/tosca-get-function-type"; import { CompositionService } from 'app/ng2/pages/composition/composition.service'; import { WorkspaceService } from 'app/ng2/pages/workspace/workspace.service'; @@ -52,6 +53,7 @@ export class PropertiesTabComponent implements OnInit { constructor(private store: Store, private workspaceService: WorkspaceService, + private DataTypesService:DataTypesService, private compositionService: CompositionService, private modalsHandler: ModalsHandler, private topologyTemplateService: TopologyTemplateService, @@ -63,6 +65,7 @@ export class PropertiesTabComponent implements OnInit { ngOnInit() { this.metadata = this.workspaceService.metadata; + this.DataTypesService.loadDataTypesCache(this.workspaceService.metadata.model); this.isComponentInstanceSelected = this.componentType === SelectedComponentType.COMPONENT_INSTANCE; this.getComponentInstancesPropertiesAndAttributes(); } |