The ITI-57 Update Metadata Set MockUp is a SoapUI webservice (mock) that provides Update Document Set [ITI-57] Response.
git clone https://gitlab.inria.fr/gazelle/specific-tools/epr/metadata-update-responders.git $EPR_RMU_MOCK_DIR
Edit the init.d scripts $EPR_RMU_MOCK_DIR/init.d/rmuRespondingGatewayMock
and set the following environment variables
Type the following commands register the init.d script as service
sudo cp $EPR_RMU_MOCK_DIR/init.d/UpdateMetadataSetMock /etc/init.d/UpdateMetadataSetMock
sudo chmod u+x /etc/init.d/UpdateMetadataSetMock
sudo chmod 775 /etc/init.d/UpdateMetadataSetMock
If you want the service to start at each machine start up
sudo update-rc.d UpdateMetadataSetMock defaults
Be careful to allow the service to write logs into your target directory. As example
sudo mkdir /var/log/soapui
sudo chmod 775 /var/log/soapui
To run the mock
sudo /etc/init.d/UpdateMetadataSetMock start
To stop the mock
sudo /etc/init.d/UpdateMetadataSetMock stop
To get status of the mock
sudo /etc/init.d/UpdateMetadataSetMock status
You might need to install those following packets
sudo apt-get install -y libxrender1 libxtst6 libxi6
You might need to resolve errors when starting the mock
sudo mv /root/.soapuios/ /root/.soapuios_old
The ITI-18 Registry Stored Query MockUp is a SoapUI webservice (mock) that provides Registry Stored Query [ITI-18] Response.
git clone https://gitlab.inria.fr/gazelle/specific-tools/epr/metadata-update-responders.git $EPR_RMU_MOCK_DIR
Edit the init.d scripts $EPR_RMU_MOCK_DIR/init.d/RegistryStoredQueryMock
and set the following environment variables
Type the following commands register the init.d script as service
sudo cp $EPR_RMU_MOCK_DIR/init.d/RegistryStoredQueryMock /etc/init.d/RegistryStoredQueryMock
sudo chmod u+x /etc/init.d/RegistryStoredQueryMock
sudo chmod 775 /etc/init.d/RegistryStoredQueryMock
If you want the service to start at each machine start up
sudo update-rc.d RegistryStoredQueryMock defaults
Be careful to allow the service to write logs into your target directory. As example
sudo mkdir /var/log/soapui
sudo chmod 775 /var/log/soapui
To run the mock
sudo /etc/init.d/RegistryStoredQueryMock start
To stop the mock
sudo /etc/init.d/RegistryStoredQueryMock stop
To get status of the mock
sudo /etc/init.d/RegistryStoredQueryMock status
You might need to install those following packets
sudo apt-get install -y libxrender1 libxtst6 libxi6
You might need to resolve errors when starting the mock
sudo mv /root/.soapuios/ /root/.soapuios_old