{"id":16163349,"url":"https://github.com/gregorwolf/mock-service-product","last_synced_at":"2025-04-07T04:27:49.617Z","repository":{"id":149536975,"uuid":"219328076","full_name":"gregorwolf/mock-service-product","owner":"gregorwolf","description":"CAP Based Mock Service for EPM Products with Docker","archived":false,"fork":false,"pushed_at":"2020-08-22T21:55:39.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T08:52:36.544Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gregorwolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-03T16:11:13.000Z","updated_at":"2020-08-22T21:55:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"a66a27ca-abea-4a84-9dfe-ed9957971aca","html_url":"https://github.com/gregorwolf/mock-service-product","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fmock-service-product","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fmock-service-product/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fmock-service-product/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregorwolf%2Fmock-service-product/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregorwolf","download_url":"https://codeload.github.com/gregorwolf/mock-service-product/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247591854,"owners_count":20963412,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T02:35:19.902Z","updated_at":"2025-04-07T04:27:49.589Z","avatar_url":"https://github.com/gregorwolf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple BUPA Mock Service\n\n## Description\n\nThis is a simple Business Partner mock service that emulates the [OData Mock Service](https://sap.github.io/cloud-s4-sdk-book/pages/mock-odata.html) that was [supplied for the \"Extending SAP S/4HANA\" book](https://sap.github.io/cloud-s4-sdk-book/pages/mock-odata.html) 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.\n\n## Requirements\n\nThis service is powered by CAP and is based upon a Core Schema Notation (CSN) definition of the original [Business Partner service API](https://api.sap.com/api/API_BUSINESS_PARTNER/overview). Note that this definition resource is not included in this repository.\n\nThis is a Node.js flavored CAP based project, and so both Node.js and CAP are required.\n\n- Retrieve and install Node.js following the links and instructions on the [official Node.js website](https://nodejs.org)\n\n- Install the CAP tools by following the instructions that can be found in this beginner tutorial: [Create a Business Service with Node.js using Visual Studio Code](https://developers.sap.com/tutorials/cp-apm-nodejs-create-service.html)\n\n## Download and installation\n\nYou can download this repository in the normal way, i.e. with `git clone`.\n\n### Starting the service\n\n1. Install dependencies with `npm install`\n1. Retrieve and save the `API_BUSINESS_PARTNER.json` CSN file to a new directory `srv/external/csn/`\n1. Start the service with `npm start`\n1. Access the address data at \u003chttp://localhost:3000/sap/opu/odata/sap/API_BUSINESS_PARTNER/A_BusinessPartnerAddress\u003e\n\n## Known issues\n\nNone.\n\n## How to obtain support\n\nSupport 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.\n\n## License\n\nCopyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.\n\nThis file is licensed under the SAP Sample Code License except as noted otherwise in the [LICENSE](LICENSE) file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorwolf%2Fmock-service-product","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregorwolf%2Fmock-service-product","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorwolf%2Fmock-service-product/lists"}