In a previous post I deployed my SpringBoot docker container on the Oracle Cloud. In this post I am going to try and do the same but then using Amazons EC2 Elastic Container Service. Lets get started! Setting up your container service I am going to use Amazons Fargate which makes live much easier. What is Fargate? “AWS Fargate is a technology for Amazon ECS and EKS* that allows you Continue ReadingDeploy your docker container on Amazon EC2 Elastic Container Service.
In the second part of the docker series I will try and deploy the image I created in the Oracle Cloud using Oracle Container Cloud Service. First register for a trail account here. After you completed all the steps, be aware that it might take some while for you can actually start. You will receive an email when you are ready to go. Let’s start here! Login into the Oracle Continue ReadingDeploy your docker container on Oracle Container Cloud Service.
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
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[126.96.36.199], [188.8.131.52] and [184.108.40.206] 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
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
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
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
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
“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