use of io.syndesis.qe.pages.integrations.editor.add.steps.DataMapper in project syndesis-qe by syndesisio.
the class ServiceNowSteps method mapModifiedNumberToIncidentNumber.
/**
* Number is modified according to browser name. (due to parallelization)
*/
@When("define modified service now number {string} and map it to {string}")
public void mapModifiedNumberToIncidentNumber(String incidentNumber, String mapTo) {
String modifiedNumber = snUtils.modifySNNumber(incidentNumber);
DataMapper mapper = new DataMapper();
mapper.addConstant(modifiedNumber, "String");
mapper.openDataMapperCollectionElement();
mapper.doCreateMapping(modifiedNumber, mapTo);
}
use of io.syndesis.qe.pages.integrations.editor.add.steps.DataMapper in project syndesis-qe by syndesisio.
the class GoogleSheetsSteps method defineSpreadsheetIdInDatamapper.
private void defineSpreadsheetIdInDatamapper(String id, String mapTo) {
DataMapper mapper = new DataMapper();
mapper.addConstant(id, "String");
mapper.openDataMapperCollectionElement();
mapper.doCreateMapping(id, mapTo);
}
Aggregations