Skip to main content
Top

2020 | Book

Microservices in SAP HANA XSA

A Guide to REST APIs Using Node.js

insite
SEARCH

About this book

Build enterprise-grade microservices in the SAP HANA Advanced Model (XSA). This book explains building scalable APIs in XSA and the benefits of building microservices with SAP HANA XSA.

This book covers the cloud foundry (CF) architecture and how SAP HANA XSA follows the model. It begins with the details of the different architectural layers of applications hosted in XSA (specifically, microservices). Everything you need to know is presented, including analyzing requests, modularization, database ingestion, building JSON responses, and scaling your microservices. You will learn to use developmental tools such as the SAP WEB IDE, POSTMAN, and the SAP HANA Cockpit for XSA, including debugging examples on SAP HANA XSA with code snippets showing how microservices can be developed, debugged, scaled, and deployed on SAP HANA XSA. Microservices are divided into security and authentication, request handling, modularization of Node.js, and interaction with the SAP HANA database containers and response formatting. An end-to-end scenario is presented of a Node.js REST API that uses HTTP methods, concluding with deploying an SAP HANA XSA project to a production environment.

This book is simple enough to help you implement a Node.js module in order to understand the development of microservices, and complex enough for architects to design their next business-ready solution integrating UAA security, application modularization, and an end-to-end REST API on SAP HANA XSA.

What You Will Learn

Know the definition and architecture of cloud foundry and its application on SAP HANA XSAUnderstand REST principles and different HTTP methodsExplore microservices (Node.js) developmentDatabase interaction from Node (executing SQL statements and stored procedures)

Who This Book Is For

Architects designing business-ready solutions that integrate UAA security, application modularization, and an end-to-end REST API on SAP HANA XSA

Table of Contents

Frontmatter
Chapter 1. Architecture of SAP HANA XSA
Abstract
Welcome to how to build microservices in SAP HANA XSA using Node JS. In this chapter, I explain the SAP HANA architecture, the evolution from HANA 1 to HANA XSA, the Cloud Foundry (CF) architecture, and also how open source plays a very important role in the development of microservices in HANA XSA.
Sergio Guerrero
Chapter 2. Security model in XSA
Abstract
This chapter explains the Cloud Foundry security model using the User Account and Authorization service (UAA) and how SAP HANA XSA implements it. The OAuth protocol and its vital role within XSA are part of this chapter. HDI containers along with cross-schema access on classic objects are explained along with other development artifacts such as synonyms, and grants are addressed as they are vital to the cross-schema development scenarios that are present in any enterprise who is ready to face the implementation of development in an XSA environment.
Sergio Guerrero
Chapter 3. Tools for development on HANA XSA
Abstract
This chapter will dive deeper into understanding the tools related to REST API development using NodeJS inside SAP HANA XSA. The tools that will be discussed in this chapter include the SAP Web IDE, the Database Explorer, the XSA cockpit, and GitHub.
Sergio Guerrero
Chapter 4. SAP HANA XSA NodeJS development
Abstract
This is probably the chapter everyone is waiting for. In this chapter, the book will explain the Node JS development as it applies to SAP HANA XSA. There are various endpoints and also HTTP methods discussed in detail to handle the request and response from the microservices exercise being built. Fasten your belts and let’s get going.
Sergio Guerrero
Chapter 5. Deployment scenarios of HANA XSA
Abstract
A software system is not completed until it is delivered in a production environment. The book will showcase and explain how to assign version control to the microservice being developed in the exercises shared in this book. This chapter will also explain how to perform deployments of software in the environment and also how to deploy to the SAP Cloud Platform.
Sergio Guerrero
Backmatter
Metadata
Title
Microservices in SAP HANA XSA
Author
Sergio Guerrero
Copyright Year
2020
Publisher
Apress
Electronic ISBN
978-1-4842-6118-7
Print ISBN
978-1-4842-6117-0
DOI
https://doi.org/10.1007/978-1-4842-6118-7

Premium Partner