ODI 12c - SCM
ODI 12c - SCM
ODI 12c - SCM
Purpose
This tutorial covers using Apache (http://www.apache.org/)™ Subversion (https://subversion.apache.org/)® for ODI (http://www.oracle.com/goto/odi) software
configuration management (SCM (http://en.wikipedia.org/wiki/Software_configuration_management)) and object version control.
(Apache, Apache Subversion, and the Apache feather logo are trademarks of The Apache Software Foundation. Subversion and the Apache Subversion logo are registered trademarks of The
Apache Software Foundation.)
Time to Complete
Approximately 1 hour.
Background
Previous versions of ODI had an internal form of object version control. The internal versions were stored in the ODI Master Repositories. Starting with version 12.2.1,
you can use an external tool for version control such as Subversion. This requires a separate repository. Subversion maintains its repository in the file system. It does
not need a database for it. So Subversion's repository and ODI's repository have no connection. In the ODI repository, you configure Subversion connectivity by
specifying the underlying Subversion repository URL.
Scenario
Subversion has already been installed for another project. ODI has already been installed for another project. This lab connects the two so that a data warehouse
administrator can use Subversion for ODI SCM.
Prerequisites
Have at least 6 GB RAM available if you're using the Oracle Data Integrator Getting Started VM (http://www.oracle.com/technetwork/middleware/data-integrator/odi-
demo-2032565.html)
Have access to or have installed the sample lab artifacts
Have attended ODI 12c training, [D82167GC10 (http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?
page_id=609&p_org_id=1001&lang=US&get_params=dc:D82167GC10,p_preview:N)] Oracle Data Integrator 12c: Integration and Administration, or equivalent
experience.
Typographic Conventions
These are the conventions used throughout this practice to indicate who types what.
Filename or /path/subdirectory/ . Often you can navigate to a destination without having to type it.
Command or value that you type, such as gedit .bashrc . Be mindful of periods at the end of sentences that are not part of the command.
Some variable or <variable> as something you replace. Often prefixed with "my" such as <myName> or <myHost> .
A Menu Item or dialog Field Prompt or Tab name. For example, "click the Designer tab and select Models > New Model".
Generally a red rectangle in the graphics is not part of the original image, but added to draw your attention to an item.
1 Setup / Administration
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 1/45
10/6/23, 11:20 AM ODI 12c: SCM
1. Setup / Administration
The SVN repository and its http server should already be installed, configured, started, and available in the VM.
1. Open the web browser and go to http://localhost/svn/svnrepository . Enter User Name: odiuser1 and Password: oracle .
Click OK to continue. You should see the following success message with the version displayed.
2. If the URL does not work in the previous step, then run the following commands as root to (re)start the httpd server:
[OS]$ su - root
[OS]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[OS]# exit
[OS]$
3. OPTIONAL: After class, you can find out more about Subversion by clicking the logo: (http://subversion.apache.org).
1. If ODI Studio is not started, then start it and Connect to Repository. If you are asked for a wallet password, enter welcome1 .
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 2/45
10/6/23, 11:20 AM ODI 12c: SCM
2. Connect to Login Name: ODI LCM Trunk. (This is the main login for these series of labs.)
Click OK to continue.
In this environment, there is only one choice for a version application. You could use others.
5. Click Disconnect in the Confirmation dialog to disable Legacy Version Control System.
ODI Studio will now use SVN as the team versioning application.
2. On the main menu bar, go to Team > Subversion > Edit Connection.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 3/45
10/6/23, 11:20 AM ODI 12c: SCM
Click OK .
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 4/45
10/6/23, 11:20 AM ODI 12c: SCM
b. Set SVN Project Name: ODI_BETA and add Comments that it is the trunk of the svn project where ODI artifacts are maintained.
c. Set ODI_BETA for the SVN project name, select Trunk. Select VCS Key. Click Enter VCS Key . Enter New VCS Key: oracle123 twice.
Click OK on Enter VCS Key dialog. (VCS stands for "Version Control System.") Click OK on the Configure dialog.
The SVN configuration is done and it can be used for creating ODI artifacts versions. (There is no "Test" button.) You may be prompted to disconnect from the
repository for the changes to take effect. Reconnect to the ODI LCM repository before continuing with the steps in this OBE.
During the lifecycle of an ODI object (folder, datastore, package, most any kind of object), you may add, view, save, compare, change, restore, and delete versions of
that object.
1. On the Designer tab, expand Projects > Demo > Sales Administration Demo > Mappings.
Right-click Load TRG_SALES and select Version > Subversion > Add to VCS.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 5/45
10/6/23, 11:20 AM ODI 12c: SCM
2. A dialog is opened showing that the parent objects for the mapping are also going to be added to VCS.
Set Comments as something similar to, " This is the initial state. "
Click OK .
This will be done in two waves: the first wave is adding most of the objects, but we will pretend that the last four objects did not exist yet. The second wave we will
pretend happened some time later after four new objects are created and now need to be versioned.
1. On the main menu bar, go to Team > Subversion > Add Non-versioned Objects.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 6/45
10/6/23, 11:20 AM ODI 12c: SCM
2. In the Add ODI Objects to Subversion dialog, deselect the last four entries, and set Comments as something similar to,
" I deselected the last four entries. "
4. Repeat step 2.2.1 again. Only the four objects that were not added earlier appear in the list.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 7/45
10/6/23, 11:20 AM ODI 12c: SCM
1. On the Designer tab, expand Models > ODI_DEMO > Sales Administration > TRG_CUSTOMER. Right-click TRG_CUSTOMER and select Version >
Subversion > Version History.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 8/45
10/6/23, 11:20 AM ODI 12c: SCM
2. Expand Version Search Criteria, and then make sure that Trunk and Date Range are selected as Search Criteria.
3. The object versions available in the Subversion repository are listed in the dialog.
Columns are Version, Action, Path, Date, SVN User, ODI User, Comments, and Copy Source. Your values for Version, and of course Date, will be different from what is shown.
4. Select the entry from the list and click Compare ( ) to compare the Subversion version with repository object.
You have viewed version history. In initial (trivial) cases, that may be no history of differences.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 9/45
10/6/23, 11:20 AM ODI 12c: SCM
1. On the Designer tab, expand Models > ODI_DEMO > Sales Administration > TRG_CUSTOMER > Attributes. Right-click Attributes and add any New
Attribute, for example, Email.
2. Right-click TRG_CUSTOMER and select Version > Subversion > Create VCS Version.
3. Add Comments. You do not need to add name/date of change as that is included automatically.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 10/45
10/6/23, 11:20 AM ODI 12c: SCM
Click OK .
Click OK .
5. View the version history again by right-clicking Models > ODI_DEMO > Sales Administration > TRG_CUSTOMER and select Version > Subversion > Version
History.
Multiple versions of the object are shown in the version history. (Scroll horizontally to see them all, especially the comments.)
1. Open the Version History Dialog by expanding Models > ODI_DEMO > Sales Administration > TRG_CUSTOMER, right-click TRG_CUSTOMER, and select
Version > Subversion > Version History.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 11/45
10/6/23, 11:20 AM ODI 12c: SCM
Click Apply .
3. The Version Compare Results window is opened showing the difference between the two object versions.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 12/45
10/6/23, 11:20 AM ODI 12c: SCM
4. Click the Coloring and Filtering icon ( ). Deselect the Unchanged (white) filter for both Object and Field. This would now show only the difference between the two
objects.
You can further narrow the difference if you are interested in only additions or deletions. You can also change the colors used for a given status (for example, if you are red/green colorblind).
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 13/45
10/6/23, 11:20 AM ODI 12c: SCM
Notice the two version numbers selected (in this case 224 and 228, your numbers may be different) are shown at the top of the columns. Close the Version Compare Results tab.
6. Open Version History again (step #1) and select only one entry, the top (earliest) one. Click Compare ( ) to compare the SVN version with the current (latest)
object in the repository.
Your version numbers may vary from what is shown in this example.
7. Click the Coloring and Filtering icon ( ) and uncheck Unchanged (white) checkbox to see only the modified attributes.
Notice the right-hand column at the top used to have a Version number, now it simply says, "Repository Object." Close the Version Compare Results tab.
You have compared versions of objects to each other and compared an object to the current repository object.
There are two flavors of restore: Without Merge and With Merge. They are pretty similar right up until the last step.
WITHOUT MERGE:
1. On the Designer tab, expand Models > ODI_DEMO > Sales Administration > TRG_CUSTOMER. Right-click TRG_CUSTOMER and select Version >
Subversion > Restore from VCS.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 14/45
10/6/23, 11:20 AM ODI 12c: SCM
2. Click Select Version in the Restore Object from Subversion Repository dialog.
Click OK . Note that hovering over a truncated field (such as Date) displays the whole field (in this case, with hh:mm:ss).
4 N th t th V i fi ld i l t d li k OK
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 15/45
10/6/23, 11:20 AM ODI 12c: SCM
4. Now that the Version: field is populated, click OK .
5. The Import Report is shown for successfully importing the object from repository. Open the TRG_CUSTOMER datastore, expand Attributes, and verify that your newly
added column (Email) is not present anymore. (You may have to Refresh ( ) to clear out the column from the Designer > Models tab.)
WITH MERGE:
1. Perform Step #1-2 again and select the newest version this time, which has the newly-added attribute.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 16/45
10/6/23, 11:20 AM ODI 12c: SCM
Click OK .
Click OK .
3. The difference in the repository object and Subversion object is shown in the Compare Results tab.
Notice that it is showing the missing attributes in the repository copy of the object which is present in VCS copy.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 17/45
10/6/23, 11:20 AM ODI 12c: SCM
Scroll down (or filter) to see the conflicts marked with a red x on the Attribute icon ( ).
5. In Merge Results, click Edit Repository Object ( ) to open the corresponding datastore. In TRG_CUSTOMER , click Add ( ) and make changes as needed.
You have done a restore from Subversion both with and without a merge (manual resolution).
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 18/45
10/6/23, 11:20 AM ODI 12c: SCM
1. On the Designer tab, right-click Models > ODI_Demo and select Version > Subversion > Create VCS Version.
2. Add Comments.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 19/45
10/6/23, 11:20 AM ODI 12c: SCM
Notice TRG_SALES is missing from the Designer Models, and is so noted in the Action as Deleted. Click OK twice.
5. On the main menu bar, go to Team > Subversion > Restore Deleted Object.
Click Apply .
7. Select the TRG_SALES entry to restore and click the Restore object icon ( ).
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 20/45
10/6/23, 11:20 AM ODI 12c: SCM
If the Import Report looks okay and says that TRG_SALES has been imported successfully, Close the report, then Close the Restore Deleted dialog.
8. Click Refresh ( ) and verify that the deleted datastore TRG_SALES has reappeared in the list of Models.
Tag and label corresponds to same thing. A tag/label is applied a particular version of a set of objects/files so that the same set of objects versions can be retrieved
from SVN system using this tag. For example, Tag T1 is created for file A version 21 and file B version 51. So whenever you retrieve files for Tag T1 you will always
get A v21 and B v51.
A branch is created from a tag so that so that any changes made on the branch are isolated within the branch.
The following diagram illustrates the versions, tags and branch for a file in a trunk and branch:
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 21/45
10/6/23, 11:20 AM ODI 12c: SCM
There are three kinds of tags: full, partial, and branch from tags.
a. On the main menu bar, go to Team > Subversion > Create Full Tag.
Click OK . (This may take a while.) Click OK in the success Information dialog.
a. On the main menu bar, go to Team > Subversion > Create Partial Tag.
b. Drag and drop Version Control Folder under Projects > Beta and the Version Control folder under Models on the left side of Objects to be Added. It
automatically brings in all the dependent objects.
c. Set Tag name as Partial
Label VCS and comment.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 22/45
10/6/23, 11:20 AM ODI 12c: SCM
a. On the main menu bar, go to Team > Subversion > Create Branch from Tag.
b. Set the Branch name as DevBranch and comment, select the Partial Label VCS tag.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 23/45
10/6/23, 11:20 AM ODI 12c: SCM
You have created three kinds of tags: full, partial, and branch from.
1. On the Designer tab, expand Models > ODI_DEMO > Sales Administration > TRG_CUSTOMER, then right-click TRG_CUSTOMER and and select Version >
Subversion > Version Tree.
The Version Tree editor is opened showing different version, tags, and branches for the object from Subversion.
You have to scroll pretty far horizontally to see everything. Notice the Thumbnail in the top left corner for fast scrolling.
2. Click different versions to view the version attributes. (Your numbers may vary.)
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 24/45
10/6/23, 11:20 AM ODI 12c: SCM
Rectangles are versions, ovals are actions. Yellow oval means Action=Added, White oval means Action=Modified.
3. Select two version nodes and click Compare ( ) to compare the versions.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 25/45
10/6/23, 11:20 AM ODI 12c: SCM
4. Select a single version node and click Compare ( ) to compare it with Repository Object.
Click OK .
6. Click Refresh ( ) to refresh and see the full version tree again. Close the TAB_TRG_CUSTOMER.xml tab.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 26/45
10/6/23, 11:20 AM ODI 12c: SCM
1. From the main menu bar, select ODI > Disconnect. Then Connect to Repository, to the blank repository using Studio Login ODI LCM Branch.
The User/Password should be pre-populated. Click OK . (If you are ever prompted for the Wallet password, it is welcome1 .)
2. Select Subversion as the Versioning Application, configure Connection URL/User/Password, and Settings Work/Merge area. This was covered in all of Topic 1.2 and
Topics 1.3.1 through 1.3.3. Studio will remember many of the values as defaults from the previous Repository configuration.
c. Select VCS Key. Click Enter VCS Key . Enter New VCS Key as oracle123 twice. Click OK .
Note: You can also create a new branch from a tag by clicking New Branch .
Click OK . You are required to Disconnect then reconnect in order for the changes to take effect.
1. From the main menu bar, go to Team > Subversion > Populate Repository from Branch/Trunk.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 27/45
10/6/23, 11:20 AM ODI 12c: SCM
This is still using the new repository ODI LCM Branch from the previous topic 3.3.
As it warns you, this could take a while. Close the Import Report if it looks successful.
3. On the Designer tab, click Refresh ( ) and verify that the Sales Administration Demo mappings and models are populated in Studio.
1. Still using the new repository login ODI LCM Branch from the previous topic 3.3, make following changes:
a. Duplicate Models > ODI_DEMO > Sales Administration > TRG_CUSTOMER datastore.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 28/45
10/6/23, 11:20 AM ODI 12c: SCM
b. Add a New Attribute to the Models > ODI_DEMO > Sales Administration > TRG_CUSTOMER datastore.
c. Open Projects > Demo > Sales Administration Demo > Mappings > Load TRG_CUSTOMER and edit the Target Expression SRC_CUSTOMER.CUSTID + 1 to be
SRC_CUSTOMER.CUSTID
+ 2 . (Any trivial change to the mapping is the goal.)
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 29/45
10/6/23, 11:20 AM ODI 12c: SCM
2. Right-click Designer > Models > ODI_DEMO and select Version > Subversion > Create VCS Version.
Add a Comment.
Click OK twice.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 30/45
10/6/23, 11:20 AM ODI 12c: SCM
Add a Comment.
Click OK twice.
4. Log out (ODI > Disconnect) and log in (Connect to Repository) with ODI LCM Trunk main Login Name for trunk.
Click OK .
5. On the main menu bar, go to Team > Subversion > Create Full Tag.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 31/45
10/6/23, 11:20 AM ODI 12c: SCM
Select Merge Type: Branch radio button, and select the branch Source: DevBranch from drop down.
The default Merge Name (with date/time suffix) is fine. Click OK . If the Merge Summary looks successful, click Close .
7. Merge is performed and the Merge Summary is shown. Examine the conflicts in the objects that are modified in the branch.
8. Close Merge Summary page and the Merge Results editor is shown with the Merge Objects list. Select Merge Object Filter as Conflict to view only the
conflicted objects.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 32/45
10/6/23, 11:20 AM ODI 12c: SCM
9. Select the datastore TRG_CUSTOMER and click Fix Merge Conflict ( ) which will open the Merge Conflict Resolution tab with the differences between the two
objects.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 33/45
10/6/23, 11:20 AM ODI 12c: SCM
10. Inspect the differences and click Edit repository object ( ) which will open the datastore to make changes.
11. Notice the red X indicator ( ) next to the datastore in the navigation tree. Open the datastore for editing. Add/modify the datastore based upon the differences:
remove the Gender attribute, then save the datastore.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 34/45
10/6/23, 11:20 AM ODI 12c: SCM
13. Go back to the Merge Object Selection tab. Notice the Mark Object Merged column. The datastore is marked as resolved.
14. Resolve conflicts in Load TRG_CUSTOMER : Change Target expression for CUST_ID attribute to SRC_CUSTOMER.CUSTID + 2 . Mark them as resolved.
15. Mark all other object as resolved by Selecting All objects ( ) and click Save All ( ).
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 35/45
10/6/23, 11:20 AM ODI 12c: SCM
You automatically get to see the Summary report of the last merge you just did, this option shows you merges that may have happened before that.
2. Accept the defaults. (There is currently only one merge to choose from.)
Click OK .
3. Inspect the Merge Summary reports available by changing the Merge Status filters (All, Completed, In Progress) on the previous dialog.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 36/45
10/6/23, 11:20 AM ODI 12c: SCM
If any objects are In Progress , then the whole merge is In Progress . Click Close .
You have created tags, viewed version trees, made branches, and merged them.
4. Release Management
You will create, view, apply, and roll back archives and patches.
There are several kinds of Deployment Archives: Full, Selected, and from VCS tags.
a. From the main menu bar, go to Team > Deployment Archives > Create From Repository > Full Repository.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 37/45
10/6/23, 11:20 AM ODI 12c: SCM
Click OK on Create dialog. (This takes a long time, approx 5 minutes. Get coffee.) Click OK on Success dialog.
a. From the main menu bar, go to Team > Deployment Archives > Create From Repository > Selected Objects.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 38/45
10/6/23, 11:20 AM ODI 12c: SCM
e. Repeat Step 4.1.2.a. through 4.1.2.c. while selecting only a couple of mappings to create a Patch Deployment Archive. MAKE SURE you select Patch Deployment
Archive (not Initial as the default).
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 39/45
10/6/23, 11:20 AM ODI 12c: SCM
[OS]$ cd ~/Documents/
[OS]$ ll
total 12208
-rw-r-----. 1 oracle oinstall 5931861 Feb 6 21:44 EXEC_my_full_archive.zip
-rw-r-----. 1 oracle oinstall 530 Feb 6 22:04 EXEC_my_patch_archive.zip
-rw-r-----. 1 oracle oinstall 523 Feb 6 21:33 EXEC_my_selective_archive.zip
-rw-r-----. 1 oracle oinstall 6341439 Feb 6 21:44 my_full_archive.zip
-rw-r-----. 1 oracle oinstall 105352 Feb 6 22:04 my_patch_archive.zip
-rw-r-----. 1 oracle oinstall 105344 Feb 6 21:33 my_selective_archive.zip
[OS]$
a. On the main menu bar, go to Team > Deployment Archives > Create from VCS Label.
b. Set Deployment Archive Name, Folder Path, VCS label, and Description.
c. Set export key as oracle123 .
Click OK . Click OK on Success dialog. A Deployment Archive is created with the objects present in the VCS tag/label.
You have created multiple kinds of deployment archives (zip files) and stored them in /Documents .
1. On the main menu bar, go to Team > Deployment Archives > View Details.
2. Set the Folder Path where the Deployment Archives were created.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 40/45
10/6/23, 11:20 AM ODI 12c: SCM
You cannot type the Folder Path, you must use Browse ( ).
You have viewed initial and patch deployment archives (zip files) from /Documents .
1. On the main menu toolbar, do ODI > Disconnect, then Connect to Repository, then switch to Login for ODI LCM Production. (The User/Password should be pre-
populated, but if not, then use SUPERVISOR/welcome1 .)
The production repositories are not supposed to be connected to SVN. SVN configuration is allowed only for development repositories.
2. On the main menu bar, go to Team > Deployment Archives > Initialize Deployment Repository.
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 41/45
10/6/23, 11:20 AM ODI 12c: SCM
If the options are grayed out, then you must not have picked the PRODUCTION repository.
3. Set the path to the folder /home/oracle/Documents (or wherever you put them).
You cannot type the Folder Path, you must use Browse ( ).
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 42/45
10/6/23, 11:20 AM ODI 12c: SCM
The export key is what is used for the import operation... Click OK on Success dialog.
1. On the main menu bar, go to Team > Deployment Archives > Patch Deployment Repository.
2. Set the Path to the folder /home/oracle/Documents (or wherever you put them), and select my_patch_archive patch deployment.
(See the discussion on step 4.3.4 for the difference between my_patch_archive and EXEC_my_patch_archive .)
Select Create Rollback Deployment Archive, set the Rollback DA Path where rollback deployment archive zip is to be created.
Click OK .
1 O th i b t T D l t A hi I t
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 43/45
10/6/23, 11:20 AM ODI 12c: SCM
1. On the main menu bar, go to Team > Deployment Archives > Inventory.
2. The list of patch and full Deployment Archives are listed in the tables.
Click Close .
You have viewed the patches and deployment archives that have been applied to the production repository.
1. On the main menu bar, go to Team > Deployment Archives > Rollback.
a. Set Deployment Archive Folder Path: to /home/oracle/Documents (or wherever you put them).
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 44/45
10/6/23, 11:20 AM ODI 12c: SCM
Click OK .
You have managed the creation, release, rollout, and rollback of deployment archives.
Perform the initial setup and administration of Apache Subversion (SVN) and ODI
Check objects in and out of SVN, add, delete, and restore objects
Configure branch and label management
Manage releases of software
Resources
Credits
https://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/odi_12c/odi12c_newfeatures/scm_version.html#overview 45/45