From af56b68e030085aa523152e83811705636ead79c Mon Sep 17 00:00:00 2001 From: asgar Date: Fri, 8 Mar 2019 19:52:33 +0530 Subject: added ansible server functionality multiple ansible server for CDT Issue-ID: APPC-1510 Change-Id: I383bc63705418654efb596c617309821ebbeb9b4 Signed-off-by: Mohamed Asgar Samiulla --- src/app/app.module.ts | 51 +++++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 24 deletions(-) (limited to 'src/app/app.module.ts') diff --git a/src/app/app.module.ts b/src/app/app.module.ts index fcff1d5..372e8bd 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -22,36 +22,39 @@ limitations under the License. ============LICENSE_END============================================ */ -import { BrowserModule } from '@angular/platform-browser'; -import { NgModule } from '@angular/core'; -import { FormsModule } from '@angular/forms'; -import { SimpleNotificationsModule } from 'angular2-notifications'; -import { BootstrapModalModule } from 'ng2-bootstrap-modal'; -import { HomeModule } from './home/home.module'; -import { AppComponent } from './app.component'; -import { AppRoutingModule } from './app.routing'; -import { SharedModule } from './shared/shared.module'; -import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; -import { HashLocationStrategy, LocationStrategy } from '@angular/common'; -import { NoopAnimationsModule } from '@angular/platform-browser/animations'; -import { RouterModule } from '@angular/router'; -import { TestComponent } from './test/test.component'; -import { AboutUsComponent } from './about-us/aboutus.component'; -import { NgProgressModule } from 'ngx-progressbar'; -import { LoginGuardService } from './vnfs/LoginGuardService/Login-guard-service'; -import { ConfirmComponent } from './shared/confirmModal/confirm.component'; +import {BrowserModule} from '@angular/platform-browser'; +import {NgModule} from '@angular/core'; +import {FormsModule} from '@angular/forms'; +import {SimpleNotificationsModule} from 'angular2-notifications'; +import {HomeModule} from './home/home.module'; +import {AppComponent} from './app.component'; +import {AppRoutingModule} from './app.routing'; +import {SharedModule} from './shared/shared.module'; +import {NgbModule} from '@ng-bootstrap/ng-bootstrap'; +import {HashLocationStrategy, LocationStrategy} from '@angular/common'; +import {NoopAnimationsModule} from '@angular/platform-browser/animations'; +import {RouterModule} from '@angular/router'; +import {TestComponent} from './test/test.component'; +import {AboutUsComponent} from './about-us/aboutus.component'; +import {NgProgressModule} from 'ngx-progressbar'; +import {LoginGuardService} from './vnfs/LoginGuardService/Login-guard-service'; +import {Ng2Bs3ModalModule} from 'ng2-bs3-modal/ng2-bs3-modal'; import { NgxSpinnerModule } from 'ngx-spinner'; +import {AdminComponent} from './admin/admin.component'; +import {AnsibleServerComponent} from './admin/view-edit/ansible-server.component'; + @NgModule({ - declarations: [AppComponent, TestComponent, AboutUsComponent, ConfirmComponent], + declarations: [AppComponent, TestComponent,AnsibleServerComponent, AdminComponent, AboutUsComponent], imports: [BrowserModule, FormsModule, HomeModule, SharedModule.forRoot(), - NgbModule.forRoot(), NoopAnimationsModule, AppRoutingModule, SimpleNotificationsModule, NgProgressModule, BootstrapModalModule, NgxSpinnerModule], + NgbModule.forRoot(), NoopAnimationsModule, AppRoutingModule, SimpleNotificationsModule, NgProgressModule, Ng2Bs3ModalModule, NgxSpinnerModule], exports: [RouterModule], - providers: [{ provide: LocationStrategy, useClass: HashLocationStrategy }, LoginGuardService], - entryComponents: [ConfirmComponent], + providers: [{provide: LocationStrategy, useClass: HashLocationStrategy}, LoginGuardService], + + bootstrap: [AppComponent], + entryComponents: [AnsibleServerComponent] - bootstrap: [AppComponent] }) export class AppModule { -} +} \ No newline at end of file -- cgit 1.2.3-korg