Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sap-samples/cap-service-integration-codejam
Material for the CodeJam on service integration with the SAP Cloud Application Programming Model.
https://github.com/sap-samples/cap-service-integration-codejam
api owner-qmacro sample sap-cap sap-codejam
Last synced: about 23 hours ago
JSON representation
Material for the CodeJam on service integration with the SAP Cloud Application Programming Model.
- Host: GitHub
- URL: https://github.com/sap-samples/cap-service-integration-codejam
- Owner: SAP-samples
- License: apache-2.0
- Created: 2023-01-30T18:35:53.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-03T09:32:26.000Z (6 months ago)
- Last Synced: 2024-06-04T09:38:57.929Z (6 months ago)
- Topics: api, owner-qmacro, sample, sap-cap, sap-codejam
- Language: CAP CDS
- Homepage:
- Size: 16.9 MB
- Stars: 31
- Watchers: 8
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Service integration with SAP Cloud Application Programming Model
[![REUSE status](https://api.reuse.software/badge/github.com/SAP-samples/cap-service-integration-codejam)](https://api.reuse.software/info/github.com/SAP-samples/cap-service-integration-codejam)
## Description
This repository contains the material for the "Service Consumption with the SAP Cloud Application Programming Model" CodeJam, brought to you by the Developer Advocates at SAP.
## Overview
This CodeJam introduces attendees to service integration with the SAP Cloud Application Programming Model (CAP). Specifically, the Node.js flavor of CAP is used.
During this event, you'll become acquainted with how external services can be integrated and consumed from within a CAP project. In working through the exercises you'll also become comfortable with various facilities that CDS offers for declaring, relating and exposing entities, and familiar with how the SAP Cloud SDK covers connectivity and destinations, supporting such integration scenarios with CAP.
## Session prerequisites
In order to get the most from this CodeJam, and to be able to work through the exercises, there are certain prerequisites that you must have sorted out before the day of the CodeJam.
The prerequisites are detailed in a separate [prerequisites](prerequisites.md) file. Please ensure you have everything ready before attending the CodeJam.
## Exercises
These are the exercises, each in their own directory, sometimes with supporting files and scripts. We will work through the exercises in the order shown here. From a session flow perspective, we are taking the "coordinated" approach:
The instructor will set you off on the first exercise, and that's the only one you should do; if you finish before others, there are some questions at the end of the exercise for you to ponder. Do not proceed to the next exercise until the instructor tells you to do so.
> The exercises are written in a conversational way; this is so that they have enough context and information to be completed outside the hands-on session itself. To help you navigate and find what you have to actually do next, there are pointers like this 👉 throughout that indicate the things you have to actually do (as opposed to just read for background information).
1. [Set up your workspace](exercises/01-set-up-workspace/)
1. [Explore the basic service](exercises/02-explore-basic-service/)
1. [Import an OData service definition](exercises/03-import-odata-api/)
1. [Understand service mocking](exercises/04-understand-service-mocking/)
1. [Add test data for the mocked external service](exercises/05-add-test-data/)
1. [Mock external service in a separate process](exercises/06-mock-separate-process/)
1. [Add CDS definitions to integrate services](exercises/07-add-cds-definitions/)
1. [Introduce SAP Cloud SDK](exercises/08-introduce-sap-cloud-sdk/)
1. [Set up the real remote system configuration](exercises/09-set-up-remote-system-configuration/)
1. [Run the service with real remote delegation](exercises/10-run-with-real-remote-delegation/)
1. [Associate local and remote entities](exercises/11-associate-local-remote-entities/)
1. [Extend the SAP Fiori elements UI with annotations](exercises/12-extend-fiori-ui-with-annotations)## Feedback
If you can spare a couple of minutes at the end of the session, please help us improve for next time by providing some feedback.
Simply use this [Give Feedback](https://github.com/SAP-samples/cap-service-integration-codejam/issues/new?assignees=&labels=feedback&template=session-feedback-template.md&title=Session%20Feedback) link to create a special "feedback" issue, and follow the instructions in there.
Thank you!
## Acknowledgements
The exercise content in this repository is based on previous work for an SAP TechEd 2 hour workshop, written by Christian Georgi of the CAP team.
## How to obtain support
Support for the content in this repository is available during the actual time of the CodeJam event for which this content has been designed.
## License
Copyright (c) 2023 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the [LICENSE](LICENSES/Apache-2.0.txt) file.