This is a SAPUI5 app represents the dashboard of the project. It visualizes the charity data from the RAP charity service with UI Integration Cards.
The context in which it runs is shown as the highlighted section of the whiteboard:
- Install deps
npm install
- Replace the first route in the
xs-app.json
with{ "source": "^/sap/credits", "target": "/credits.json", "localDir": "sample" }
- Run Approuter
npm start
- Access http://localhost:5000/ to test the integration cards
- Install deps
npm install
- Add a new
default-env.json
file to simulate the destination to the backend:{ "destinations": [ { "name": "rap", "type": "HTTP", "Authentication": "BasicAuthentication", "ProxyType": "Internet", "url": "https://___.abap.eu10.hana.ondemand.com/sap/opu/odata/sap/Z_UI_C_CSTDONCREDITS_R" } ] }
- Run Approuter
npm start
- Access http://localhost:5000/ to test the integration cards. You will see a BasicAuth prompt from the RAP service.
Prior to any deployment, create a destination named rap
in the SAP Cloud Platform cockpit. This destination shall point to the RAP Charity OData service and specify the applied authentication parameters..
- Subscribe to the Launchpad service
- Build the project with
mbt build
- Deploy with
cf deploy mta_archives/developer-keynote-dashboard_1.0.0.mtar
- Access https://your-id.launchpad.cfapps.eu10.hana.ondemand.com/developerkeynote.dashboard