-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
lorenzo
committed
Aug 26, 2020
1 parent
29c75b6
commit cf7853a
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"name":"module-csv","displayName":"CSV Module","version":"1.0.2-SNAPSHOT","components":[{"hidden":false,"displayName":"CSV Read","description":"The CSV Read component can read a CSV file from the file system or from the message payload data. There are several supported CSV formats such as Excel, MongoDB and MySQL. The component allows to configure the data delimiter and whether to consider the first record as header or not. The output is a list of DataRow objects.","fullyQualifiedName":"com.reedelk.csv.component.CSVRead","type":"PROCESSOR","input":{"description":"The CSV data to be parsed. If the input is not a string it will be converted to a string before parsing it into a list of CSV records.","payload":["java.lang.String"]},"output":{"description":"List of CSV records containing the data read from the file system or payload.","dynamicPropertyName":"","payload":["com.reedelk.csv.internal.type.ListOfCSVRecord","com.reedelk.runtime.api.type.ListOfListOfString"],"attributes":["com.reedelk.csv.internal.attribute.CSVAttributes"]},"properties":[{"mandatory":false,"name":"format","example":"MONGODB_CSV","initValue":"###USE_DEFAULT_VALUE###","description":"Sets the CSV format of the file to be read.","displayName":"CSV Format","defaultValue":"DEFAULT","type":{"classname":"com.reedelk.module.descriptor.model.property.EnumDescriptor","instance":{"nameAndDisplayNameMap":{"EXCEL":"Excel","POSTGRESQL_TEXT":"PostgreSQL TEXT","MYSQL":"MySQL","MONGODB_CSV":"MongoDB CSV","INFORMIX_UNLOAD_CSV":"Informix Unload CSV","DEFAULT":"Default","INFORMIX_UNLOAD":"Informix Unload","ORACLE":"Oracle","POSTGRESQL_CSV":"PostgreSQL CSV","RFC4180":"RFC4180","MONGODB_TSV":"MongoDB TSV"},"type":"java.lang.Enum"}},"whens":[]},{"mandatory":false,"name":"file","initValue":"###USE_DEFAULT_VALUE###","hintValue":"/var/files/csv/my-csv-file.csv","description":"File to read the CSV data from","displayName":"CSV Input file","type":{"classname":"com.reedelk.module.descriptor.model.property.DynamicValueDescriptor","instance":{"type":"com.reedelk.runtime.api.script.dynamicvalue.DynamicString"}},"whens":[]},{"mandatory":false,"name":"delimiter","example":":","initValue":"###USE_DEFAULT_VALUE###","hintValue":",","description":"The delimiter used in the input data to separate the data on each row.","displayName":"CSV Delimiter","defaultValue":",","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.Character"}},"whens":[]},{"mandatory":false,"name":"trim","example":"true","initValue":"###USE_DEFAULT_VALUE###","description":"If true leading and trailing blanks are trimmed for each item in the data.","displayName":"Trim","defaultValue":"false","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.Boolean"}},"whens":[]},{"mandatory":false,"name":"firstRecordAsHeader","example":"true","initValue":"###USE_DEFAULT_VALUE###","description":"Set this value to true if the CSV data contains data headers in the first line. Data header names can be used to retrieve data from the output data structure.","displayName":"First record as header","defaultValue":"false","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.Boolean"}},"whens":[]}]},{"hidden":false,"displayName":"CSV Write","description":"The CSV Write component can write CSV data to the file system or into the message payload data. There are several supported CSV formats such as Excel, MongoDB and MySQL. The component allows to configure the data delimiter and whether to add CSV headers at the beginning of the output file or not. ","fullyQualifiedName":"com.reedelk.csv.component.CSVWrite","type":"PROCESSOR","input":{"description":"The input payload is used to evaluate the CSV Output File expression.","payload":["com.reedelk.csv.internal.type.ListOfListOfObject","com.reedelk.csv.internal.type.ListOfMap","com.reedelk.csv.internal.type.ListOfObject"]},"output":{"description":"The CSV data as string if the CSV output file expression was not specified, otherwise null.","dynamicPropertyName":"","payload":["java.lang.Void","java.lang.String"],"attributes":["com.reedelk.csv.internal.attribute.CSVAttributes"]},"properties":[{"mandatory":false,"name":"format","example":"MONGODB_CSV","initValue":"###USE_DEFAULT_VALUE###","description":"Sets the CSV format of the file to be written.","displayName":"CSV Format","defaultValue":"DEFAULT","type":{"classname":"com.reedelk.module.descriptor.model.property.EnumDescriptor","instance":{"nameAndDisplayNameMap":{"EXCEL":"Excel","POSTGRESQL_TEXT":"PostgreSQL TEXT","MYSQL":"MySQL","MONGODB_CSV":"MongoDB CSV","INFORMIX_UNLOAD_CSV":"Informix Unload CSV","DEFAULT":"Default","INFORMIX_UNLOAD":"Informix Unload","ORACLE":"Oracle","POSTGRESQL_CSV":"PostgreSQL CSV","RFC4180":"RFC4180","MONGODB_TSV":"MongoDB TSV"},"type":"java.lang.Enum"}},"whens":[]},{"mandatory":false,"name":"file","initValue":"###USE_DEFAULT_VALUE###","hintValue":"/var/files/csv/my-csv-file.csv","description":"File to write the CSV data to","displayName":"CSV Output file","type":{"classname":"com.reedelk.module.descriptor.model.property.DynamicValueDescriptor","instance":{"type":"com.reedelk.runtime.api.script.dynamicvalue.DynamicString"}},"whens":[]},{"mandatory":false,"name":"delimiter","example":":","initValue":"###USE_DEFAULT_VALUE###","hintValue":",","description":"The delimiter used in the input data to separate the data on each row.","displayName":"CSV Delimiter","defaultValue":",","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.Character"}},"whens":[]},{"mandatory":false,"name":"includeHeaders","initValue":"###USE_DEFAULT_VALUE###","description":"If true the headers specified in the \u0027Headers\u0027 property are included in the first CSV row.","displayName":"Include headers","defaultValue":"false","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.Boolean"}},"whens":[]},{"mandatory":false,"name":"headers","initValue":"###USE_DEFAULT_VALUE###","displayName":"Headers","type":{"classname":"com.reedelk.module.descriptor.model.property.ListDescriptor","instance":{"valueType":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.String"}},"tabGroup":"Headers","type":"java.util.List"}},"whens":[{"propertyName":"includeHeaders","propertyValue":"true"}]}]}],"types":[{"global":false,"type":"com.reedelk.csv.internal.attribute.CSVAttributes","extendsType":"com.reedelk.runtime.api.message.MessageAttributes","description":"","mapKeyType":"java.lang.Object","mapValueType":"java.lang.Object","functions":[],"properties":[{"name":"fileName","type":"java.lang.String","example":"","description":""}]},{"global":false,"type":"com.reedelk.csv.internal.type.CSVRecord","extendsType":"java.util.HashMap","description":"","mapKeyType":"java.lang.String","mapValueType":"java.lang.String","functions":[],"properties":[]},{"global":false,"type":"com.reedelk.csv.internal.type.ListOfCSVRecord","extendsType":"java.util.ArrayList","description":"","listItemType":"com.reedelk.csv.internal.type.CSVRecord","functions":[],"properties":[]},{"global":false,"type":"com.reedelk.csv.internal.type.ListOfListOfObject","extendsType":"java.util.ArrayList","description":"","listItemType":"com.reedelk.csv.internal.type.ListOfObject","functions":[],"properties":[]},{"global":false,"type":"com.reedelk.csv.internal.type.ListOfMap","extendsType":"java.util.ArrayList","description":"","listItemType":"com.reedelk.csv.internal.type.MapOfStringObject","functions":[],"properties":[]},{"global":false,"type":"com.reedelk.csv.internal.type.ListOfObject","extendsType":"java.util.ArrayList","description":"","listItemType":"java.lang.Object","functions":[],"properties":[]},{"global":false,"type":"com.reedelk.csv.internal.type.MapOfStringObject","extendsType":"java.util.HashMap","description":"","mapKeyType":"java.lang.String","mapValueType":"java.lang.Object","functions":[],"properties":[]}]} | ||
{"name":"module-csv","displayName":"CSV Module","version":"1.0.2","components":[{"hidden":false,"displayName":"CSV Read","description":"The CSV Read component can read a CSV file from the file system or from the message payload data. There are several supported CSV formats such as Excel, MongoDB and MySQL. The component allows to configure the data delimiter and whether to consider the first record as header or not. The output is a list of DataRow objects.","fullyQualifiedName":"com.reedelk.csv.component.CSVRead","type":"PROCESSOR","input":{"description":"The CSV data to be parsed. If the input is not a string it will be converted to a string before parsing it into a list of CSV records.","payload":["java.lang.String"]},"output":{"description":"List of CSV records containing the data read from the file system or payload.","dynamicPropertyName":"","payload":["com.reedelk.csv.internal.type.ListOfCSVRecord","com.reedelk.runtime.api.type.ListOfListOfString"],"attributes":["com.reedelk.csv.internal.attribute.CSVAttributes"]},"properties":[{"mandatory":false,"name":"format","example":"MONGODB_CSV","initValue":"###USE_DEFAULT_VALUE###","description":"Sets the CSV format of the file to be read.","displayName":"CSV Format","defaultValue":"DEFAULT","type":{"classname":"com.reedelk.module.descriptor.model.property.EnumDescriptor","instance":{"nameAndDisplayNameMap":{"EXCEL":"Excel","POSTGRESQL_TEXT":"PostgreSQL TEXT","MYSQL":"MySQL","MONGODB_CSV":"MongoDB CSV","INFORMIX_UNLOAD_CSV":"Informix Unload CSV","DEFAULT":"Default","INFORMIX_UNLOAD":"Informix Unload","ORACLE":"Oracle","POSTGRESQL_CSV":"PostgreSQL CSV","RFC4180":"RFC4180","MONGODB_TSV":"MongoDB TSV"},"type":"java.lang.Enum"}},"whens":[]},{"mandatory":false,"name":"file","initValue":"###USE_DEFAULT_VALUE###","hintValue":"/var/files/csv/my-csv-file.csv","description":"File to read the CSV data from","displayName":"CSV Input file","type":{"classname":"com.reedelk.module.descriptor.model.property.DynamicValueDescriptor","instance":{"type":"com.reedelk.runtime.api.script.dynamicvalue.DynamicString"}},"whens":[]},{"mandatory":false,"name":"delimiter","example":":","initValue":"###USE_DEFAULT_VALUE###","hintValue":",","description":"The delimiter used in the input data to separate the data on each row.","displayName":"CSV Delimiter","defaultValue":",","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.Character"}},"whens":[]},{"mandatory":false,"name":"trim","example":"true","initValue":"###USE_DEFAULT_VALUE###","description":"If true leading and trailing blanks are trimmed for each item in the data.","displayName":"Trim","defaultValue":"false","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.Boolean"}},"whens":[]},{"mandatory":false,"name":"firstRecordAsHeader","example":"true","initValue":"###USE_DEFAULT_VALUE###","description":"Set this value to true if the CSV data contains data headers in the first line. Data header names can be used to retrieve data from the output data structure.","displayName":"First record as header","defaultValue":"false","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.Boolean"}},"whens":[]}]},{"hidden":false,"displayName":"CSV Write","description":"The CSV Write component can write CSV data to the file system or into the message payload data. There are several supported CSV formats such as Excel, MongoDB and MySQL. The component allows to configure the data delimiter and whether to add CSV headers at the beginning of the output file or not. ","fullyQualifiedName":"com.reedelk.csv.component.CSVWrite","type":"PROCESSOR","input":{"description":"The input payload is used to evaluate the CSV Output File expression.","payload":["com.reedelk.csv.internal.type.ListOfListOfObject","com.reedelk.csv.internal.type.ListOfMap","com.reedelk.csv.internal.type.ListOfObject"]},"output":{"description":"The CSV data as string if the CSV output file expression was not specified, otherwise null.","dynamicPropertyName":"","payload":["java.lang.Void","java.lang.String"],"attributes":["com.reedelk.csv.internal.attribute.CSVAttributes"]},"properties":[{"mandatory":false,"name":"format","example":"MONGODB_CSV","initValue":"###USE_DEFAULT_VALUE###","description":"Sets the CSV format of the file to be written.","displayName":"CSV Format","defaultValue":"DEFAULT","type":{"classname":"com.reedelk.module.descriptor.model.property.EnumDescriptor","instance":{"nameAndDisplayNameMap":{"EXCEL":"Excel","POSTGRESQL_TEXT":"PostgreSQL TEXT","MYSQL":"MySQL","MONGODB_CSV":"MongoDB CSV","INFORMIX_UNLOAD_CSV":"Informix Unload CSV","DEFAULT":"Default","INFORMIX_UNLOAD":"Informix Unload","ORACLE":"Oracle","POSTGRESQL_CSV":"PostgreSQL CSV","RFC4180":"RFC4180","MONGODB_TSV":"MongoDB TSV"},"type":"java.lang.Enum"}},"whens":[]},{"mandatory":false,"name":"file","initValue":"###USE_DEFAULT_VALUE###","hintValue":"/var/files/csv/my-csv-file.csv","description":"File to write the CSV data to","displayName":"CSV Output file","type":{"classname":"com.reedelk.module.descriptor.model.property.DynamicValueDescriptor","instance":{"type":"com.reedelk.runtime.api.script.dynamicvalue.DynamicString"}},"whens":[]},{"mandatory":false,"name":"delimiter","example":":","initValue":"###USE_DEFAULT_VALUE###","hintValue":",","description":"The delimiter used in the input data to separate the data on each row.","displayName":"CSV Delimiter","defaultValue":",","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.Character"}},"whens":[]},{"mandatory":false,"name":"includeHeaders","initValue":"###USE_DEFAULT_VALUE###","description":"If true the headers specified in the \u0027Headers\u0027 property are included in the first CSV row.","displayName":"Include headers","defaultValue":"false","type":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.Boolean"}},"whens":[]},{"mandatory":false,"name":"headers","initValue":"###USE_DEFAULT_VALUE###","displayName":"Headers","type":{"classname":"com.reedelk.module.descriptor.model.property.ListDescriptor","instance":{"valueType":{"classname":"com.reedelk.module.descriptor.model.property.PrimitiveDescriptor","instance":{"type":"java.lang.String"}},"tabGroup":"Headers","type":"java.util.List"}},"whens":[{"propertyName":"includeHeaders","propertyValue":"true"}]}]}],"types":[{"global":false,"type":"com.reedelk.csv.internal.attribute.CSVAttributes","extendsType":"com.reedelk.runtime.api.message.MessageAttributes","description":"","mapKeyType":"java.lang.Object","mapValueType":"java.lang.Object","functions":[],"properties":[{"name":"fileName","type":"java.lang.String","example":"","description":""}]},{"global":false,"type":"com.reedelk.csv.internal.type.CSVRecord","extendsType":"java.util.HashMap","description":"","mapKeyType":"java.lang.String","mapValueType":"java.lang.String","functions":[],"properties":[]},{"global":false,"type":"com.reedelk.csv.internal.type.ListOfCSVRecord","extendsType":"java.util.ArrayList","description":"","listItemType":"com.reedelk.csv.internal.type.CSVRecord","functions":[],"properties":[]},{"global":false,"type":"com.reedelk.csv.internal.type.ListOfListOfObject","extendsType":"java.util.ArrayList","description":"","listItemType":"com.reedelk.csv.internal.type.ListOfObject","functions":[],"properties":[]},{"global":false,"type":"com.reedelk.csv.internal.type.ListOfMap","extendsType":"java.util.ArrayList","description":"","listItemType":"com.reedelk.csv.internal.type.MapOfStringObject","functions":[],"properties":[]},{"global":false,"type":"com.reedelk.csv.internal.type.ListOfObject","extendsType":"java.util.ArrayList","description":"","listItemType":"java.lang.Object","functions":[],"properties":[]},{"global":false,"type":"com.reedelk.csv.internal.type.MapOfStringObject","extendsType":"java.util.HashMap","description":"","mapKeyType":"java.lang.String","mapValueType":"java.lang.Object","functions":[],"properties":[]}]} |