<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Akshay Saxena | Innovate | Integrate | Cloud on Medium]]></title>
        <description><![CDATA[Stories by Akshay Saxena | Innovate | Integrate | Cloud on Medium]]></description>
        <link>https://medium.com/@akshay.saxena_74422?source=rss-7861aa83679a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_pFF4o3DWSLXIFpY-xUVUw.png</url>
            <title>Stories by Akshay Saxena | Innovate | Integrate | Cloud on Medium</title>
            <link>https://medium.com/@akshay.saxena_74422?source=rss-7861aa83679a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 14:20:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@akshay.saxena_74422/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[PREFERENCE B : Using Visual Builder Studio VBS]]></title>
            <link>https://medium.com/@akshay.saxena_74422/preference-b-using-visual-builder-studio-vbs-d2eafa43b889?source=rss-7861aa83679a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d2eafa43b889</guid>
            <dc:creator><![CDATA[Akshay Saxena | Innovate | Integrate | Cloud]]></dc:creator>
            <pubDate>Thu, 15 Jun 2023 15:16:17 GMT</pubDate>
            <atom:updated>2023-06-15T15:16:17.559Z</atom:updated>
            <content:encoded><![CDATA[<h3>PREFERENCE B : Using Visual Builder Studio VBS</h3><p>Use-case : Oracle Integration (OIC), as you know, includes Visual Builder Cloud Service which allows open-source standards-based integration to develop, collaborate on, and deploy applications within Oracle Cloud.</p><p>Just for this, it’s easy to use Visual Builder Studio, the built-in tool, that allows developers to manage the software life cycle automating the development.</p><p>Oracle VB Studio natively supports Oracle Integration artifacts, so we can leverage this one to easily promote our integration flows from an environment to another one moving for example our integration projects from development to test environment once you we completed the new implementation and of course ready to test it.</p><p>Everyone is aware of the continuous integration and continuous development relevance which is nowadays the mantra of DevOps practices.</p><p>Oracle Integration is obviously part of the end2end lifecycle development being involved for connecting legacy applications usually deployed on-premise and SaaS applications often provided by Oracle Cloud or hosted on other Cloud providers.</p><p>It doesn’t matter where the applications are, where the integration is; the continuous delivery of new integration processes and versions need to be included in a smart and automated tool able to reduce the gap between the different developer teams.</p><p>Developers, who have the ownership to build new services and IT Operators, who have the task of deploying new code versions to the different environments, need to converge on one single tool to simplify complex procedures that can be simply considered as two sides of the same coin.</p><p>The common need is to keep all environments aligned with the latest implementations, possibly having everything monitored and tracked to grant audit activities in terms of compliance; this is a must when the project is starting to become critical and relevant at the enterprise level.</p><p>That’s the right path to be used for promoting projects from Test to Production or from Production to a DR environment, this one probably running on a different OCI Region.</p><p>Working with the current implementation you can:</p><ul><li>Export integration flows</li><li>Import integration flows</li><li>Delete integration flows</li></ul><p>As shown below in the picture, the options we have working with Oracle Visual Builder Studio and OIC</p><p>Herewith an example of pipeline that you can easily configure to automate the Export / Import procedure and defining in cascade all steps (“jobs”) to define the required actions, of course this one below just for demo purposes. This procedure will be later explained step-by-step just in case you want to reproduce this one for your own purposes</p><p>In order to export our assets from the development environment, for example, it’s enough to configure our source and target environments about the OIC instances</p><p>How to configure our OIC environments?</p><p>This is a straightforward operation working with VB Studio, as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/0*4xF2NB_6OPyT9j3X" /></figure><p>We can create all connections we need to configure properly the tool</p><p>Once we have configured our instances, we need to build our “pipeline” so to automate the procedure when needed</p><p>Each pipeline can include all “jobs” we need (in the previous screenshot we have used two different jobs “select your OIC project” and “import OIC project”) so to build the right chain among the different available “jobs”</p><p>To create a job, select the Build link from the left panel of the Visual Builder studio and then we can create a new job</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/526/0*KGQtX_5R0kMKEDeb" /></figure><p>Each job has some options and parameters to be configured as below the screenshot shows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/0*NVS4x2_C92WnlezU" /></figure><p>Select the “Parameters” tab to configure the string parameter:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/0*YK7lKtYnLLUhn75J" /></figure><p>The “Default Value” is the value of the integration flow version on our OIC instance to be selected and moved to the new instance. Of course, this value can be changed when we run the build so to properly set the right integration flow version</p><p>Now it’s time to select the “Steps” tab to identify the OIC instance from where we want to export our integration flow</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7zxyNDmOzDaLiWLz" /></figure><p>If needed, we can also include the asserter recording just flagging the box. In this case we are moving (exporting / importing) the integration flow named “ECHO” and working with its *.iar file once we have exported this one.</p><p>Now you can click the “After Build” tab to configure it as below described. The *.iar extension is the default extension of the integration flow when you decide to download it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/0*Qn4ADysiUfoOqOex" /></figure><p>Click save and that’s all. Our first job is properly configured now.</p><p>To proceed we are now ready to configure the second job (“import OIC project”).</p><p>In this case, the first step to be accomplished is the configuration of the “Before Build” tab as below shown and adding a “Copy Artifacts” option</p><p>And now, as we did with the first job, we can properly configure the OIC instance target, in our sample, but in this case for the import action.</p><p>We can also check the box about the “activate integration” option so that our integration flow will be imported and started just to have this one ready to be invoked by applications</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*btTBm8STBbNU2Df8" /></figure><p>Also, in this case, we can now save our configuration.</p><p>Once these operations have been completed, we are ready to test our pipeline selecting the start button on the right side of the web page and below shown</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/0*CKPARRdGTtIdeOnx" /></figure><p>If the execution of our “build” is properly configured, we can see the “green flag” of our jobs once we run it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/0*0bWV8iUBh_-iB--g" /></figure><p>Furthermore, we can drill down the execution to look at the log information just in case something wrong having also the chance to download the file including the log for further analysis or if we need to share this one with other people or applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/0*0J0Meh4sdxbCDn8q" /></figure><p>From the Visual Builder Studio “Home page” we can also get information about statistics and previous executions so to track the activities managed on the different resources we have</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/964/0*w9YShO_ZShLvEtcF" /></figure><p>This is for sure the best way to properly manage our environments and the best approach to have under control the lifecycle of our projects and their deployment.</p><p>For further information, look at the really interesting content already published here:</p><p><strong>Oracle Blog</strong></p><p><a href="https://blogs.oracle.com/vbcs/post/cicd-for-oracle-integrations-with-visual-builder-studio">https://blogs.oracle.com/vbcs/post/cicd-for-oracle-integrations-with-visual-builder-studio</a></p><p><a href="https://blogs.oracle.com/integration/post/cicd-implementation-for-oic">https://blogs.oracle.com/integration/post/cicd-implementation-for-oic</a></p><p><strong>Oracle Documentation</strong>:</p><p><a href="https://docs.oracle.com/en/cloud/paas/visual-builder/visualbuilder-manage-development-process/build-your-applications.html">https://docs.oracle.com/en/cloud/paas/visual-builder/visualbuilder-manage-development-process/build-your-applications.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d2eafa43b889" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Phase A2 : Configure The Scripts , Jobs and Pipelines]]></title>
            <link>https://medium.com/@akshay.saxena_74422/phase-a2-configure-the-scripts-jobs-and-pipelines-df12f1169bf3?source=rss-7861aa83679a------2</link>
            <guid isPermaLink="false">https://medium.com/p/df12f1169bf3</guid>
            <dc:creator><![CDATA[Akshay Saxena | Innovate | Integrate | Cloud]]></dc:creator>
            <pubDate>Tue, 11 Apr 2023 15:20:02 GMT</pubDate>
            <atom:updated>2023-04-11T15:20:02.886Z</atom:updated>
            <content:encoded><![CDATA[<h4>Phase A2 : Configure The Scripts , Jobs and Pipelines</h4><p>In previous blog we have seen how to setup your VM with prerequisites</p><p>in this blog we’ll see how we can configure the scripts</p><p><a href="https://medium.com/@akshay.saxena_74422/step-by-step-cicd-implementation-for-oracle-integration-cloud-ba6536bcf595">Medium</a></p><p>Usecase :</p><p>In this blog we’ll see how to setup and run the CICD scripts on a Linux machine environment</p><p><a href="https://blogs.oracle.com/integration/post/cicd-implementation-for-oic#:~:text=Allows%20user%20to%20select%20one,integrations%20to%20a%20target%20environment">https://blogs.oracle.com/integration/post/cicd-implementation-for-oic#:~:text=Allows%20user%20to%20select%20one,integrations%20to%20a%20target%20environment</a>.</p><p>Following features are currently supported in this implementation:</p><p>1) Export integrations and save the artifacts (IARs, connection json files) to the remote repository:</p><ul><li>Allow user to either export all integrations, or only one or more integration(s) from the source OIC environment.</li><li>Commit/Push the exported integration artifacts to the repository.</li><li>Provide Summary Reports.</li></ul><p>2) Pull integration artifacts from the repository and either import or deploy the integrations to the target OIC environment:</p><ul><li>Allows user to select one or more integrations to do import only, or to deploy the integrations to a target environment.</li></ul><p>(To deploy an integration means to import IAR, update connections and activate the integration)</p><h3>Scripts setup</h3><p>Perform the following to setup on your Linux machine to run the bash shell scripts:</p><ul><li>Create a new &lt;cicd_home&gt; directory in your local Linux machine (i.e. /scratch/<strong>cicd_home</strong>).</li></ul><p>Note: &lt;cicd_home&gt; is where all the CICD related files will reside.</p><ul><li>Download the <a href="https://blogs.oracle.com/content/published/api/v1.1/assets/CONTCD806A6914F844B396FB700DC1DAAA76/native/oic_cicd_files.zip?channelToken=ab27f6bb69794bb08279a9ba941a2cd1"><strong>oic_cicd_files.zip</strong></a><strong> </strong>file to your &lt;cicd_home&gt; directory.</li><li>Run unzip to extract the directories and files.</li></ul><p>Once unzipped, you should see the below file structure under your &lt;cicd_home&gt; directory:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*l46hr87L8PMhq4G1yHhevw.jpeg" /></figure><p>the Zip file look like this:-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*FdkhWk7PCn73RypK5yjjFQ.png" /></figure><p>login to Jenkins :-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dDNqNdE0rTSBhGiwjJCljQ.png" /></figure><p>Import each project one by one by clicking on the + icon</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1G__d7utCKpk_BH4WDcyiA.png" /></figure><p>Once you import all the projects , you need to configure all the script parameters according to your environment variables by clicking on the play button in front of each project ( see examples like below )</p><p>01 Export Integrations and push</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ADcC9ubqtg_JA1ouAxAcHg.png" /></figure><p>once you provide all the details click on build button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F17Bj6Q-ds6_V1_uphPPEA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JgOsz7HeuUVMXnFLyXdmBw.png" /></figure><p>You can also provide the your GIT repository url below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EMEF5CF4axn0VCv1l_gt0A.png" /></figure><p>If you want you can trigger the build from external source like your SVC using hook scripts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1y1VURtxLSuhrhF2CrXMTg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m3JpiXskrZWIsAZ4vFYtXQ.png" /></figure><p>02b Deploy Integrations to target</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RIWxu4vBV4NMycRAExur9Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BxXN9vpsp9R8Q8CyHlz2yA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9q6wumP1UVGrRd5VAER-Pg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5cBzuXcwB13Gv1B7vShiBw.png" /></figure><p>Change the parameters for all 4 projects and their build parameters according to your source and target environment, GIT local and remote repository .</p><p>How Jenkins look after Implementation</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/0*etQKOEo9r8Jt7S4I" /></figure><p>Once you configure all the scipts you can click on play button in front of them to run your CI and CD pipeline.</p><p>How CI pipeline will looks like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/0*i4Rm6RWxwYhLmgT3" /></figure><p>How CD Pipeline will look like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/0*x_OQqQTss-pH5yZV" /></figure><p>you can monitor the build output also</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hvgvsvFkIERxSyOOe6LGjg.png" /><figcaption>console output for project 01_Export_Integrarions_and_Push</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HFM0p3DoY2Fhi-imRMpAIQ.png" /><figcaption>console output for project 02_Pull_Integrarions_and_Deploy</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kigZm0lTFTkYHDK7oo3C7g.png" /><figcaption>console output for project 02a_Pull_Integrarions_from_Repository</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w3aALT090HyrRMnYOj8jQg.png" /><figcaption>console output for project 02b_Deploy_Integrarions_to_Target</figcaption></figure><p>Once the build run successfully you can see the integration code from Source OIC Server is been promoted to Target OIC server ( Now you need to go and change the connection credentials and activate the Integration on Target side)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/0*K-CFxO1Iw_5usQsV" /></figure><p>Target OIC Server</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/0*6ze2ZC5vgXdRe4lS" /></figure><p>After Implementation if you want to migrate the content of Jenkins directory from one VM to another</p><p>In Source VM:-<br>cd /var/lib/jenkins<br>zip -r jenkins_bkp_server1.zip . [-r zips the hidden too]<br>Switch to root user.<br>vi /etc/ssh/sshd_config<br>Make PasswordAuthentication yes<br>ChallengeResponseAuthentication yes<br>systemctl restart sshd</p><p>In Destination VM:-<br>cd /var/lib/jenkins<br>zip -r jenkins_bkp_server2.zip .<br>copy it in some directory for future reference.<br>Switch to root user.<br>vi /etc/ssh/sshd_config<br>Make PasswordAuthentication yes<br>ChallengeResponseAuthentication yes<br>systemctl restart sshd</p><p>Now Copy from Source to Destination VM:-</p><p>jenkins@SourceServer:/var/lib/jenkins&gt;<br>scp jenkins_bkp_server1.zip jenkins@&lt;DESTINATION_PUBLIC IP&gt;:/var/lib/jenkins/</p><p>Go to destination VM and unzip the file. Restart Jenkins in both the server and see</p><p>Jenkins hosted form source</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/0*ZDnuVYsLaYfo9CBA" /></figure><p>Cloned Jenkins</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/0*8BPp_FE1JLlP1Dr3" /></figure><p>HAPPY LEARNING<br>will continue further blogs with different preference and their phases.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df12f1169bf3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Preference A1: Using Scripts and Jenkins ( Prerequisites )]]></title>
            <link>https://medium.com/@akshay.saxena_74422/preference-a1-using-scripts-and-jenkins-prerequisites-f9513da6d73b?source=rss-7861aa83679a------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9513da6d73b</guid>
            <dc:creator><![CDATA[Akshay Saxena | Innovate | Integrate | Cloud]]></dc:creator>
            <pubDate>Sat, 11 Feb 2023 13:57:50 GMT</pubDate>
            <atom:updated>2023-02-11T13:57:50.657Z</atom:updated>
            <content:encoded><![CDATA[<p>In this blog I’ll cover the Preference A: Using Scripts and Jenkins <br>Phase A1: Setting up the prerequisites</p><p>In this implementation, bash shell scripts are used to support the backing up of integration artifacts from the source environment (OIC POD) to the repository (GIT). Shell scripts are also used to retrieve the saved integration artifacts from the repository and deploy the integrations to a target environment (another OIC POD)</p><p>Export integrations and save the artifacts (IARs, connection json files) to the remote repository:</p><ul><li>Allow user to either export all integrations, or only one or more integration(s) from the source OIC environment.</li><li>Commit/Push the exported integration artifacts to the repository.</li><li>Provide Summary Reports.</li></ul><p>Pull integration artifacts from the repository and either import or deploy the integrations to the target OIC environment:</p><ul><li>Allows user to select one or more integrations to do import only, or to deploy the integrations to a target environment.</li></ul><h3>Phase A1: Setting up the prerequisites</h3><p>Usecase:</p><h4>Step 1 :- Create Github account</h4><p><a href="https://www.wikihow.com/Create-an-Account-on-GitHub">Create</a> a github account and create a repo in it.<a href="https://www.wikihow.com/Create-an-Account-on-GitHub"><br></a>Copy the repo name using the <a href="https://www.toolsqa.com/git/clone-repository-using-ssh/">ssh</a> one, not the http one.<br>the Repo name shall look like :- git@github.com:myGit001/myRepo.git and<br>will be used in later steps.</p><h4>Step 2 :- Create an OCI account or login to the existing one</h4><p><a href="https://www.youtube.com/watch?v=UdTndzuIpms">Create</a> an OCI account if your new to Oracle Cloud or login from your existing OCI credentials.</p><h4>Step 3 :- Setup your OCI Tenancy</h4><p>references :</p><ul><li><a href="https://docs.oracle.com/en/cloud/paas/integration-cloud/oracle-integration-oci/index.html">Provisioning and Administering Oracle Integration Generation 2</a></li><li><a href="https://docs.oracle.com/en-us/iaas/Content/GSG/Tasks/addingusers.htm">Adding Users</a></li></ul><ul><li><a href="https://docs.oracle.com/en/cloud/paas/integration-cloud/oracle-integration-oci/creating-oci-compartment.html">Create a compartment</a> :- ( for ex : ‘OICCompartment’ )</li><li><a href="https://docs.oracle.com/en/cloud/paas/integration-cloud/oracle-integration-oci/creating-iam-users.html">Create a user </a>:- user which you will use to login to OIC instance</li><li><a href="https://docs.oracle.com/en/cloud/paas/integration-cloud/oracle-integration-oci/creating-idcs-group.html">Create a group</a> :- ( for ex : ‘oci-integration-admins’ )</li><li><a href="https://docs.oracle.com/en/cloud/paas/integration-cloud/oracle-integration-oci/assigning-oic-roles-groups.html#GUID-B839F41C-445D-4137-8F2C-BF5CCBEC3D5C">Add user to the group</a></li><li><a href="https://docs.oracle.com/en/cloud/paas/integration-cloud/oracle-integration-oci/creating-iam-policy.html">Create a policy</a> :- (for ex : IntegrationGroupPolicy <br>‘allow group oci-integration-admins to manage integration-instance in compartment OICCompartment’ )</li></ul><h4>Step 4 :- Provision Source and Target Integration Instance</h4><p><a href="https://docs.oracle.com/en/cloud/paas/integration-cloud/oracle-integration-oci/creating-oracle-integration-instance.html#GUID-930F40E8-5149-4091-9CDA-8E05C8449BA6">Provisioning and Administering Oracle Integration Generation 2</a></p><p>Provisioning Source OIC Instance</p><ul><li>go to OCI console and click on menu</li><li>go to Developer Services</li><li>go to Integrations</li><li>select the compartment which you have created in the above step</li><li>click on create Integration Instance</li><li>put a Display name ( for ex : sourceOIC/ devOIC )</li><li>Choose Standard (For Demo Purpose) / Enterprise (for Professional Purpose)</li><li>click on create instance ( you can add specific tags if you want it’s not mandatory)</li></ul><p>Provisioning Target OIC Instance</p><ul><li>Repeat the above process to create the target OIC instance</li></ul><p>(Display name could be for ex : targetOIC / testOIC )</p><h4>Step 5:- Creating Compute VM for CICD</h4><p><a href="https://www.oracle.com/webfolder/technetwork/tutorials/obe/cloud/ocis/creating_vm/bmc_vm_tutorial.html">Creating Virtual Machine and Bare Metal Instances Using Oracle Cloud Infrastructure Compute</a></p><ul><li>Go to Compute</li><li>Hit Create Instance.</li><li>Enter Name :- Example : devops1 | Choose Compartment</li><li>Save SSH Private Key to Login to the console.</li><li>Save the Public Key too.</li><li>Copy Public IP Address.</li><li>Login to terminal using : PuTTy / Mobaxterm</li><li>Use the SSH Key and user : opc</li><li><strong>Once Logged in Linux Console :-</strong><br>Open .bash_profile<br>add :-<br>export PS1=&#39;$(whoami)@$(hostname):$(pwd)&gt;&#39; to fix the prompt view<br>Now Login to root user using<br>sudo su -</li></ul><h4>Step 6:- Install Java in VM</h4><p><a href="https://access.redhat.com/documentation/en-us/openjdk/8/html-single/installing_and_using_openjdk_8_for_rhel/index#installing-jre-on-rhel-using-yum">Installing and using OpenJDK 8 for RHEL OpenJDK 8 | Red Hat Customer Portal</a></p><p><strong>.</strong> Execute : java -version (if -bash: java: command not found <br> this means Java is not present)</p><p><strong>.</strong> Execute :yum -y update (may take sometime)</p><p><strong>.</strong> Execute : yum install java-1.8.0-openjdk ( verify using java -version)</p><p><strong>.</strong> Get the java path : find /usr/lib/jvm/java-1.8* | head -n 3</p><p><strong>.</strong> Add “JAVA_HOME” to .bash_profile (for ex:<br> JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.292.b101.el7_9.x86_64</p><p><strong>.</strong>export JAVA_HOME<br> PATH=$PATH:$HOME/bin:$JAVA_HOME)</p><p><strong>.</strong> Exit and Login again to check the path is correctly set, echo $JAVA_HOME<br> it will show the below path<br> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.292.b10–1.el7_9.x86_64</p><h4>Step 7:- Install Jenkins</h4><p><a href="https://www.jenkins.io/doc/book/installing/linux/">Linux</a></p><p>.wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo<br>rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key<br>yum -y install jenkins</p><p>. If face any challenges or slowness then kill all the yum processes and repeat the yum installation command.</p><p>. Open<strong> </strong>firewall<strong>:</strong><br>sudo firewall-cmd --zone=public --permanent --add-port=8080/tcp<br>sudo firewall-cmd --reload</p><p>. Also we should add ingress rule in default Security List for VCN:-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/0*yPe9BDkZF1Gv0sbh" /></figure><p>. Get initial jenkins password :-<br>cat /var/lib/jenkins/secrets/initialAdminPassword</p><p>. Now start Jenkins<strong> :-</strong><br>service jenkins start</p><p>. Once started in Web browser open Jenkins.<br>URL :- <a href="http://%3Cpublic_ip_of_instance%26gt/">http://&lt;PUBLIC_IP_OF_INSTANCE</a>&gt;:8080</p><p>. Now we will configure the jenkins user (optional)<br>grep jenkins /etc/passwd<br>Execute :passwd jenkins( then enter the password )</p><p>. Lets login using Jenkins user in linux<br>Execute :su -l jenkins<br>Execute :vi .bash_profile<br>then add export PS1=&#39;$(whoami)@$(hostname):$(pwd)&gt;&#39;<br>save and exit the vi editor by using :q!</p><h4>Step 8:- Install the git version</h4><p>you can install git based on your server and OS <a href="https://rhel.pkgs.org/7/endpoint-x86_64/endpoint-repo-1.7-1.x86_64.rpm.html">https://rhel.pkgs.org/7/endpoint-x86_64/endpoint-repo-1.7-1.x86_64.rpm.html</a></p><p>. Enter the root user :<br>sudo su -</p><p>. Execute : <br>yum -y install <a href="https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm">https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm</a></p><p>. Execute : git -version(to check the git version)</p><h4>Step 9:- Connect Local repository to Remote Git Repository</h4><p>. Login to jenkins user :-<br>su -l jenkins</p><p>. Create SSH Key :-<br>ssh-keygen -t ed25519 -C &quot;ENTER YOUR EMAIL HERE INSIDE QUOTES&quot;</p><p>. Start SSH Agent :-<br>eval ssh-agent -s</p><p>. Add Key :-<br>ssh-add ~/.ssh/id_ed25519</p><p>. Copy the Key to Notepad</p><p>. Execute: cd .ssh<br> cat id_ed25519.pub</p><p>. Looks like :- ssh-ed25519&lt;key&gt;&lt;email&gt;</p><p>. Login to github.com web account</p><p>. Go to Settings &gt; SSH and GPG Keys &gt; Click New SSH Keys</p><p>. Give a name. Ex: DevOps_Entry_Pass</p><p>. Paste the key which you copied in Notepad</p><p>. Click Add Key</p><p>. Now go back to the linux console and Create two directory using Jenkins user</p><p>. Go to the path cd /var/lib/jenkins</p><p>. Execute : mkdir cicd_demo cicd_scripts<br>cicd_demo will be our local code repository<br>cicd_scripts will be the directory where we will store the shell scripts which are to be used in Jenkins jobs</p><p>. Full path of the scripts will look like <br> full path : /var/lib/jenkins/cicd_demo<br> full path : /var/lib/jenkins/cicd_scripts</p><p>. Execute :-<br>cd /var/lib/jenkins/cicd_demo</p><p>. Initiate the Git repository:-</p><p>git init</p><p>. Connect remote repository (This you created in Step 1)to git repository.</p><p>git remote add origin git@github.com:&lt;yourGitUserName&gt;/&lt;YourGitRepoName&gt;<br>[Example : git remote add origin git@github.com:myGit001/myRepo.git]<br><em> Ensure your remote git repository branch name is master not main.</em></p><p>. Copy your remote repo into the local directory.</p><p>git pull origin master<br>(press y)</p><p>. Test Git push now :-</p><p>echo &quot;Hello from server&quot; &gt; testfile.txt</p><p>git add .</p><p>git status</p><p>git commit -m &quot;committing from new server&quot;</p><p>git push origin master</p><p>. Now check your remote repository in github.com to see if the file you created is added or not. if yes then your local repo is ready</p><h4>Step 10:- Now lets get the scripts</h4><p>. Execute :</p><p>cd /var/lib/jenkins/cicd_scripts</p><p>wget <a href="https://cdn.app.compendium.com/uploads/user/e7c690e8-6ff9-102a-ac6d-e4aebca50425/df33e9df-2f02-4476-8691-38c6c5c876ca/File/fbfc2a43e640f87f68310b7f5d4f6c5e/oic_cicd_files.zip">https://cdn.app.compendium.com/uploads/user/e7c690e8-6ff9-102a-ac6d-e4aebca50425/df33e9df-2f02-4476-8691-38c6c5c876ca/File/fbfc2a43e640f87f68310b7f5d4f6c5e/oic_cicd_files.zip</a></p><p>unzip oic_cicd_files.zip</p><p>rm oic_cicd_files.zip</p><p>cd /var/lib/jenkins/jobs</p><p>unzip jenkins_jobs.zip</p><p>rm jenkins_jobs.zip</p><p>. Go to root user and restart Jenkins</p><p>service jenkins restart</p><p>. Then login to the Jenkins web console again. You will be able to see the jobs</p><p>. Install Jenkins Plugins :</p><p>Manage Jenkins &gt; Manage Plugins &gt; Available<br>Search and Install without restart:-</p><p><em>Parameterised Trigger plugin<br>Delivery Pipeline plugin (version 1.3.2)<br>HTML Publisher plugin</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dfcnxLY9BPCjrilKUM0eNw.png" /><figcaption>will use this architecture in next blog</figcaption></figure><p>HAPPY LEARNING <br>will continue further blogs with different preference and their phases.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9513da6d73b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Step by Step CICD Implementation For Oracle Integration Cloud]]></title>
            <link>https://medium.com/@akshay.saxena_74422/step-by-step-cicd-implementation-for-oracle-integration-cloud-ba6536bcf595?source=rss-7861aa83679a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba6536bcf595</guid>
            <dc:creator><![CDATA[Akshay Saxena | Innovate | Integrate | Cloud]]></dc:creator>
            <pubDate>Sat, 11 Feb 2023 13:47:47 GMT</pubDate>
            <atom:updated>2023-02-11T13:47:47.632Z</atom:updated>
            <content:encoded><![CDATA[<p>Introduction :</p><p>Oracle Integration Cloud (OIC) is used to integrate various cloud and on-premises applications. Developers use browser as an IDE to build integrations. Integrations are saved directly in OIC. We can perform coding, testing, activating, de-activating, versioning operation directly from OIC console. We don’t need any specific IDE for that. In real practice we have multiple instances of OIC for example OIC-Dev, OIC-UAT and OIC-Prod. We can use OIC-Dev for development and OIC-UAT for QA testing and OIC-Prod for production. While we are developing integrations in OIC-Dev instance, we need to migrate these integrations to OIC-UAT and OIC-Prod instances.</p><p>Oracle Integration (OIC), as you know, includes Visual Builder Cloud Service which allows open-source standards-based integration to develop, collaborate on, and deploy applications within Oracle Cloud.<br>Just for this, it’s easy to use Visual Builder Studio, the built-in tool, that allows developers to manage the software life cycle automating the development.</p><p>The Visual builder studio option currently supports export/import of single Integration and multiple integrations via packages albiet with some limitations such as deactivating/activating an integration, updating connections etc.<br>which we look to overcome in this new approach, there are many blogs on setting up CICD in Oracle Integration Cloud Environment, however people who are new to OIC and CICD or in learning phase may find difficult to jump start with the blogs. Hence I have tried to provide phased and step by step guide to setup CICD with different options according to your need.</p><p>Developers, who have the ownership to build new services and IT Operators, who have the task of deploying new code versions to the different environments, need to converge on one single tool to simplify complex procedures that can be simply considered as two sides of the same coin so in this initiative, we are trying to automate most of this process by using automation scripts.</p><p>So to achieve the CICD for OIC there are three options and one can choose any method according to there preference based on their organisational landscape , This whole idea could be achieve through many Preferences and there phases.</p><blockquote>Note : Since this whole information is so huge to confined in a single blog I’ll split them in below preference&#39;s and their phases and write a dedicated blog for each Phase accordingly ).</blockquote><h4>PREFERENCE A : Using Scripts and Jenkins ( two Phases )</h4><h4>Phase A1 : Setting up the prerequisites<br>Phase A2 : Configure The Scripts , Jobs and Pipelines</h4><p>One can use this preference if they have already invested in build tools like Jenkins, e.t.c and prefer linux VM for running their scripts for automation and reusability.<br>Organisation who already have invested in huge infrastructure and resources and facilitates an effective process for getting products to market faster , continuously delivering code into production, and ensuring an ongoing flow of new features and bug fixes via the most efficient delivery method to achieve this they have homogeneous approach for not only middleware but also for other applications and want to reuse the same technique throughout.</p><h4>PREFERENCE B : Using Visual Builder Studio VBS</h4><p>This is the most used preferred method used by the customer&#39;s for achieving CICD for OIC , Oracle Visual Builder is a cloud-based software development Platform as a Service (PaaS) and a hosted environment for your application development infrastructure. It provides an open-source standards-based solution to develop, collaborate on, and deploy applications within Oracle Cloud.<br>Visual Builder Studio, the built-in tool, that allows developers to manage the software life cycle automating the development.<br>Oracle VB Studio natively supports Oracle Integration artifacts, so we can leverage this one to easily promote our integration flows from an environment to another one.</p><h4><strong>PREFERENCE C</strong> : Using both Scripts and VBS ( two Phases)</h4><h4>Phase C1 : Setting up the prerequisites and initial setup</h4><h4>Phase C2 : Configure the build jobs and automation</h4><p>One can use this method if they want the best of both above options like using shell scripts for importing and exporting of the artifacts which we usually called Continuous Integration (CI) process and VBS for building intuitive build pipelines for automation as Continuous Delivery (CD).</p><p>below Architecture illustrate the above process we are going to take<br>Red line manifest Preference A<br>Blue line manifest the Preference B</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yfo5wLSdz_7uQNPfxZaqYQ.jpeg" /></figure><p>HAPPY LEARNING <br>will continue further blogs with different preference and their phases.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba6536bcf595" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>