diff options
author | aribeiro <anderson.ribeiro@est.tech> | 2021-06-24 11:19:45 +0100 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2021-07-15 13:22:58 +0000 |
commit | 4f4f7fb796475bb4a332e798c80438b33ce7712a (patch) | |
tree | 88b0f7285acfa2e49c5ba3ad3cc4b04bf9c58dc7 /catalog-ui/src/app/models | |
parent | 53df976426f8845adf58e8ff9355764343a38549 (diff) |
Allow only types from selected model in service creation
Issue-ID: SDC-3629
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Change-Id: I98edb8a1133b2df8d884782f3fb2758b42b94158
Diffstat (limited to 'catalog-ui/src/app/models')
-rw-r--r-- | catalog-ui/src/app/models/component-metadata.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/catalog-ui/src/app/models/component-metadata.ts b/catalog-ui/src/app/models/component-metadata.ts index 186cd8aa39..1cbecda2b3 100644 --- a/catalog-ui/src/app/models/component-metadata.ts +++ b/catalog-ui/src/app/models/component-metadata.ts @@ -85,6 +85,9 @@ export interface IComponentMetadata { capabilities: CapabilitiesGroup; requirements: RequirementsGroup; + // Model + model: string; + } export class ComponentMetadata implements IComponentMetadata { @@ -141,6 +144,7 @@ export class ComponentMetadata implements IComponentMetadata { public serviceRole: string; public environmentContext: string; public instantiationType: string; + public model: string; // backend lifecycleState public state: string; @@ -196,6 +200,7 @@ export class ComponentMetadata implements IComponentMetadata { this.capabilities = response.capabilities; this.requirements = response.requirements; this.categorySpecificMetadata = response.categorySpecificMetadata; + this.model = response.model; return this; } |