Servigistics InService 게시 및 로드 > 게시 및 로드 사용 > TAL 구성 > ID 관리(IMAN) 구성
  
ID 관리(IMAN) 구성
IMANConfig.xml 구성 파일은 SIM 데이터 유형에 따라 번들 소스의 유형 및 소스에 대한 ID 속성과 기타 속성을 구성하는 데 사용됩니다. 이 파일을 사용하면 TAL이 서로 다른 저작 시스템의 여러 번들을 처리하고 개별 객체에 ID를 지정할 수 있습니다. 속성은 IMAN ID를 생성하는 데 사용됩니다. 이 구성은 필수입니다. 파일은 INSERVICE_HOME\InS_SW\Config\Applications\DataProcess\Config\Common\Templates\IMANIntegration에 있습니다.
Servigistics InService는 이 구성 파일을 생성하고 업데이트하는 프로세스를 지원하는 구성자 유틸리티를 제공합니다. 구성자는 이러한 업데이트를 위한 IMAN 등록 정보가 포함된 TAL 엔티티를 제공합니다. IMAN 등록 정보를 사용하면 소스 로드 우선 순위의 이름을 바꾸거나 해당 우선 순위를 변경할 수 있습니다. 이는 등록 정보의 소스 섹션에서 수행됩니다.
다음 소스는 읽기 전용입니다.
더하기 아이콘 을 사용하여 조직에 대한 추가 소스를 추가할 수 있습니다. 이 경우 PTC 소스의 복사본을 만들고 IMANConfig.xml에 새 소스를 추가합니다. 예를 들면 다음과 같습니다.
소스 옆에 있는 아이콘을 클릭하고 해당 소스를 끌어 원하는 스폿에 순서대로 놓아 소스의 소스 로드 우선 순위를 변경할 수 있습니다.
구성자에서 수행한 모든 TAL 변경 사항을 적용하려면 먼저 해당 변경 사항을 게시하고 JBoss 서버를 다시 시작해야 합니다. 구성자 유틸리티에 대한 자세한 내용은 Servigistics InService 배포 안내서Servigistics InService 배포 구성자 유틸리티 사용을 참조하십시오.
일부 IMAN 구성은 구성자에서 수행할 수 없습니다. 다음 단원에서는 이러한 구성에 대해 자세히 설명합니다.
IMAN에서 소스 이름 구성
번들 아티팩트 PublishInfo.xml에는 번들 소유자를 식별하는 Bundle-Source 매개변수가 포함되어 있습니다. 이 등록 정보가 없으면 TAL은 기본적으로 번들 소스의 Rootobjects에서 orgName 등록 정보를 사용합니다. 다음은 orgName의 예입니다.
IMANConfig.xmlSource name 및 다양한 데이터 유형의 비즈니스 식별 속성에 대한 세부 정보를 정의해야 합니다. 이러한 속성은 모든 유형의 비즈니스 객체에 공통될 수도 있고 객체마다 다를 수도 있습니다. 소스가 구성되어 있지 않으면 TAL 프로세스에서 오류가 발생할 가능성이 있습니다.
일반적으로 번들 소스 구성을 사용하여 객체를 찾을 수 있습니다. 동일한 객체를 다른 소스에서 이미 로드했기 때문에 객체를 찾지 못한 경우 검색할 소스를 구성할 수 있습니다. 이와 같은 경우는 일반적으로 서로 다른 두 소스가 서로 다른 두 식별 속성 세트를 가지고 있는 경우에 발생합니다.
예를 들어, 이름이 SAP이고 식별 속성이 orgNameobjNumber로 표시된 소스에서 PARTS가 로드되는 시나리오를 고려해 보십시오. 이번에는 이름이 PTC이고 식별 속성이 URI인 다른 소스에서 부품을 가져옵니다. 이 경우 URI를 가진 어떤 부품도 찾을 수 없습니다. 이는 SAP에서 동일한 소스를 사용할 수 없기 때문입니다. 시스템에서 새 부품을 생성하는 작업조차 수행할 수 없습니다. 해결 방법은 계단식 검색을 수행하는 것입니다.
다음은 계단식 검색을 구성하는 방법입니다.
<Source name="com.cat.ncr">
<Type name="PARTS" CascadeSeq="SAP,PTC" >
<IdentifyingAttributes>
<Property name="uri"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="objNumber"/>
<Property name="orgName"/>
</OtherAttributes>
</Type>
</Source>
제공된 Type name의 경우 식별 속성을 사용하여 데이터베이스에서 객체를 찾지 못하면 계단 순서에 제공된 소스 식별 속성을 사용하여 검색이 수행됩니다. 계단 순서로 지정된 소스가 해당 특성만 식별 속성(식별 속성으로 사용할 수 있는 속성 또는 현재 소스의 다른 속성)으로 사용해야 합니다. 그렇지 않으면 오류가 발생합니다.
위의 경우 SAP의 IdentifyingAttributesobjNumberorgName이 포함되어 있으면 유효한 사용 사례입니다. familyCode가 포함되어 있으면 소스 PTC에 해당 속성이 없으므로 오류가 발생합니다.
IMAN의 우선 순위 구성
구성자를 사용하면 콘텐츠에 대한 기본 소스를 정의할 수 있습니다. 추가 소스를 정의해야 하는 경우 해당 작업은 IMANConfig.xml 파일에서 수행해야 합니다. 이 경우 PTC 소스의 복사본을 만들고, 소스 name을 변경하고, 다음과 같이 SourceID-1로 업데이트합니다.
<Source SourceID="-1" name="ABC" priority="3">
각 번들 소스는 객체에 대한 업데이트를 활성화 또는 비활성화할 수 있도록 우선 순위와 함께 제공됩니다. 가장 우선 순위가 높은 소스가 동일하거나 가장 낮은 우선 순위 소스가 포함된 객체를 변경할 수 있지만 반대의 경우는 불가능합니다. 이는 소스를 정의하는 동안 IMANConfig.xml 구성 파일을 통해 구성됩니다. 우선 순위 속성은 정수 값만 허용합니다. 보다 높은 값은 보다 높은 우선 순위를 의미합니다. 소스가 자신이 소유하지 않는 객체를 업데이트 또는 삭제하려고 할 때 현재 소유자와 같거나 보다 높은 우선 순위를 가져야 합니다. 그렇지 않으면 해당 작업이 무시됩니다.
예를 들어, 이름이 PL1인 부품은 소스 ABC에 속합니다. PTC 소스가 부품을 업데이트하려고 할 때마다 PTC의 우선 순위가 ABC의 우선 순위보다 높으므로 업데이트가 허용됩니다. 그러나 PTC가 소유하는 객체를 ABC가 업데이트하려고 하면 해당 우선 순위가 PTC의 우선 순위보다 낮으므로 업데이트가 허용되지 않습니다.
다음은 IMANConfig.xml 구성 파일의 예입니다.
<IMANConfig>
<Source SourceID="4" name="CSV" priority="4">
<Type name="PDFM">
<IdentifyingAttributes>
<Property name="objNumber" primary="true" reference="PDF Code|Document Code"/>
<Property name="orgName" primary="true" reference="$$ORGNAME$$"/>
<Property name="PTC_DD_LANGUAGE" reference="File Name_|Description_"/>
<Property name="SIM.authoringLanguage" reference="$$AUTHORED_DOC_LANGUAGE$$"/>
</IdentifyingAttributes>
<OtherAttributes>
</OtherAttributes>
</Type>
<Type name="IEXML">
<IdentifyingAttributes>
<Property name="objNumber" primary="true" reference="XML Code|Document Code"/>
<Property name="orgName" primary="true" reference="$$ORGNAME$$"/>
<Property name="PTC_DD_LANGUAGE" reference="File Name_|Description_"/>
<Property name="SIM.authoringLanguage" reference="$$AUTHORED_DOC_LANGUAGE$$"/>
</IdentifyingAttributes>
<OtherAttributes>
</OtherAttributes>
</Type>
<Type name="GRAPHIC">
<IdentifyingAttributes>
<Property name="objNumber" primary="true" reference="GRAPHIC Code|Document Code"/>
<Property name="orgName" primary="true" reference="$$ORGNAME$$"/>
<Property name="PTC_DD_LANGUAGE" reference="File Name_|Description_"/>
<Property name="SIM.authoringLanguage" reference="$$AUTHORED_DOC_LANGUAGE$$"/>
</IdentifyingAttributes>
<OtherAttributes>
</OtherAttributes>
</Type>
<Type name="PARTS">
<IdentifyingAttributes>
<Property name="objNumber" reference="Part Code"/>
<Property name="orgName" reference="orgname|$$ORGNAME$$"/>
</IdentifyingAttributes>
<OtherAttributes>
</OtherAttributes>
</Type>
<Type name="PI">
<IdentifyingAttributes>
<Property name="objNumber" reference="concat(Model,'_',SN)"/>
<Property name="orgName" reference="$$ORGNAME$$"/>
</IdentifyingAttributes>
<OtherAttributes>
</OtherAttributes>
</Type>
<Type name="BOM">
<IdentifyingAttributes>
<Property name="objNumber" reference="Object Number"/>
</IdentifyingAttributes>
<OtherAttributes>
</OtherAttributes>
</Type>
<Type name="GROUP">
<IdentifyingAttributes>
<Property name="objNumber" reference="$$Part Code"/>
<Property name="orgName" reference="$$ORGNAME$$"/>
</IdentifyingAttributes>
<OtherAttributes>
</OtherAttributes>
</Type>
<Type name="IS">
<IdentifyingAttributes>
<Property name="objNumber" reference="Parent Entity Code"/>
<Property name="orgName" reference="$$ORGNAME$$"/>
</IdentifyingAttributes>
<OtherAttributes>
</OtherAttributes>
</Type>
<Type>
<IdentifyingAttributes>
<Property name="objNumber" reference="Document Code|Assembly Code"/>
<Property name="orgName" reference="$$ORGNAME$$"/>
</IdentifyingAttributes>
<OtherAttributes>
</OtherAttributes>
</Type>
</Source>
<Source SourceID="3" name="FLW" priority="3">
<Type name="PDFM">
<IdentifyingAttributes>
<Property name="uri"/>
<Property name="PTC_DD_LANGUAGE"/>
<Property name="SIM.authoringLanguage"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="objNumber" reference="number"/>
<Property name="orgName"/>
<Property name="SIM.lastUpdated"/>
<Property name="SIM.lastUpdatedSrc"/>
<Property name="SIM.lastUpdatedMeta"/>
<Property name="checksum"/>
<Property name="collectedDate"/>
</OtherAttributes>
</Type>
<Type name="IEXML">
<IdentifyingAttributes>
<Property name="uri"/>
<Property name="PTC_DD_LANGUAGE"/>
<Property name="SIM.authoringLanguage"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="objNumber" reference="number"/>
<Property name="orgName"/>
<Property name="SIM.lastUpdated"/>
<Property name="SIM.lastUpdatedSrc"/>
<Property name="SIM.lastUpdatedMeta"/>
<Property name="checksum"/>
<Property name="collectedDate"/>
</OtherAttributes>
</Type>
<Type name="SYMPTOMS">
<IdentifyingAttributes>
<Property name="uri"/>
<Property name="PTC_DD_LANGUAGE"/>
<Property name="SIM.authoringLanguage"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="objNumber" reference="number"/>
<Property name="orgName"/>
<Property name="SIM.lastUpdated"/>
<Property name="SIM.lastUpdatedSrc"/>
<Property name="SIM.lastUpdatedMeta"/>
<Property name="checksum"/>
<Property name="collectedDate"/>
</OtherAttributes>
</Type>
<Type CascadeSeq="SAP" name="PARTS">
<IdentifyingAttributes>
<Property name="uri"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="objNumber"/>
<Property name="orgName"/>
<Property name="PTC_DD_LANGUAGE_TL"/>
</OtherAttributes>
</Type>
<Type name="IS">
<IdentifyingAttributes>
<Property name="uri"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="objNumber"/>
<Property name="orgName"/>
<Property name="PTC_DD_LANGUAGE_TL"/>
</OtherAttributes>
</Type>
<Type name="PS">
<IdentifyingAttributes>
<Property name="uri"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="objNumber"/>
<Property name="orgName"/>
<Property name="PTC_DD_LANGUAGE_TL"/>
</OtherAttributes>
</Type>
<Type name="BOM">
<IdentifyingAttributes>
<Property name="objNumber"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="uri"/>
</OtherAttributes>
</Type>
<Type name="GRAPHIC">
<IdentifyingAttributes>
<Property name="uri"/>
<Property name="PTC_DD_LANGUAGE"/>
<Property name="SIM.authoringLanguage"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="orgName"/>
<Property name="CADName"/>
<Property name="SIM.lastUpdated"/>
<Property name="SIM.lastUpdatedSrc"/>
<Property name="SIM.lastUpdatedMeta"/>
<Property name="checksum"/>
<Property name="collectedDate"/>
</OtherAttributes>
</Type>
<Type name="ILLUSTRATION">
<IdentifyingAttributes>
<Property name="uri"/>
<Property name="PTC_DD_LANGUAGE"/>
<Property name="SIM.authoringLanguage"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="orgName"/>
<Property name="CADName"/>
<Property name="SIM.lastUpdated"/>
<Property name="SIM.lastUpdatedSrc"/>
<Property name="SIM.lastUpdatedMeta"/>
<Property name="checksum"/>
<Property name="collectedDate"/>
</OtherAttributes>
</Type>
<Type name="EMBEDDEDIMG">
<IdentifyingAttributes>
<Property name="uri"/>
<Property name="PTC_DD_LANGUAGE"/>
<Property name="SIM.authoringLanguage"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="CADName"/>
<Property name="orgName"/>
<Property name="SIM.lastUpdated"/>
<Property name="SIM.lastUpdatedSrc"/>
<Property name="SIM.lastUpdatedMeta"/>
<Property name="checksum"/>
<Property name="collectedDate"/>
</OtherAttributes>
</Type>
<Type name="P2CRELATION">
<IdentifyingAttributes>
<Property name="objNumber"/>
</IdentifyingAttributes>
</Type>
<Type CascadeSeq="CSV" name="GROUP">
<IdentifyingAttributes>
<Property name="uri"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="objNumber"/>
<Property name="orgName"/>
</OtherAttributes>
</Type>
<Type CascadeSeq="CSV" name="PARTSLIST">
<IdentifyingAttributes>
<Property name="uri"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="objNumber" reference="number"/>
<Property name="orgName"/>
<Property name="PTC_DD_LANGUAGE_TL"/>
</OtherAttributes>
</Type>
<Type>
<IdentifyingAttributes>
<Property name="uri"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="objNumber" reference="number"/>
<Property name="orgName"/>
</OtherAttributes>
</Type>
</Source>
<Source SourceID="2" name="KIT" priority="2">
<Type>
<IdentifyingAttributes>
<Property name="objNumber"/>
<Property name="orgName"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="uri"/>
</OtherAttributes>
</Type>
</Source>
<Source SourceID="1" name="SAP" priority="1">
<Type>
<IdentifyingAttributes>
<Property name="objNumber" xpath="OBJNUMBER"/>
<Property name="orgName" xpath="ORGNAME"/>
</IdentifyingAttributes>
<OtherAttributes>
<Property name="uri"/>
</OtherAttributes>
</Type>
</Source>
</IMANConfig>