Support TOSCA functions in Node Filters
[sdc.git] / catalog-ui / src / app / ng2 / pages / properties-assignment / tosca-function / tosca-function.module.ts
1 /*
2  * ============LICENSE_START=======================================================
3  *  Copyright (C) 2021 Nordix Foundation
4  *  ================================================================================
5  *  Licensed under the Apache License, Version 2.0 (the "License");
6  *  you may not use this file except in compliance with the License.
7  *  You may obtain a copy of the License at
8  *
9  *        http://www.apache.org/licenses/LICENSE-2.0
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  *
16  *  SPDX-License-Identifier: Apache-2.0
17  *  ============LICENSE_END=========================================================
18  */
19
20 import { CommonModule } from '@angular/common';
21 import { NgModule } from '@angular/core';
22 import {FormsModule, ReactiveFormsModule} from '@angular/forms';
23 import { FormElementsModule } from 'app/ng2/components/ui/form-components/form-elements.module';
24 import { UiElementsModule } from 'app/ng2/components/ui/ui-elements.module';
25 import { TranslateModule } from '../../../shared/translator/translate.module';
26 import { ToscaFunctionComponent } from './tosca-function.component';
27 import { SdcUiComponentsModule } from 'onap-ui-angular';
28 import { ToscaGetFunctionComponent } from './tosca-get-function/tosca-get-function.component';
29 import { ToscaConcatFunctionComponent } from './tosca-concat-function/tosca-concat-function.component';
30 import { YamlFunctionComponent } from './yaml-function/yaml-function.component';
31
32 @NgModule({
33     declarations: [
34         ToscaFunctionComponent,
35         ToscaGetFunctionComponent,
36         ToscaConcatFunctionComponent,
37         YamlFunctionComponent,
38     ],
39     imports: [
40         CommonModule,
41         FormsModule,
42         ReactiveFormsModule,
43         FormElementsModule,
44         UiElementsModule,
45         TranslateModule,
46         SdcUiComponentsModule
47     ],
48     exports: [
49         ToscaFunctionComponent
50     ],
51     entryComponents: [
52         ToscaFunctionComponent
53     ],
54     providers: []
55 })
56
57 export class ToscaFunctionModule {}