blob: 738ee18e3f9906a4d0dc9cde0dbcd6082cfd1dc3 [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 Condon2aa86092018-07-16 09:04:05 +010022import { LayerModule } from '../../fw/layer/layer.module';
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,
Sean Condon2aa86092018-07-16 09:04:05 +010039 FormsModule,
40 LayerModule
Sean Condon83fc39f2018-04-19 18:56:13 +010041 ],
42 declarations: [
43 AppsComponent,
Sean Condon2aa86092018-07-16 09:04:05 +010044 AppsDetailsComponent
Sean Condon83fc39f2018-04-19 18:56:13 +010045 ]
46})
47export class AppsModule { }