Running a simple SpringBoot API as a Docker container

Docker

Containers are a hot topic nowadays. Is it easy or does it come with a steep learning curve and what are the things to consider? In this blog serie I will show some simple examples of how you can use containers and in which environments. In part 1 I will build a simple SpringBoot application which can be accessed through REST. We will then dockerize it and first run it Continue ReadingRunning a simple SpringBoot API as a Docker container

Undeploy non default, retired or inactive soa suite composites using java

When building a lot of soa suite composites, your environments end up with many different versions. So we might end up with 3 LocationService composites with versions[1.0.0.0], [1.0.1.0] and [1.0.2.0] which is the default. This takes up resources and clutters the EM. So you might want to have a way to remove these easily with having to go to the EM and manually uninstalling all of them with the risk Continue ReadingUndeploy non default, retired or inactive soa suite composites using java

Issue Soa Suite 12.1.3 Context of the same RID xxxxxx already present in this family

Lately in our production environment we saw that when some of our services where called in rapid succession, some of them failed. Under normal load we never had issues but under bigger load we saw the following error in our BPEL instances: Failure in Oracle WSM Agent, category= security, function=agent.function.client, stage=fault due to RuntimeException. java.lang.IllegalArgumentException: Context of the same RID, 0:1:4 already present in this family, f42da30f-5c89-49d9-a4fd-bd2b7e80644e-00154a3f. It also seemed Continue ReadingIssue Soa Suite 12.1.3 Context of the same RID xxxxxx already present in this family

Add client certificate for outgoing OSB call

Simple use case……you want to connect to a customer system over the internet. The customers system has an API but requires 2-way SSL. This means we have to send a client certificate along to make sure the SSL handshake can be completed. If your server has already a server certificate installed, it will send this one along by default but the customers system won’t accept it as it is different Continue ReadingAdd client certificate for outgoing OSB call

Using JMX to list installed 12C OSB and SOA projects including versions using Java

OFM

Lately we where looking for a way to easily list all the services (OSB and SOA) installed on our DTAP machines. A CMDB works as well as it is maintained. As this is tedious and manual labour, we all know from experience that the CMDB is never fully correct. So how do we know then what is installed where? We can open the EM and the sbconsole and have a Continue ReadingUsing JMX to list installed 12C OSB and SOA projects including versions using Java

Building a simple microservice using Spring Boot

In this short post, I will show how to build a simple JPA Microservice using Spring Boot. Spring Boot makes it easy to create stand-alone based applications that you can run and need very little Spring configuration as we will see in this short tutorial. For an explanation about microservices, read this article of Martin Fowler. For the code, see https://github.com/hugohendriks1978/climbing-api As I was saying we are going to use Continue ReadingBuilding a simple microservice using Spring Boot

SOA Suite 12C: Generating a JSON Web Token (JWT) in OSB

“JSON Web Token (JWT) is a JSON-based open standard (RFC 7519) for creating access tokens that assert some number of claims. For example, a server could generate a token that has the claim “logged in as admin” and provide that to a client. The client could then use that token to prove that it is logged in as admin. The tokens are signed by the server’s key, so the client Continue ReadingSOA Suite 12C: Generating a JSON Web Token (JWT) in OSB

A first glance at Mule’s API capabilities

mulesoft

Since 2006, Mulesoft is offering middleware and messaging. Back then, building integrations was still heavily XML file based, with a set of Eclipse based plugins. This has changed though! With their Anypoint Studio, an Eclipse-based graphical development environment for designing, testing and running Mule flows, they really upped their game. Together with their new IPaaS platform CloudHub and their API capabilities, Mulesoft is looked at as a big player in Continue ReadingA first glance at Mule’s API capabilities

SOA Suite 12C : Patch to fix the JDev business rule component performance

A while back I did a post about the business rule engine. See here. In the end of the post I added some considerations. One was the very annoying performance of the business rule component in JDev when using decision tables. If you were editing them, the memory usage started growing and after 5 minutes JDev would crash. Also editing large decision tables was very slow. The worst part back Continue ReadingSOA Suite 12C : Patch to fix the JDev business rule component performance