This is an expanded version of the same demo from the SAP TechEd 2021 Developer Keynote: [ Ссылка ]
Source Code here:
[ Ссылка ]
Often in SAP Cloud Application Programming Model samples and other content, we focus on the ability to model and create OData services. However, CAP also has some amazing functionality to help with the consumption of services from other systems. Or to create a mashup of local data and remote data fetched via a service call. This demo portion of the SAP TechEd 2021 Developer Keynote will focus on exactly those aspects of the SAP Cloud Application Programming Model.
0:00 Introduction
2:05 SAP API Business Hub
3:19 API Key
4:18 Personal Information API
4:54 Export EDMX
5:38 Create new CAP project
6:16 Template Wizard
7:44 Project Structure
8:39 cds import
9:39 CSN
10:06 package.json
11:57 Update package.json Requires
14:31 package.json cds Section
16:03 External Service Credentials
17:24 cat-service.cds
21:09 server.js
22:50 cat-service.js
28:23 Mock Data
29:14 Test Run
31:07 OData Endpoints
34:03 Fiori UI
34:40 REST Endpoint
35:21 Swagger/OpenAPI Test
35:50 GraphQL Endpoint
37:26 Closing
Ещё видео!