From essays to dissertations, we have experts for all of your assignments!

dot
  • 1.provide your instructions
  • 2.choose an expert in your field
  • 3.track the order progress

Generating xml/json file based on the value provided from csv/xls/xlsx

*Read only csv/xls/xlsx(sample file Excel2/xlsx) from src location configured in dl-config file.(5 threads at time)
*Rows in a file should be grouped on basis of configured columns mentioned in fileAttributesConfig.properties(grouping scenarios is explained more in fileAttributesConfig.properties)
*Once the group is done , check the sizeConfig from dl_config file if the config is ‘Volumne’ and based on the sizeLimit copy the files mentioned in COMMAND_FilePath to workDir one it reaches 10 GB stop the file copying but the file which is still under process should be completed eventhough it exceeds more the config size, once the file completes stop it.If the config is ‘All’ then in group copy all the datafiles irrespective of size
ex:
group1 : (Volume Wise)
Files:
Ad,AT,AY -10.3GB – once copied start creating a manifest and zip it & rename it and move to zipFileStream path
AY,AG – 10 GB -once copied start creating a manifest and zip it & rename it and move to zipFileStream path
AH -2GB -once copied start creating a manifest and zip it & rename it and move to zipFileStream path

group1 : (All)
Files:
Ad,AT,AY,AY,AG,AH  -22.3GB- Copy all the files and create CNManifest.xml/Manifest_RE.json
and zip it & rename it and move to zipFileStream path
*Naming of file should be based on configuration
*once the zip file is moved archieve the csv file and update columns File_Generation_Outcome with SUCCESS/FAILURE for each row,and Error information in Import_Process_Feedback and zipfilename in ZipFileName

You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes