Even though the XSD for the service is effectively already
defined in the SCA module, in this tutorial you will create a schema
specification so that the definition can be governed. This tutorial
shows you how to use the governance enablement profile to create a
new schema specification, and govern it through its lifecycle, to
the Asset Approved state.
What you should be able to do
At the end
of this tutorial, you should be able to:
- Create a schema specification.
- Propose and approve the schema specification scope.
- Associate the schema specification with an XSD document that describes
the schema.
- Submit the specification of the schema specification for approval.
- Approve the specification of the schema specification.
- Submit the schema specification for approval.
- Approve the schema specification
Introduction
Now that the service version
plan has been approved, as described in the tutorial Providing scoping and planning information for the service, the
development process can begin. The first stage of this development
process is bring under governance control the interfaces, schemas
and business objects that are used when interacting with this new
service.
As part of the process of developing a new version
of the business service, a common understanding and representation
of the account creation service structures are required.
Part 1: Creating a schema specification
Having
already developed and loaded the schemas via the loading of the SCA
module, Development create a new schema specification to bring them
under governance control.
- 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.
- Create a new schema specification.
- In the web user interface, switch to the Development perspective,
if necessary, by selecting Development from
the Perspective list.
- Click .
- Enter the following property values:
- Name: Unformatted Address.
- Description: The schema definition for an unformatted
address.
- Namespace: http://www.jkhle.com/AddressFormatter.
- Version: 1.0.0.
- Requirements Link: http://requirements.jkhle.com/requirements.jsp&id=2382.
This is a link, fictitious in this case, to the relevant item in JKHL
Enterprises' requirements tracking tool.
- Assign an owning organization to the schema specification.
- Click Add Organization alongside the Owning
Organization relationship.
- Enter C in the Name field,
select Common services from the auto suggest
list, and click Add. The Common services organization
is added as a target of the Owning organization relationship.
- Click Finish to save the schema specification.
The details page for the schema specification is displayed. Note that
the Specified Schemas relationship has been filled in for you, with http://www.jkhle.com/AddressFormatter
(1.0.0).
- View the governance state of the new schema specification.
- Note that the new governance state is Asset Identified.
This is the initial state in the Asset lifecycle; a new schema specification
is entered into the Asset lifecycle automatically. In the Asset Identified
state, the scope and requirements for representing the schema are
agreed.
Part 2: Proposing the schema specification scope
The
schema specification is now ready for review by the SOA governance
team. To indicate its readiness for review, and to make it available
to the reviewers, the scheme specification scope must be proposed.
- Propose the schema specification.
- Click the Propose button. Note that the
new governance state is Asset Scope Review.
Part 3: Approving the schema specification scope
The
SOA Governance team confirm that the requirements provided are realistic
and do not duplicate existing WSRR content, and therefore approve
the scope of the schema 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 Business Space user interface with the user ID that is assigned
to the SOAGovernance role. Otherwise, go to the next step.
- Approve the schema specification.
- 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 Unformatted Address (1.0.0) to display
the schema specification details.
- In the Service Registry Detail widget,
click , and note that the new governance
state is Asset Scoped.
Part 4: Referencing an XSD document
Now
that the schema specification has been approved, a member of the Development
team references the XSD document that describes the schema that was
loaded as part of the SCA module, and associates it with the schema
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.
- Load the XSD document that describes the schema.
- In the web user interface, switch to the Development perspective,
if necessary, by selecting Development from
the Perspective list.
- Click .
- Click Unformatted Address to display the
schema specification details.
- Click Edit Relationships.
- Click Add Document alongside the Artifacts relationship.
- Enter * in the Name field, and click Search.
- Select the check box alongside AddressFormatter_Unformatted.xsd,
and click Apply Selected Targets.
- Click Finish to save your changes.
Part 5: Submitting the specification of the schema
specification for approval
Having provided the technical
details of the schema definition, the development team can now propose
the specification for review.
- Transition the schema specification to the Asset Specification
Review state.
- Click Propose Asset Specification, and
note that the new governance state is Asset Specification
Review.
Part 6: Approving the specification of the schema
specification
A development review is now held, to verify
that the specification artifacts can be realized and fully meet the
requirements, and to confirm that the service schema definition is
agreed and will not change.
- Transition the schema specification to the Asset Specified state.
- Click .
- Click Unformatted Address to display the
schema specification details.
- Click Approve Asset Specification, and
note that the new governance state is Asset Specified.
Part 7: Submitting the schema specification for approval
At
this point in its lifecycle, the schema is specified and is available
for review by the other stakeholders, such as the organizations that
will consume the service. They review the specification to ensure
that it meets their requirements, and that the business objects it
utilizes have been specified in a manner that promotes their future
reuse. After it has been agreed that all aspects of the design meet
their requirements, the schema is submitted for final review by the
SOA governance team.
- Transition the schema specification to the Asset Review state.
- Click .
- Click Unformatted Address to display the
schema specification details.
- Click Submit Asset for Approval, and note
that the new governance state is Asset Review.
Part 8: Approving the schema specification
The
SOA governance team carry out the final review, and approve the schema
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 Business Space user interface with the user ID that is assigned
to the SOAGovernance role. Otherwise, go to the next step.
- Transition the schema specification to the Asset Approved state.
- 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 Unformatted Address (1.0.0) to display
the schema specification details.
- In the Service Registry Detail widget,
click , and note that the new governance
state is Asset Approved.
Part 9: Create and govern the schema specification
for the Formatted Address schema
There is a second schema
associated with the SCA module; this schema describes the response
from the service.
You must repeat Parts 1 to 8 for this schema;
follow exactly the same steps again, but with a schema specification
name of Formatted Address.
What you did in this tutorial
In this tutorial,
you completed the following activities:
- Created a new schema specification.
- Proposed and approved the schema specification scope.
- Loaded an XSD document that describes the schema.
- Associated the schema specification with the loaded schema.
- Submitted the specification of the schema specification for approval.
- Approved the specification of the schema specification.
- Submitted the schema specification for approval.
- Approved the schema specification.