The sections in the WSRR ALEConfiguration.xml file that are updated to configure the interaction are described in this lesson.
Mappings
<Mapping extends="BUSCAP" ramCategory="Software Development/Kind/Web Application" ramType="Business Solution"
wsrrType="http://www.ibm.com/xmlns/prod/serviceregistry/profile/v6r3/GovernanceEnablementModel#BusinessApplication" />
<Mapping extends="BUSCAP" ramCategory="Software Development/Kind/Service" ramType="Business Solution"
wsrrType="http://www.ibm.com/xmlns/prod/serviceregistry/profile/v6r3/GovernanceEnablementModel#BusinessService" />
<Mapping extends="BUSCAP" ramCategory="Software Development/Kind/Process" ramType="Business Solution"
wsrrType="http://www.ibm.com/xmlns/prod/serviceregistry/profile/v6r3/GovernanceEnablementModel#BusinessProcess" />
These Business Capability types extend the BUSCAP mapping:<Mapping extends="ASSET" id="BUSCAP" ramType="Business Solution"
wsrrType="http://www.ibm.com/xmlns/prod/serviceregistry/profile/v6r3/GovernanceEnablementModel#BusinessCapability">
<Relationship ramName="specification" wsrrName="gep63_capabilityVersions"/>
<Relationship ramArtifactLabel="Charter" ramName="_artifactLabel1" wsrrName="gep63_charter"/>
</Mapping>
Each Business Capability maps a couple of
relationships. The gep63_capabilityVersions relationship
now maps to the specification relationship on Rational Asset Manager
and not to a release; in this interaction WSRR Service Versions map
to Rational Asset Manager Specifications. <Mapping id="ASSET" ramType="RAM_Asset"
wsrrType="http://www.ibm.com/xmlns/prod/serviceregistry/v6r3/ALEModel#Asset">
<Attribute ramName="RAM_description" wsrrName="WSRR_description"/>
<Attribute map="RAM" ramName="RAM_state" wsrrName="ale63_remoteState"/>
</Mapping>
This means that all objects of these types
will map: <Mapping extends="ASSET" id="SV" ramCategory="Software Development/Kind/Service/Interface" ramType="Specification"
wsrrType="http://www.ibm.com/xmlns/prod/serviceregistry/profile/v6r3/GovernanceEnablementModel#ServiceVersion" />
Triggers
<Trigger source="WSRR" state="http://www.ibm.com/xmlns/prod/serviceregistry/lifecycle/v6r3/LifecycleDefinition#CharterReview"
type="http://www.ibm.com/xmlns/prod/serviceregistry/profile/v6r3/GovernanceEnablementModel#BusinessCapability">
<Action action="create" target="RAM"/>
<Action action="update" target="RAM"/>
<Action action="transition" state="Proposed" target="RAM" transition="com.ibm.ram.businessSolution.action.propose"/>
</Trigger>
<Trigger source="WSRR" state="http://www.ibm.com/xmlns/prod/serviceregistry/lifecycle/v6r3/LifecycleDefinition#CapabilityApproved"
type="http://www.ibm.com/xmlns/prod/serviceregistry/profile/v6r3/GovernanceEnablementModel#BusinessCapability">
<Action action="update" target="RAM"/>
<Action action="transition" state="Approved" target="RAM" transition="com.ibm.ram.businessSolution.action.approve"/>
</Trigger>
The first trigger is met when the BusinessCapability
reaches the state of CharterReview. When the state is met, the following
actions are completed: To fully understand the synchronization, we have to also consider the ALE configuration file on Rational Asset Manager. The form of the file is similar in concept with slightly different syntax; see the Rational Asset Manager documentation for details on the meaning of the different elements and options in this configuration http://publib.boulder.ibm.com/infocenter/ramhelp/v7r5m1/index.jsp?topic=%2Fcom.ibm.ram.doc%2Ftopics%2Fc_int_wsrr.html.