re base code
[sdc.git] / catalog-ui / src / app / ng2 / pages / composition / panel / panel-tabs / policies / policy-tabs.module.ts
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20 import { NgModule } from "@angular/core";
21 import { HttpModule } from "@angular/http";
22 import { FormsModule } from "@angular/forms";
23 import { BrowserModule } from "@angular/platform-browser";
24 import { UiElementsModule } from 'app/ng2/components/ui/ui-elements.module';
25 import { ExpandCollapseComponent } from 'app/ng2/components/ui/expand-collapse/expand-collapse.component';
26 import { PoliciesService } from "../../../../../services/policies.service";
27 import { PolicyInformationTabComponent } from "./policy-information-tab.component";
28 import { PolicyTargetsTabComponent } from "./policy-targets-tab.component";
29 import { PolicyTabsComponent } from "./policy-tabs.component";
30 import { PolicyPropertiesTabComponent } from "./policy-properties-tab.component";
31 import { SdcUiComponentsModule } from "sdc-ui/lib/angular";
32 import { TranslateModule } from './../../../../../shared/translator/translate.module';
33
34 @NgModule({
35     declarations: [
36         PolicyInformationTabComponent,
37         PolicyTargetsTabComponent,
38         PolicyPropertiesTabComponent,
39         PolicyTabsComponent
40     ],
41     imports: [
42         BrowserModule,
43         FormsModule,
44         HttpModule,
45         SdcUiComponentsModule,
46         TranslateModule,
47         UiElementsModule
48     ],
49     entryComponents: [
50         PolicyInformationTabComponent,
51         PolicyTargetsTabComponent,
52         PolicyPropertiesTabComponent,
53         PolicyTabsComponent,
54         ExpandCollapseComponent
55     ],
56     exports: [
57         PolicyInformationTabComponent,
58         PolicyTargetsTabComponent,
59         PolicyPropertiesTabComponent,
60         PolicyTabsComponent
61     ],
62     providers: [
63         PoliciesService
64     ]
65 })
66 export class PolicyTabsModule {
67
68 }