summaryrefslogtreecommitdiffstats
path: root/cds-ui
diff options
context:
space:
mode:
Diffstat (limited to 'cds-ui')
-rw-r--r--cds-ui/application/pom.xml2
-rw-r--r--cds-ui/client/pom.xml4
-rw-r--r--cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-metadata/resource-metadata.component.html18
-rw-r--r--cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/sources-template/sources-template.component.html5
-rw-r--r--cds-ui/pom.xml2
-rw-r--r--cds-ui/server/pom.xml2
6 files changed, 14 insertions, 19 deletions
diff --git a/cds-ui/application/pom.xml b/cds-ui/application/pom.xml
index de8827f4a..358de718e 100644
--- a/cds-ui/application/pom.xml
+++ b/cds-ui/application/pom.xml
@@ -32,7 +32,7 @@ limitations under the License.
<version>0.7.0-SNAPSHOT</version>
<packaging>pom</packaging>
- <name>cds-ui-application</name>
+ <name>CDS UI Application</name>
<properties>
<image.name>onap/ccsdk-cds-ui</image.name>
diff --git a/cds-ui/client/pom.xml b/cds-ui/client/pom.xml
index 4217ac5c9..abf5afff6 100644
--- a/cds-ui/client/pom.xml
+++ b/cds-ui/client/pom.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!--
+<!--
============LICENSE_START==========================================
===================================================================
Copyright (C) 2018 IBM Intellectual Property. All rights reserved.
@@ -32,7 +32,7 @@ limitations under the License.
<version>0.7.0-SNAPSHOT</version>
<packaging>pom</packaging>
- <name>cds-ui-client</name>
+ <name>CDS UI Client</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-metadata/resource-metadata.component.html b/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-metadata/resource-metadata.component.html
index 24bee2720..8a6f232fb 100644
--- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-metadata/resource-metadata.component.html
+++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/resource-metadata/resource-metadata.component.html
@@ -20,33 +20,31 @@
* ============LICENSE_END=========================================================
*/-->
+
<form [formGroup]="ResourceMetadata" (ngSubmit)="UploadMetadata()">
<mat-form-field class="form-field">
- <input matInput placeholder="Name" formControlName="Resource_Name">
+ <input matInput placeholder="Name" formControlName="Resource_Name" (change)="UploadMetadata()">
</mat-form-field><mat-form-field class="form-field">
- <input matInput placeholder="Tags" formControlName="_tags">
+ <input matInput placeholder="Tags" formControlName="_tags" (change)="UploadMetadata()">
</mat-form-field>
<mat-form-field class="form-field">
- <mat-select matInput placeholder="Data Type" formControlName="_type">
+ <mat-select matInput placeholder="Data Type" formControlName="_type" (selectionChange)="UploadMetadata()">
<!-- <mat-option value="string">string</mat-option> -->
<!-- <mat-option value="list">list</mat-option> -->
<mat-option value="string" *ngFor="let item of dataTypeList">{{item.modelName}}</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field class="form-field" >
- <input matInput placeholder="entry_schema" formControlName="entry_schema">
+ <input matInput placeholder="entry_schema" formControlName="entry_schema" (change)="UploadMetadata()">
</mat-form-field>
<mat-form-field class="form-field" >
- <mat-select matInput placeholder="required" formControlName="required">
+ <mat-select matInput placeholder="required" formControlName="required" (selectionChange)="UploadMetadata()">
<mat-option value="true">true</mat-option>
<mat-option value="false">false</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field class="form-field" >
- <textarea matInput placeholder="Description" formControlName="_description"></textarea>
+ <textarea matInput placeholder="Description" formControlName="_description" (change)="UploadMetadata()"></textarea>
</mat-form-field>
<br>
- <div>
- <button mat-button class="matStepNextBtn" type="submit">Save Metadata</button>
- </div>
-</form> \ No newline at end of file
+</form>
diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/sources-template/sources-template.component.html b/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/sources-template/sources-template.component.html
index a5f367de0..2004e4823 100644
--- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/sources-template/sources-template.component.html
+++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/sources-template/sources-template.component.html
@@ -56,7 +56,4 @@
<div class="options-box" *ngFor="let item of option | search :searchText" cdkDrag>{{item.name}}</div>
</div>
</div>
- <div>
- <button mat-button class="matStepNextBtn" (click)="UploadSourcesData()">Save Sources Data</button>
- </div>
-</div> \ No newline at end of file
+</div>
diff --git a/cds-ui/pom.xml b/cds-ui/pom.xml
index 34a72bdf5..08c10305b 100644
--- a/cds-ui/pom.xml
+++ b/cds-ui/pom.xml
@@ -33,7 +33,7 @@ limitations under the License.
<version>0.7.0-SNAPSHOT</version>
<packaging>pom</packaging>
- <name>cds-ui-parent</name>
+ <name>CDS UI Parent</name>
<description>Creates Controller Design Studio UI Docker container</description>
<modules>
diff --git a/cds-ui/server/pom.xml b/cds-ui/server/pom.xml
index dedf129ab..4c37667a9 100644
--- a/cds-ui/server/pom.xml
+++ b/cds-ui/server/pom.xml
@@ -32,7 +32,7 @@ limitations under the License.
<version>0.7.0-SNAPSHOT</version>
<packaging>pom</packaging>
- <name>cds-ui-server</name>
+ <name>CDS UI Server</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>