CBA Blueprint Wizard 35/78035/2
authorEzhilarasi <ezhrajam@in.ibm.com>
Thu, 7 Feb 2019 09:23:53 +0000 (14:53 +0530)
committerEzhilarasi R <ezhrajam@in.ibm.com>
Tue, 12 Feb 2019 17:50:00 +0000 (17:50 +0000)
Change-Id: Ia64999d65cd6e3175f0056c8193f9c9e8b352ee4
Issue-ID: CCSDK-703
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
cds-ui/client/src/app/common/shared/shared.module.ts
cds-ui/client/src/app/feature-modules/blueprint/blueprint.component.html
cds-ui/client/src/app/feature-modules/blueprint/deploy-template/deploy-template.module.ts
cds-ui/client/src/app/feature-modules/blueprint/modify-template/modify-template.module.ts
cds-ui/client/src/app/feature-modules/blueprint/select-template/metadata/metadata.component.html
cds-ui/client/src/app/feature-modules/blueprint/select-template/search-template/search-template.component.html
cds-ui/client/src/app/feature-modules/blueprint/test-template/test-template.module.ts

index 531327d..2b3c993 100644 (file)
@@ -35,7 +35,8 @@ import { FileuploadComponent } from './fileupload/fileupload.component';
   ],
   exports: [
     HomeComponent,
-    CBAWizardComponent
+    CBAWizardComponent,
+    FileuploadComponent
   ],
   imports: [
     CommonModule,
index 68d0ade..31c7a6a 100644 (file)
@@ -16,5 +16,33 @@ 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 [appName]="appName"></app-cbawizard>
-<router-outlet></router-outlet>
+<!-- <app-cbawizard [appName]="appName"></app-cbawizard>
+<router-outlet></router-outlet> -->
+<mat-card class="CBAform">
+    <mat-card-content>
+      <mat-horizontal-stepper [linear]="isLinear" #stepper>
+        <mat-step [stepControl]="firstFormGroup">
+          <ng-template matStepLabel>CBA Metadata</ng-template>
+          <app-select-template></app-select-template>
+          <div>
+              <button mat-button matStepperNext style="color:white;background:gray">Proceed</button>
+            </div>
+        </mat-step>
+        <mat-step [stepControl]="secondFormGroup">
+          <ng-template matStepLabel>Controller Blueprint Designer</ng-template>
+          <app-modify-template></app-modify-template>
+          <div style="position:relative">
+              <button mat-button matStepperNext style="color:white;background:gray; right: 20px; position: absolute;bottom:5px; ">Proceed</button>
+          </div>
+        </mat-step>
+        <mat-step [stepControl]="thirdFormGroup">
+          <ng-template matStepLabel>Test</ng-template>
+          <app-test-template></app-test-template>
+        </mat-step>
+        <mat-step [stepControl]="thirdFormGroup">
+            <ng-template matStepLabel>Test</ng-template>
+            <app-deploy-template></app-deploy-template>
+          </mat-step>
+      </mat-horizontal-stepper>
+    </mat-card-content>
+  </mat-card>
index d1c1259..e39beac 100644 (file)
@@ -27,6 +27,9 @@ import { DeployTemplateRoutingModule } from './deploy-template-routing.module';
   declarations: [
     DeployTemplateComponent
   ],
+  exports: [
+    DeployTemplateComponent
+  ],
   imports: [
     CommonModule,
     DeployTemplateRoutingModule
index 6175208..f502de4 100644 (file)
@@ -25,7 +25,10 @@ import { ModifyTemplateRoutingModule } from './modify-template-routing.module';
 
 @NgModule({
   declarations: [
-      ModifyTemplateComponent
+    ModifyTemplateComponent
+  ],
+  exports: [
+    ModifyTemplateComponent
   ],
   imports: [
     CommonModule,
index 81c6349..75d9462 100644 (file)
@@ -19,7 +19,7 @@ limitations under the License.
 ============LICENSE_END============================================
 -->
 
-<form [formGroup]="CBAMetadata">
+<!-- <form [formGroup]="CBAMetadata"> -->
   <mat-form-field class="form-field">
     <input matInput placeholder="CBA File Name" formControlName="CBA_File_Name">
   </mat-form-field>
@@ -35,4 +35,4 @@ limitations under the License.
   <mat-form-field class="form-field">
     <input matInput placeholder="Author" formControlName="author">
   </mat-form-field>
-  </form>
+  <!-- </form> -->
index fbf0baa..8e22c70 100644 (file)
@@ -18,4 +18,5 @@ See the License for the specific language governing permissions and
 limitations under the License.
 ============LICENSE_END============================================
 -->
-<app-file-upload></app-file-upload>
+<!-- <app-file-upload></app-file-upload> -->
+<input type="file" accept=".cba">
\ No newline at end of file
index 9a5b9d6..09be58a 100644 (file)
@@ -28,6 +28,9 @@ import { TestTemplateRoutingModule } from './test-template-routing.module';
   declarations: [
     TestTemplateComponent
   ],
+  exports: [
+    TestTemplateComponent
+  ],
   imports: [
     CommonModule,
     TestTemplateRoutingModule