mapping.xml 맵핑 파일에는 Rational Asset Manager 자산 유형과 WSRR 비즈니스 모델 오브젝트 간 맵핑이 있습니다.
mapping.xml 파일을 사용하고 업데이트하여 Rational Asset Manager의 요소와 WSRR 요소를 동기화하십시오.
자산 유형, 관계, 속성과 같이 파일에 정의된 여러 유형의 맵핑이 있습니다. 맵핑 파일에는 정책에 대해 구성한 저장, 상태 시작 또는 수동 조치의 조작 중 호출되는 이벤트인 트리거도 있습니다.
Rational Asset Manager에 제공되는 SOA 정책이 있습니다. 맵핑 파일을 읽고 수동 조치, 상태 시작 또는 저장 이벤트에 대해 정의된 트리거를 실행합니다. SOA 정책이 SOA 라이프사이클의 모든 상태에서 구성되며 특정 WSRR 연결과 연관시킬 WSRR 연결 구성 특성이 있습니다.
맵핑 파일에는 두 가지 기본 요소인 맵핑과 트리거가 있습니다.
<Mapping id="SPEC" wsrrType="&GEP63;SchemaSpecification" ramType="Specification" extends="ASSET" ramCategory="Software Development/Kind/Schema">
</Mapping>
<Attribute wsrrName="gep63_versionAvailabilityDate" ramName="Availability Date" type="date"/>
<Relationship wsrrName="gep63_interfaceSpecifications" ramName="specification"/>
<Relationship wsrrName="gep63_charter" ramArtifactLabel="Charter"/>
트리거는 정책에 대해 구성한 저장, 상태 시작 또는 수동 조치에 대한 조작 중 호출되는 이벤트입니다. 예를 들어, 다음과 같습니다.
<Trigger source="RAM" type="Release" state="Identified">
<Rule ruleType="CATEGORIZATION" target="RAM" categoryValue="Software Development/Kind/Process" />
<Action target="WSRR" action="create"/>
</Trigger>
<Trigger source="RAM" type="Business Solution" state="Proposed" transition="Revise">
</Trigger>
<Trigger source="RAM" type="Business Solution" state="Rejected">
</Trigger>
규칙은 단순 규칙 또는 복합 규칙입니다.
<Rule ruleType="CATEGORIZATION" target="RAM" categoryValue="Software Development/Kind/Process" />
복합 규칙은 단순 규칙에 "AND" 또는 "OR" 연산자를 사용하여 작성할 수 있습니다.
<Rule operator="OR"> <Rule ruleType="CATEGORIZATION" target="RAM" categoryValue="Software Development/Kind/Web Application" />
<Rule ruleType="CATEGORIZATION" target="RAM" categoryValue="Software Development/Kind/Service" />
<Rule ruleType="CATEGORIZATION" target="RAM" categoryValue="Software Development/Kind/Process" />
</Rule>
categoryValue ="Software Development/Kind/Web Application"
<Rule ruleType="CATEGORIZATION" target="RAM" categoryValue="Software Development/Kind/Web Application" />
<Rule ruleType="ARTIFACT" target="RAM" countType="EXACTLY" count="1" artifactMatchType="LABEL_OF" artifactMatchTypeValue="Charter" />
relatedAssetType="Implementation"
relationshipName="implementation"
<Rule target="RAM" ruleType="RELATIONSHIP" countType="ATLEAST" count="1" relatedAssetType="Implementation" relationshipName="implementation" />
<Rule target="RAM" ruleType="ATTRIBUTE" attributeName="Custom Attribute" attributeValue="Value 1" />
<Rule ruleType="WSRR_STATE" target="WSRR" state="&GEPLifecycle;PlanReview"/>
<Action target="WSRR" action="create"/>
<Action target="WSRR"
transition="&GEPLifecycle;ProposeCharter"
state="&GEPLifecycle;CharterReview"/>
<Action target="RAM" action="create" type="Release" relationshipName="release" />