- NodeJS Installed on machine
- Editor of choice (e.g. VSCode)
- NPM installed
- Git
- Bruno API Tooling
To get started with the challenge, first perform an installation of the required dependencies using the following command:
npm install
Once the process is complete, all development and runtime dependencies should be ready, and you can now start the challenge.
- Create your own personal entity in the
schema.cds
file, and expose it in your service - Supply local test data for your entity in the
test/data
directory - Secure your exposed entity with role-accesses
- Setup local test user for your created roles
- Bonus points for setting up a Bruno collection in the project and creating test cases
- Import the data model for the Microsoft Northwind service (https://services.odata.org/v4/northwind/northwind.svc/)
- Expose and entity from the external Northwind service
- Setup local testing proxy for the service consumption
- Extend the Northwind exposed entity with custom properties from your service
- Setup a custom function import that fetches data from the Northwind service
- Generate a
xs-security.json
file based on your role setup - Write MTA deployment descriptor based on your project and build the MTAR
- Setup custom events in your service exposure
- Emit custom events
- Consume internally in the service the custom event
- Generate a view that exposes your custom entity in a unique manner (with calculated fields)
Learn more at https://cap.cloud.sap/docs/get-started/.