7.7 Setting MISP2 server for testing X-Road services
Preconditions for testing:
- In MISP2
portal, the portal has been set up for testing and the user account used for testing
has the following roles in this portal: service administrator, access rights
- In the
X-Road security server used for testing, WSDL and dataservices have been set up
for the test subsystem, and rights have been granted to the test subsystem for
using these dataservices.
MISP2 portal and select ‘Service administrator’ in the role options for setting
Explanation: initially the list is empty in the displayed table of active databases (or subsystems). In order to start using the X-Road services in MISP2 portal, the used subsystems must be added into the list of active subsystems.
- Select in the menu: Services/ ‘Complete list of databases’:
Explanation: this operation displays all (currently available) X-Road subsystems in the MISP2 database. Initially, the list of subsystems in MISP2 database is empty and MISP2 base must be updated from the X-Road security server.
Updating the list of X-Road subsystems from the security server:
Click the button: ‘Update list of databases’:
Explanation: this operation activates a request to the X-Road security server, from where the complete list of X-Road subsystems is requested. The received list is displayed to the user.
To save the list of active subsystems:
the displayed list of X-Road subsystems, find the subsystem set up in the
security server for testing
- Click ‘Save active databases’
For updating the list of required active services of a subsystem, select a subsystem:
- In the table of active subsystems, select a subsystem for testing (which appeared in the table after saving the list):
On the following form, the list of open services must be updated from the X-Road security server.
Explanation: this operation activates the request for the list of allowed services (allowedMethods) to the X-Road security server. MISP2 requests from the X-Road security server the list of services open in the X-Road security server for the subsystem set up in the portal. The list of open services is then displayed on the same form, as shown on the following figure.
Next, user interface must be generated for the service:
‘check box’ on the service name line
- Click: Update XForms descriptions of selected services: ‘Generate from security server’
Explanation: this operation activates the generation of the user interface (XForms) for selected service(s). After a successful completion of the generation, a message is displayer (XForms description updated! (<name of service>)), as shown on the following figure, and on the text field after the name of the service a text is displayed ‘Generated database <date time>’.After a successful generation of the user interface of the service, the administrator can activate the service for testing from the same form.