diff options
author | vasraz <vasyl.razinkov@est.tech> | 2021-02-16 17:37:57 +0000 |
---|---|---|
committer | Christophe Closset <christophe.closset@intl.att.com> | 2021-02-17 15:57:55 +0000 |
commit | 26e5029d922779fd7e786c1a31b6b37492132388 (patch) | |
tree | 8e8e68a6913749e1405fce951bc7816d4fa35ba3 /catalog-ui/src/app/ng2/services/responses | |
parent | f2c0a4118c3c0b6360b639622766543bd754b59c (diff) |
Implement Attributes/Outputs FE
Change-Id: I014bb0ebc07f3fea4266a4f295172eadee546705
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Issue-ID: SDC-3448
Diffstat (limited to 'catalog-ui/src/app/ng2/services/responses')
-rw-r--r-- | catalog-ui/src/app/ng2/services/responses/component-generic-response.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/catalog-ui/src/app/ng2/services/responses/component-generic-response.ts b/catalog-ui/src/app/ng2/services/responses/component-generic-response.ts index c6be9c369a..09ace56965 100644 --- a/catalog-ui/src/app/ng2/services/responses/component-generic-response.ts +++ b/catalog-ui/src/app/ng2/services/responses/component-generic-response.ts @@ -26,11 +26,11 @@ import { ArtifactGroupModel, PropertyModel, PropertiesGroup, AttributeModel, Att InputBEModel, Module, ComponentMetadata, RelationshipModel, RequirementsGroup, CapabilitiesGroup} from "app/models"; import {CommonUtils} from "app/utils"; import {Serializable} from "../utils/serializable"; -import {PropertyBEModel} from "../../../models/properties-inputs/property-be-model"; import { PolicyInstance } from "app/models/graph/zones/policy-instance"; import { GroupInstance } from "../../../models/graph/zones/group-instance"; import { InputsGroup } from "../../../models/inputs"; import { InterfaceModel } from "../../../models/operation"; +import { OutputBEModel } from "app/models/attributes-outputs/output-be-model"; export class ComponentGenericResponse implements Serializable<ComponentGenericResponse> { @@ -45,6 +45,7 @@ export class ComponentGenericResponse implements Serializable<ComponentGenericR public componentInstances:Array<ComponentInstance>; public componentInstancesInterfaces: Map<string, Array<InterfaceModel>>; public inputs:Array<InputBEModel>; + public outputs:Array<OutputBEModel>; public capabilities:CapabilitiesGroup; public requirements:RequirementsGroup; public properties:Array<PropertyModel>; @@ -82,6 +83,9 @@ export class ComponentGenericResponse implements Serializable<ComponentGenericR if(response.inputs) { this.inputs = CommonUtils.initInputs(response.inputs); } + if (response.outputs) { + this.outputs = CommonUtils.initOutputs(response.outputs); + } if(response.attributes) { this.attributes = CommonUtils.initAttributes(response.attributes); } |