diff options
author | aribeiro <anderson.ribeiro@est.tech> | 2020-05-25 11:33:22 +0100 |
---|---|---|
committer | Ofir Sonsino <ofir.sonsino@intl.att.com> | 2020-06-21 07:12:09 +0000 |
commit | 50c930a4095964a77611900401eff85f001c4aed (patch) | |
tree | 63a13eef3f80eb1c6dd6e00d103c9e90cdce14ab /catalog-ui/src/app/ng2/components/logic | |
parent | 5dd7bf3451168c1701b6c35b29d0db70c218595a (diff) |
Add Support for node_filters
Allows for node_filter to be specified for a node template
to provide processing instructions to the orchestrator
Issue-ID: SDC-3095
Change-Id: I4e496e300552049d9bfd00df878b86d9fb97312b
Signed-off-by: aribeiro <anderson.ribeiro@est.tech>
Diffstat (limited to 'catalog-ui/src/app/ng2/components/logic')
2 files changed, 7 insertions, 4 deletions
diff --git a/catalog-ui/src/app/ng2/components/logic/service-dependencies/service-dependencies.component.html b/catalog-ui/src/app/ng2/components/logic/service-dependencies/service-dependencies.component.html index 833f6f3c62..f093143054 100644 --- a/catalog-ui/src/app/ng2/components/logic/service-dependencies/service-dependencies.component.html +++ b/catalog-ui/src/app/ng2/components/logic/service-dependencies/service-dependencies.component.html @@ -15,7 +15,7 @@ </span> </div> - <div class="i-sdc-designer-sidebar-section-content-item-rules-section" *ngIf="isDependent && isServiceProxy()"> + <div class="i-sdc-designer-sidebar-section-content-item-rules-section" *ngIf="isDependent"> <div class="i-sdc-designer-sidebar-section-content-item-rule" [ngClass]="{'hand': !readonly}" *ngFor="let rule of rulesList; let i = index"> 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; |