Change event to reflect the real event definition

This commit is contained in:
Uwe Klinger
2021-05-05 11:36:36 +02:00
parent c4bee1f09a
commit 902afd8a76
4 changed files with 37 additions and 23 deletions

View File

@@ -95,7 +95,25 @@ Copyright (c) 2021 SAP SE or an SAP affiliate company. All rights reserved. This
## Usage
1. Run: `PORT=5001 cds mock API_BUSINESS_PARTNER`
1. Run:
```
cds mock API_BUSINESS_PARTNER -p 5001
```
2. Wait until startup is completed
3. Run in a 2nd terminal: `cds serve all --with-mocks --in-memory`
4. Now, you can issues the requests listed in `suppliers/requests.http`
3. Run in a 2nd terminal:
```
cds serve all --with-mocks --in-memory
```
4. Now, you can issues the requests listed in `suppliers/requests.http`
## Request Sequence
* TODO
## URLs
* Get books with their replicated supplier: http://localhost:4004/browse/Books?$expand=supplier
* Get remote suppliers: http://localhost:4004/admin/Suppliers?$top=11