Migrating Custom Composites
All Requester and Provider ABC Services provided with this integration pack have extension points available to extend the functionality using custom composites.
All custom extension composites can be migrated from the 11g version to the 12c version. Ensure you have a proper backup of the 11g process before doing the upgrade from the 11g version to the 12c version.
Open the 11g composite in Jdeveloper 12.2.1 and save the composite. The directory structure of the composite changes and some files are added and deleted.
Manual changes to be made when migrating from the 11g version to the 12c version:
1. All transformations currently are either in the XSL folder or under the composite directory. They must be moved to the Transformations folder and all references in the .bpel file should be changed accordingly.
2. Move all the WSDLs to the WSDLs folder.
3. Move all BPEL to the BPEL folder.
4. Move all schemas to the Schemas folder.
5. Move all the adapter related files to the Adapters folder.
6. Move all human task related artifacts to the HumanTasks folder.
7. Move all the mediator artifacts to the Mediators folder.
Make sure that there are no errors. Deploy directly from JDev or using the CustomDP file.
Steps to deploy using the custom DP script for deployment:
An example of FieldWorkCustomDP.xml file to deploy and undeploy composite files is found in $AIA_HOME/pips/FieldWork/ DeploymentPlans/ FieldWorkCustomDP.xml.
<DeploymentPlan component=”FieldWork” version=”3.0”>
<Deployments>
<Composite compositeName=”<processname>” compositedir=”${AIA_HOME}/ services/industry/Utilities/OUCCB/RequestorABCS/<processname>” revision=”1.0” wlserver=”pips.FieldWork” action=”deploy” />
</Deployments>
</DeploymentPlan>
Once the custom script is ready, execute it using the following command:
Linux:
ant -f $SOA_HOME/aiafp/Install/AID/AIAInstallDriver.xml - DDeploymentPlan=$AIA_HOME/pips/FieldWork/DeploymentPlans/ FieldWorkCustomDP.xml -DPropertiesFile=$DOMAIN_LOCATION/soa/aia/bin/AIAInstallProperties.xml
Windows:
ant -f %SOA_HOME%\aiafp\Install\AID\AIAInstallDriver.xml - DDeploymentPlan=%AIA_HOME%\pips\FieldWork\DeploymentPlans\Fi eldWorkCustomDP.xml - DPropertiesFile=%DOMAIN_LOCATION%\soa\aia\bin\AIAInstallProperties.xml
This process prompts for the user name and password. Enter these details to complete the process.