diff options
Diffstat (limited to 'catalog-ui/src/app/ng2/components/logic/service-dependencies/service-dependencies.component.ts')
-rw-r--r-- | catalog-ui/src/app/ng2/components/logic/service-dependencies/service-dependencies.component.ts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/catalog-ui/src/app/ng2/components/logic/service-dependencies/service-dependencies.component.ts b/catalog-ui/src/app/ng2/components/logic/service-dependencies/service-dependencies.component.ts index f3fd36364a..495782494c 100644 --- a/catalog-ui/src/app/ng2/components/logic/service-dependencies/service-dependencies.component.ts +++ b/catalog-ui/src/app/ng2/components/logic/service-dependencies/service-dependencies.component.ts @@ -315,7 +315,8 @@ export class ServiceDependenciesComponent { this.topologyTemplateService.createServiceFilterConstraints( this.compositeService.uniqueId, this.currentServiceInstance.uniqueId, - newRuleToCreate + newRuleToCreate, + this.compositeService.componentType ).subscribe( (response) => { this.updateRulesListEvent.emit(response.properties); this.isLoading = false; @@ -331,7 +332,8 @@ export class ServiceDependenciesComponent { this.topologyTemplateService.updateServiceFilterConstraints( this.compositeService.uniqueId, this.currentServiceInstance.uniqueId, - allRulesToUpdate + allRulesToUpdate, + this.compositeService.componentType ).subscribe((response) => { this.updateRulesListEvent.emit(response.properties); this.isLoading = false; @@ -354,7 +356,8 @@ export class ServiceDependenciesComponent { this.topologyTemplateService.deleteServiceFilterConstraints( this.compositeService.uniqueId, this.currentServiceInstance.uniqueId, - index + index, + this.compositeService.componentType ).subscribe( (response) => { this.updateRulesListEvent.emit(response.properties); this.isLoading = false; |