diff options
author | Dan Timoney <dtimoney@att.com> | 2019-01-07 17:31:15 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-01-07 17:31:15 +0000 |
commit | f352a874bd742784541ee67112ea2e648a5b3951 (patch) | |
tree | e799db96f83412c8bdbead59af0f07268202eb9c /cds-ui/client/src | |
parent | b114208b9dfba7a42dfb009106143c7b506884a4 (diff) | |
parent | 6c32c195884f1d07085c6949eaf2d186203b4f19 (diff) |
Merge "Blueprint routing"
Diffstat (limited to 'cds-ui/client/src')
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 { } |