After completing the scoping and planning information,
you must provide a clear statement about the service levels that consumers
of this service can access. The service level definition (SLD) provides
access to key information classes that are extracted and created when
the SCA module was loaded.
In this example, you will associate three different endpoints,
each with a different binding, with the SLD; this is acceptable here
because the SLD is very simple in terms of its description. However,
if each binding has very different qualities of service behavior,
each needs its own SLD to describe that behavior; for example, the
throughput of a web services binding might be very different to that
displayed by a messaging binding.
- If you have security enabled, and have assigned separate user
IDs to each of the governance enablement profile roles, as described
in Governing an SCA service: the provider story, log
in to the web user interface with the user ID that is assigned to
the Development role. Otherwise, go to the next step.
- In the web user interface, switch to the Development perspective,
if necessary, by selecting Development from
the Perspective list.
- Create the SLD for the Address Formatter service. This encapsulates
the endpoints, protocols and interfaces that consumers can use to
access the service.
- Click .
- Click Address Formatter to display the
service version details.
- Click New SLD. A new SLD is created called SLD - Address Formatter; this is displayed as a link
under the Service Level Definitions relationship.
- Define the service interface, and hence the functional specification
used to interact with the SLD.
- Click SLD - Address Formatter to display
the SLD details.
- Click Edit Relationships.
- Click Add Service Interface alongside the Service Interface relationship.
- Enter * in the Name field, and click Search.
- Select the radio button alongside AddressFormatterInterface, and click Apply Selected Targets.
- Click Finish to save your changes.
- Scope the SLD. This provides the opportunity to define specific
requirements or features that must be met. Customized SLDs might have
many properties that must be set at this point, but this is not done
in this tutorial. (Alternatively, you can create a new SLD under the
Provides relationship, selecting the required type from the Entity
type list; all details must then be filled in from that point.)
- Click Propose Scope, and note the new governance
state is SLD Scope Review, and that Approve
Scope and Revise Scope buttons are now displayed.
- If you have security enabled, and have assigned separate user
IDs to each of the governance enablement profile roles, as described
in Governing an SCA service: the provider story, log
in to the Business Space user interface with the user ID that is assigned
to the SOAGovernance role. Otherwise, go to the next step.
- In the Business Space user interface, switch to the SOA Governance
space if necessary, by clicking , and ensure that the Overview page is selected.
- In the Watch List (SOA Governance) widget,
click SLD – Address Formatter to display the
SLD details.
- In the Service Registry Detail widget,
click , and note that the new governance
state is SLD Scoped, and that a Propose Specification
transition is now available in the Action menu.
- Define the named exports, and hence the binding protocols used
to access the SLD. In this case, the service exposes itself using
three different bindings: MQSeries, Web Services and JMS.
- If you have security enabled, and have assigned separate user
IDs to each of the governance enablement profile roles, as described
in Governing an SCA service: the provider story, log
in to the web user interface with the user ID that is assigned to
the Development role. Otherwise, go to the next step.
- In the web user interface, switch to the Development perspective,
if necessary, by selecting Development from
the Perspective list.
- Click , then click SLD - Address Formatter to display the SLD details.
- Click Edit Relationships.
- Click Add Service Export alongside the Bound SCA Exports relationship.
- Enter * in the Name field, and click Search.
- Select the check boxes alongside AddressFormatterMediation_WS, AddressFormatterMediation_JMS, and AddressFormatterMediation_MQ, and click Apply
Selected Targets.
- Define the available endpoints for these three exports. The MQSeries
and JMS bindings are displayed as SCA Service Endpoints, and the Web
Services binding is displayed as a SOAP Service Endpoint.
- Click Add Service Endpoint alongside the Available Endpoints relationship.
- Enter * in the Name field, and click Search.
- Select the check boxes alongside http://localhost:9080/AddressFormatterWeb/sca/AddressFormatterMediation_WS, jms:jndi:AddressFormatter/AddressFormatterMediation_JMS_RECEIVE_D?jndiConnectionFactoryName=AddressFormatter/AddressFormatterMediation_JMS_CF, and wmq://HOST1:1414/msg/queue/RECQ1@QM123, and click Apply Selected Targets.
- Click Finish to save your changes.
- Complete the SLD specification.
- Click Propose Specification, and note the
new governance state is SLD Review, and that
Approve Specification and Revise Specification buttons are now displayed.
- If you have security enabled, and have assigned separate user
IDs to each of the governance enablement profile roles, as described
in Governing an SCA service: the provider story, log
in to the Business Space user interface with the user ID that is assigned
to the SOAGovernance role. Otherwise, go to the next step.
- In the Business Space user interface, switch to the SOA Governance
space if necessary, by clicking , and ensure that the Overview page is selected.
- In the Watch List (SOA Governance) widget,
click SLD – Address Formatter to display the
SLD details.
- In the Service Registry Detail widget,
click , and note the new governance
state is SLD Subscribable, and that Supercede
and Deprecate transitions are now available in the Action menu. This
SLD is subscribable, meaning that service level agreements can now
be requested against it.
- View the service level definition structure.
- In the Service Registry Detail widget, click .
- Examine the structure of the Address Formatter service, and its
relationship to the service level definition and the information defined
in the original SCA module.
- Complete the Address Formatter service specification.
- If you have security enabled, and have assigned separate user
IDs to each of the governance enablement profile roles, as described
in Governing an SCA service: the provider story, log
in to the web user interface with the user ID that is assigned to
the Development role. Otherwise, go to the next step.
- In the web user interface, switch to the Development perspective,
if necessary, by selecting Development from
the Perspective list.
- Click .
- Click Address Formatter to display the
service version details.
- Click Propose Specification, and note the
new governance state is Specification Review, and that Approve Specification and Revise Specification buttons
are now displayed.
- Click Approve Specification, and note the
new governance state is Specified, and that
a Propose Realization button is now displayed.
- Complete the Address Formatter service realization.
- Click Propose Realization, and note the
new governance state is Realization Review,
and that Approve Realization and Revise Realization buttons are now
displayed.
- Click Approve Realization, and note the
new governance state is Realized, and that
a Propose Staging Deployment button is now displayed.
At this point in the lifecycle, you are ready to register
the endpoints that are used in any given environment, and to enable
the endpoints as the service completes its lifecycle.
What you did in this tutorial
In this tutorial,
you completed the following activities:
- Created an SLD.
- Defined a service interface.
- Scoped the SLD.
- Defined a number of exports.
- Defined a number of endpoints.
- Completed the SLD specification.
- Completed the service specification.
- Completed the service realization.