SPOR Integration

To support the integration with EMA OMS and RMS API, and to enable adding the controlled vocabulary for organisations and referentials data from the external system, Calyx RIM provides the ability to enable and configure the SPOR services.

To start receiving data from the EMA SPOR REST Server, the options described in both the Configuration and Authentication sections must be set in the insightConfig.bat or insight.var file.

Configuration

The SPOR services can be enabled and configured through the appropriate options in the insightConfig.bat or insight.var files:
Table 1. insightConfig.bat
Under the SPOR API Settings section, values for the Enable SPOR API RMS, Enable SPOR API OMS and Defined Interval (minutes) options must be set.
By default, the Enable SPOR API RMS and Enable SPOR API OMS options are set to false and the Defined Interval (minutes) option is not populated with a value:
  • Enable SPOR API for RMS: false
  • Enable SPOR API for OMS: false
  • Defined Interval (minutes):

If you set the Enable SPOR API for RMS option to true, then the RMS data will be retrieved according to the rules described in the Retrieving the RMS Data topic.

If you set the Enable SPOR API for OMS option to true, then the OMS data will be retrieved according to the rules described in the Retrieving the OMS Data topic.

Table 2. insight.var
Under the SPOR API SETTINGS section, values for the spor.api.enable.rms, spor.api.enable.oms and spor.api.update.interval.minutes options must be set.
By default, the spor.api.enable.rms, spor.api.enable.oms, and the spor.api.update.interval.minutes option are not populated with a value:
  • spor.api.enable.rms=
  • spor.api.enable.oms=
  • spor.api.update.interval.minutes=

The acceptable values for the spor.api.enable.rms and spor.api.enable.oms are true or false.

If you set the spor.api.enable.rms option to true, then the RMS data will be retrieved according to the rules described in the Retrieving the RMS Data topic.

If you set the spor.api.enable.oms option to true, then the OMS data will be retrieved according to the rules described in the Retrieving the RMS Data topic.

Authentication

To enable the authentication between the Calyx RIM system and the SPOR API client, Calyx RIM provides the ability to configure the authentication mechanism through the appropriate options in the insightConfig.bat or insight.var files:
Table 3. insightConfig.bat
Under the SPOR API Settings section, values for the User Name and Password options must be set.
By default, both options appear blank:
  • User Name:
  • Password:
Table 4. insight.var
Under the SPOR API SETTINGS section, values for the spor.api.user and spor.api.password options must be set.
By default, both options appear blank:
  • spor.api.user=
  • spor.api.password=