-
Notifications
You must be signed in to change notification settings - Fork 33
Step interfaces
Denis Ah-Kang edited this page Mar 31, 2016
·
9 revisions
Steps in the publishing algorithm.
See also: app.js#L104
and lib/orchestrator.js#L353
.
- Retrieve documents
- Inputs:
- Editor's URL
- Location to download
- Outputs:
- Status: ok, error
- Errors
- Inputs:
- URL to check
- Profile?
- Outputs:
- Status: ok, failure, error
- Errors
- Inputs:
- Document temporary location
- Outputs:
- Status: ok, error
- Document metadata
- Errors
- Publication
- Install on TR under /TR/[year]/WD-[shortname]-[yyyymmdd]/ with CVS
- Inputs:
- Document temporary location
- Final destination under TR - Outputs:
- Status: ok, error
- Errors
- Add entries to the DB (publication system call)
- Inputs:
- Document metadata - Outputs:
- Status: ok, error
- Errors
- Generate shortlink
- Inputs:
- URL in TR
- Shortname - Outputs:
- Status: ok, error
- Errors
- Generate CfE reminders
- Inputs:
- None? - Outputs:
- Status: ok, error
- Errors
- Send notifications?