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 XSA
- Understand REST principles and different HTTP methods
- Explore microservices (Node.js) development
- Database 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
is a seasoned architect who specializes in custom application development and systems integration. With over 10 years of experience in software development, he has designed and built solutions for clients in various industries (industrial, defense, retail). He is an active participant in the SAP community in English and Spanish channels. He has spoken at several tech conferences such as SAP Tech Ed, SAP Sapphire, and SAP Inside Track in Mexico and Colombia.
Chapter 1: Architecture of SAP HANA XSA
Chapter Goal: The goal is to explain the SAP HANA XSA architecture, complexity of cloud foundry and the required artifacts on XSA. It paints the story for the rest of the book
1. Assumption and description of developers understanding SAP HANA 1
2. Cloud Foundry
3. Open Source
Chapter 2: Tools for Development on HANA XSA
Chapter Goal: This chapter showcases the different tools involved for an XSA API project. Identifying the tools, capabilities and limitations allowing developers to become more productive.
Sub - Topics:
1. SAP WEB IDE and connecting to GIT
2. Database explorer (assuming we have a table, a data model and stored procedures)
3. XSA cockpit
4. POSTMAN REST client
Chapter 3: Security Model on XSA
Chapter Goal: Developers need to understand why the container isolation is required. Understanding containers allow developers to feel more comfortable during XSA development and it also facilitates the understanding while debugging
Sub - Topics
1. UAA service
3. CUPS (User Provided Services)
4. Cross schema access using synonyms
Chapter 4: SAP HANA XSA NodeJS Development
Chapter Goal: this chapter contains examples building REST APIs. It is the fundamental chapter to expose and ingest data into an SAP HANA XSA system via HTTP(s)
1. Compatibility mode with XSJS
2. Development of REST APIs
3. Node dependencies
4. Debugging NodeJs
Chapter 5: Deployment Scenarios of HANA XSA
Chapter Goal: A software product is not completed until it is deployed to a production environment. This chapter explains how to deploy an XSA project
Sub - Topics:
1. Mta project and versioning
2. WEB IDE deployments
3. Scaling microservices via the SAP HANA Cockpit for XSA