mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
CE-1955 - Add support for back to bulk-load process
This commit is contained in:
@ -898,6 +898,7 @@ public class QInstanceEnricher
|
|||||||
QFrontendStepMetaData fileMappingScreen = new QFrontendStepMetaData()
|
QFrontendStepMetaData fileMappingScreen = new QFrontendStepMetaData()
|
||||||
.withName("fileMapping")
|
.withName("fileMapping")
|
||||||
.withLabel("File Mapping")
|
.withLabel("File Mapping")
|
||||||
|
.withBackStepName("upload")
|
||||||
.withComponent(new QFrontendComponentMetaData().withType(QComponentType.BULK_LOAD_FILE_MAPPING_FORM));
|
.withComponent(new QFrontendComponentMetaData().withType(QComponentType.BULK_LOAD_FILE_MAPPING_FORM));
|
||||||
|
|
||||||
QBackendStepMetaData receiveFileMappingStep = new QBackendStepMetaData()
|
QBackendStepMetaData receiveFileMappingStep = new QBackendStepMetaData()
|
||||||
@ -911,6 +912,7 @@ public class QInstanceEnricher
|
|||||||
QFrontendStepMetaData valueMappingScreen = new QFrontendStepMetaData()
|
QFrontendStepMetaData valueMappingScreen = new QFrontendStepMetaData()
|
||||||
.withName("valueMapping")
|
.withName("valueMapping")
|
||||||
.withLabel("Value Mapping")
|
.withLabel("Value Mapping")
|
||||||
|
.withBackStepName("prepareFileMapping")
|
||||||
.withComponent(new QFrontendComponentMetaData().withType(QComponentType.BULK_LOAD_VALUE_MAPPING_FORM));
|
.withComponent(new QFrontendComponentMetaData().withType(QComponentType.BULK_LOAD_VALUE_MAPPING_FORM));
|
||||||
|
|
||||||
QBackendStepMetaData receiveValueMappingStep = new QBackendStepMetaData()
|
QBackendStepMetaData receiveValueMappingStep = new QBackendStepMetaData()
|
||||||
@ -934,7 +936,9 @@ public class QInstanceEnricher
|
|||||||
// put the bulk-load profile form (e.g., for saving it) on the review & result screens) //
|
// put the bulk-load profile form (e.g., for saving it) on the review & result screens) //
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////////////
|
||||||
process.getFrontendStep(StreamedETLWithFrontendProcess.STEP_NAME_REVIEW)
|
process.getFrontendStep(StreamedETLWithFrontendProcess.STEP_NAME_REVIEW)
|
||||||
|
.withBackStepName("prepareFileMapping")
|
||||||
.getComponents().add(0, new QFrontendComponentMetaData().withType(QComponentType.BULK_LOAD_PROFILE_FORM));
|
.getComponents().add(0, new QFrontendComponentMetaData().withType(QComponentType.BULK_LOAD_PROFILE_FORM));
|
||||||
|
|
||||||
process.getFrontendStep(StreamedETLWithFrontendProcess.STEP_NAME_RESULT)
|
process.getFrontendStep(StreamedETLWithFrontendProcess.STEP_NAME_RESULT)
|
||||||
.getComponents().add(0, new QFrontendComponentMetaData().withType(QComponentType.BULK_LOAD_PROFILE_FORM));
|
.getComponents().add(0, new QFrontendComponentMetaData().withType(QComponentType.BULK_LOAD_PROFILE_FORM));
|
||||||
|
|
||||||
|
@ -190,6 +190,7 @@ public class BulkInsertReceiveFileMappingStep implements BackendStep
|
|||||||
// it's also where the value-mapping loop of steps points. //
|
// it's also where the value-mapping loop of steps points. //
|
||||||
// and, this will actually be the default (e.g., the step after this one). //
|
// and, this will actually be the default (e.g., the step after this one). //
|
||||||
//////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////
|
||||||
|
runBackendStepInput.addValue("valueMappingFieldIndex", -1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user