spring-config.jobs.mapping.businessRuleMapping.xml Maven / Gradle / Ivy
The newest version!
<?xml version="1.0" encoding="UTF-8"?> <mappingFile> <!-- ADD_BUSINESS_RULE and IMPORT_BUSINESS_RULE are same processors-ref="VLCSVToBeanProcessor;VLLineBeanDomainProcessor" --> <command name="ADD_BUSINESS_RULE" writers-ref="LineBeanToBusinessRuleWriter" processors-ref="VLCSVToBeanProcessor" targetEntity="io.github.jsoagger.core.model.rule.BusinessRule"> <column id="command" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="filePath" mandatory="true" externalAttribute="true" /> </command> <command name="IMPORT_BUSINESS_RULE" writers-ref="LineBeanToBusinessRuleWriter" processors-ref="VLCSVToBeanProcessor" targetEntity="io.github.jsoagger.core.model.rule.BusinessRule"> <column id="command" mandatory="true" maxLength="255" blankAllowed="false" /> <column id="filePath" mandatory="true" externalAttribute="true" /> </command> <!-- This mapping is not used, we are exporting XML files not CSV files --> <command name="EXPORT_BUSINESS_RULE_EVENT_MAPPING"> <column id="command" constant="EXPORT_BUSINESS_RULE_EVENT_MAPPING"/> </command> <command name="EXPORT_BUSINESS_RULE"> <column id="command" constant="IMPORT_BUSINESS_RULE"/> </command> </mappingFile>