Add substitution filter UI support
[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 import {SubstitutionFilterTabComponent} from "./panel-tabs/substitution-filter-tab/substitution-filter-tab.component";
51 import {SubstitutionFilterModule} from "../../../components/logic/substitution-filter/substitution-filter.module";
52
53
54
55 @NgModule({
56     declarations: [
57         CompositionPanelComponent,
58         PolicyTargetsTabComponent,
59         GroupOrPolicyPropertiesTab,
60         GroupMembersTabComponent,
61         InfoTabComponent,
62         PanelTabComponent,
63         ArtifactsTabComponent,
64         PropertiesTabComponent,
65         ReqAndCapabilitiesTabComponent,
66         ServiceConsumptionTabComponent,
67         ServiceDependenciesTabComponent,
68         SubstitutionFilterTabComponent,
69         RequirementListComponent,
70         EnvParamsComponent
71     ],
72     imports: [
73         GlobalPipesModule,
74         BrowserModule,
75         FormsModule,
76         CompositionPanelHeaderModule,
77         SdcUiComponentsModule,
78         UiElementsModule,
79         AddElementsModule,
80         TranslateModule,
81         NgxDatatableModule,
82         ServiceDependenciesModule,
83         ServiceConsumptionModule,
84         SubstitutionFilterModule
85         // EnvParamsModule
86     ],
87     entryComponents: [
88         CompositionPanelComponent,
89         PolicyTargetsTabComponent,
90         GroupOrPolicyPropertiesTab,
91         GroupMembersTabComponent,
92         InfoTabComponent,
93         ArtifactsTabComponent,
94         PropertiesTabComponent,
95         ReqAndCapabilitiesTabComponent,
96         ServiceConsumptionTabComponent,
97         ServiceDependenciesTabComponent,
98         SubstitutionFilterTabComponent,
99         RequirementListComponent,
100         PanelTabComponent,
101         EnvParamsComponent
102         ],
103     exports: [
104         CompositionPanelComponent
105         // EnvParamsModule
106     ],
107     providers: [SdcUiServices.ModalService]
108 })
109 export class CompositionPanelModule {
110
111 }