Implementing a simple Salesforce API using Anypoint platform.

Implementation

In Part 1 we saw how you can easily design an API in Anypoint platform. In this next post I will show how to write an implemention of the API based on the design and how to deploy it to CloudHub. Let’s get started. Anypoint studio Start Anypoint studio and the File->New->MuleProject. The wizard opens up and you can then specify the name of the application. In my case Salesforce-API. Continue ReadingImplementing a simple Salesforce API using Anypoint platform.

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: Add version information to your ServiceBus projects using custom maven plugin

maven

As you have seen in my previous posts it is possible to build your SB and SOA components using Maven. See here. One of the issues we encountered is that building ServiceBus projects supports some very basic maven stuff. For example the description property in the maven pom file is not mapped to the description field of a service bus project which would have been nice as this is the Continue ReadingSOA Suite 12C: Add version information to your ServiceBus projects using custom maven plugin

OFM 12C: Running WLST scripts in your build pipeline using the weblogic-maven-plugin

CI

When you are building and deploying servicebus or soa composites to the server, you will have the certain dependencies with the server such as datasources or JMS resources. Those resources must be there if you want to deploy. A best practice is of course to script these. You can use WLST to run .py script which create your resources. The only problem is you want to know for sure the Continue ReadingOFM 12C: Running WLST scripts in your build pipeline using the weblogic-maven-plugin

OFM 12C: Slow SB deployment issue

Working with 12C a while, we started noticing that the deployment of our SharedResources SB project started to slow down. This project contains re-usable resources and contracts. The strange thing was that it was only this specific SB project. All the other projects where fine. Both deploying in JDeveloper and deploying using Maven started at around 40 seconds but after a while, it went up to 10 minutes even which Continue ReadingOFM 12C: Slow SB deployment issue

Automated acceptance testing using Fitnesse, Java and the OSB

When I was at Xebicon this year I saw a talk from Dave Farley. At 26 minutes or so he starts talking about Domain Specific Languages. Making an abstraction layer on top of your system where your tests run against so when the underlying system changes, you only have to adjust your layer in between instead of all the tests. This idea got me thinking of how we could be Continue ReadingAutomated acceptance testing using Fitnesse, Java and the OSB

SOA Suite 12C: Simple example of using the Spring component

A few days ago, we needed a some business functionality to validate an IBAN account number. You can use inline Java in your BPEL process but there are more elegant ways as you don’t want to pollute your orchestration layer with business functionality. An nice and elegant way, in my opinion, is the use of the Spring component. By using this component you can expose a Java bean as simple Continue ReadingSOA Suite 12C: Simple example of using the Spring component

Oracle Fusion Middleware 12C: Deploy the MDS using Maven

maven

In two previous posts here and here, I demonstrated how you can setup CI for OFM 12C projects. One of the things I hadn’t figured out yet was how I could deploy the MDS using Maven. After a vague hint on the internet, Oracle’s response that this feature wasn’t officially supported yet and some trial and error I came across the solution. It is actually quite simple. Basically it comes Continue ReadingOracle Fusion Middleware 12C: Deploy the MDS using Maven

Continuous Integration using Oracle SOA Suite 12C: Part 2. Building a SB and SOA project using maven and the MDS

CI

In the part 1 I have shown how to setup a simple CI environment and how to build a Service Bus project using Maven. In this part I will try to make a release pipeline which builds, deploys, tests, packages and release a whole service using Jenkins and if all successful and finally install the artifact in Nexus. Lets start where we left of. Startup Tomcat and log into Jenkins. Continue ReadingContinuous Integration using Oracle SOA Suite 12C: Part 2. Building a SB and SOA project using maven and the MDS

The Oracle Maven repository available now!

maven

For ages, software companies have had maven repositories to manage their artifacts. Using maven’s dependencies system, you can easily add new libraries to your project without needing to know which other libraries you needed and maven will even download them for you. So the times of adding a library…compiling…class-not-found…adding another library…compiling…next-class-not-found where over. Unless you needed some oracle libraries! Up to now, Oracle did not have a public repository so Continue ReadingThe Oracle Maven repository available now!