Next

image

The "Live For The Code" Keynote in London, 20th April 2018 is available:

The sample code from the slideless keynote was pushed to: https://github.com/AdamBien/live4code -- expect commits during upcoming keynotes.

See you in Berlin. I decided to continue with the implementation of the serverless microservice :-). Watch the video here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

image

In my last post I gave an introduction to Oracle Application Container Cloud (ACC) and how to develop Spring-Boot applications such that they can be hosted within Oracle ACC. At the end of the post some questions still had to be answered. Within this post we are going to tackle the first one, how is Microservice Communication in Oracle Application Container Cloud achieved? The following figure shows what a simple architecture, within the context of a Spring-Boot Microservice application, might look like

Basic Microservice Architecture

As one can see within the architecture diagram the deployment consists of three services. The first service is a simple Spring-Boot service registry. The service registry can be easily implemented using Spring-Cloud Eureka integration. Eureka is a service registry provided within Netflix OSS. All other services should be able to register themselves with the registry server and retrieve all information required for calling other services. Secondly, Microservice 1 could be a simple service publishing its data and only interacting with the service registry. Lastly, Microservice 2 would be another service which provides data but enhances it by retrieving additional information from Microservice 1.

Unfortunately, within Oracle ACC using a simple service registry is not that simple. When using Eureka as registry, clients only seem to have access to their local hostname configuration (see listing below). Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: YouTube,PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

Oracle PaaS Partner YouTube Update October 2017 - 17-Oct-2017 05:18 - Jürgen Kress

 

The October issue of the PaaS & Middleware Partner Update is an update from Oracle OpenWorld 2017:

• PaaS announcements

• PaaS innovation including AI and blockchain

For regular updates please subscribe to our YouTube channel here. Thanks for your likes and sharing the video on YouTube and LinkedIn.

For the latest WebLogic & Developer Partner Community information please visit our Community update wiki here (Community membership required)

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: YouTube,PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

In previous posts I showed how you can manage SQL scripts lifecycle with the help of Oracle Developer Cloud Service (DevCS) as part of an overall Oracle DB DevOps solution. I wanted to add one more utility that might act as an alternative or addition to the SQL script managing - Liquibase.

Liquibase logo

Liquibase is an open source solution for managing revisions of your databse schema scripts. It works across various types of databases, and supports various file formats for defining the DB structure. The feature that is probably most attractive in Liquibase is its ability to roll changes back and forward from a specific point - saving you from the need to know what was the last change/script you ran on a specific DB instance.

Liquibase uses scripts - referred to as "changesets" - to manage the changes you do to your DB. The changesets files can be in various formats including XML, JSON, YAML, and SQL. In the examples below I'm using the XML format.

As you continue to change an enhance your DB structure through the development lifecycle you'll add more changesets. A master file lists all the changeset files (or the directories where they are). In parallel Liquibase tracks in your database which changesets have already run. 

When you issue a liquibase update command, liquibase looks at the current state of your DB, and identifies which changes have already happened. Then it run the rest of the changes - getting you to the latest revision of the structure you are defining.

By integrating Liquibase into your overall code version management system and continuous integration platform you can synch up your database versions with your app version. In my case this would of course mean integration with Oracle Developer Cloud Service (DevCS) - which you get for free with the Oracle Database Cloud Service. In the video below I show a flow that covers:

  • Tracking my DBA tasks in the issue system
  • Modifying a local MySQL DB with Liquibase (doing forward and backward rolls)
  • Adding a change set defining a new table
  • Committing to Git
  • Automatic build implementing the changes in Oracle Database Cloud Service
  • Automatic testing with UT/PLSQL

Here is a quick 10 minute demo:

For those who want to try and replicate this, here are some resources:

A changeset that creates a "department" table with three columns:

A changeset that creates PL/SQL function, package and procedure. Note that in line 3 the dbms="oracle" means this script will only run when we are connected to an Oracle DB:

create or replace function betwnstr( a_string varchar2, a_start_pos integer, a_end_pos integer ) return varchar2 is begin return substr( a_string, a_start_pos, a_end_pos - a_start_pos+1 ); end; create or replace package test_betwnstr as -- %suite(Between string function) -- %test(Returns substring from start position to end position) procedure basic_usage; end; create or replace package body test_betwnstr as procedure basic_usage is begin ut.expect( betwnstr( '1234567', 2, 5 ) ).to_equal('2345'); end; end; A changeset that adds a record to a table. Line 8 has the rollback tag that defines how to do a rollback for this insert: delete from department where id=20

 

A few tips about my DevCS project and build setup.

1. For the sake of simplicity, I loaded the liquibase and JDBC jar files into my git repository - this makes it easy for my build steps to find the files and execute them. I'm guessing you could also use Maven to host those.

2. I use a password parameter for my build so I don't need to hardcode the password adding a bit of security to my build. Reference teh parameter in your build with a $ sign - $password

3. Want to learn more about test automation with ut/PLSQL - check out this blog entry.

 

 

ODTUG Elections – Vote Now! - 16-Oct-2017 11:19 - ODTUG
Elections for the 2018-19 ODTUG Board of Directors are underway — vote now!Exercise your right as an ODTUG member and vote for the board. This may be the most important thing you can do for ODTUG.

image

In posts one and two within this series we created and deployed Spring-Boot Microservices in Oracle’s Application Container Cloud Service (ACC). Usually, after deploying an application and enabling user traffic an application must be monitored to ensure a high level of service and identify approaching problems. This blog post describes how monitoring in Oracle Application Container Cloud can be achieved using standard features.  The focus will be on Java applications.

Accessing Monitoring Information using Service Console

The simplest indication regarding application health can be retrieved directly within Oracle ACC service console. After opening service console, one must access service overview page to get the application’s average memory usage over all running instances presented. For each application instance an additional indicator is displayed below including a timestamp the metric was captured.

Service Console Metrics

The second application monitoring feature resides within the application’s Administration tab, as it enables an administrator to download application logs. One must click on the Get Log button and Oracle ACC collects  logs from all application instances within the specified time frame. The logs collected are stored on the configured Oracle Storage Cloud Service. After the process is finished all logs can be downloaded from either Storage Cloud or Application Container Cloud service consoles. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

imageSolutions Catalog Profile Manager has been integrated into the Oracle Partner Store, offering partners a vastly improved user experience. Partners can now maximize their customer-facing online presence on the OPN Solutions Catalog alongside all other partner transactions, program enrollments and agreements.

Update Your Profile!

 

Login to the Oracle Partner Store today to make sure your profiles are up-to-date, and Oracle customers can find the latest information about your company’s offerings. Visit the Solutions Catalog Resource area of the OPN Portal for access instructions, user guides, and best practices documents.

About Solutions Catalog

The OPN Solutions Catalog is Oracle’s online partner directory, allowing partners to showcase their solutions, services, and areas of expertise, including specializations and distribution rights. Available from Oracle.com, the site is visited by over 30,000 customers, partners, and Oracle employees per month. Presence on the catalog is provided as a benefit to all OPN Partners Cloud Registered level or higher.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

Additional new material WebLogic & Developer Community - 14-Oct-2017 05:05 - Jürgen Kress

image

· PaaS Resource kit: Infographic: 5 Best Practices for Platform as a Service Success & iPaper: Public Platform as a Service for Dummies & IDC Research: Empower Digital Transformation with Platform as a Service & Webcast: Harvard Business Review Research: Cloud Computing Comes of Age

· Neural Network Programming with Java" by Alan M. F. Souza and Fabio M. Soares is available for free on our website.

· Getting Started with Chatbots Solution architect Tamer Qumhieh takes you step-by-step through building your first Facebook chatbot using Node.js and deploying to the Oracle Application Container Cloud Service. Read the article.

· Reactive Programming with JDK 9 Flow API Reactive programming is about processing an asynchronous stream of data items, where applications react to the data items as they occur. This article by Rahul Srivastava presents an example using the JDK 9 Flow API. Read the article.

· ODTUG Kscope 2017 KScope 2017 moves to San Antonio, TX this year, with a full slate of keynotes, tracks, sessions, and networking events. June 25-29, 2017, San Antonio, TX
Click here for more information.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

Oracle OpenWorld 2017 PaaS announcements - 13-Oct-2017 05:52 - Jürgen Kress

IMG_2775Oracle OpenWorld took place last week in San Francisco. Get the latest conference highlights:

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

 image

Previously I have posted about a requirement of  hiding af:inputListOfValues search icon using CSS
ADF Skinning | Hiding search icon of af:inputListOfValues using CSS & StyleClass
In that solution search icon doesn't appear on page but it is a part of JSF component tree so when user press TAB+SPACE after entering a value in lov component then search popup appears on screen as this action invokes search icon click event
Recently a Friend of mine came across another requirement that was not showing lov popup at all as only autoSuggest behavior was required , so for this first way is to use autoSuggest behavior in an af:inputText compoent using Lov bindings and second way is to short circuit component life cycle
Suppose you have created lov on department name attribute

Enter some value and press TAB+SPACE Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Forum Wiki

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic,WebLogic Community,Oracle,OPN,Jürgen Kress

Next