Introduction
This page is a reference for Cloud Services Providers (CSPs) deploying wellbore DMS on their infrastructure. Every CSP need a library with their own implementation of the blob storage base API. The following explains where to implement the library and how to test that library implementation against the current version of the service.
Library creation
CSPs must add a new project under the Wellbore-cloud folder. The library needs to implement the BlobStorageBase abstract class, along with platform-specific authorization and storage parameters.
Best way to proceed initially is to clone and adapt one the existing libraries:
Test and deployment
- Create a merge request on your cloud library repo (one of these)
- For every push to the merge request in the lib repo, a development package library with
-<version>.dev<id>
suffix is pushed to the wdms libraries package feed - To test your package, create a merge request in the wdms service repo with the development version of your lib in the requirements.txt file
- For every push to the merge request in the service repo, the CICD runs the integration tests with your development library
- Once your library implementation is ready (lib repo), manually bump the lib version and merge
- In the service repo, set the new version of your library in the requirements.in file, run
pip-compile
, commit the requirements files and merge