From 2fd289f8e4e211eb26752d04d8d9b394ab78470f Mon Sep 17 00:00:00 2001
From: cyuamber <xuranyjy@chinamobile.com>
Date: Thu, 26 Sep 2019 16:53:28 +0800
Subject: feat:adjust the file schema of components related to service
 instances

Change-Id: I18f1674601536a59313528bb1e01fd6b4fffd4fd
Issue-ID: USECASEUI-307
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
---
 .../e2e-creation/e2e-creation.component.html       | 139 ---------------------
 1 file changed, 139 deletions(-)
 delete mode 100644 usecaseui-portal/src/app/shared/components/e2e-creation/e2e-creation.component.html

(limited to 'usecaseui-portal/src/app/shared/components/e2e-creation/e2e-creation.component.html')

diff --git a/usecaseui-portal/src/app/shared/components/e2e-creation/e2e-creation.component.html b/usecaseui-portal/src/app/shared/components/e2e-creation/e2e-creation.component.html
deleted file mode 100644
index da673bf0..00000000
--- a/usecaseui-portal/src/app/shared/components/e2e-creation/e2e-creation.component.html
+++ /dev/null
@@ -1,139 +0,0 @@
-<!--
-    Copyright (C) 2019 CMCC, Inc. and others. 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.
--->
-<!--<h3 class="title"> Services List </h3>-->
-<div class="model creation-model">
-    <!-- Create data -->
-    <div class="top-title">
-        <h3 class="title fl">{{createParams.commonParams.templateType}} {{"i18nTextDefine_InstanceCreation" | translate}} </h3>
-        <div class="fl" style="width: 20%">
-            <button class="submit" nz-button (click)="submit()">
-                <span> {{"i18nTextDefine_Create" | translate}} </span>
-            </button>
-            <button class="back" nz-button (click)="goback()"></button>
-        </div>
-    </div>
-    <div class="e2ecreate-content">
-        <div class="creation fl">
-            <div *ngIf="createParams.commonParams.templateType=='E2E Service'" class="baseparms clearfix">
-                <div class="vnf-box">
-                    <h3> {{"i18nTextDefine_Base" | translate}} </h3>
-                    <ul class="clearfix">
-                        <li>
-                            <span>Name:</span>
-                            <input nz-input [(ngModel)]="service.name">
-                        </li>
-                        <li>
-                            <span>Description:</span>
-                            <input nz-input [(ngModel)]="service.description">
-                        </li>
-                        <li>
-                            <span>COS:</span>
-                            <input nz-input [(ngModel)]="service.COS">
-                        </li>
-                        <li>
-                            <span>EBS:</span>
-                            <input nz-input [(ngModel)]="service.EBS">
-                        </li>
-                    </ul>
-                </div>
-                <div class="vnf-box" *ngIf="templateParameters.inputs.length>0">
-                    <h3>{{"i18nTextDefine_templateInputs" | translate}}</h3>
-                    <ul>
-                        <li *ngFor="let parameter of templateParameters.inputs; let i = index;">
-                            <span *ngIf="parameter.type !== 'vf_location' && parameter.type !== 'sdn_controller'" title="{{parameter.name}}">{{parameter.name}}:</span>
-                            <input *ngIf="parameter.type !== 'vf_location' && parameter.type !== 'sdn_controller'" nz-input [(ngModel)]="parameter.value">
-
-                            <h5 *ngIf="parameter.type === 'vf_location'" style="padding-left:10px;">id: {{parameter.name}}
-                            </h5>
-                            <span *ngIf="parameter.type === 'vf_location'"> vf_location: </span>
-                            <nz-select *ngIf="parameter.type === 'vf_location'" [(ngModel)]="parameter.value" nzAllowClear>
-                                <nz-option *ngFor="let vim of vimInfos" [nzValue]="vim" [nzLabel]="vim.name"></nz-option>
-                            </nz-select>
-                        </li>
-                    </ul>
-                </div>
-                <div class="vnf-box" *ngFor="let template of templateParameters.nestedTemplates;">
-                    <h3>{{template.name}}</h3>
-                    <ul>
-                        <li *ngFor="let input of template.inputs; let i = index;">
-                            <span *ngIf="input.type !== 'vf_location' && input.type !== 'sdn_controller'" title="{{input.name}}"> {{input.name}}: </span>
-                            <input *ngIf="input.type !== 'vf_location' && input.type !== 'sdn_controller'" nz-input [(ngModel)]="input.value">
-
-                            <h5 *ngIf="input.type === 'vf_location'" style="padding-left:10px;">id: {{input.name}}</h5>
-                            <span *ngIf="input.type === 'vf_location'"> vf_location: </span>
-                            <nz-select *ngIf="input.type === 'vf_location'" [(ngModel)]="input.value" nzAllowClear>
-                                <nz-option *ngFor="let vim of vimInfos" [nzValue]="vim" [nzLabel]="vim.name"></nz-option>
-                            </nz-select>
-                        </li>
-                    </ul>
-                </div>
-            </div>
-
-            <div *ngIf="createParams.commonParams.templateType=='Network Service'" class="baseparms clearfix">
-                <div class="vnf-box">
-                    <h3> {{"i18nTextDefine_Base" | translate}} </h3>
-                    <ul class="clearfix">
-                        <li>
-                            <span>Name:</span>
-                            <input nz-input [(ngModel)]="ns_service.nsName">
-                        </li>
-                        <li>
-                            <span>Description:</span>
-                            <input nz-input [(ngModel)]="ns_service.description">
-                        </li>
-                    </ul>
-                </div>
-                <div class="vnf-box" *ngIf="nsTemplateParameters.inputs2.length>0">
-                    <h4>{{"i18nTextDefine_templateInputs" | translate}}</h4>
-                    <ul>
-                        <li *ngFor="let parameter of nsTemplateParameters.inputs2; let i = index;">
-                            <span *ngIf="parameter.type !== 'vf_location' && parameter.type !== 'sdn_controller'" title="{{parameter.name}}">{{parameter.name}}:</span>
-                            <input *ngIf="parameter.type !== 'vf_location' && parameter.type !== 'sdn_controller'" nz-input [(ngModel)]="parameter.value">
-
-                            <h5 *ngIf="parameter.type === 'vf_location'" style="padding-left:10px;">id: {{parameter.name}}
-                            </h5>
-                            <span *ngIf="parameter.type === 'vf_location'"> vf_location: </span>
-                            <nz-select *ngIf="parameter.type === 'vf_location'" [(ngModel)]="parameter.value" nzAllowClear>
-                                <nz-option *ngFor="let vim of vimInfos" [nzValue]="vim" [nzLabel]="vim.name"></nz-option>
-                            </nz-select>
-                        </li>
-                    </ul>
-                </div>
-                <div class="vnf-box">
-                    <h4 *ngIf="nsTemplateParameters.vnfs.length>0">vnfs Inputs</h4>
-                    <ul>
-                        <li *ngFor="let vnf of nsTemplateParameters.vnfs;">
-                            <h5 style="padding-left:10px;">id: {{vnf.vnf_id}}</h5>
-                            <span> vf_location: </span>
-                            <nz-select [(ngModel)]="vnf.value" nzAllowClear>
-                                <nz-option *ngFor="let vim of vimInfos" [nzValue]="vim" [nzLabel]="vim.name"></nz-option>
-                            </nz-select>
-                        </li>
-                    </ul>
-                </div>
-            </div>
-        </div>
-        <div class="dividing-line fl"></div>
-        <!-- chart -->
-        <div class="chart fr">
-            <div id="createChart">
-                <svg width="100%" height="100%">
-                </svg>
-            </div>
-        </div>
-    </div>
-
-</div>
\ No newline at end of file
-- 
cgit