Python SDK merge requestshttps://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests2024-03-19T17:14:03Zhttps://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/152[GONRG-9025] Moved id token2024-03-19T17:14:03ZDanylo Vanin (EPAM)[GONRG-9025] Moved id token## Type of change
- [x] Bug Fix
- [ ] Feature
## Does this introduce a change in the core logic?
- [Yes]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [ ] GCP
- [ ]...## Type of change
- [x] Bug Fix
- [ ] Feature
## Does this introduce a change in the core logic?
- [Yes]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [ ] GCP
- [ ] IBM
## Updates description?
Describe your code changes in details for reviewers (links on Gitlab issues, etc.)M23 - Release 0.26https://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/150Update Retry boolean to handle Exception2024-01-09T16:16:49ZBruce JinUpdate Retry boolean to handle Exception## Type of change
- [x] 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
- [ ] ...## Type of change
- [x] 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?
Describe your code changes in details for reviewers (links on Gitlab issues, etc.)
Recently, a behavior was observed that when `base-client` call api with `token refresher`, it has a chance that system may not have response at all due to the expiration of current token. This will lead to a SSLEOFError in the system and will not trigger a response from our API.
Currently, `tenacity` logic in `base_client` only handles the situation that the `response.status_code` is not successful, but in the edge case above, `tenacity` will be skipped since there will be no response at all.
This change will add a logic in `tenacity` that also trigger a retry if an Exception occurs.M22 - Release 0.25Bruce JinBruce Jinhttps://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/151Cherry-pick 'Update Retry boolean to handle Exception' into release/0.252024-01-09T12:04:10ZChad LeongCherry-pick 'Update Retry boolean to handle Exception' into release/0.25**Original MR**: !150
### This MR is a Cherry Pick into a Release Branch.
After the release branch is first created, any subsequent changes use this process to update the release (often resulting in a new patch tag) without incorporati...**Original MR**: !150
### This MR is a Cherry Pick into a Release Branch.
After the release branch is first created, any subsequent changes use this process to update the release (often resulting in a new patch tag) without incorporating all changes in the default branch.
These MRs must be approved by the PMC before they are merged, since they alter the scope of the release.
To see more details about the change itself, look at the Original MR listed above.
#### Skipped Pipeline
Normally, pipelines are not executed on the cherry pick branch/MR prior to merging.
This optimization is accepted because the code was tested when it merged into the default branch, and will be tested again in the release branch prior to tagging.
However, if anybody feels that the MR requires further scrutiny -- whether because it had conflicts in the cherry-picking, it interfaces with some drastically altered logic between the branches, or any other reason -- we can run the pipeline here prior to merging.
#### If There's Reason to Run a Pipeline
If you want to see a pipeline result before this merges, first add a comment explaining why you'd like to see the pipeline results so the PMC and others know your thinking.
Then, mark the MR as a Draft MR (using the vertical ellipsis above, choose 'Mark as Draft').
This prevents the MR from being approved & merged accidentally by a busy release coordinator who didn't see your comment.
Finally, if you are a maintainer on the project, launch a pipeline on this branch.
Since this branch is a protected branch and the MR has ~no-detached-pipeline set, all integration tests will run and there's no need for any `trusted-*` branches.
[Launch a Pipeline for this Branch](https://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/pipelines/new?ref=cherry-pick-for-150)M22 - Release 0.25David Diederichd.diederich@opengroup.orgChad LeongSrinivasan NarayananDavid Diederichd.diederich@opengroup.orghttps://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/149Cherry-pick: Merge branch 'GONRG-8957-update-pipeline' into 'release/0.25'2023-12-14T10:23:59ZYauheni Rykhter (EPAM)Cherry-pick: Merge branch 'GONRG-8957-update-pipeline' into 'release/0.25'Original MR: !148
## Type of change
- [x] 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
- [ ] Azu...Original MR: !148
## Type of change
- [x] 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
- [x] GCP
- [ ] IBM
## Updates description?
Update pipeline for GCM22 - Release 0.25David Diederichd.diederich@opengroup.orgChad LeongYauheni Rykhter (EPAM)Srinivasan NarayananDavid Diederichd.diederich@opengroup.orghttps://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/148GONRG-8957: update pipeline2023-12-13T17:38:33ZYauheni Rykhter (EPAM)GONRG-8957: update pipeline## Type of change
- [x] 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
- [X] GCP
- [ ] ...## Type of change
- [x] 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
- [X] GCP
- [ ] IBM
## Updates description?
Update pipelineM22 - Release 0.25Yauheni Rykhter (EPAM)Yauheni Rykhter (EPAM)https://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/145Revert "Merge branch 'gc_fix_on_behalf_of' into 'master'"2023-11-28T12:57:36ZYan Sushchynski (EPAM)Revert "Merge branch 'gc_fix_on_behalf_of' into 'master'"## Type of change
- [x] Bug Fix
- [ ] Feature
## Does this introduce a change in the core logic?
- [Yes]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [ ] GCP
- [ ]...## Type of change
- [x] Bug Fix
- [ ] Feature
## Does this introduce a change in the core logic?
- [Yes]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [ ] GCP
- [ ] IBM
## Updates description?
Describe your code changes in details for reviewers (links on Gitlab issues, etc.)M22 - Release 0.25https://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/147Merge branch 'fix_gc_on_behalf_of' into 'master'2023-11-21T06:04:04ZYan Sushchynski (EPAM)Merge branch 'fix_gc_on_behalf_of' into 'master'Original MR: !144
## Type of change
- [x] Bug Fix
- [ ] Feature
## Does this introduce a change in the core logic?
- [Yes]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [x] Az...Original MR: !144
## Type of change
- [x] Bug Fix
- [ ] Feature
## Does this introduce a change in the core logic?
- [Yes]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [x] Azure
- [x] GCP
- [ ] IBM
## Updates description?
Fix Azure issue with `on-behalf-of` headerM21 - Release 0.24https://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/144Fix setting on-behalf-of2023-11-20T15:05:52ZYan Sushchynski (EPAM)Fix setting on-behalf-of## Type of change
- [x] Bug Fix
- [ ] Feature
## Does this introduce a change in the core logic?
- [Yes]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [x] Azure
- [x] GCP
- [ ]...## Type of change
- [x] Bug Fix
- [ ] Feature
## Does this introduce a change in the core logic?
- [Yes]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [x] Azure
- [x] GCP
- [ ] IBM
## Updates description?
Make stting the `on-behalf-of` header optional. If we use this header we assume that we are using impersonation via Entitlements service, otherwise, we are using ISTIO and `x-on-behalf` headerM21 - Release 0.24https://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/146Fix setting on-behalf-of2023-11-17T10:39:53ZYan Sushchynski (EPAM)Fix setting on-behalf-of## Type of change
- [x] Bug Fix
- [ ] Feature
## Does this introduce a change in the core logic?
- [Yes]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [x] Azure
- [x] GCP
- [ ]...## Type of change
- [x] Bug Fix
- [ ] Feature
## Does this introduce a change in the core logic?
- [Yes]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [x] Azure
- [x] GCP
- [ ] IBM
## Updates description?
Make stting the `on-behalf-of` header optional. If we use this header we assume that we are using impersonation via Entitlements service, otherwise, we are using ISTIO and `x-on-behalf` headerM21 - Release 0.24https://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/141Update file base_client.py2023-11-16T08:40:17ZYan Sushchynski (EPAM)Update file base_client.py## Type of change
- [] Bug Fix
- [x] Feature
## Does this introduce a change in the core logic?
- [Yes]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [x] GCP
- [ ] ...## Type of change
- [] Bug Fix
- [x] Feature
## Does this introduce a change in the core logic?
- [Yes]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [x] GCP
- [ ] IBM
## Updates description?
Impersonation for GCM21 - Release 0.24https://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/140Cherry pick from M16 master2023-08-31T13:23:15ZKiran VeerapaneniCherry pick from M16 master## Type of change
- [x] Bug Fix
- [ ] Feature
## Does this introduce a change in the core logic?
- [Yes]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [ ] GCP
- [ ]...## Type of change
- [x] Bug Fix
- [ ] Feature
## Does this introduce a change in the core logic?
- [Yes]
## Does this introduce a change in the cloud provider implementation, if so which cloud?
- [ ] AWS
- [ ] Azure
- [ ] GCP
- [ ] IBM
## Updates description?
Describe your code changes in details for reviewers (links on Gitlab issues, etc.)Kiran VeerapaneniKiran Veerapanenihttps://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/1add entitlements client for azure provider2023-08-18T14:47:55ZWei Sunadd entitlements client for azure provideradd entitlements client implementation for azure provider in OSDU Python SDKadd entitlements client implementation for azure provider in OSDU Python SDKM1 - Release 0.1https://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/2GONRG-756: README.md updates2023-08-18T14:47:54ZSiarhei Khaletski (EPAM)GONRG-756: README.md updatesM1 - Release 0.1Siarhei Khaletski (EPAM)Siarhei Khaletski (EPAM)https://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/3Update to have more endpoints (More storage, entitlements, dataset, file dms,...2023-08-18T14:47:52ZSpencer Suttonsuttonsp@amazon.comUpdate to have more endpoints (More storage, entitlements, dataset, file dms, etc.)Update includes more endpoints as well as using .ini instead of yaml for config.
Also there's an AWS provider folder update to have service principal logicUpdate includes more endpoints as well as using .ini instead of yaml for config.
Also there's an AWS provider folder update to have service principal logicM1 - Release 0.1Jacob RougeauDmitriy RudkoSiarhei Khaletski (EPAM)Jacob Rougeauhttps://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/4GONRG-1500: Refactoring Base Client2023-08-18T14:47:50ZSiarhei Khaletski (EPAM)GONRG-1500: Refactoring Base Client- Some refactoring for BaseClient
- Logic of auth decorator- Some refactoring for BaseClient
- Logic of auth decoratorM1 - Release 0.1https://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/5GONRG-1589: Add README2023-08-18T14:47:49ZSiarhei Khaletski (EPAM)GONRG-1589: Add READMERenamed `auth` module
Added README.md file for `auth` moduleRenamed `auth` module
Added README.md file for `auth` moduleM3 - Release 0.5Dmitriy RudkoDmitriy Rudkohttps://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/6Fixed conflicting names in same folder2023-08-18T14:47:47ZKishore BattulaFixed conflicting names in same folderhttps://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/issues/2https://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/issues/2M3 - Release 0.5Siarhei Khaletski (EPAM)Siarhei Khaletski (EPAM)https://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/7ibm changes2023-08-18T14:47:46ZShrikant Gargibm changes@wladmirf @jingdongsun @shamazum@wladmirf @jingdongsun @shamazumM3 - Release 0.5Anuj GuptaAnuj Guptahttps://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/8GONRG-1729: Update Readme and requirements.txt2023-08-18T14:47:44ZSiarhei Khaletski (EPAM)GONRG-1729: Update Readme and requirements.txtM4 - Release 0.7Siarhei Khaletski (EPAM)Siarhei Khaletski (EPAM)https://community.opengroup.org/osdu/platform/system/sdks/common-python-sdk/-/merge_requests/9GONRG-1788: python sdk added cloudbuild dir with AirFlow Dockerfile and cloud...2023-08-18T14:47:42ZSiarhei Khaletski (EPAM)GONRG-1788: python sdk added cloudbuild dir with AirFlow Dockerfile and cloudbuild.yamlM4 - Release 0.7Siarhei Khaletski (EPAM)Siarhei Khaletski (EPAM)