Posts

Showing posts from October, 2021

Build beautiful and interactive API documentation for ORDS

Image
In this blog post, I will show you how to quickly build beautiful and interactive API documentation for your Oracle APEX REST data sources using  swagger hub . Using APEX v23.1. I downloaded the  titanic data set  and loaded them into tables in my APEX instance, created some authorized restful services and published them using swagger hub. You can create a free account on swagger hub.   Check out my titanic swagger hub here ; Press Authorize. Username REST, password Glasgow123! I won't go through creating RESTful services and just show you the four I created that sit on top of the titanic data set; The GET is a very simple SQL query;      select * from TITANIC_DATA_SET_NEW A handy tip is to add comments, as there will appear on swagger hub, making your API self documenting; Once you have created your modules, press the Generate Swagger Doc button; This will generate an open API for you.  Copy the API and paste it into swagger hub This will generat...

Add calculated tooltips to your Interactive Grid

Image
In this post, I will show you how to add a tooltip that calculates column values displayed as tooltips on your Interactive grid or report.  It's a nice value add, giving your users some context to the values in the grid. Demo The tooltip displays the following calculated values from the selected value's column; Create the Interactive Region with static ID  IR_STATIC_ID  using the following SQL source; select  'Product 1'  as PRODUCT,  100  as VALUE_1,  200  as VALUE_2,  '121'  as VALUE_3,  'text'  as  VALUE_4  from  DUAL UNION select  'Product 2'  as PRODUCT,  103  as VALUE_1,  140  as VALUE_2,  '99'  as VALUE_3,  'text'  as  VALUE_4  from  DUAL UNION select  'Product 3'  as PRODUCT,  1  as VALUE_1,  2  as VALUE_2,  '1,200'  as VAL...

Test & Monitor you APEX app. Part 3 : Monitor your DB with JMeter and Jenkins

Image
This is the third of a series of posts where I will show you how you can use free open source software  Jenkins  and  JMeter    to monitor your APEX database. Part 1 - Monitor your APEX app using Jenkins Part 2 - Monitor your APEX app using Google Analytics In the next post, I will show you how you can run scheduled Selenium tests on your APEX app, the tests will log into your app and run Selenium tests which will be hosted on a free GitHub account using GitHub actions so no installation of any software necessary. You will have your APEX application scheduled selenium tests (getting email alerts if any issues with your APEX application) up in running in minutes by cloning a ready-made GitHub APEX selenium repo. Prerequisite :  Install JMeter  on the same server as Jenkins.  Like Jenkins, JMeter is simple to set up and there are lots of online guides, so I won't go into it here. First we are going to set up the DB monitoring job on JMeter then...

Popular posts from this blog

Oracle APEX Interactive Grid colour cells based on a condition using JavaScript and CSS

Oracle APEX style an Interactive Grid cell conditionally based on the value of another cell using JavaScript and CSS

Add a timeline diagram chart to your APEX app - Part 2 of the HighChart Series