Skip to content

OSDU stub server for development and testing Open-ETP-Server on local environment

Pavel Kisliak requested to merge epam/osdu_stub_server into main

Type of change

  • Bug Fix
  • Feature

Does this introduce a change in the core logic?

  • [No]

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • GCP
  • IBM

Updates description

  • New standalone console application (disabled by default) for make stubs of OSDU services.
  • There are no changes in the Open-ETP-Server itself.

Should help with local development and testing of Open-ETP-Server in the multi-partition mode and enabled entitlements. More information in the related issue #38 (closed) and in the ReadMe.

Implemented stubs of OSDU APIs: partition, identity (az), keyvault, entitlements and storage services (all what currently uses Open-ETP-Server).

Note: At first time I was think to add common testing code from "http" and "osdu" sub-folders to "testing" library (they could be useful for unit tests), but there was strange problem related to WebSockets++ library that leads to fail tests but only on Linux/Release configuration. After about one day of unsuccessful digging, I was decided to move all code to 'osduStubServer' project.

Edited by Pavel Kisliak

Merge request reports