elifesciences / package-ejp-raw-output-zip

Transform article raw zip files from EJP to a more consistent output.
MIT License
0 stars 1 forks source link

EJP output validation #9

Open Melissa37 opened 5 years ago

Melissa37 commented 5 years ago

Problem / Motivation

WHO: Production/Production Vendor WHEN: Between Export from EJP/xPub and delivery to production vendor WHERE: In eLife bot processes WHAT: Validate what is provided against what is expected WHY: EJP regression testing is poor and when they make changes to their code it often affects the export and eLife does not know something has dropped off. It should not be the responsibility of the production vendor to validate this content, and as such we cannot blame then when something drops off and they don't tell us, or we don't find out for a few days. We'd like to ensure we identify issues as soon as they happen

Proposed solution

Validate input as soon as the data is available in a bucket, and stop before sending output on.

How do you suggest the validation alerts to be received or shown - email? dashboard? a queue reader? Email initially.

Would it be satisfactory initially if you wanted to change some metadata it would require downloading the input zip file, modifying it locally on your computer, zipping it back up and adding it to the bucket again, with a slightly different file name? Yes, but why would it need a different name? PoA process does not do that?

If you are appending notes for the Production Vendor, how would you supply these? Do not think we'd be doing that

Clarification needed and assumptions


Tasks

Technical notes

@gnott

User interface / Wireframes

@gnott @eLifeProduction

gnott commented 5 years ago

We can validate input as soon as the data is available in a bucket, and we can stop before sending output on.

How do you suggest the validation alerts to be received or shown - email? dashboard? a queue reader?

Would it be satisfactory initially if you wanted to change some metadata it would require downloading the input zip file, modifying it locally on your computer, zipping it back up and adding it to the bucket again, with a slightly different file name?

If you are appending notes for the Production Vendor, how would you supply these?

Melissa37 commented 5 years ago

Hi G, updated the main ticket.

Thanks! M