Blueprint routing 94/75394/1
authorArundathi Patil <arundpil@in.ibm.com>
Mon, 7 Jan 2019 17:05:27 +0000 (22:35 +0530)
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>
Mon, 7 Jan 2019 17:19:31 +0000 (22:49 +0530)
Added routes to blueprint module

Issue-ID: CCSDK-816
Change-Id: I67b7fb21e85b04a77c3c0a8a6878420f8fd0855d
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
cds-ui/client/src/app/feature-modules/blueprint/blueprint-routing.module.ts
cds-ui/client/src/app/feature-modules/blueprint/blueprint.component.html
cds-ui/client/src/app/feature-modules/blueprint/blueprint.module.ts

index d0ce0c6..26ffa12 100644 (file)
@@ -27,7 +27,29 @@ import { BlueprintComponent } from './blueprint.component';
 const routes: Routes = [
     {
         path: '',
-        component: BlueprintComponent
+        component: BlueprintComponent,
+        children: [
+            {
+                path: '',
+                loadChildren: './select-template/select-template.module#SelectTemplateModule'
+            },
+            {
+                path: 'selectTemplate',
+                loadChildren: './select-template/select-template.module#SelectTemplateModule'
+            },
+            {
+                path: 'modifyTemplate',
+                loadChildren: './modify-template/modify-template.module#ModifyTemplateModule'
+            },
+            {
+                path: 'testTemplate',
+                loadChildren: './test-template/test-template.module#TestTemplateModule'
+            },
+            {
+                path: 'deployTemplate',
+                loadChildren: './deploy-template/deploy-template.module#DeployTemplateModule'
+            }
+        ]
     }
 ];
 
index 87d0acd..8778de4 100644 (file)
@@ -16,6 +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============================================ -->
-<p>
-  blueprint works!
-</p>
+<app-cbawizard></app-cbawizard>
+<router-outlet></router-outlet>
index 56f2b01..e10dd40 100644 (file)
@@ -21,16 +21,20 @@ limitations under the License.
 
 import { NgModule } from '@angular/core';
 import { CommonModule } from '@angular/common';
+
 import { BlueprintComponent } from './blueprint.component';
 import { BlueprintRoutingModule } from './blueprint-routing.module';
 
+import { SharedModule } from '../../../app/common/shared/shared.module';
+
 @NgModule({
   declarations: [
     BlueprintComponent 
   ],
   imports: [
     CommonModule,
-    BlueprintRoutingModule
+    BlueprintRoutingModule,
+    SharedModule
   ]
 })
 export class BlueprintModule { }