US-EPA-CAMD / easey-ui

Project Management repo for EPA Clean Air Markets Division (CAMD) Business Suite of applications
MIT License
0 stars 0 forks source link

Ability to submit JSON files in Bulk Submission module #6112

Open annalbrecht opened 6 months ago

annalbrecht commented 6 months ago

Right now, the Bulk Submission module only allows for the submission of PDFs and XMLs. It needs to be updated to allow the submission of JSON files.

The file can be selected but it fails the validate. The validation needs to be updated to accommodate this file type.

This validation wouldn't extend to schema validation, it's is only validating the json (in any lower or uppercase) file type can be submitted.

The file extension should not be case dependent for any of the 3 file types (JSON, XML, PDF).

ibarra-michelle commented 4 months ago

@annalbrecht @mark-hayward-erg could we discuss this ticket at Wednesday's Stand Up? FYA, this PR exists: https://github.com/US-EPA-CAMD/easey-content/pull/124

ibarra-michelle commented 3 months ago

Right now, the Bulk Submission module only allows for the submission of PDFs and XMLs. It needs to be updated to allow the submission of JSON files.

The file can be selected but it fails the validate. The validation needs to be updated to accommodate this file type.

This validation wouldn't extend to schema validation, it's is only validating the json (in any lower or uppercase) file type can be submitted.

ibarra-michelle commented 3 months ago

@annalbrecht should #6112 and #6267 be a combined single ticket or two separate tickets?

This comment was discussed at the 5/29 meeting. #6267 is not related to the bulk submission module, but rather to importing JSON files into the workspace.

lgiannini1 commented 2 months ago

Verified on dev. Was able to submit MATS PDF, XML, and JSON files for ORIS 6071, 1.

ibarra-michelle commented 2 months ago

Verified in test for ORIS 470, Location 1:

ibarra-michelle commented 2 months ago

Verified in test: for XML, JSON, and PDF files, I was able to successfully submit, view the Submission in the CDX Submission history, and receive the CDX email.