blob: 0f38dbcecb43d13b03ca379ca2b8bb516f6e4399 [file] [log] [blame]
Sean Condon83fc39f2018-04-19 18:56:13 +01001/*
2 * Copyright 2015-present Open Networking Foundation
3 *
4 * Licensed under the Apache License, Version 2.0 (the 'License');
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an 'AS IS' BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16import { NgModule } from '@angular/core';
17import { CommonModule } from '@angular/common';
Sean Condon28ecc5f2018-06-25 12:50:16 +010018import { FormsModule } from '@angular/forms';
Sean Condona00bf382018-06-23 07:54:01 +010019import { AppsRoutingModule } from './apps-routing.module';
Sean Condon28ecc5f2018-06-25 12:50:16 +010020import { AppsComponent } from './apps/apps.component';
21import { AppsDetailsComponent } from './appsdetails/appsdetails.component';
Sean Condon83fc39f2018-04-19 18:56:13 +010022import { TriggerFormDirective } from './triggerform.directive';
Sean Condon2bd11b72018-06-15 08:00:48 +010023import { SvgModule } from '../../fw/svg/svg.module';
Sean Condon28ecc5f2018-06-25 12:50:16 +010024import { WidgetModule } from '../../fw/widget/widget.module';
Sean Condon83fc39f2018-04-19 18:56:13 +010025
26/**
27 * ONOS GUI -- Apps View Module
28 *
29 * Note: This has been updated from onos-gui-1.0.0 where it was called 'app'
30 * whereas here it is now called 'apps'. This is to avoid any confusion with
31 * the 'app' folder which is the root of the complete framework
32 */
33@NgModule({
Sean Condon83fc39f2018-04-19 18:56:13 +010034 imports: [
Sean Condon2bd11b72018-06-15 08:00:48 +010035 CommonModule,
Sean Condona00bf382018-06-23 07:54:01 +010036 AppsRoutingModule,
Sean Condon28ecc5f2018-06-25 12:50:16 +010037 SvgModule,
38 WidgetModule,
39 FormsModule
Sean Condon83fc39f2018-04-19 18:56:13 +010040 ],
41 declarations: [
42 AppsComponent,
Sean Condon28ecc5f2018-06-25 12:50:16 +010043 AppsDetailsComponent,
Sean Condon83fc39f2018-04-19 18:56:13 +010044 TriggerFormDirective
45 ]
46})
47export class AppsModule { }