<?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 Antonio Gomez on Medium]]></title>
        <description><![CDATA[Stories by Antonio Gomez on Medium]]></description>
        <link>https://medium.com/@antonio-gomez-rod?source=rss-25aec5a4a1b9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*q9ybuYJDZJd-pGGGsRUwfA.jpeg</url>
            <title>Stories by Antonio Gomez on Medium</title>
            <link>https://medium.com/@antonio-gomez-rod?source=rss-25aec5a4a1b9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 12:41:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@antonio-gomez-rod/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[Oracle Blockchain Plaform and Application Development]]></title>
            <link>https://antonio-gomez-rod.medium.com/oracle-blockchain-plaform-and-application-development-6701cf1ee585?source=rss-25aec5a4a1b9------2</link>
            <guid isPermaLink="false">https://medium.com/p/6701cf1ee585</guid>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Antonio Gomez]]></dc:creator>
            <pubDate>Mon, 25 Jan 2021 20:51:09 GMT</pubDate>
            <atom:updated>2021-04-07T09:12:05.640Z</atom:updated>
            <content:encoded><![CDATA[<p>Easy example using Blockchain App Builder</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/242/1*LepyI-9A-vxKW6wxxdjTSQ.png" /></figure><p><a href="https://docs.oracle.com/en/cloud/paas/blockchain-cloud/administeroci/create-instance.html#GUID-C8131EE4-5AAA-4716-A785-4DA065B33396">Oracle Blockchain Platform</a> (OBP) has been available natively in OCI Gen2 for a few months now and as part of the new developer experience it has been added a new tool: <a href="https://docs.oracle.com/en/cloud/paas/blockchain-cloud/usingoci/using-chaincode-development-tools.html">Blochain Application Builder for OBP</a></p><p>“Blockchain App Builder for Oracle Blockchain Platform is a tool set that assists with rapid development, testing, debugging, and deployment of chaincode on Oracle Blockchain Platform networks, comprising cloud BaaS nodes on Oracle Cloud Infrastructure and / or on-premises nodes using Enterprise”</p><p>I am going to illustrate in this post how to use the tool to quickly develop and test the chaincode for a CRUD opperations on an asset.</p><p>This blog assumes that you have an Oracle Blockchain Platform instance in OCI Gen2 up and running as well as basic knowledge of chaincode deployment.</p><h4><strong>1.-The use case</strong></h4><p>During the Oracle MADHack 2021 edition, the team of cloud engineers of the Western Europe CCoE Engineering Team have developed an MVP for an immigration registration system in which we use OBP to perform the decentralized registration of digital identities.</p><p>The role of OBP on the project has the following key elements:</p><p>1.a.- We have configured the blockchain system so that in this MVP it simulates the participation of two corporations as registry entities.</p><p>1.b.- Information that is going to be tracket is “Digital identity”. We have called <em>“Person”. </em>The Digital Identity is formed among other fields by an ID, First_Name, Last_Name, Date_of_birth or SignatureHash.</p><p>1.c.- Minimum necessary methods for CRUD operations:</p><ul><li>CreatePerson: Create new digital identity in the system</li><li>UpdatePerson: Update information of a digital identity</li><li>GetPersonById: Retrieve the information of a digital identity</li></ul><h4><strong>2.-Install Blockchain App Builder</strong></h4><p>The tool can be used in two ways:</p><ul><li>Blockchain App Builder Command Line Interface</li><li>Blockchain App Builder Extension for Visual Studio Code</li></ul><p>In my case I am going to use the command line. I’m going to review the main steps that I had to follow. For more details or installation on a non-linux platform use this <a href="https://docs.oracle.com/en/cloud/paas/blockchain-cloud/usingoci/install-and-configure-dev-tools-cli.htm">link</a>.</p><p><strong>2.1.- Check Pre-requisites:</strong></p><ul><li>Docker v18.09.0 or later</li><li>Docker Compose v1.23.0 or later</li><li>Node v10.x</li><li>npm v6.x</li><li>If you are developing Go chaincodes, you need to install Go v1.14</li></ul><p>In my case working with Oracle Linux and the chaincode developed in go. So I had to install nvm, node, npm and go:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*GWsB1q_BWDSb434-fIcJ9g.png" /></figure><p><strong>2.1.- Blockchain App Builde</strong>r <strong>Installation</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*JjN6c5R-11H9nolLDgPUrw.png" /></figure><h4><strong>3.- Create the project</strong></h4><p>I will create a project and the initialization file following the specifications of the <a href="https://docs.oracle.com/en/cloud/paas/blockchain-cloud/usingoci/getting-started-cli-dev-tools.html">official documentation</a>.</p><p>The Blockchain App Builder initialization command reads the input specification file (Person.yml) and generates the scaffolded project with several tools to assist in the chaincode development process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/334/1*Zt4z-DzrBhyKc_m1Uv_G0A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/317/1*47ewLoMVyuoTTssPHn8Fqw.png" /><figcaption>Person.yml config file</figcaption></figure><p>Our configuration file is very easy: it has the definition of the Asset <em>“Person”</em>, with all its attributes, and the necessary methods to create, retrieve and modify the information of the asset.</p><p>We initialize the project:</p><p>$ ochain init — cc PersonProject — lang go — conf Person.yml</p><p>The scaffolded project can be found in $ GOPATH / src / example.com / PersonProject as indicated <a href="https://docs.oracle.com/en/cloud/paas/blockchain-cloud/usingoci/scaffolded-go-chaincode-project.html">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*eQq0zjJWXRg4PoQW6Hjxww.png" /><figcaption>Blockchain scaffolded project</figcaption></figure><h4><strong>4.- Test</strong></h4><p><strong>4.1.- Choose where to deploy the chaincode</strong></p><p>The tool allows different deployment options:</p><ul><li>Deploy Your Chaincode to a Local Hyperledger Fabric Network</li><li>Deploy Your Chaincode to a Remote Oracle Blockchain Platform Network</li></ul><p>Package Your Chaincode Project for Manual Deployment to Oracle Blockchain Platform</p><p>In my case I have chosen to test the chaincode directly in our Oracle Blockchai Platform instance, so I have packed the chaincode for <a href="https://docs.oracle.com/en/cloud/paas/blockchain-cloud/usingoci/deploy-your-chaincode-using-cli.html#GUID-EF8020B2-F215-4FF8-94D2-4CF0AD858931">manual deployment</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*xILoynQCtNY-Uz1t6RvY2Q.png" /><figcaption>Package chaincode</figcaption></figure><p>Next we deploy the chaincode in the founder instance and the channel already created:</p><p>Step 1 of 2 to deploy chaincode in an OBP instance in OCI (Gen2):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zpDQAPfgCLDnHos7U10jJA.png" /></figure><p>Step 2 of 2 to deploy chaincode in OBP in OCI (Gen2):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t2rPRS7Jcg5vV15oLeK0SA.png" /></figure><p><strong>4.2.- Test the chaincode with Postman</strong></p><p>We test the deployed chaincode. Mention that there have been changes in the new version of the <a href="https://docs.oracle.com/en/cloud/paas/blockchain-cloud/restoci/index.html.">REST API for Orcle Blockchain P</a>latform in OCI (Gen 2).</p><p>Important: for the transaction to take place immediately, indicate “sync”: true in the body request.</p><p><strong>POST call </strong>to perform a transaction to create a new person in the registry is compose of following elements:</p><p>Call: / restproxy / api / v2 / channels / {channelId} / transactions) ç</p><p>Chaincode: “chidentify”</p><p>Function: “CreatePerson”</p><p>Arguments: the information of the asset “Person”</p><p>Note: remember to include in Authorization, the Basic authorization method and your username / password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_RNzTfIaLVGwbdn69RDouQ.png" /></figure><p><strong>Response </strong>obtained to the POST call:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aBzeSdo4Qgik2w7u1qwPGA.png" /></figure><p>I finally make a <strong>verification in the Oracle Blockchain Platform</strong> ledger that the transaction’s block has been created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gqN1rMnMqdQ1CZA1nKvw_w.png" /><figcaption>Oracle Blockchain Platofm Ledger view</figcaption></figure><h3><strong>Conclusions</strong></h3><p>This is small but powerful example on how Oracle Blockchain Platform make easy to develop application on the Blockchain ecosystem. Now, it is not only easy to set up the Blockchain Platform but to develop a chaincode and tested. I have explored a bit on local testing but hopefully I will create a add-on to this blog in following blogpost.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6701cf1ee585" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Oracle OCI Flex Shapes]]></title>
            <link>https://antonio-gomez-rod.medium.com/oracle-oci-flex-shapes-48a52e44c1a5?source=rss-25aec5a4a1b9------2</link>
            <guid isPermaLink="false">https://medium.com/p/48a52e44c1a5</guid>
            <dc:creator><![CDATA[Antonio Gomez]]></dc:creator>
            <pubDate>Tue, 27 Oct 2020 09:20:56 GMT</pubDate>
            <atom:updated>2020-10-27T09:36:12.429Z</atom:updated>
            <content:encoded><![CDATA[<h3>Oracle OCI Flex Shapes. Freedom for chosing CPUs and memory for your VM</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zW1yFmMIlTvRJLGjz754CQ.png" /></figure><p>Don’t keep struggling to adjust best VM shape to your actual workload.</p><p>The majority of cloud offering is based on compute shape series with different CPU size and a fix memory capacity per CPU (examples 8 GB per 1 OCPU, 16 GB per 1 OCPU, etc). This brings majority of customers to overbuy.</p><p>With <a href="https://docs.cloud.oracle.com/en-us/iaas/Content/Compute/References/computeshapes.htm#flexible">flexible VM instances</a>, customers increase or decrease capacity in minutes by adding CPUs and memory to their existing footprint. Customers choose between 1 to 64 cores, and between 1 and 64 GB per core (up to 1024 GB per instance) to precisely match workload demands and optimize costs.</p><p>How to provision an Oracle VM.Standard.E3.Flex in Oracle OCI?</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FnWblS_wNiIk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DnWblS_wNiIk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FnWblS_wNiIk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9332694f191b5af76317deb893ac8e30/href">https://medium.com/media/9332694f191b5af76317deb893ac8e30/href</a></iframe><ul><li>Click on Change shape in the Shape section</li><li>Select AMD Rome shape series</li><li>Select the number of OCPUs for your VM, in steps of 1 OCPU. This will update the Amount of Memory in steps of 16 GB per OCPU</li><li>Select the memory you need — 1 GB, 2 GB, etc.-</li></ul><p>Cut costs in your Cloud VM infrastructure</p><p>The price of your VM is based on the amount of the allocated OCPU and memory. Pay exactly for you use both CPU and Memory. Furthermore, you can adjust your OS licensing cost to the real number of CPUs needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1wMn_tOJSJHVHATi2k2ESg.png" /></figure><p>VM Performance improved by the 2nd Gen AMD EPYC processor</p><p>These E3 standard instances are based on the <a href="https://www.amd.com/en/products/cpu/amd-epyc-7742">AMD EPYC 7742 processor</a>, with a base clock frequency of 2.25 GHz and max boost of up to 3.4 GHz. So performance is neither an issue. See this <a href="https://blogs.oracle.com/cloud-infrastructure/announcing-the-launch-of-e3-standard-instance-on-amd-rome-architecture">performance results statistics</a>.</p><p>With Oracle OCI Flex Shapes:</p><ul><li>Choose number of OCPUs — 1,2,3,4, etc up to 64. -</li><li>Allocate the exact memory you need — 1 GB, 2 GB, 3 GB, up to 1 TB-</li><li>Pay for what exactly need: memory and OCPUs</li><li>Adjust the OS licensing cost due to the flexible number of OCPUs</li></ul><p>Want to learn more?</p><p><a href="https://docs.cloud.oracle.com/en-us/iaas/Content/Compute/References/computeshapes.htm">Technical documentation</a> and more information.</p><p><a href="https://www.oracle.com/cloud/compute/virtual-machines.html">https://www.oracle.com/cloud/compute/virtual-machines.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48a52e44c1a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>