TechEd2018 Revisited - FuelAPI

Detlev Belser - 10.01.2019

LT116 – Designing and Developing API-First Microservices

Sven Huberti presented the FuelAPI as a "Real-Life Example" during his SAP TechEd presentation LT116 – Designing and Developing API-First Microservices.

In his presentation, Mr. Huberti not only explained how to design and develop microservices using the SAP Cloud Platform, but also demonstrated how an implementation can be structured.

At this point, we would like to thank Sven Huberti again for the very interesting presentation and for providing the content presented here.

You can download the presentation here.

More information about SAP API Management can be found here.

FuelAPI

The FuelAPI was developed by buco Business Consulting GmbH for Globus. With this API, the various channels can retrieve the current fuel prices of all Globus gas stations.

The FuelAPI uses the following SAP Cloud Platform features:

  • API Management
  • NEO Java Server
  • HANA Database
  • Cloud Connector
  • IAS

The API is based on a Java EE JAX-RS implementation that accesses the SAP HANA database via JPA.

The API implementation is exposed through SAP API Management. In API Management, various policies are used to ensure secure access to the Java implementation.

The API implementation is exposed through SAP API Management. In API Management, various policies are used to ensure secure access to the Java implementation.

The fuel prices themselves are extracted from the Globus gas station system and transferred to the HANA database via Cloud Connector.

Additionally, a Vaadin-based management tool was developed that allows the business department to influence the data exposed by the FuelAPI. For example, it is possible to define the order of fuel types for each gas station or to hide certain fuel types.

The management tool also uses the API's to, for example, populate the gas station dashboard with data or persist the settings.

Zurück zur Übersicht