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
11 * ZTE - initial API and implementation and/or initial documentation
14 <div class="form-group row">
15 <label class="col-md-2 form-control-label text-md-right">Name</label>
16 <div class="col-md-10">
17 <input class="form-control" [(ngModel)]="restConfig.name">
20 <!-- <div class="form-group row">
21 <label class="col-md-2 form-control-label text-md-right">BaseUrl</label>
22 <div class="col-md-10">
23 <input class="form-control" [(ngModel)]="restConfig.baseUrl">
26 <div class="form-group row">
27 <label class="col-md-2 form-control-label text-md-right">Definition</label>
28 <div class="col-md-10">
29 <input class="form-control" [(ngModel)]="restConfig.definition">
32 <div class="form-group row">
33 <label class="col-md-2 form-control-label text-md-right">Dynamic</label>
34 <div class="col-md-10">
35 <p-radioButton name="dynamic" [value]=true label="true" (ngModelChange)="toggleDynamic($event)"
36 [ngModel]="restConfig.dynamic"></p-radioButton>
37 <p-radioButton name="dynamic" [value]=false label="false" (ngModelChange)="toggleDynamic($event)"
38 [ngModel]="restConfig.dynamic"></p-radioButton>
41 <div class="form-group row">
42 <label class="col-md-2 form-control-label text-md-right">Detail</label>
43 <div class="col-md-10">
44 <textarea class="form-control" [disabled]="restConfig.dynamic" rows="8" [ngModel]="detail"
45 (ngModelChange)="onDetailChanged($event)"></textarea>