For resource adaptor entities and profile tables, deploy an OID suffix mappings descriptor document to achieve static OID coverage. Use build scripts to install or uninstall an OID suffix mappings descriptor document for an application.

The following Ant script shows how to install the OID suffix mappings descriptor document for a resource adaptor:

<target name="deploy-http-ra-du" description="Deploy HTTP resource adaptor" depends="login, copy-http-ra-keystore, deploy-rhino-api-compatibility-lib">
    <slee-management>
        ...
        <install srcfile="dus/oid-suffix-mappings.json" url="file:lib/oid-suffix-mappings.json" type="oid-suffix-mappings"/>
        ...
    </slee-management>
</target>

Uninstall the OID suffix mappings descriptor document when the relevant application is removed, as the document might interfere with future deployments.

The following Ant script shows how to uninstall an OID suffix mappings descriptor document:

<target name="undeploy-http-ra-du" description="Undeploy HTTP resource adaptor" depends="undeploy-http-test-service">
    <slee-management>
        ...
        <uninstall url="file:lib/oid-suffix-mappings.json"/>
        ...
    </slee-management>
</target>
Previous page