Skip to content

Code sample demonstrating use of the SAP HANA XSA Dynamic HANA Deployment Infrastructure (HDI) Deployer.

License

Notifications You must be signed in to change notification settings

SAP-samples/hana-dynamic-deploy

REUSE status

SAP HANA Dynamic Deploy

SAP HANA XSA sample code project demonstrating the use of the HANA Deployment Infrastructure(HDI) dynamic deployer.

Description

This repository contains a complete Multi-Target Application (MTA) sample project that is an example of using the SAP Cloud Application Programming (CAP) approach and it's multitenancy support library to provide true enterprise multitenant application.

While the principals described here apply specifically to the managed-hana service broker as implemented in on-premise HANA, this approach may be adapted to use the service manager service broker found in SAP Business Technology Platform Cloud Foundry. However, the details are not provided here. The idea of creating HDI containers at run-time is useful in quasi-multitenant use-cases outside of pure Cloud Foundry multitenancy development approach supporting subscribability.

Requirements

Download and Installation

Project Structure

File / Folder Purpose
README.md this getting started guide
COMMANDS.md commands for building/deploying
app/ content for UI frontends go here
db/ staticly deployed database definitions go here
documentation/ supplemental documentation
dyn1/ dynamically deployed database definitions (1 data source)
dyn2/ dynamically deployed database definitions (2 data sources)
srv/ your service module code goes here
mta.yaml project structure and relationships

Instructions

See the COMMANDS file for commands for building and deploying the project.

Known Issues

This example project contains no known issues.

Limitations

SAP Business Technology Platform Cloud Foundry deployment is currently not supported. (Leave feature requests as issues.

How to obtain support

Create an issue in this repository if you find a bug or have questions about the content.

For additional support, ask a question in SAP Community.

Documentation

The primary documatation is found at the NPM.org HDI Dynamic Deploy @sap/hdi-dynamic-deploy repo.

However, understand that the dynamic deployer wraps the functionality of the primary HDI deployer which has much configuration details @sap/hdi-deploy.

For more information about HANA DI, please check Defining the Data Model in XS Advanced and the SAP HANA Deployment Infrastructure section of the HANA Administration Guide.

Reporting Problems and Contributing Enhancements

An SAP Code Sample such as this is open software but is not quite a typical full-blown open source project. If you come across a problem, we’d encourage you to check the project’s issue tracker and to file a new issue if needed. If you are especially passionate about something you’d like to improve, you are welcome to fork the repository and submit improvements or changes as a pull request.

To-Do (upcoming changes)

Tools used throughout the development of this project are evolving and my change over time. This may result in discrepancies in the exact procedures or screen-clips in the accompanying blog posts. All efforts will be made to update the content in order to keep pace with the tooling, but cannot be guaranteed.

Learn more...

Stay tuned for an in-depth blog post with detailed discussion.

License

Copyright (c) 2020 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.

About

Code sample demonstrating use of the SAP HANA XSA Dynamic HANA Deployment Infrastructure (HDI) Deployer.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published