Skip to Content

Recently the new SAP Data Quality Management, microservices for location data (DQaaS) service was launched and as somebody who has been using an addressbook app (have you meet Granny yet?) as my main sample app that certainly was very intriguing…

So, during a hackathon last week I decided to do a bit of hands-on and test-drive the new DQaaS services and see how I can integrate them into Granny to demo cloud-native app development using microservices… the result has been this repo:

GitHub: [cloud-service-dq-api]

The project is Maven-based and comprises two modules:

The first contains a native Java API (wrapper) using JAX-RS Client functionality as a facade for the HTTP-based microservices. You can use it within you own Java apps running on HCP without having to worry about low-level HTTP APIs and the de-/serialisation from/to JSON that comes a long with it.

The other module is a Java web app that you can deploy to HCP to test-drive the Address Cleanse microservice. I simply re-used the interface/API of the Cleanse Address service in order to create a transparent proxy that is used by the HTML5 frontend (I stuck to the classics: AngularJS , jQuery and Bootstrap.)

/wp-content/uploads/2016/07/dqaas_testbed_mobile_992873.png

For all the REST-ish stuff (the microservices are not truly resources in the strict sense!) I’ve been using Apache CXF again: http://cxf.apache.org/

Also, note-worthy… including enunciate to create a technical API documentation based on the JAX-RS annotations and JavaDoc:

/wp-content/uploads/2016/07/dqaas_testbed_api_992872.png

Hooked? Give it a try! Would love to have your feedback!

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply