Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
matt_steiner
Active Contributor
1,749

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.)

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:

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