在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:SAP-samples/multi-cloud-html5-apps-samples开源软件地址:https://github.com/SAP-samples/multi-cloud-html5-apps-samples开源编程语言:HTML 69.6%开源软件介绍:Examples of HTML5 Applications for SAP Business Technology Platform Multi-Cloud EnvironmentsThis repository contains examples of HTML5 applications for multiple SAP BTP environments. The examples show how you can use standalone application routers or managed application routers to achieve different goals and they demonstrate the capabilities of the SAP HTML5 Application Repository service for SAP BTP. On the Cloud Foundry and Kyma environment of SAP BTP, you can run an application that was uploaded to the SAP HTML5 Application Repository service for SAP BTP using one of the following options: a standalone application router or a managed application router. Both options allow you to serve static content from the HTML5 Application Repository, authenticate users, rewrite URLs, and forward or proxy requests to other micro services while propagating user information. However, the option that is managed brings many benefits, such as:
In general, we recommend using the managed application router. Use an standalone application router preferably only in advanced cases, for example when application router extensibility is required. For more information, see
Examples for SAP BTP, Cloud Foundry EnvironmentBefore you start with the examples, please make sure that you are familiar with the basic concepts of HTML5 web apps in the Cloud Foundry environment, such as Cloud Foundry applications, services, service bindings. For more information, see this video. The HTML5 Application Repository can hold any UI project independent of the used framework. Use the following commands of the Cloud Foundry CLI plugin plugin to upload the HTML5 apps to the application repository: mkdir myapp
cd myapp
echo '{"sap.app":{"id":"myapp","applicationVersion":{"version": "1.0.0"}}}' > manifest.json
echo '{"routes":[{"source":"^(.*)","target": "$1","service":"html5-apps-repo-rt"}]}' > xs-app.json
cf html5-push For information about how to upload a react-based application to the HTML5 Application Repository, see this blog post. Requirements
HTML5 Apps Running on a Standalone Application RouterHTML5 Apps Using the Managed Application RouterIn contrast to the examples above, you don't need an application router for the following apps, which use the managed application router. This reduces the total cost of ownership (TCO) and you don't have to update the application router manually.
Optional backend serviceExamples for SAP BTP, Kubernetes EnvironmentHTML5 Apps Using the Managed Application RouterKnown IssuesNone so far :) SupportThis content is provided "as-is" with no other support. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论