In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
How to deploy SAP Multi Target applications to the Cloud Foundry environment of SAP cloud platform, many novices are not very clear about this. In order to help you solve this problem, the following editor will explain it in detail. People with this need can come and learn. I hope you can get something.
SHINA, which stands for SAP HANA Interactive Education, is a demo application that demonstrates how to develop SAP HANA native applications.
This application contains sample data as well as HANA database tables, view,OData service and UI, conforms to SAP HANA Extended Service Advanced Programming Model, and consists of the following packages:
Core-db: core data model
Core-js: back-end implementation of Data Generator, Purchase Order Worklist and Sales Dashboard, based on nodejs
User-js: the CRUD implementation of User is also based on nodejs and XSOData libraries. It also demonstrates how to use Cloud Foundry's job scheduling service to create and schedule tasks.
Web: UI implementation of SHINE Launchpad and other applications, based on SAP UI5.
Site-content: the required configuration file for SAP Fiori Launchpad.
1. We need to clone the SHINA source file provided by SAP locally and package it into mtar format, so we need to download MTAR builder.
Downloading from SAP Service Market is actually a .jar file.
What does MTA mean? Multi-Target Application consists of a series of software modules, each of which can be developed in a different programming language and uses different deployment technologies, but these module share the same lifecycle at the time of development and deployment.
The SHINE described above is a good example of MTA. The database is developed using the HANA native model, the front-end pages are developed using SAP UI5, and the business logic is developed using nodejs. These module will be packaged into a file through the MTA builder described below, and then uniformly deployed on Cloud Foundry.
There is a mta.yaml file under the root of each MTA application folder that maintains the type, packaging, and other information of the various module that make up the MTA application.
two。 Clone the SHINA application locally from github:
Execute the command java-jar mta.jar-build-target=CF-mtar=shine-cf.mtar build
Finally, the mtar file of the 150MB size is generated. You can now deploy this file to cloud foundry.
Use the command line cf deploy shine-cf.mtar to deploy the mtar file generated by the previous step to the SAP cloud platform.
After a successful deployment, you can access the two applications shine-web and site-web that are automatically set to the Started state.
If you need to remove the deployed application from the Cloud Foundry, execute the command line: cf undeploy com.sap.refapps.shine-f-delete-services
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.