diff options
Diffstat (limited to 'catalog-ui/src/app/models')
3 files changed, 8 insertions, 8 deletions
diff --git a/catalog-ui/src/app/models/component-metadata.ts b/catalog-ui/src/app/models/component-metadata.ts index 2aae97744d..e135e897de 100644 --- a/catalog-ui/src/app/models/component-metadata.ts +++ b/catalog-ui/src/app/models/component-metadata.ts @@ -50,7 +50,7 @@ export interface IComponentMetadata { highestVersion: boolean; normalizedName: string; systemName: string; - archived: boolean; + isArchived: boolean; vspArchived: boolean; selectedCategory: string; filterTerm: string; @@ -116,7 +116,7 @@ export class ComponentMetadata implements IComponentMetadata { public highestVersion: boolean; public normalizedName: string; public systemName: string; - public archived: boolean; + public isArchived: boolean; public vspArchived: boolean; public toscaResourceName: string; public selectedCategory: string; @@ -197,7 +197,7 @@ export class ComponentMetadata implements IComponentMetadata { this.serviceType = response.serviceType; this.serviceRole = response.serviceRole; this.environmentContext = response.environmentContext; - this.archived = response.archived; + this.isArchived = response.isArchived; this.instantiationType = response.instantiationType; this.vspArchived = response.vspArchived; this.toscaResourceName = response.toscaResourceName; diff --git a/catalog-ui/src/app/models/components/component.ts b/catalog-ui/src/app/models/components/component.ts index 6d176df216..e5859abb44 100644 --- a/catalog-ui/src/app/models/components/component.ts +++ b/catalog-ui/src/app/models/components/component.ts @@ -141,7 +141,7 @@ export abstract class Component implements IComponent { public subCategory:string; public selectedCategory:string; public showMenu:boolean; - public archived:boolean; + public isArchived:boolean; public vspArchived: boolean; public componentMetadata: ComponentMetadata; public categorySpecificMetadata: Metadata = new Metadata(); @@ -202,7 +202,7 @@ export abstract class Component implements IComponent { this.modules = component.modules; this.groupInstances = component.groupInstances; this.policies = component.policies; - this.archived = component.archived; + this.isArchived = component.isArchived; this.vspArchived = component.vspArchived; if (component.categorySpecificMetadata && component.categories && component.categories[0]){ @@ -574,7 +574,7 @@ export abstract class Component implements IComponent { this.normalizedName = componentMetadata.normalizedName; this.systemName = componentMetadata.systemName; this.categories = componentMetadata.categories; - this.archived = componentMetadata.archived || false; + this.isArchived = componentMetadata.isArchived; this.vspArchived = componentMetadata.vspArchived; this.componentMetadata = componentMetadata; if (componentMetadata.categorySpecificMetadata){ diff --git a/catalog-ui/src/app/models/componentsInstances/fullComponentInstance.ts b/catalog-ui/src/app/models/componentsInstances/fullComponentInstance.ts index f5f06b8aba..269663f4ef 100644 --- a/catalog-ui/src/app/models/componentsInstances/fullComponentInstance.ts +++ b/catalog-ui/src/app/models/componentsInstances/fullComponentInstance.ts @@ -19,7 +19,7 @@ export class FullComponentInstance extends ComponentInstance { public systemName:string; public uuid:string; public lifecycleState: string; - public archived: boolean; + public isArchived: boolean; public isServiceInstance: boolean; public isResourceInstance: boolean; @@ -61,7 +61,7 @@ export class FullComponentInstance extends ComponentInstance { this.systemName = originComponent.systemName; this.uuid = originComponent.uuid; this.lifecycleState = originComponent.lifecycleState; - this.archived = originComponent.archived; + this.isArchived = originComponent.isArchived; this.attributes = originComponent.attributes; this.directives = componentInstance.directives; |