Hello everyone,
My name is Dries and for the moment I am Working on some IoT project demos to investigate IoT AE. I spend most of the time by creating UI5 applications and for the moment I'm investigating this topic cause IoT gets more important every day.
I am writing this topic to show you that you don’t need to buy a Cloud Foundry license to run IoT apps.
You can run them on the NEO environment.
In this blog I will reveal a little trick to deploy your App to NEO.
The following items I recently investigated:
- Python scripting to send data to SAP Cloud (Postman)
- SAP IoT Service Cockpit
- SAP IoT Thing Modeler & Tenant Administration
- SAP Web IDE IoT UI5 Apps
- SAP Edge Gateway (EDGE GATEWAY)
So let's get started!
Follow these steps to create and deploy your IoT application to NEO:
Create your SAP UI5 IoT App
Generate an IoT App from template in the Web IDE and run it.
You should have a landing page with your selected things when running the application:
Create a SAP UI application from template
To make it possible to deploy to NEO, we will create a new UI5 App from template.
After the creation of the UI5 App the structure in the workspace will look like this:
Make the adjustments to the UI5 App
First
delete the
full webapp folder in the
UI5 App you created in the previous step.
Then
delete the
neo-app.json file.
You should have the following structure now:
.
Copy the
full webapp folder and the
neo-app.json file from the IoT App project to the UI5 app project.
You should have the following structure now:
Try to
run the
UI5 app with the new webapp folder and neo-app.json file.
This should work.
Deploy the UI5 App to SAP Cloud Platform
Select the UI5 project you created and adjusted.
Try to deploy it and see that the option 'Deploy to SAP Cloud Platform' is available.
Select this option and fill in the required fields.
Log in with your credentials.
Achieve to message 'Successfully Deployed'.
Confirm the deployed UI5 AE App
Notice that your UI5 App is up and running!
Select the application and open it by the Application url.
The application starts and shows all your things into the app!
That's it!
So after following this blog you are able to:
- Create a UI5 App
- Adjust this UI5 App to prepare it for IoT AE
- Deploy your App to NEO
The SAP Help link of this topic:
Deploying the Application to Neo Environment
For the moment I'm investigating SAP Edge Services:
- Streaming Service
- Business Essential Functions
This to aggregate filter and trigger events or work orders in SAP S4.
I will be pleased to share my knowledge about
Edges Services in future posts.
Good luck and enjoy!
Greetings,
Dries