Oracle Cloud API Gateway – Using an Authorizer Function for Client Secret Authorization on API Access

Uncategorized
| Jan 3, 2020

The objective in this article: create a simple Authorizer Function that checks the Client Secret passed in API calls and allows and denies requests based on whether the correct Client Secret is included. The Authorizer Function does a little more than simply accept or deny: in case of accept it also return a token object that becomes part of the request sent to the real backend.

image

Steps:

  1. Create a Function with Fn (in any runtime (more...)

pgAdmin in Docker: Provisioning connections and passwords

Uncategorized
| Jan 2, 2020

pgAdmin is a popular open source and feature rich administration and development platform for PostgreSQL. When provisioning Postgres database environments using containers, it is not unusual to also provision a pgAdmin container.

The pgAdmin image provided on Docker Hub does not contain any server connection details. When your pgAdmin container changes regularly (think about changes to database connection details and keeping pgAdmin up to date), you might not want to enter the connections and passwords (more...)

Oracle Cloud Infrastructure Functions and Project Fn – Retrieving Headers, Query Parameters and other HTTP Request elements

Uncategorized
| Jan 2, 2020

Functions on Oracle Cloud Infrastructure are implemented using Project Fn. A function runs in Docker container. This container has a runtime (for example for Java, Go, Python, Node) and a minimal handler to handle an HTTP request and turn it into a call to the function. When writing the code to implement the function, we do not need to be aware of this layout. The FDK wrapper hands our Node function or Java method one (more...)

Oracle Cloud Serverless Functions unleashed: exposing OCI Functions through API Gateway

Uncategorized
| Jan 1, 2020

Oracle Cloud Infrastructure API Gateway makes it possible to expose OCI Functions on public endpoints that do not require complex signed HTTP requests. Any function that should be easily publicly accessible can be given such easy access. By creating an API Deployment on an API Gateway and associating a route in that API Deployment with an Oracle Function Backend. If needed, parameter mapping can be added as well as custom authorization and CORS headers in (more...)

Scheduling Oracle Cloud Function execution

Uncategorized
| Jan 1, 2020

imageFunctions on Oracle Cloud are an important element in any cloud native application architectures. Functions are typically small, well contained and fairly independent pieces of logic to carry out specific tasks. These tasks can be executed upon reception and handling of HTTP requests – a very common use case – or processing of other events. A function can also provide the implementation of a job that should be executed according to a time schedule – (more...)

Override Date.now() based on OS time when Node returns incorrect current date

Uncategorized
| Dec 30, 2019

I was facing a weird issue. In my Node application – version 10.6.3 – running on Ubuntu – 18.04 – I got the wrong value for the current date and time. A call to new Date() and to Date.now() resulted in a wrong value, off by over two months:

image

The top two values are the formatted date and value for now:

console.log(new Date())
console.log( Date.now())

The other values (more...)

Finally, sftp from an Oracle database using plain plsql

Uncategorized
| Dec 24, 2019

Just a quick blog to get me through the Christmas eve. More than 5 years ago I wrote a blog about FTPS from an Oracle databse. In that blog I already mentioned that SFTP using plsql is possible. Not loading some Java classes in the database and adding some plsql wrappers. No, just plain old plsql. At that time I had a “prove of concept”-script which was huge.

But, after moving almost all encrypting/decrypting code (more...)

My Quick Start with Oracle Functions in Fresh OCI Tenancy

Uncategorized
| Dec 24, 2019

This article is fairly rough log of the steps I went through to get going on Oracle Cloud Serverless Functions. It is mainly intended to provide a note to myself, for future reference. However, my description could prove useful to you – the reader.

My steps to get going are based on https://docs.cloud.oracle.com/iaas/Content/Functions/Tasks/functionscreatingfirst.htm. Another very useful resource with step by step descriptions: https://www.oracle.com/webfolder/technetwork/tutorials/infographics/oci_faas_gettingstarted_quickview/functions_quickview_top/functions_quickview/index.html.

Using a fresh OCI Cloud (more...)

Using bindings to connect Azure Functions to Azure Queue Storage

Uncategorized
| Dec 23, 2019

Recently I started working in the Azure Cloud and I would like to share an example I worked on that helped me understand the possibilities of this cloud environment. The focus for this article is using Azure Functions and Input and Output bindings to the Azure Queue Storage.

The business case for this example is a website where users can enter comments. Serverless Functions in the Azure Cloud receive those comments, process them and save (more...)

Apache Camel + Spring Boot: Different components to expose HTTP endpoints

Uncategorized
| Dec 23, 2019

Apache Camel is an open source integration framework that allows you to integrate technologically diverse systems using a large library of components. A common use-case is to service HTTP based endpoints. Those of course come in several flavors and there is quite a choice in components to use.

In this blog post I’ll take a look at what is available and how they differ with respect to flexibility to define multiple hosts, ports and URLs (more...)

My first steps with Oracle Cloud API Gateway – the stock response

Uncategorized
| Dec 23, 2019

The API Gateway service on Oracle Cloud Infrastructure went live very recently – read my overview article of what API Gateway entails. In brief: API Gateway is a reverse proxy that exposes HTTP endpoints on which external (or internal) clients can make requests. API Gateway can handle these requests: authorize, rate limit, map and route to OCI internal or public HTTP endpoints or specifically to Oracle [serverless] Functions. API Gateway allows us to allow selective (more...)

Introducing Oracle Cloud API Gateway – the light weight public or private router to public and private OCI endpoints

Uncategorized
| Dec 22, 2019

Two days ago, the API Gateway service on Oracle Cloud Infrastructure went live – read the announcement. This is a crucial component for many applications and in many solution designs. This new API Gateway is a prime candidate for example for inclusion in our reference architecture for OCI based solution designs. The API Gateway acts as a reverse proxy that handles HTTP requests from clients – either within OCI or on the public internet – (more...)

Cheap motorhomes and campers in New Zealand, also as a fly-drive offer

Uncategorized
| Dec 20, 2019

Whether skydiving or paragliding is entirely up to you. Water sports like jet skiing or canoeing are also possible there. In the winter months you can also go skiing in the Alps. If you have a little more time, Wellington is the perfect starting point to explore the North Island. New Zealand has a visa agreement with Germany so you only need an electronically stored residence permit. HAPPYCAR will be happy to help you find (more...)

Motorhome rental New Zealand

Uncategorized
| Dec 20, 2019

Those with a power connection are mostly integrated into the Holiday Parks facilities - a place for one night is sometimes available for a price of 11 to 20 NZ $. Especially in high season it is important to send a reservation in advance so that it is certain that the space really still has space for the motorhome. For many New Zealand tourists from Germany, a visit to Hobbiton, the film set of the (more...)

botg.de: Camper

Uncategorized
| Dec 20, 2019

The mobile home is suitable for 2 adults and 1 child. Please take a moment and download everything worth knowing about maui; You can get information about our motorhomes and rental cars, questions and answers (FAQ), insurance, extra accessories for rent and more by clicking on the links below. For more information, see my article on renting a camper in New Zealand. Wild camping is not allowed everywhere in New Zealand. Because a lot of (more...)

Best Time RV rental

Uncategorized
| Dec 18, 2019

new zealand motorhome
As a rule, the minimum age for renting a motorhome is 21 years. For specific age restrictions, please refer to the terms of use of the respective partner. The months of May to September are considered optimal for the west coast. However, it should be noted that the summer months of July and August in particular are the absolute high season and accordingly many tourists are on the go. Temperatures can also reach well over (more...)

Linux Shell Script – passing arguments to functions and returning and capturing results

Uncategorized
| Dec 18, 2019

Developing Linux Shell Scripts is just not the same as programming in modern programming language. At least to me, it still feels novel and at times a bit weird. I am currently engaged in some scripting that requires the use of functions. That is all well, but I want to pass input parameters into my functions (instead of relying on global variables) and I would like to be able to receive the result from a (more...)

ADF Performance Monitor – Major New Version 9.0 (Part 1)

Uncategorized
| Dec 17, 2019

I’m very excited to announce that we have a major new version of the ADF Performance Monitor – version 9.0 !

We have added many valuable new features; new metrics that can detect and help explain poor performance, disruptions, hiccups, and help troubleshooting ADF applications. Like operating system metrics: the CPU usage of the ADF application, the total CPU usage of the whole underlying operating system, the total used and free physical (RAM) memory of (more...)

How To Enjoy Yourself In The Wild

Uncategorized
| Dec 15, 2019

How To Enjoy Yourself In The Wild

It’s always important to do a little research about camping in New Zealand before setting off on your trip. There are so many different things that can happen while you are out there. It doesn’t hurt to be prepared, and can save you a lot of trouble. Here is some advice to help you have the best New Zealand camping trip possible.

If you are planning any kind (more...)

maui motorhome for sale

Uncategorized
| Dec 14, 2019


maui motorhome for sale