2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2021 Nordix Foundation. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 <div class="operation-handler">
22 <loader [display]="isLoading" [size]="'large'" [relative]="true"></loader>
24 <form class="w-sdc-form">
26 <div class="side-by-side">
27 <div class="form-item">
29 label="{{ 'OPERATION_INTERFACE_TYPE' | translate }}"
30 [(value)]="interfaceType"
35 <div class="form-item">
37 label="{{ 'OPERATION_NAME' | translate }}"
38 [(value)]="operationToUpdate.name"
44 <div class="i-sdc-form-item">
46 label="{{'OPERATION_DESCRIPTION' | translate}}"
47 [(value)]="operationToUpdate.description"
48 testId="interface-operation-description"
49 (valueChange)="onDescriptionChange($event)">
53 <div class="i-sdc-form-item">
55 label="{{'IMPLEMENTATION_NAME' | translate}}"
56 testId="interface-operation-implementation-name"
57 [(value)]="operationToUpdate.implementation.artifactName">
61 <div class="separator-buttons">
62 <tab tabTitle="Inputs"></tab>
63 <a class="add-param-link add-btn"
64 [ngClass]="{'disabled': readonly}"
65 (click)="onAddInput()">{{'OPERATION_ADD_INPUT' | translate}}
69 <div class="generic-table">
70 <div class="header-row table-row">
71 <span class="cell header-cell field-input-name">{{ 'OPERATION_PARAM_NAME' | translate }}</span>
72 <span class="cell header-cell field-input-value">{{ 'OPERATION_INPUT_VALUE' | translate }}</span>
73 <span class="cell header-cell remove">●●●</span>
75 <div class="empty-msg data-row" *ngIf="!inputs.length">
76 <div>{{ 'OPERATION_INPUT_EMPTY' | translate }}</div>
79 *ngFor="let inputParameter of inputs"
81 [input]="inputParameter"
82 [onRemoveInput]="onRemoveInput"
83 [validityChanged]="validityChanged">