summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorezhil <ezhrajam@in.ibm.com>2019-01-30 20:23:56 +0530
committerezhil <ezhrajam@in.ibm.com>2019-01-30 20:24:19 +0530
commit747524c37cd8156c585209463567b5d320417e99 (patch)
tree3e5a955f9c831c3b036745d6cba2b5e791ae80fa
parent5e0ae9df92d5dea5549839696845613d7b8978ad (diff)
Application name input to CBAWizard
Change-Id: I70edac57bbfb38a45dafcd48cefd169e60fbb8aa Issue-ID: CCSDK-703 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
-rw-r--r--cds-ui/client/src/app/feature-modules/blueprint/blueprint.component.html2
-rw-r--r--cds-ui/client/src/app/feature-modules/blueprint/blueprint.component.ts5
-rw-r--r--cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.html2
-rw-r--r--cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.ts5
4 files changed, 10 insertions, 4 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/blueprint.component.html b/cds-ui/client/src/app/feature-modules/blueprint/blueprint.component.html
index 8778de4ce..68d0ade67 100644
--- a/cds-ui/client/src/app/feature-modules/blueprint/blueprint.component.html
+++ b/cds-ui/client/src/app/feature-modules/blueprint/blueprint.component.html
@@ -16,5 +16,5 @@ 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.
============LICENSE_END============================================ -->
-<app-cbawizard></app-cbawizard>
+<app-cbawizard [appName]="appName"></app-cbawizard>
<router-outlet></router-outlet>
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/blueprint.component.ts b/cds-ui/client/src/app/feature-modules/blueprint/blueprint.component.ts
index 59cbb4593..4612499ac 100644
--- a/cds-ui/client/src/app/feature-modules/blueprint/blueprint.component.ts
+++ b/cds-ui/client/src/app/feature-modules/blueprint/blueprint.component.ts
@@ -27,8 +27,11 @@ import { Component, OnInit } from '@angular/core';
styleUrls: ['./blueprint.component.scss']
})
export class BlueprintComponent implements OnInit {
+ appName: String;
- constructor() { }
+ constructor() {
+ this.appName="cba";
+ }
ngOnInit() {
}
diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.html b/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.html
index 199ddf907..df6cc7363 100644
--- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.html
+++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.html
@@ -18,6 +18,6 @@
* ============LICENSE_END=========================================================
*/-->
-<app-cbawizard></app-cbawizard>
+<app-cbawizard [appName]="appName"></app-cbawizard>
<router-outlet></router-outlet>
diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.ts b/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.ts
index 65ac90b4b..c2f3dad7f 100644
--- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.ts
+++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-definition.component.ts
@@ -26,8 +26,11 @@ import { Component, OnInit } from '@angular/core';
styleUrls: ['./resource-definition.component.scss']
})
export class ResourceDefinitionComponent implements OnInit {
+ appName: String;
- constructor() { }
+ constructor() {
+ this.appName="datadict";
+ }
ngOnInit() {
}