blob: 5268033db4c037e5829c567f4bf967e9f322ce12 [file] [log] [blame]
Skip Wonnell2c977e22018-03-01 08:30:15 -06001/*
2============LICENSE_START==========================================
3===================================================================
4Copyright (C) 2018 AT&T Intellectual Property. All rights reserved.
Arundathi Patil465d29e2018-07-18 15:41:05 +05305
6Copyright (C) 2018 IBM Intellectual Property. All rights reserved.
Skip Wonnell2c977e22018-03-01 08:30:15 -06007===================================================================
Sandeep Jdd28c9d2018-07-13 13:22:42 +05308Copyright (C) 2018 IBM.
9===================================================================
Skip Wonnell2c977e22018-03-01 08:30:15 -060010
11Unless otherwise specified, all software contained herein is licensed
12under the Apache License, Version 2.0 (the License);
13you may not use this software except in compliance with the License.
14You may obtain a copy of the License at
15
16 http://www.apache.org/licenses/LICENSE-2.0
17
18Unless required by applicable law or agreed to in writing, software
19distributed under the License is distributed on an "AS IS" BASIS,
20WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21See the License for the specific language governing permissions and
22limitations under the License.
23
24ECOMP is a trademark and service mark of AT&T Intellectual Property.
25============LICENSE_END============================================
26*/
27
Arundathi Patil465d29e2018-07-18 15:41:05 +053028import { NgModule } from '@angular/core';
29import { FormsModule } from '@angular/forms';
30import { CommonModule } from '@angular/common';
Skip Wonnell2c977e22018-03-01 08:30:15 -060031// modules
Arundathi Patil465d29e2018-07-18 15:41:05 +053032import { VnfRoutingModule } from './vnf.routing';
33import { SharedModule } from '../shared/shared.module';
Sandeep Jdd28c9d2018-07-13 13:22:42 +053034import { NgxSpinnerModule } from 'ngx-spinner';
Arundathi Patil465d29e2018-07-18 15:41:05 +053035import { AceEditorComponent } from 'ng2-ace-editor';
Skip Wonnell2c977e22018-03-01 08:30:15 -060036// components
Arundathi Patil465d29e2018-07-18 15:41:05 +053037import { MyvnfsComponent } from './myvnfs/myvnfs.component';
38import { ReferenceDataformComponent } from './build-artifacts/reference-dataform/reference-dataform.component';
39import { GoldenConfigurationComponent } from './build-artifacts/template-holder/template-configuration/template-configuration.component';
40import { ParameterComponent } from './build-artifacts/parameter-definitions/parameter.component';
41import { ParameterHolderComponent } from './build-artifacts/parameter-holder/parameter-holder.component';
42import { BootstrapModalModule } from 'ng2-bootstrap-modal';
43import { BuildDesignComponent } from './build-artifacts/build-artifacts.component';
44import { userloginFormComponent } from './userlogin-form/userlogin-form.component';
45import { ReferenceDataHolderComponent } from './build-artifacts/reference-data-holder/reference-data-holder.component';
46import { ModalComponent } from '../shared/modal/modal.component';
47import { VnfsComponent } from './vnfs/vnfs.component';
48import { GoldenConfigurationHolderComponent } from './build-artifacts/template-holder/template-holder.component';
49import { GoldenConfigurationMappingComponent } from './build-artifacts/template-holder/param-name-value/param-name-value.component';
50import { Tab } from './build-artifacts/template-holder/param-name-value/tab';
51import { Tabs } from './build-artifacts/template-holder/param-name-value/tabs';
52import { Ng2Bs3ModalModule } from 'ng2-bs3-modal/ng2-bs3-modal';
53import { AuthGuardModalComponent } from './auth-guard-modal/auth-guard-modal';
54import { GCAuthGuardService } from './GCAuthGuard/gcauth-guard.service';
55import { LoginGuardService } from './LoginGuardService/Login-guard-service';
56import { SimpleNotificationsModule } from 'angular2-notifications';
Skip Wonnell2c977e22018-03-01 08:30:15 -060057
58
59export const components = [
60 BuildDesignComponent,
61 GoldenConfigurationComponent,
62 GoldenConfigurationMappingComponent,
63 ParameterComponent,
64 ParameterHolderComponent,
65 MyvnfsComponent,
66 userloginFormComponent,
67 VnfsComponent,
68 ReferenceDataformComponent,
69 ReferenceDataHolderComponent,
70 ModalComponent,
71 GoldenConfigurationHolderComponent,
72 AceEditorComponent,
73 Tab,
74 Tabs,
Skip Wonnell2c977e22018-03-01 08:30:15 -060075 AuthGuardModalComponent,
76
77
78];
79
80export const modules = [
81 CommonModule, VnfRoutingModule, SharedModule.forRoot(),
Sandeep Jdd28c9d2018-07-13 13:22:42 +053082 FormsModule, BootstrapModalModule, Ng2Bs3ModalModule, SimpleNotificationsModule.forRoot(),NgxSpinnerModule
Skip Wonnell2c977e22018-03-01 08:30:15 -060083
84];
85
86@NgModule({
87 imports: [...modules],
88 declarations: [...components],
89 providers: [GCAuthGuardService, LoginGuardService],
90
91
Arundathi Patil465d29e2018-07-18 15:41:05 +053092 entryComponents: [AuthGuardModalComponent]
Skip Wonnell2c977e22018-03-01 08:30:15 -060093})
94export class VnfsModule {
Arundathi Patil465d29e2018-07-18 15:41:05 +053095}