Skip to content
This repository has been archived by the owner on Nov 13, 2021. It is now read-only.

Basic Business Partner mock service for SAP TechEd 2019 mission

Notifications You must be signed in to change notification settings

SAP-archive/teched2019-mission-mock-service-bupa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important Notice

This public repository is read-only and no longer maintained. For the latest sample code repositories, visit the SAP Samples organization.

Simple BUPA Mock Service

REUSE status

Description

This is a simple Business Partner mock service that emulates the OData Mock Service that was supplied for the "Extending SAP S/4HANA" book and openSAP course. It exists primarily as a starting point for an SAP TechEd 2019 tutorial mission relating to the SAP Cloud Application (CAP) Programming Model and the SAP Cloud SDK.

Requirements

This service is powered by CAP and is based upon a Core Schema Notation (CSN) definition of the original Business Partner service API. Note that this definition resource is not included in this repository.

This is a Node.js flavored CAP based project, and so both Node.js and CAP are required.

Download and installation

You can download this repository in the normal way, i.e. with git clone.

Starting the service

  1. Install dependencies with npm install
  2. Retrieve and save the API_BUSINESS_PARTNER.json CSN file to a new directory srv/external/csn/
  3. Start the service with npm start
  4. Access the address data at http://localhost:3000/sap/opu/odata/sap/API_BUSINESS_PARTNER/A_BusinessPartnerAddress

Known issues

None.

How to obtain support

Support for this content will be provided only within the context of SAP TechEd 2019, onsite, at the Developer Garage. Otherwise, this content is provided "as-is" with no other support.

Contributing

If you wish to contribute code, offer fixes or improvements, please send a pull request (PR). Due to legal reasons, contributors will be asked to accept a Developer Certificate of Origin (DCO) on submitting their first PR to this project. This DCO acceptance can be done in the PR itself - look out for the CLA assistant that will guide you through the simple process. SAP uses the standard DCO text of the Linux Foundation.

License

Copyright (c) 2019 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 file.

About

Basic Business Partner mock service for SAP TechEd 2019 mission

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published