Skip to content

benschuler/sap-salesorders-mock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SAP SalesOrders OData Mock

This provides a simle OData endpoint of the SAP SalesOrders API with support for simple operations to add and retrieve SalesOrders. This is for purely testing purposes in integration projects.

Deployment

To deploy either clone and build the docker image yourself, or just click this button to deploy directly to Google Cloud Run.

Run on Google Cloud

Test

To test your deployment simply run this command to do a GET and return 5 test data records with the endpoint returned by the deployment above.

curl [YOUR_CLOUDRUN_ENDPOINT]/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder

You should get a lot of SalesOrders returned. You can also POST new records to the endpoint, which will be persisted in memory until the Cloud Run instance is scaled down.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 95.9%
  • Dockerfile 4.1%