diff options
author | 2022-09-08 18:55:08 +0100 | |
---|---|---|
committer | 2022-09-19 08:38:43 +0000 | |
commit | 0d38a72c022fa93dba0bf052f893e51fb73d3552 (patch) | |
tree | 25f49242e6c6666c39e32abae66e4950fe4e18ed /catalog-ui/src/app/ng2/pages/composition/capabilities-filter-properties-editor/capabilities-filter-properties-editor.component.html | |
parent | 2fe3d879319a34e9802d0bc172fa11fefe771df3 (diff) |
Support TOSCA functions in Node Capability Filters
Adds support to use TOSCA functions as value in the node capability
filters.
Removes the current capability filter component to reuse, with a few
changes, the node property filters component.
Fixes problems with the edition and deletion of node capability
filters.
Change-Id: Ic91242d6cbc24e2ce0f60b84c63e104575bef8a9
Issue-ID: SDC-4173
Signed-off-by: André Schmid <andre.schmid@est.tech>
Diffstat (limited to 'catalog-ui/src/app/ng2/pages/composition/capabilities-filter-properties-editor/capabilities-filter-properties-editor.component.html')
-rw-r--r-- | catalog-ui/src/app/ng2/pages/composition/capabilities-filter-properties-editor/capabilities-filter-properties-editor.component.html | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/catalog-ui/src/app/ng2/pages/composition/capabilities-filter-properties-editor/capabilities-filter-properties-editor.component.html b/catalog-ui/src/app/ng2/pages/composition/capabilities-filter-properties-editor/capabilities-filter-properties-editor.component.html deleted file mode 100644 index 1dcbc16c12..0000000000 --- a/catalog-ui/src/app/ng2/pages/composition/capabilities-filter-properties-editor/capabilities-filter-properties-editor.component.html +++ /dev/null @@ -1,81 +0,0 @@ -<!-- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * Copyright (C) 2020 Nordix Foundation. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= ---> - -<div class="app-capabilities-filter-properties-editor"> - <form class="w-sdc-form"> - <loader [display]="isLoading" [size]="'large'" [relative]="true"></loader> - <div class="i-sdc-form-content"> - <div class="rule-builder-content"> - <div class="i-sdc-form-item rule-input-field"> - <label class="i-sdc-form-label required">{{currentServiceName}} Capabilities</label> - <ui-element-dropdown class="i-sdc-form-select" class="rule-assigned-value" - [(value)]="currentRule.capabilityName" - [values]="capabilitiesNames" - (elementChanged)="onCapabilityNameChanged($event.value)"> - </ui-element-dropdown> - </div> - - <div class="i-sdc-form-item rule-input-field"> - <label class="i-sdc-form-label required">Capability Properties</label> - <ui-element-dropdown class="i-sdc-form-select" class="rule-assigned-value" - [(value)]="this.currentRule.servicePropertyName" - [values]="capabilityProperties" - (change)="onServicePropertyChanged()"> - </ui-element-dropdown> - </div> - - <div class="i-sdc-form-item rule-input-field operator"> - <ui-element-dropdown class="i-sdc-form-select" - [values]="operatorTypes" - [(value)]="currentRule.constraintOperator"> - </ui-element-dropdown> - </div> - - <div class="i-sdc-form-item rule-input-field"> - <label class="i-sdc-form-label required" >Source</label> - <ui-element-dropdown class="i-sdc-form-select" - [values]="sourceTypes" - [(value)]="currentRule.sourceName" - (change)="onSelectSourceType()"> - </ui-element-dropdown> - </div> - - <div class="rule-input-field assigned-value-field"> - <label class="i-sdc-form-label required" >{{assignedValueLabel}}</label> - <dynamic-element - *ngIf="currentRule.sourceType === SOURCE_TYPES.STATIC.value" - [(value)]="currentRule.value" - class="rule-assigned-value" - data-tests-id="ruleAssignedValue" - (elementChanged)="onValueChange($event.isValid)" - [type]="selectedCapabilitiesPropertyObject ? selectedCapabilitiesPropertyObject.type : 'string'"> - </dynamic-element> - <ui-element-dropdown *ngIf="currentRule.sourceType !== SOURCE_TYPES.STATIC.value" - class="rule-assigned-value" - data-tests-id="ruleAssignedValue" - [(value)]="currentRule.value" - [values]="listOfValuesToAssign"> - </ui-element-dropdown> - </div> - </div> - </div> - </form> - -</div> |