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.
-
-ECOMP is a trademark and service mark of AT&T Intellectual Property.
============LICENSE_END============================================
*/
-import { GoldenConfigurationHolderComponent, } from './build-artifacts/template-holder/template-holder.component';
-import { MyvnfsComponent } from './myvnfs/myvnfs.component';
-import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
-import { ReferenceDataformComponent } from './build-artifacts/reference-dataform/reference-dataform.component';
+
+import { BuildDesignComponent } from './build-artifacts/build-artifacts.component';
import { GoldenConfigurationComponent } from './build-artifacts/template-holder/template-configuration/template-configuration.component';
+import { GoldenConfigurationHolderComponent, } from './build-artifacts/template-holder/template-holder.component';
import { GoldenConfigurationMappingComponent } from './build-artifacts/template-holder/param-name-value/param-name-value.component';
+import { LoginGuardService } from './LoginGuardService/Login-guard-service';
+import { MyvnfsComponent } from './myvnfs/myvnfs.component';
+import { NgModule } from '@angular/core';
import { ParameterComponent } from './build-artifacts/parameter-definitions/parameter.component';
import { ParameterHolderComponent } from './build-artifacts/parameter-holder/parameter-holder.component';
+import { ReferenceDataHolderComponent } from './build-artifacts/reference-data-holder/reference-data-holder.component';
+import { ReferenceDataformComponent } from './build-artifacts/reference-dataform/reference-dataform.component';
import { VnfsComponent } from './vnfs/vnfs.component';
-import { BuildDesignComponent } from './build-artifacts/build-artifacts.component';
import { userloginFormComponent } from './userlogin-form/userlogin-form.component';
-import { LoginGuardService } from './LoginGuardService/Login-guard-service';
-import { ReferenceDataHolderComponent } from './build-artifacts/reference-data-holder/reference-data-holder.component';
-
const routes: Routes = [
{
component: VnfsComponent,
children: [
{
- path: '',
+ path: 'login',
component: userloginFormComponent,
- canActivate: [LoginGuardService],
+
}, {
path: 'list',
- component: MyvnfsComponent
+ component: MyvnfsComponent,
+ canActivate: [LoginGuardService],
},
{
path: 'design',
component: BuildDesignComponent,
+
children: [
{
path: 'references',
]
- },
+ }
]
+ }, {
+ path: '',
+ redirectTo: 'list',
+ pathMatch: 'full'
+
}
]
}
exports: [RouterModule]
})
export class VnfRoutingModule {
-}
\ No newline at end of file
+}