Skip to content

Enable entitlements deletion in instance unseeding job

All Submissions:


  • [YES] Have you added an explanation of what your changes do and why you'd like us to include them?
  • [YES] I have updated the documentation accordingly.
  • [YES] My code follows the code style of this project.

Current Behavior or Linked Issues


Adding on top of !908 (merged) Currently entitlements deletion/cleanup is disabled in instance initialization job. This PR contains changes to enable deletion of entitlements for a partition.

Does this introduce a breaking change?


  • No

Other information


In this PR, we are calling tenant deprovisioning API to cleanup entitlements for a partition which was added as part of osdu/platform/security-and-compliance/entitlements!574 (merged). Therefore, this change depends on this PR to work as expected.

Testing Strategy:


  • Created a new docker image with the changes and uploaded the image to DCP ACR
  • Used a existing instance to run this job with jobtype set to "Unseeding" using helm chart corresponding to this job from helm-charts-azure repo
  • Verified that entitlements were cleaned up for the data partition.
  • Verified that message and status are populated in the config map.
Edited by Himanshi Garg

Merge request reports

Loading