We have discussed the following extensions to the tenant and Okapi install calls:
- a new version of the tenant init call that allows specifying the initialisation properties. This will allow us to control if and what kind of data is loaded during init (reference on/off, sample on/off, etc), By default only reference data will be loaded in the first version of the RMB implementation.
- extension to the Okapi's install call to provide the global values for the initialisation properties. Those values would then be passed on to the individual modules during the init call.
In the first phase we will address the implementation of this new functionality in mod-inventory-storage.
- should Okapi store the init props and resend them during module upgrade?
- should we have an initial set of default init props that can be specified before any install call?
The name of the parameter that controls reference data loading is loadReference with true|false (both in the tenantParams string query param and in the parameters kv array in the moduleInfo payload)
By default the value of loadReference is false
The name of the parameter that controls sample data loading is loadSample with true|false (both in the tenantParams string query param and in the parameters kv array in the moduleInfo payload)
By default the value of loadSample is false