0fd1e51fa586a1d1069bd9ee4ca740c74b270809
[sdc.git] / catalog-ui / src / app / ng2 / pages / composition / panel / composition-panel.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 { FormsModule } from "@angular/forms";
22 import { BrowserModule } from "@angular/platform-browser";
23 import { CompositionPanelComponent } from "./composition-panel.component";
24 import { CompositionPanelHeaderModule } from "app/ng2/pages/composition/panel/panel-header/panel-header.module";
25 import { SdcUiComponentsModule, SdcUiServices } from "onap-ui-angular";
26 // import { SdcUiServices } from "onap-ui-angular/";
27 import { UiElementsModule } from 'app/ng2/components/ui/ui-elements.module';
28 import { AddElementsModule } from "../../../components/ui/modal/add-elements/add-elements.module";
29 import { TranslateModule } from "app/ng2/shared/translator/translate.module";
30 import { InfoTabComponent } from './panel-tabs/info-tab/info-tab.component';
31 import { PanelTabComponent } from "app/ng2/pages/composition/panel/panel-tabs/panel-tab.component";
32 import { ArtifactsTabComponent } from "app/ng2/pages/composition/panel/panel-tabs/artifacts-tab/artifacts-tab.component";
33 import { PropertiesTabComponent } from "app/ng2/pages/composition/panel/panel-tabs/properties-tab/properties-tab.component";
34 import { ReqAndCapabilitiesTabComponent } from "app/ng2/pages/composition/panel/panel-tabs/req-capabilities-tab/req-capabilities-tab.component";
35 import { RequirementListComponent } from "app/ng2/pages/composition/panel/panel-tabs/req-capabilities-tab/requirement-list/requirement-list.component";
36 import { PolicyTargetsTabComponent } from "app/ng2/pages/composition/panel/panel-tabs/policy-targets-tab/policy-targets-tab.component";
37 import { GroupMembersTabComponent } from "app/ng2/pages/composition/panel/panel-tabs/group-members-tab/group-members-tab.component";
38 import { GroupOrPolicyPropertiesTab } from "app/ng2/pages/composition/panel/panel-tabs/group-or-policy-properties-tab/group-or-policy-properties-tab.component";
39 import { GlobalPipesModule } from "app/ng2/pipes/global-pipes.module";
40 import {ModalModule} from "../../../components/ui/modal/modal.module";
41 import {EnvParamsComponent} from "../../../components/forms/env-params/env-params.component";
42 import {ModalsModule} from "../../../components/modals/modals.module";
43 // import {EnvParamsModule} from "../../../components/forms/env-params/env-params.module";
44 import { NgxDatatableModule } from "@swimlane/ngx-datatable";
45 import {EnvParamsModule} from "../../../components/forms/env-params/env-params.module";
46 import { ServiceConsumptionTabComponent } from "./panel-tabs/service-consumption-tab/service-consumption-tab.component";
47 import { ServiceDependenciesTabComponent } from "./panel-tabs/service-dependencies-tab/service-dependencies-tab.component";
48 import { ServiceDependenciesModule } from "../../../components/logic/service-dependencies/service-dependencies.module";
49 import { ServiceConsumptionModule } from "../../../components/logic/service-consumption/service-consumption.module";
50
51
52
53 @NgModule({
54     declarations: [
55         CompositionPanelComponent,
56         PolicyTargetsTabComponent,
57         GroupOrPolicyPropertiesTab,
58         GroupMembersTabComponent,
59         InfoTabComponent,
60         PanelTabComponent,
61         ArtifactsTabComponent,
62         PropertiesTabComponent,
63         ReqAndCapabilitiesTabComponent,
64         ServiceConsumptionTabComponent,
65         ServiceDependenciesTabComponent,
66         RequirementListComponent,
67         EnvParamsComponent
68     ],
69     imports: [
70         GlobalPipesModule,
71         BrowserModule,
72         FormsModule,
73         CompositionPanelHeaderModule,
74         SdcUiComponentsModule,
75         UiElementsModule,
76         AddElementsModule,
77         TranslateModule,
78         NgxDatatableModule,
79         ServiceDependenciesModule,
80         ServiceConsumptionModule
81         // EnvParamsModule
82     ],
83     entryComponents: [
84         CompositionPanelComponent,
85         PolicyTargetsTabComponent,
86         GroupOrPolicyPropertiesTab,
87         GroupMembersTabComponent,
88         InfoTabComponent,
89         ArtifactsTabComponent,
90         PropertiesTabComponent,
91         ReqAndCapabilitiesTabComponent,
92         ServiceConsumptionTabComponent,
93         ServiceDependenciesTabComponent,
94         RequirementListComponent,
95         PanelTabComponent,
96         EnvParamsComponent
97         ],
98     exports: [
99         CompositionPanelComponent
100         // EnvParamsModule
101     ],
102     providers: [SdcUiServices.ModalService]
103 })
104 export class CompositionPanelModule {
105
106 }