Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 2 KB

0002-json-encoded-workflow.md

File metadata and controls

53 lines (42 loc) · 2 KB
layout status adr title deciders date
page
accepted
0002
JSON-encoded workflow

Context and problem statement

The core of Archivematica is a server application that coordinates work across multiple workers. The collection of related tasks (also known as workflow data) is stored in the application database using a relation model.

Introducing changes to the workflow data is hard because the model is clumsy and convoluted. Changes to the data are delivered as data and schema migrations which are difficult to implement and they add risk to the process of upgrading the software.

Additionally, we want to add full internationalisation support in order to make the system more attractive to a wider range of users and increase adoption. We need a simpler mechanism to deliver translations and other workflow data changes in general.

Considered options

We've only considered one option - this is the interim JSON-encoded workflow document generated by the json_links module.

Decision outcome

  • Archivematica 1.9 will implement the proposed solution replacing the existing database tables.
  • We do not currently intend to expose the ability to modify the workflow data to Archivematica users - but this may change in the future as the solution matures and becomes interoperable.
  • The visualization and manipulation of the workflow data will be facilitated by a new tool that we're calling amflow.

Links