1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
|
/*
* ============LICENSE_START=======================================================
* Copyright (C) 2021 Nordix Foundation
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* SPDX-License-Identifier: Apache-2.0
* ============LICENSE_END=========================================================
*/
package org.onap.sdc.frontend.ci.tests.execute.sanity;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.empty;
import static org.hamcrest.Matchers.emptyString;
import static org.hamcrest.Matchers.not;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;
import com.aventstack.extentreports.Status;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.apache.commons.collections.MapUtils;
import org.onap.sdc.backend.ci.tests.datatypes.enums.ComponentType;
import org.onap.sdc.backend.ci.tests.datatypes.enums.ResourceCategoryEnum;
import org.onap.sdc.backend.ci.tests.utils.general.ElementFactory;
import org.onap.sdc.frontend.ci.tests.datatypes.ComponentData;
import org.onap.sdc.frontend.ci.tests.datatypes.ModelName;
import org.onap.sdc.frontend.ci.tests.datatypes.ResourceCreateData;
import org.onap.sdc.frontend.ci.tests.exception.UnzipException;
import org.onap.sdc.frontend.ci.tests.execute.setup.DriverFactory;
import org.onap.sdc.frontend.ci.tests.execute.setup.ExtentTestActions;
import org.onap.sdc.frontend.ci.tests.execute.setup.SetupCDTest;
import org.onap.sdc.frontend.ci.tests.flow.AddNodeToCompositionFlow;
import org.onap.sdc.frontend.ci.tests.flow.CreateVfFlow;
import org.onap.sdc.frontend.ci.tests.flow.CreateVfcFlow;
import org.onap.sdc.frontend.ci.tests.flow.DownloadCsarArtifactFlow;
import org.onap.sdc.frontend.ci.tests.flow.InterfaceDefinitionFlow;
import org.onap.sdc.frontend.ci.tests.flow.exception.UiTestFlowRuntimeException;
import org.onap.sdc.frontend.ci.tests.pages.AttributeModal;
import org.onap.sdc.frontend.ci.tests.pages.AttributesPage;
import org.onap.sdc.frontend.ci.tests.pages.ComponentPage;
import org.onap.sdc.frontend.ci.tests.pages.ResourceCreatePage;
import org.onap.sdc.frontend.ci.tests.pages.component.workspace.CompositionDetailSideBarComponent;
import org.onap.sdc.frontend.ci.tests.pages.component.workspace.CompositionDetailSideBarComponent.CompositionDetailTabName;
import org.onap.sdc.frontend.ci.tests.pages.component.workspace.CompositionInformationTab;
import org.onap.sdc.frontend.ci.tests.pages.component.workspace.CompositionInterfaceOperationsTab;
import org.onap.sdc.frontend.ci.tests.pages.component.workspace.CompositionPage;
import org.onap.sdc.frontend.ci.tests.pages.component.workspace.InterfaceDefinitionOperationsModal;
import org.onap.sdc.frontend.ci.tests.pages.component.workspace.InterfaceDefinitionOperationsModal.InterfaceOperationsData.InputData;
import org.onap.sdc.frontend.ci.tests.pages.component.workspace.InterfaceDefinitionPage;
import org.onap.sdc.frontend.ci.tests.pages.component.workspace.ToscaArtifactsPage;
import org.onap.sdc.frontend.ci.tests.pages.home.HomePage;
import org.onap.sdc.frontend.ci.tests.utilities.FileHandling;
import org.openecomp.sdc.be.model.ComponentInstance;
import org.openqa.selenium.WebDriver;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Ignore;
import org.testng.annotations.Test;
import org.yaml.snakeyaml.Yaml;
@Ignore // solved in https://gerrit.onap.org/r/c/sdc/+/127976
public class ImportVfcUiTest extends SetupCDTest {
private String filePath;
private WebDriver webDriver;
private HomePage homePage;
private ResourceCreateData vfcCreateData;
private ResourceCreateData vfCreateData;
private ComponentInstance createdComponentInstance;
private final String vfcCategory = ResourceCategoryEnum.NETWORK_L4.getSubCategory();
@BeforeClass
public void beforeClass() {
filePath = FileHandling.getFilePath("VFCs/");
webDriver = DriverFactory.getDriver();
homePage = new HomePage(webDriver);
}
@Test
public void importVFC_createVF_addVFC2VF_test() throws UnzipException {
ComponentPage componentPage;
// TC - Import VFC with root namespace
String fileName = "org.openecomp.resource.VFC-root.yml";
CreateVfcFlow createVfcFlow = createVFC(fileName, ModelName.DEFAULT_MODEL_NAME.getName(), vfcCategory);
componentPage = createVfcFlow.getLandedPage().orElseThrow(() -> new UiTestFlowRuntimeException("Missing expected return ResourceCreatePage"));
componentPage.isLoaded();
componentPage.certifyComponent();
componentPage.isLoaded();
Map<String, Object> yamlObject = downloadToscaArtifact(componentPage);
checkMetadata(yamlObject, vfcCreateData);
checkNodeTypes(yamlObject);
homePage.getTopNavComponent().clickOnHome();
// TC - Import hierarchy of VFCs
fileName = "org.openecomp.resource.VFC-child.yml";
createVfcFlow = createVFC(fileName, ModelName.DEFAULT_MODEL_NAME.getName(), vfcCategory);
componentPage = createVfcFlow.getLandedPage().orElseThrow(() -> new UiTestFlowRuntimeException("Missing expected return ResourceCreatePage"));
componentPage.isLoaded();
componentPage = manageAttributes(componentPage);
componentPage.isLoaded();
componentPage.certifyComponent();
componentPage.isLoaded();
yamlObject = downloadToscaArtifact(componentPage);
checkMetadata(yamlObject, vfcCreateData);
checkNodeTypes(yamlObject);
componentPage = viewInterfaceDefinitionFromVFC(componentPage);
componentPage.isLoaded();
homePage.getTopNavComponent().clickOnHome();
// TC - Import VFC with interface inputs
// TC - Import VFC with attributes
final CreateVfFlow createVfFlow = createVF();
componentPage = createVfFlow.getLandedPage().orElseThrow(() -> new UiTestFlowRuntimeException("Missing expected return ResourceCreatePage"));
componentPage.isLoaded();
final CompositionPage compositionPage = addInterfaceOperations(componentPage);
componentPage = compositionPage.goToGeneral();
componentPage.isLoaded();
componentPage.certifyComponent();
componentPage.isLoaded();
yamlObject = downloadToscaArtifact(componentPage);
checkMetadata(yamlObject, vfCreateData);
checkTopologyTemplate(yamlObject);
}
private ComponentPage viewInterfaceDefinitionFromVFC(final ComponentPage componentPage) {
final InterfaceDefinitionFlow interfaceDefinitionFlow = new InterfaceDefinitionFlow(webDriver);
interfaceDefinitionFlow.run(componentPage);
final InterfaceDefinitionPage interfaceDefinitionPage = interfaceDefinitionFlow.getLandedPage()
.orElseThrow(() -> new UiTestFlowRuntimeException("Missing expected return InterfaceDefinitionPage"));
final var OPERATION_NAME = "create";
assertTrue(interfaceDefinitionPage.isInterfaceDefinitionOperationPresent(OPERATION_NAME));
final InterfaceDefinitionOperationsModal interfaceDefinitionOperationsModal = interfaceDefinitionPage.clickOnInterfaceDefinitionOperation(
OPERATION_NAME);
interfaceDefinitionOperationsModal.isLoaded(true);
ExtentTestActions
.takeScreenshot(Status.INFO, "clickOnOInterfaceOperation", "Interface Definition Operation Modal opened");
checkInterfaceDefinitionData(interfaceDefinitionOperationsModal);
interfaceDefinitionOperationsModal.clickOnCancel();
return interfaceDefinitionPage;
}
@Test
public void importVfcWithModel() {
final String fileName = "VFC-For-Model.yaml";
final CreateVfcFlow createVfcFlow = createVFC(fileName, ModelName.ETSI_SOL001_v2_5_1.getName(), vfcCategory);
final ComponentPage componentPage = createVfcFlow.getLandedPage()
.orElseThrow(() -> new UiTestFlowRuntimeException("Missing expected return ResourceCreatePage"));
componentPage.isLoaded();
componentPage.certifyComponent();
componentPage.isLoaded();
}
private void checkInterfaceDefinitionData(final InterfaceDefinitionOperationsModal interfaceDefinitionOperationsModal) {
assertTrue(interfaceDefinitionOperationsModal.getDescription().isEmpty());
assertEquals("path/to/my/implementation.sh", interfaceDefinitionOperationsModal.getImplementationName());
final List<InputData> inputList = interfaceDefinitionOperationsModal.getInputs();
assertTrue(inputList.stream().anyMatch(inputData -> "first".equals(inputData.getName())), "Input of name 'first' expected");
}
private ComponentPage manageAttributes(final ComponentPage componentPage) {
final AttributesPage attributesPage = componentPage.goToAttributes();
attributesPage.isLoaded();
assertTrue(attributesPage.isAttributePresent("test_1"));
assertTrue(attributesPage.isAttributePresent("test_2"));
assertTrue(attributesPage.isAttributePresent("test_3"));
assertTrue(attributesPage.isAttributePresent("test_4"));
attributesPage.deleteAttribute("test_2");
assertFalse(attributesPage.isAttributePresent("test_2"));
ExtentTestActions.takeScreenshot(Status.INFO, "attributesPage.deleteAttribute", "Attribute 'test_2' successfully deleted");
attributesPage.addAttribute(new AttributeModal.AttributeData("test_9", "Additional attribute added from UI", "string", "one More Attribute"));
attributesPage.isLoaded();
assertTrue(attributesPage.isAttributePresent("test_9"));
ExtentTestActions.takeScreenshot(Status.INFO, "attributesPage.addAttribute", "Additional Attribute 'test_9' successfully added");
attributesPage.editAttribute(new AttributeModal.AttributeData("test_9", "Additional attribute added from UI".toUpperCase(), "string",
"one More Attribute".toUpperCase()));
attributesPage.isLoaded();
assertTrue(attributesPage.isAttributePresent("test_9"));
ExtentTestActions.takeScreenshot(Status.INFO, "attributesPage.editAttribute", "Additional Attribute 'test_9' successfully altered");
return attributesPage.clickOnGeneralMenuItem(ResourceCreatePage.class);
}
private CompositionPage addInterfaceOperations(final ComponentPage componentPage) {
final AddNodeToCompositionFlow addNodeToCompositionFlow = addNodeToCompositionFlow(componentPage);
final CompositionPage compositionPage = addNodeToCompositionFlow.getLandedPage()
.orElseThrow(() -> new UiTestFlowRuntimeException("Missing expected return CompositionPage"));
final CompositionDetailSideBarComponent detailSideBar = compositionPage.getDetailSideBar();
detailSideBar.isLoaded();
createdComponentInstance = addNodeToCompositionFlow.getCreatedComponentInstance()
.orElseThrow(() -> new UiTestFlowRuntimeException("Expecting a ComponentInstance"));
compositionPage.selectNode(createdComponentInstance.getName());
CompositionInterfaceOperationsTab compositionInterfaceOperationsTab =
(CompositionInterfaceOperationsTab) detailSideBar.selectTab(CompositionDetailTabName.INTERFACE_OPERATIONS);
compositionInterfaceOperationsTab.isLoaded();
ExtentTestActions.takeScreenshot(Status.INFO, "compositionInterfaceOperationsTab", "Composition Interface Operations Tab opened");
assertTrue(compositionInterfaceOperationsTab.isOperationPresent("create"));
InterfaceDefinitionOperationsModal compositionInterfaceOperationsModal = compositionInterfaceOperationsTab.clickOnOperation("create");
compositionInterfaceOperationsModal.isLoaded();
ExtentTestActions
.takeScreenshot(Status.INFO, "compositionInterfaceOperationsTab.clickOnOperation", "Composition Interface Operations Modal opened");
compositionInterfaceOperationsModal.deleteInput("first");
ExtentTestActions.takeScreenshot(Status.INFO, "compositionInterfaceOperationsModal.clickOnDelete", "Input deleted");
List<InputData> inputDataList = List.of(
new InputData("stringInput", "string", "1"),
new InputData("booleanInput", "boolean", true),
new InputData("integerInput", "integer", 1)
);
final InterfaceDefinitionOperationsModal.InterfaceOperationsData interfaceOperationsData =
new InterfaceDefinitionOperationsModal.InterfaceOperationsData(
"This is CREATE operation", "fullPath/to/my/newImplementation.sh", inputDataList
);
compositionInterfaceOperationsModal.updateInterfaceOperation(interfaceOperationsData);
compositionInterfaceOperationsTab.isLoaded();
final CompositionInformationTab compositionInformationTab =
(CompositionInformationTab) detailSideBar.selectTab(CompositionDetailTabName.INFORMATION);
compositionInformationTab.isLoaded();
compositionInterfaceOperationsTab =
(CompositionInterfaceOperationsTab) detailSideBar.selectTab(CompositionDetailTabName.INTERFACE_OPERATIONS);
compositionInterfaceOperationsTab.isLoaded();
assertTrue(compositionInterfaceOperationsTab.isOperationPresent("create"));
assertTrue(compositionInterfaceOperationsTab.isDescriptionPresent());
ExtentTestActions.takeScreenshot(Status.INFO, "isDescriptionPresent", "Description is present");
compositionInterfaceOperationsModal = compositionInterfaceOperationsTab.clickOnOperation("create");
compositionInterfaceOperationsModal.isLoaded();
ExtentTestActions
.takeScreenshot(Status.INFO, "compositionInterfaceOperationsTab.clickOnOperation", "Composition Interface Operations Modal opened");
checkCompositionInterfaceOperations(compositionInterfaceOperationsModal, interfaceOperationsData);
compositionInterfaceOperationsModal.clickOnCancel();
compositionInterfaceOperationsTab.isLoaded();
return compositionPage;
}
private AddNodeToCompositionFlow addNodeToCompositionFlow(final ComponentPage componentPage) {
componentPage.isLoaded();
final ComponentData parentComponent = new ComponentData();
parentComponent.setName(vfCreateData.getName());
parentComponent.setVersion("0.1");
parentComponent.setComponentType(ComponentType.RESOURCE);
final ComponentData componentToAdd = new ComponentData();
componentToAdd.setName(vfcCreateData.getName());
componentToAdd.setVersion("1.0");
componentToAdd.setComponentType(ComponentType.RESOURCE);
final AddNodeToCompositionFlow addNodeToCompositionFlow = new AddNodeToCompositionFlow(webDriver, parentComponent, componentToAdd);
addNodeToCompositionFlow.run(componentPage.goToComposition());
return addNodeToCompositionFlow;
}
private Map<String, Object> downloadToscaArtifact(final ComponentPage componentPage) throws UnzipException {
final DownloadCsarArtifactFlow downloadCsarArtifactFlow = downloadCsarArtifact(componentPage);
final ToscaArtifactsPage toscaArtifactsPage = downloadCsarArtifactFlow.getLandedPage()
.orElseThrow(() -> new UiTestFlowRuntimeException("Missing expected ToscaArtifactsPage"));
assertThat("No artifact download was found", toscaArtifactsPage.getDownloadedArtifactList(), not(empty()));
final String downloadedCsarName = toscaArtifactsPage.getDownloadedArtifactList().get(0);
final String downloadFolderPath = getConfig().getDownloadAutomationFolder();
final Map<String, byte[]> filesFromZip = FileHandling.getFilesFromZip(downloadFolderPath, downloadedCsarName);
final Optional<String> resourceEntryOpt = filesFromZip.keySet().stream()
.filter(s -> s.equals("Definitions/" + downloadedCsarName.replace("-csar.csar", "-template.yml")))
.findFirst();
if (resourceEntryOpt.isEmpty()) {
fail("Could not find the resource package in Definitions");
}
return loadYamlObject(filesFromZip.get(resourceEntryOpt.get()));
}
private Map<String, Object> getMapEntry(final Map<String, Object> yamlObj, final String entryName) {
try {
return (Map<String, Object>) yamlObj.get(entryName);
} catch (final Exception e) {
final String errorMsg = String.format("Could not get the '%s' entry.", entryName);
fail(errorMsg + "Error message: " + e.getMessage());
}
return null;
}
private Map<String, Object> loadYamlObject(final byte[] mainDefinitionFileBytes) {
return new Yaml().load(new String(mainDefinitionFileBytes));
}
private DownloadCsarArtifactFlow downloadCsarArtifact(final ComponentPage componentPage) {
final DownloadCsarArtifactFlow downloadCsarArtifactFlow = new DownloadCsarArtifactFlow(webDriver);
downloadCsarArtifactFlow.setWaitBeforeGetTheFile(5L);
downloadCsarArtifactFlow.run(componentPage);
return downloadCsarArtifactFlow;
}
private CreateVfcFlow createVFC(final String fileName, final String model, final String category) {
vfcCreateData = createVfcFormData(model, category);
final CreateVfcFlow createVfcFlow = new CreateVfcFlow(webDriver, vfcCreateData, filePath + fileName);
createVfcFlow.run(homePage);
return createVfcFlow;
}
private CreateVfFlow createVF() {
vfCreateData = createVfFormData();
final CreateVfFlow createVfFlow = new CreateVfFlow(webDriver, vfCreateData);
createVfFlow.run(homePage);
return createVfFlow;
}
private ResourceCreateData createVfcFormData(final String model, final String category) {
final ResourceCreateData vfcCreateData = new ResourceCreateData();
vfcCreateData.setRandomName(ElementFactory.getResourcePrefix() + "-VFC");
vfcCreateData.setModel(model);
vfcCreateData.setCategory(category);
vfcCreateData.setTagList(Arrays.asList(vfcCreateData.getName(), "importVFC"));
vfcCreateData.setDescription("aDescription");
vfcCreateData.setVendorName("Ericsson");
vfcCreateData.setVendorRelease("1.2.3");
vfcCreateData.setVendorModelNumber("4.5.6");
return vfcCreateData;
}
private ResourceCreateData createVfFormData() {
final ResourceCreateData vfCreateData = new ResourceCreateData();
vfCreateData.setRandomName(ElementFactory.getResourcePrefix() + "-VF");
vfCreateData.setCategory(ResourceCategoryEnum.NETWORK_L4.getSubCategory());
vfCreateData.setTagList(Arrays.asList(vfCreateData.getName(), "createVF"));
vfCreateData.setDescription("aDescription");
vfCreateData.setVendorName("Ericsson");
vfCreateData.setVendorRelease("6.5.4");
vfCreateData.setVendorModelNumber("3.2.1");
return vfCreateData;
}
private void checkMetadata(final Map<String, Object> map, final ResourceCreateData createdData) {
final Map<String, Object> metadata = getMapEntry(map, "metadata");
assertEquals(createdData.getName(), metadata.get("name"));
assertEquals(createdData.getDescription(), metadata.get("description"));
assertEquals("Network L4+", metadata.get("category"));
assertThat((String) metadata.get("type"), not(emptyString()));
assertEquals(createdData.getCategory(), metadata.get("subcategory"));
assertEquals(createdData.getVendorName(), metadata.get("resourceVendor"));
assertEquals(createdData.getVendorRelease(), metadata.get("resourceVendorRelease"));
assertEquals(createdData.getVendorModelNumber(), metadata.get("reourceVendorModelNumber"));
}
private void checkNodeTypes(final Map<String, Object> map) {
final Map<String, Object> mapEntry = getMapEntry(map, "node_types");
final Map<String, Object> nodeTypes = getMapEntry(mapEntry, mapEntry.keySet().iterator().next());
assertFalse(MapUtils.isEmpty(nodeTypes));
assertEquals("aDescription", nodeTypes.get("description"));
final Map<String, Object> properties = getMapEntry(nodeTypes, "properties");
assertFalse(MapUtils.isEmpty(properties));
final Map<String, Object> attributes = getMapEntry(nodeTypes, "attributes");
assertFalse(MapUtils.isEmpty(attributes));
final Map<String, Object> interfaces = getMapEntry(nodeTypes, "interfaces");
assertFalse(MapUtils.isEmpty(interfaces));
}
private void checkTopologyTemplate(final Map<String, Object> map) {
final Map<String, Object> topologyTemplate = getMapEntry(map, "topology_template");
assertNotNull(topologyTemplate);
final Map<String, Object> inputs = getMapEntry(topologyTemplate, "inputs");
assertFalse(MapUtils.isEmpty(inputs));
final Map<String, Object> nodeTemplates = getMapEntry(topologyTemplate, "node_templates");
assertFalse(MapUtils.isEmpty(nodeTemplates));
final Map<String, Object> attributes = getMapEntry((Map<String, Object>) nodeTemplates.get(createdComponentInstance.getName()), "attributes");
assertFalse(MapUtils.isEmpty(attributes));
assertEquals(4, attributes.keySet().stream()
.filter(s -> (s.contains("test_1") || s.contains("test_3") || s.contains("test_4") || s.contains("test_9")) && !s.contains("test_2"))
.count());
final Map<String, Object> substitutionMappings = getMapEntry(topologyTemplate, "substitution_mappings");
assertFalse(MapUtils.isEmpty(substitutionMappings));
}
private void checkCompositionInterfaceOperations(final InterfaceDefinitionOperationsModal compositionInterfaceOperationsModal,
final InterfaceDefinitionOperationsModal.InterfaceOperationsData interfaceOperationsData) {
assertEquals(interfaceOperationsData.getDescription(), compositionInterfaceOperationsModal.getDescription());
assertEquals(interfaceOperationsData.getImplementationName(), compositionInterfaceOperationsModal.getImplementationName());
interfaceOperationsData.getInputList().forEach(inputData -> {
final boolean hasInput = compositionInterfaceOperationsModal.getInputs().stream()
.anyMatch(inputData1 -> inputData1.getName().equals(inputData.getName()));
assertTrue(hasInput, String.format("Expecting input '%s'", inputData.getName()));
});
}
}
|