Giter Club home page Giter Club logo

multitenant-cap's Introduction

Getting Started

Welcome to the sample for a multitenant cap project with apps usable in SCP central portal.

It contains these folders and files:

File / Folder Purpose
db/schema.cds domain model with the single entity AccessRights
srv/services.cds service model for the entity AccessRights
srv/saas-provisioning/provisioning.js service called during customer subaccount subscription, create the schema and return the url of the portal
app/com.alteaup.solutions.accessrights/ Fiori Elements very simple app for the AccessRights entity
cloud-foundry/ Cloud Foundry related objects, services, and configuration
cloud-foundry/approuter/xs-apps.json Configuration of the App Router routes
cloud-foundry/html5-deployer Folder for generated ui5 apps
cloud-foundry/xsuaa/xs-security.json Authorization Scopes and Roles configuration
cloud-foundry/portal-deployer\portal-site\CommonDataModel.json Configuration of the apps availables in the portal content manager
server.js Custom bootstrap script for overriding provisioning
npm-install-all-apps.sh Shell script to install ui5-task-zipper in apps folders
mta.yaml MTA yaml configuration for the whole project
package.json project metadata and configuration
README.md this getting started guide

Deploy in SAP Cloud Platform trial one time

  • login in your trial subaccount
  • create an instance of SAP HANA Cloud DB with the option allow all IP address
  • map the instance of the db to the trial organization
  • run ./npm-install-all-apps.sh
  • run npm run build && npm run deploy

For each customer

  • create a new subaccount
  • subscribe to Mulitenant-Portal Application
  • open provider subaccount
  • create a route in and bind it to mtt-approuter using the following pattern {subdomain}-{space}-{appname}
  • launch the application

References and thanks

multitenant-cap's People

Contributors

sbarzaghialteaup avatar aliasad466 avatar aliasad999 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.