Implements for cardpay Java Challenger
- Solution should be as simple as possible. Taking into account the application could be maintained by other less experienced developers. Spring, Java core only, I can't control number of thread in parallel processing The test code is not cover pararrel processing, I do not have time for this
- The application must be implemented using the Spring framework. it is maven spring boot project, public repository in github
- The source code of the application should be formatted as a maven project and posted on GitHub.
- It is allowed to use dependencies only from public repositories.
- Building the final application should be done with the command:
mvn clean install
java -jar target/convert-1.0.0.jar order1.csv order2.csv order3.json
- The application must be console-based.
Example of a run command:
java -jar orders_parser.jar orders1.csv orders2.json … ordersN.json
consider orders1.csv, orders2.json and ordersN.json are files to parse. - The result of the execution should be output to stdout stream. Note: only output data should go to stdout, no logs should be there.
- Parsing and converting should be done in parallel in multiple threads.
- It is necessary to provide correct error handling in the source files. I do not have time to correct this, since there are difference formats, but it should be same correct error. If I have more time I can do For example, instead of a number, the file may have a string value in the amount field.
- It is allowed to use language tools no higher than Java 8.
- Consider the possibility of adding new input data formats. For example: XLSX I added a interface for other data format