Migrating Extended Enterprise BOs
A custom schema definition file (XSD) is provided for every Enterprise business object shipped with the integration. The Enterprise business object can be modified by changing these custom files. The XSDs are incorporated in the Enterprise business object so that any custom extensions that are added to them are protected when patches or upgrades are applied.
Any changes made to these custom XSDs in the 11g version should be manually merged to the code line in the 12c version.
To migrate the extended Enterprise BOs:
1. Copy the modified the Enterprise business object XSD file(s) to the correct location on the application server in 12c.
Example: <AIA_HOME>/AIAMetaData/AIAComponents/EnterpriseObjectLibrary/<Path_to_xsd>
2. Update the modified XSD (in step 1) to MDS repository for changes to take effect.
3. To deploy the modified XSDs:
a. Run the middleware. Run the Home/user_projects/domains/soa_domain/soa/aia/bin aiaenv.bat or aiaenv.sh depending on the operating system.
This sets the environment variables required by the build process.
b. Update the metadata:
a. Browse to the folder at $DOMAIN_LOCATION/soa/aia/MDSUtils/ UpdateMetaDataDP.xml and open the deployment plan file UpdateMetaDataDP.xml.
b. Update the UpdateMetaDataDP.xml file. Insert include tags for each resource group that you want to add to the MDS.
Example to update XSD file:
<fileset dir=”${env.SERVICES_LOCATION}/AIAMetaData”>
<include name=”AIAComponents/ EnterpriseObjectLibrary/Industry/Utilities/Custom/EBO/WorkOrder/V1/ CustomWorkOrderEBO.xsd” />
</UpdateMetadata>
</Configurations>
</DeploymentPlan> “Run the update utility.
Linux:
ant -f $SOA_HOME/aiafp/Install/AID/AIAInstallDriver.xml - DDeploymentPlan=$DOMAIN_LOCATION/soa/aia/MDSUtils/ UpdateMetaDataDP.xml
Windows:
ant -f %SOA_HOME%\aiafp\Install\AID\AIAInstallDriver.xml - DDeploymentPlan=
%DOMAIN_LOCATION%\soa\aia\MDSUtils\UpdateMetaDataDP.xml
This process prompts for the user name and password. Enter these details to complete the process.