Integrating an external API into an SAP Cloud Application Programming Model service

preview_player
Показать описание
Continuing on from last week's back to basics episode, we look at how we can integrate an external API (the API_BUSINESS_PARTNER API we found on SAP API Business Hub) into an SAP Cloud Application Programming Model service. Join us, everyone welcome, especially beginners!

Topics:
cap, cds, OData, metadata, EDMX, mocking, jq, ijq, SAP Cloud SDK

Links:

Chapters:
00:00 Welcome and introduction
06:00 Remembering what we did last week, starting at the API_BUSINESS_PARTNER API
11:00 Looking through the log output at the CAP server startup activities
13:50 Comparing cds run and cds watch
16:00 Re-creating the CSV data for the A_BusinessPartner entity
21:10 Thinking about what we need to connect to the sandbox system
23:45 Parsing the YouTube Data API output to get a list of video IDs and titles with jq
26:22 Using the power of the SAP CDS Language Support extension plus the Language Server Protocol (LSP)
28:40 Creating a basic projection on an entity from the external API
31:00 Creating CSV data from the YouTube playlist item JSON for the Episodes entity
34:10 Trying out mocking of the external service in a separate process (with cds mock)
43:50 Introducing the concept of CAP configuration profiles
45:50 Looking at what happens when a remote service isn't mocked
52:03 Exploring the question about reverse proxying by adding an association and thinking about how that will be resolved (with the help of the SAP Cloud SDK, used internally by CAP)
55:45 Taking a first brief look at CAP's env facility, the cds env command, and the .env file
58:00 Rushing to get a profile in to the environment (and missing the fact that I omitted the `cds` prefix to all properties in the .env file!)
Рекомендации по теме
Комментарии
Автор

eating while presenting? LOL I like that, i will do that also.

DD-coder
Автор

Thanks for wonderful content. Is this tutorial hosted on any public repo, ex. GitHub or so? would be really helpful. Thanks

borntoexcel
Автор

how do i find the link of next episode ?

rahuljain_