support rest task node
[sdc/sdc-workflow-designer.git] / sdc-workflow-designer-ui / src / app / components / property / rest-task / rest-task.component.html
1 <!--
2 /*******************************************************************************
3  * Copyright (c) 2017 ZTE Corporation.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * and the Apache License 2.0 which both accompany this distribution,
7  * and are available at http://www.eclipse.org/legal/epl-v10.html
8  * and http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Contributors:
11  *     ZTE - initial API and implementation and/or initial documentation
12  *******************************************************************************/
13 -->
14
15 <div class="form-group row">
16         <label class="col-md-3 form-control-label text-md-right">Service</label>
17         <div class="col-md-9">
18                 <select class="form-control" [ngModel]="selectedMicroservice"
19                                 (ngModelChange)="serviceChanged($event)">
20                         <option *ngFor="let microservice of microservices" [ngValue]=microservice>{{getText4Microservice(microservice)}}</option>
21                 </select>
22         </div>
23 </div>
24
25 <div class="form-group row">
26         <label class="col-md-3 form-control-label text-md-right">Path</label>
27         <div class="col-md-9">
28                 <select class="form-control" [ngModel]="node.url"
29                                 (ngModelChange)="urlChanged($event)">
30                         <option *ngFor="let interface of restInterfaces" value="{{interface}}">{{interface}}</option>
31                 </select>
32         </div>
33 </div>
34
35 <div class="form-group row">
36         <label class="col-md-3 form-control-label text-md-right">Method</label>
37         <div class="col-md-9">
38                 <select class="form-control" [ngModel]="node.method"
39                                 (ngModelChange)="methodChanged($event)">
40                         <option *ngFor="let operation of restOperations" value="{{operation}}">{{operation}}</option>
41                 </select>
42         </div>
43 </div>
44 <hr>