summaryrefslogtreecommitdiffstats
path: root/src/app/app.module.ts
diff options
context:
space:
mode:
authorasgar <ma926a@us.att.com>2019-03-08 19:52:33 +0530
committerAsgar Samiulla <ma926a@us.att.com>2019-03-15 10:53:58 +0000
commitaf56b68e030085aa523152e83811705636ead79c (patch)
tree088c8faafb77a79a5fcc4001877dc13af4ffe936 /src/app/app.module.ts
parenteedac3e312c66499ca5ff9d72388c31b25813225 (diff)
added ansible server functionality
multiple ansible server for CDT Issue-ID: APPC-1510 Change-Id: I383bc63705418654efb596c617309821ebbeb9b4 Signed-off-by: Mohamed Asgar Samiulla <ma926a@us.att.com>
Diffstat (limited to 'src/app/app.module.ts')
-rw-r--r--src/app/app.module.ts51
1 files changed, 27 insertions, 24 deletions
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