aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/client/src/app
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-01-07 22:35:27 +0530
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>2019-01-07 22:49:31 +0530
commit6c32c195884f1d07085c6949eaf2d186203b4f19 (patch)
tree6bfb8c93dd753ad7806d56045558fa06fe0d1fa7 /cds-ui/client/src/app
parent445ff21677f9ef8239d468cf82a73bb7ed1caf32 (diff)
Blueprint routing
Added routes to blueprint module Issue-ID: CCSDK-816 Change-Id: I67b7fb21e85b04a77c3c0a8a6878420f8fd0855d Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
Diffstat (limited to 'cds-ui/client/src/app')
-rw-r--r--cds-ui/client/src/app/feature-modules/blueprint/blueprint-routing.module.ts24
-rw-r--r--cds-ui/client/src/app/feature-modules/blueprint/blueprint.component.html5
-rw-r--r--cds-ui/client/src/app/feature-modules/blueprint/blueprint.module.ts6
3 files changed, 30 insertions, 5 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/blueprint-routing.module.ts b/cds-ui/client/src/app/feature-modules/blueprint/blueprint-routing.module.ts
index d0ce0c68d..26ffa1236 100644
--- a/cds-ui/client/src/app/feature-modules/blueprint/blueprint-routing.module.ts
+++ b/cds-ui/client/src/app/feature-modules/blueprint/blueprint-routing.module.ts
@@ -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'
+ }
+ ]
}
];
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 87d0acdf3..8778de4ce 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,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>
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/blueprint.module.ts b/cds-ui/client/src/app/feature-modules/blueprint/blueprint.module.ts
index 56f2b01d5..e10dd409f 100644
--- a/cds-ui/client/src/app/feature-modules/blueprint/blueprint.module.ts
+++ b/cds-ui/client/src/app/feature-modules/blueprint/blueprint.module.ts
@@ -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 { }