cosmos-umbrella

July 13, 2021 ยท View on GitHub

Build status Build status

A SAPUI5 freestyle application to consume data from CosmosDB via OData.

Additional Resources
blog on the SAP community
OData web api project
SAP CAP app
CI/CD pipelines on AzDevOps

geode

Application Details

Generation Date and Time
Mon Jun 07 2021 12:40:58 GMT+0000 (Coordinated Universal Time)
App Generator
@sap/generator-fiori
App Generator Version
1.2.0
Generation Platform
SAP Business Application Studio
Floorplan Used
3worklistodatav4
Service Type
OData Url
Service URL
https://sap-cosmos-global.azurefd.net/api/odata
Module Name
cosmos-umbrella
Application Title
SAPUI5-CosmosDB-umbrella
Namespace
azure.odata.cosmos.example
UI5 Theme
sap_fiori_3
UI5 Version
Latest

Starting the generated app

  • This app has been generated using the SAP Fiori tools - App Generator, as part of the SAP Fiori tools suite. In order to launch the generated app, simply right-click the webapp folder -> Preview application -> choose flp for Fiori launchpad env or noflp for Index.html only.

    preview wizard

  • Alternatively run the following command from the Terminal from the generated app root folder:

    npm start
  • It is also possible to run the application using mock data that reflects the OData Service URL supplied during application generation. In order to run the application with Mock Data, run the following from the generated app root folder:
    npm run start-mock

The preview application option shows the mock commands too

Additional resoueces

I found the SAP cloud SDK docs useful to understand the destinations setup for SAP BAS to reach FrontDoor and eventually the AppService for OData and CosmosDB.