If your environment uses Jazz for Service Management (JazzSM),
you can configure the ObjectServer to register with the JazzSM service
provider registry. The ObjectServer is registered as an event OSLC
service provider. Registrations to JazzSM registries are configured
and managed by the OSLC service provider registry table, registry.oslcsp.
About this task
Access to this table is granted only to the root user and
administrators that have the OSLCAdmin role. Registrations cannot
be updated. Registration records can be only inserted and deleted,
not updated.
Procedure
- To create a registration, insert a registration entry into
the registry.oslcsp table.
The following example shows
a sample SQL INSERT command for the JazzSM service provider registry
that runs on the host
jazzsm.company.com, on
port 9080, with the default credentials:
INSERT INTO registry.oslcsp ( Name, RegistryURI, RegistryUsername, RegistryPassword )
VALUES ( 'MyRegistration',
'http://jazzsm.company.com:9080/oslc/pr',
'system', 'manager' );
After the
insert is made, the ObjectServer attempts to register the OSLC interface
of the local ObjectServer with the defined JazzSM service provider
registry. If the registration is successful, the registration URI
that was created is stored in the RegistrationURI field. The Registered
field is set to 1. If the registration is not successful,
the Registered field is set to 0.
- To remove a registration from a JazzSM service provider
registry, delete the registration entry from the table.
For
example, to remove the registration that is shown in the previous
example, use the SQL DELETE command that is shown in the following
example:
DELETE FROM registry.oslcsp WHERE Name='MyRegistration';
If the registration record contains a registration URI
that is registered with the defined JazzSM service provider registry,
the ObjectServer deletes the record after you delete the row from
the table.
What to do next
If a registration fails, see the ObjectServer log file.