Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 1 | /* |
| 2 | ============LICENSE_START========================================== |
| 3 | =================================================================== |
| 4 | Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. |
Arundathi Patil | 465d29e | 2018-07-18 15:41:05 +0530 | [diff] [blame] | 5 | |
| 6 | Copyright (C) 2018 IBM Intellectual Property. All rights reserved. |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 7 | =================================================================== |
Sandeep J | dd28c9d | 2018-07-13 13:22:42 +0530 | [diff] [blame] | 8 | Copyright (C) 2018 IBM. |
| 9 | =================================================================== |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 10 | |
| 11 | Unless otherwise specified, all software contained herein is licensed |
| 12 | under the Apache License, Version 2.0 (the License); |
| 13 | you may not use this software except in compliance with the License. |
| 14 | You may obtain a copy of the License at |
| 15 | |
| 16 | http://www.apache.org/licenses/LICENSE-2.0 |
| 17 | |
| 18 | Unless required by applicable law or agreed to in writing, software |
| 19 | distributed under the License is distributed on an "AS IS" BASIS, |
| 20 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 21 | See the License for the specific language governing permissions and |
| 22 | limitations under the License. |
| 23 | |
| 24 | ECOMP is a trademark and service mark of AT&T Intellectual Property. |
| 25 | ============LICENSE_END============================================ |
| 26 | */ |
| 27 | |
Arundathi Patil | 465d29e | 2018-07-18 15:41:05 +0530 | [diff] [blame] | 28 | import { NgModule } from '@angular/core'; |
| 29 | import { FormsModule } from '@angular/forms'; |
| 30 | import { CommonModule } from '@angular/common'; |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 31 | // modules |
Arundathi Patil | 465d29e | 2018-07-18 15:41:05 +0530 | [diff] [blame] | 32 | import { VnfRoutingModule } from './vnf.routing'; |
| 33 | import { SharedModule } from '../shared/shared.module'; |
Sandeep J | dd28c9d | 2018-07-13 13:22:42 +0530 | [diff] [blame] | 34 | import { NgxSpinnerModule } from 'ngx-spinner'; |
Arundathi Patil | 465d29e | 2018-07-18 15:41:05 +0530 | [diff] [blame] | 35 | import { AceEditorComponent } from 'ng2-ace-editor'; |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 36 | // components |
Arundathi Patil | 465d29e | 2018-07-18 15:41:05 +0530 | [diff] [blame] | 37 | import { MyvnfsComponent } from './myvnfs/myvnfs.component'; |
| 38 | import { ReferenceDataformComponent } from './build-artifacts/reference-dataform/reference-dataform.component'; |
| 39 | import { GoldenConfigurationComponent } from './build-artifacts/template-holder/template-configuration/template-configuration.component'; |
| 40 | import { ParameterComponent } from './build-artifacts/parameter-definitions/parameter.component'; |
| 41 | import { ParameterHolderComponent } from './build-artifacts/parameter-holder/parameter-holder.component'; |
| 42 | import { BootstrapModalModule } from 'ng2-bootstrap-modal'; |
| 43 | import { BuildDesignComponent } from './build-artifacts/build-artifacts.component'; |
| 44 | import { userloginFormComponent } from './userlogin-form/userlogin-form.component'; |
| 45 | import { ReferenceDataHolderComponent } from './build-artifacts/reference-data-holder/reference-data-holder.component'; |
| 46 | import { ModalComponent } from '../shared/modal/modal.component'; |
| 47 | import { VnfsComponent } from './vnfs/vnfs.component'; |
| 48 | import { GoldenConfigurationHolderComponent } from './build-artifacts/template-holder/template-holder.component'; |
| 49 | import { GoldenConfigurationMappingComponent } from './build-artifacts/template-holder/param-name-value/param-name-value.component'; |
| 50 | import { Tab } from './build-artifacts/template-holder/param-name-value/tab'; |
| 51 | import { Tabs } from './build-artifacts/template-holder/param-name-value/tabs'; |
| 52 | import { Ng2Bs3ModalModule } from 'ng2-bs3-modal/ng2-bs3-modal'; |
| 53 | import { AuthGuardModalComponent } from './auth-guard-modal/auth-guard-modal'; |
| 54 | import { GCAuthGuardService } from './GCAuthGuard/gcauth-guard.service'; |
| 55 | import { LoginGuardService } from './LoginGuardService/Login-guard-service'; |
| 56 | import { SimpleNotificationsModule } from 'angular2-notifications'; |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 57 | |
| 58 | |
| 59 | export 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 Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 75 | AuthGuardModalComponent, |
| 76 | |
| 77 | |
| 78 | ]; |
| 79 | |
| 80 | export const modules = [ |
| 81 | CommonModule, VnfRoutingModule, SharedModule.forRoot(), |
Sandeep J | dd28c9d | 2018-07-13 13:22:42 +0530 | [diff] [blame] | 82 | FormsModule, BootstrapModalModule, Ng2Bs3ModalModule, SimpleNotificationsModule.forRoot(),NgxSpinnerModule |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 83 | |
| 84 | ]; |
| 85 | |
| 86 | @NgModule({ |
| 87 | imports: [...modules], |
| 88 | declarations: [...components], |
| 89 | providers: [GCAuthGuardService, LoginGuardService], |
| 90 | |
| 91 | |
Arundathi Patil | 465d29e | 2018-07-18 15:41:05 +0530 | [diff] [blame] | 92 | entryComponents: [AuthGuardModalComponent] |
Skip Wonnell | 2c977e2 | 2018-03-01 08:30:15 -0600 | [diff] [blame] | 93 | }) |
| 94 | export class VnfsModule { |
Arundathi Patil | 465d29e | 2018-07-18 15:41:05 +0530 | [diff] [blame] | 95 | } |