This component is running as a service to integrate current Hindawi Manuscript Tracking System for Editorial Quality Screening and for Editorial Quality Assurance.
### 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.
...
...
@@ -12,5 +16,30 @@ Stage 3: When check is completed, then Faraday system needs to be updated to mov
| xmlParserOptions | No | parsing config options used by xml-js library |
| s3Config | Yes | Access to AWS S3 Bucket where fragment files are saved |
| FTPConfig | Yes | FTP server connection credentials |
### Usage
MTS service gathers all the fragment files, creates an .xml file in a specific JATS format out of fragment JSON, creates a .zip archive and sends it to a specific FTP server with a configurable package name (also a backup it's uploaded to AWS S3).
.xml structure of Hindawi use-case can be checked `/tests/sample.xml` from generated json `/tests/sample.json`.
#### Example
```javascript
constfragment={}//fragment json here
const{journalConfig,xmlParser,s3Config,ftpConfig}=config//import your config