Configuring OSLC on the server

Configure OSLC components including Resource, Service Provider, Service, Query Capability, and Creation Factory.

Procedure

  1. Create an OSLC Resource for the BO.

    Create an OSLC resource for the Business Object. The resource is data that can be identified by a URI.

    1. Navigate to Home > Tools > System Setup > Integration > OSLC Resource Manager.
    2. Click Add.
    3. Specify the ID, Resource Name, and Title.
    4. In Namespace the prefix spi is used which has the base of http://jazz.net/ns/ism/smarter_physical_infrastructure. The namespace is used to provide unique name to the fields but does not change any logic. You can use any namespace or create your own.
    5. In the Module dropdown menu, select the module that was created earlier. The corresponding BO, Form, and Query are now available for selection.
    6. In the Properties section, click Import All Fields to set up the fields for the resource based on the BO fields.
    7. After the import is completed, click Create.
  2. Create an OSLC Service Provider.

    A service provider contains the resources that allow the use of the resource. This also includes the creation of factory and query capability.

    1. Navigate to Home > Tools > System Setup > Integration > OSLC Manager.
    2. Click Add.
    3. On the Service Provider creation form, specify a name, and then click Create.
  3. Create an OSLC Service.
    1. Open the Service Provider created in the previous section.
    2. Under the Service section, click Add.
    3. In the new form name the service and set the domain to match what is set in the resource: http://jazz.net/ns/ism/smarter_physical_infrastructure.
    4. Click Create.
  4. Create OSLC Query Capability (QC).

    The query capability allows to create a base URI that can be used to query the resources easily.

    1. In the Query Capabilities section of the service form, click Add to bring up the Query Capability form.
    2. In the Resource section, click Find.
    3. Select the OSLC Resource that was created earlier and then click OK.
    4. In the General section, specify a name and title.
      Note: If you want to override the query that is added to the resource, you can select the query from the Query dropdown menu. In this example, the query is already added to the resource so leave the Query field blank.
  5. Create OSLC Creation Factory (CF).

    Creating a creation factory provides a URI that can then be used to create new records for resources.

    1. In the Creation Factories section of the service form, click Add.
    2. In the Resource section, click Find.
    3. Select the OSLC Resource that was created earlier and then click OK.
    4. In the General section, specify a name and title.