diff --git a/packages/component-mts-package/readme.md b/packages/component-mts-package/readme.md new file mode 100644 index 0000000000000000000000000000000000000000..a1ef9716f142d42d2d0be227c680b6491ba4f3b0 --- /dev/null +++ b/packages/component-mts-package/readme.md @@ -0,0 +1,16 @@ +### Use-case + +As an Editor in Chief, I want the manuscript to go through Editorial Quality Screening before I assign a Handling Editor to it and start the review process. + +### Workflow + +Stage 1: When an article is submitted, Faraday needs to convert the submission to XML JATS format, and upload as a .zip file to a FTP server. + +Stage 2: When new .zip file has been detected on FTP server, then third party system MTS (Manuscript Tracking System - Hindawi) needs to consume package and populate DB records. + +Stage 3: When check is completed, then Faraday system needs to be updated to move status from Technical Checks to Submitted - which allows the Editor in Chief to assign a Handling Editor. + + + + + diff --git a/packages/component-mts-package/tests/sample.json b/packages/component-mts-package/tests/sample.json index 21ccc5f10edeed4f9c776ff30bc1bb0fd58e6053..17f672cb1edf947a633dac1beb4818bb08662dbc 100644 --- a/packages/component-mts-package/tests/sample.json +++ b/packages/component-mts-package/tests/sample.json @@ -24,12 +24,12 @@ "_attributes": { "journal-id-type": "email" }, - "_text": "trashjo@ariessys.com" + "_text": "faraday@hindawi.com" } ], "journal-title-group": { "journal-title": { - "_text": "Research" + "_text": "Bioinorganic Chemistry and Applications" } }, "issn": [ @@ -37,7 +37,7 @@ "_attributes": { "pub-type": "ppub" }, - "_text": "0000-000Y" + "_text": "2474-7394" }, { "_attributes": { @@ -52,60 +52,28 @@ "_attributes": { "pub-id-type": "publisher-id" }, - "_text": "RESEARCH-D-18-00005" + "_text": "RESEARCH-F-3326913" }, { "_attributes": { "pub-id-type": "manuscript" }, - "_text": "RESEARCH-D-18-00005" + "_text": "RESEARCH-F-3326913" } ], "article-categories": { - "subj-group": [ - { - "_attributes": { - "subj-group-type": "Article Type" - }, - "subject": { - "_text": "Research Article" - } - }, - { - "_attributes": { - "subj-group-type": "Category" - }, - "subject": { - "_text": "Information science" - } - }, - { - "_attributes": { - "subj-group-type": "Classification" - }, - "subject": { - "_text": "Applied sciences and engineering" - } + "subj-group": { + "_attributes": { + "subj-group-type": "Article Type" }, - { - "_attributes": { - "subj-group-type": "Classification" - }, - "subject": { - "_text": "Scientific community" - } + "subject": { + "_text": "clinical-study" } - ] + } }, "title-group": { "article-title": { - "_text": "January 24 sample article with new email trigger in place" - }, - "alt-title": { - "_attributes": { - "alt-title-type": "running-head" - }, - "_text": "let's hope this works" + "_text": "Demo sprint 16 no fun" } }, "contrib-group": { @@ -121,17 +89,17 @@ }, "name": { "surname": { - "_text": "Heckner" + "_text": "Raluca" }, "given-names": { - "_text": "Hannah" + "_text": "Authorescu" }, "prefix": { - "_text": "Ms." + "_text": "miss" } }, "email": { - "_text": "hheckner@aaas.org" + "_text": "raluca.gramschi+auth@thinslices.com" }, "xref": { "_attributes": { @@ -144,8 +112,9 @@ "_attributes": { "id": "aff1" }, - "country": { - "_text": "UNITED STATES" + "country": {}, + "addr-line": { + "_text": "Technical University Gheorghe Asachi Iasi" } } }, @@ -155,10 +124,10 @@ "date-type": "received" }, "day": { - "_text": "24" + "_text": "3" }, "month": { - "_text": "01" + "_text": "8" }, "year": { "_text": "2018" @@ -166,78 +135,58 @@ } }, "abstract": { - "p": { - "_text": "Abstract\nThis article explains and illustrates the use of LATEX in preparing manuscripts for submission to the American Journal of Physics (AJP). While it is not a comprehensive reference, we hope it will suffice for the needs of most AJP authors." - } + "_text": "<p>some abstract here</p>" }, - "kwd-group": { - "kwd": [ - { - "_text": "manuscript" + "funding-group": {} + }, + "files": { + "file": [ + { + "item_type": { + "_text": "coverLetter" }, - { - "_text": "submissions" + "item_description": { + "_text": "sample cover letter_ms 1.doc" }, - { - "_text": "ftp site" - } - ] - }, - "funding-group": {}, - "counts": { - "fig-count": { - "_attributes": { - "count": "0" + "item_name": { + "_text": "sample cover letter_ms 1.doc" } - } - }, - "custom-meta-group": { - "custom-meta": [ - { - "meta-name": { - "_text": "Black and White Image Count" - }, - "meta-value": { - "_text": "0" - } + }, + { + "item_type": { + "_text": "manuscripts" }, - { - "meta-name": { - "_text": "Color Image Count" - }, - "meta-value": { - "_text": "0" - } + "item_description": { + "_text": "manuscript.pdf" + }, + "item_name": { + "_text": "manuscript.pdf" } - ] - } - } - }, - "body": { - "fig": [ - { - "label": { - "_text": "Figure 1" }, - "graphic": { - "_attributes": { - "xlink:href": "GasBulbData.eps", - "xmlns:xlink": "http://www.w3.org/1999/xlink" + { + "item_type": { + "_text": "supplementary" + }, + "item_description": { + "_text": "important-emails.md" + }, + "item_name": { + "_text": "important-emails.md" } - } - }, - { - "label": { - "_text": "Figure 2" }, - "graphic": { - "_attributes": { - "xlink:href": "ThreeSunsets.jpg", - "xmlns:xlink": "http://www.w3.org/1999/xlink" + { + "item_type": { + "_text": "supplementary" + }, + "item_description": { + "_text": "important-emails.md" + }, + "item_name": { + "_text": "important-emails (1).md" } } - } - ] + ] + } } } } \ No newline at end of file diff --git a/packages/component-mts-package/tests/sample.xml b/packages/component-mts-package/tests/sample.xml index 697e0e64c760dc9f1acdda45ff087c984303906e..d91397fb44989adaffbcc7d597b457138b71b714 100644 --- a/packages/component-mts-package/tests/sample.xml +++ b/packages/component-mts-package/tests/sample.xml @@ -4,89 +4,71 @@ <front> <journal-meta> <journal-id journal-id-type="publisher">research</journal-id> - <journal-id journal-id-type="email">trashjo@ariessys.com</journal-id> + <journal-id journal-id-type="email">faraday@hindawi.com</journal-id> <journal-title-group> - <journal-title>Research</journal-title> + <journal-title>Bioinorganic Chemistry and Applications</journal-title> </journal-title-group> - <issn pub-type="ppub">0000-000Y</issn> + <issn pub-type="ppub">2474-7394</issn> <issn pub-type="epub"></issn> </journal-meta> <article-meta> - <article-id pub-id-type="publisher-id">RESEARCH-D-18-00005</article-id> - <article-id pub-id-type="manuscript">RESEARCH-D-18-00005</article-id> + <article-id pub-id-type="publisher-id">RESEARCH-F-3326913</article-id> + <article-id pub-id-type="manuscript">RESEARCH-F-3326913</article-id> <article-categories> <subj-group subj-group-type="Article Type"> - <subject>Research Article</subject> - </subj-group> - <subj-group subj-group-type="Category"> - <subject>Information science</subject> - </subj-group> - <subj-group subj-group-type="Classification"> - <subject>Applied sciences and engineering</subject> - </subj-group> - <subj-group subj-group-type="Classification"> - <subject>Scientific community</subject> + <subject>clinical-study</subject> </subj-group> </article-categories> <title-group> - <article-title>January 24 sample article with new email trigger in place</article-title> - <alt-title alt-title-type="running-head">let's hope this works</alt-title> + <article-title>Demo sprint 16 no fun</article-title> </title-group> <contrib-group> <contrib contrib-type="author" corresp="yes"> - <role content-type="1" /> + <role content-type="1"></role> <name> - <surname>Heckner</surname> - <given-names>Hannah</given-names> - <prefix>Ms.</prefix> + <surname>Raluca</surname> + <given-names>Authorescu</given-names> + <prefix>miss</prefix> </name> - <email>hheckner@aaas.org</email> - <xref ref-type="aff" rid="aff1" /> + <email>raluca.gramschi+auth@thinslices.com</email> + <xref ref-type="aff" rid="aff1"></xref> </contrib> <aff id="aff1"> - <country>UNITED STATES</country> + <country></country> + <addr-line>Technical University Gheorghe Asachi Iasi</addr-line> </aff> </contrib-group> <history> <date date-type="received"> - <day>24</day> - <month>01</month> + <day>3</day> + <month>8</month> <year>2018</year> </date> </history> - <abstract> - <p>Abstract -This article explains and illustrates the use of LATEX in preparing manuscripts for submission to the American Journal of Physics (AJP). While it is not a comprehensive reference, we hope it will suffice for the needs of most AJP authors.</p> - </abstract> - <kwd-group> - <kwd>manuscript</kwd> - <kwd>submissions</kwd> - <kwd>ftp site</kwd> - </kwd-group> - <funding-group /> - <counts> - <fig-count count="0" /> - </counts> - <custom-meta-group> - <custom-meta> - <meta-name>Black and White Image Count</meta-name> - <meta-value>0</meta-value> - </custom-meta> - <custom-meta> - <meta-name>Color Image Count</meta-name> - <meta-value>0</meta-value> - </custom-meta> - </custom-meta-group> + <abstract><p>some abstract here</p></abstract> + <funding-group></funding-group> </article-meta> + <files> + <file> + <item_type>coverLetter</item_type> + <item_description>sample cover letter_ms 1.doc</item_description> + <item_name>sample cover letter_ms 1.doc</item_name> + </file> + <file> + <item_type>manuscripts</item_type> + <item_description>manuscript.pdf</item_description> + <item_name>manuscript.pdf</item_name> + </file> + <file> + <item_type>supplementary</item_type> + <item_description>important-emails.md</item_description> + <item_name>important-emails.md</item_name> + </file> + <file> + <item_type>supplementary</item_type> + <item_description>important-emails.md</item_description> + <item_name>important-emails (1).md</item_name> + </file> + </files> </front> - <body> - <fig> - <label>Figure 1</label> - <graphic xlink:href="GasBulbData.eps" xmlns:xlink="http://www.w3.org/1999/xlink" /> - </fig> - <fig> - <label>Figure 2</label> - <graphic xlink:href="ThreeSunsets.jpg" xmlns:xlink="http://www.w3.org/1999/xlink" /> - </fig> - </body> </article> \ No newline at end of file