hschaefer123 / odataexplorer

UI5 OData Explorer
Apache License 2.0
38 stars 11 forks source link

ODataExplorer

OpenUI5 Developer Blog

UI5 tool to explore entities of a given OData v2 service.

Online Demo (SAP HCP)

Screenshot

Highlights

  • app to explorer a given OData v2 service
  • demo HCP destination pointing out to northwind example service Northwind
  • included coding to add service browser for SAP Gateways using /sap/opu/odata/iwfnd/catalogservice/
  • some css fixes for token (avoid clipping in Tablet, float)
  • added Visualizer to render networkgraph with options to export to SVG and PNG

SAP Service Browser

If you will use the app to explorer services on an SAP Gateway, you can enable the service catalog to discover and search for all existing services. The selected service will be loaded automatically. To enable this feature you have to

  • inside the manifest.json copy the xmodel/catalog model to the existing model section and delete xmodel (preload: false currently does not work, maybe a bug)
  • inside the Metadata.controller.js set property "_bUseCatalogService: true" to true to show service selector instead of using demo service
  • FIX: I also changed useBatch: false like mentioned by Gregor's issue #1
  • remove line "authenticationMethod": "none", and block "securityConstraints": [...], from neo-app.json. This is used for demo purposes only to make to the public/anonymous available!

License

Released under the Apache license. Have at it.