Most of the work for this has actually been done on . Remaining work:
Convert snapshot build to use new roles
Deprecate okapi-tenant-modules role
Wayne SchneiderFebruary 15, 2018 at 5:37 PM
Edited
For persistence to work as expected, we need to have a predefined Okapi nodename (either by setting -Dnodename= or, in dev mode, using the -Dhost= setting), add a nodeId key to our deployment descriptors with the nodename as the value, and post deployment descriptors to /_/discovery/modules rather than /_/deployment/modules.
This suggests we should also update the okapi role in folio-ansible to set the nodename.
Instead of configuring the
okapi-deploy
service to maintain deployment information, let Okapi manage deployment persistence (feature of Okapi 2.4.0)