ODI ( Oracle Data Integrator ) and Git Repository Integration Basic Steps
1. ODI/GIT Integration Step by Step Document
RequiredODIVersionforGIIIntegration:- 12.2.1.2.6 or later- 12.2.1.2.3 is recommended version.
Prerequisites:
1. GIT Repositorysetup
2. ODI Repositorysetup
RelationbetweenODIrepositoryandGIT repositoryisone to one.
Limitations:- It isdifficultto use multiplebranchesandmerge concept(i.e developmentonmultiple
brachesand the merge all branches) withcurrent versionof ODI.
Followingare mainstepsinvolvedinsuccessfullyintegration of ODIand GIT isas follows.
1. Enable GitVersionsupport in ODI.
Team -> SwitchVersioningapplications ->selectGit.
2. Connectingto GIT Repositoryfrom ODI.
Before startingcommittingcode toGIT repositorywe needtomake connectiontoGITrepository.
Team -> Settings ->EditConnection
2. AfterclickingEditconnection,itwill popupGITConnectionwindow.
Main ImportantPropertiesinthiswindow are asfollows.
GIT URL -> Specifiesthe GITrepositoryconnectionURL
User Name andPassword for establishingconnectiontoGIT.
CurrentlyODIsupportfollowingtypesof AuthenticationforGITrepository.
Http Basic Authentication
GIT Basic Authentication
SSL Authentication
File BasedAuthentication
SSH Authentication
Note : Inabove example ,Ihave usedSSL authenticationforconnectingtomytestrepository.
3. Aftersuccessful establishingconnection,InODIstudio we cansee "Git Master" -- here Masterthe
Branch inGit repository,bylookingatthiswe can make sure successfullyestablishedconnectiontoGIT
repository.
At thisstage,all of your ODI code synchedtoGIT repositoryinformof XML files.
In side GIT repositorywe cansee twofolders one isfor"Master Repository"andanotherone isfor
"Work Repository".
Like followingscreenshot.
Contentsof Master RepositoryfolderonGITis as follows.
4. Contentsof Work RepositoryfolderonGITis as follows.
Sample ProjectContentsare asfollowsonGIT repository.
Above Screenshotshowscontentsof Project"GVS_RND"onGIT Repository.
GVS_RND-> IsfolderinProject -> ItcontainsMappings,Packages and Procedures.
KnowledgeModules ->Containsall differenttypesof knowledge modules(i.e LKM,IKM,etc..)
Variables ->All VariablesinProject.
5. How to CheckIn/Commit ODI Code into GIT:
AftersuccessfullconnectiontoGIT,We can check inall objects(i.e Packages,Projects,Folders,Mappings,
KM's, Variablesetc) fromODI studio.
Check-Inof Project:
RightClickon Project -> Version ->AddtoVCS. - withthiswe are addingprojecttoGIT repository.