Skip to content

RANGER-5748: Role resource type in Ozone repo is missing after upgrade - #1168

Open
dineshkumar-yadav wants to merge 1 commit into
masterfrom
sandbox/dineshkumar-yadav/RANGER-5748
Open

RANGER-5748: Role resource type in Ozone repo is missing after upgrade#1168
dineshkumar-yadav wants to merge 1 commit into
masterfrom
sandbox/dineshkumar-yadav/RANGER-5748

Conversation

@dineshkumar-yadav

@dineshkumar-yadav dineshkumar-yadav commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This patch introduces Java database patch to handle upgrade scenario.
--PatchForOzoneServiceDefUpdate_J10066 to backfill missing Ozone service definition metadata (the role resource, assume_role access type, and resource access-type restrictions)
--added DB entry for previous java Patch :PatchForOzoneServiceDefPolicyConditionUpdate_J10065

How was this patch tested?

The build passed successfully using the command below.
mvn clean install

Tested with upgrade scenario.

<suppress files="PatchTagModulePermission_J10005" checks="TypeName"/>
<suppress files="PatchForAtlasPolicyUpdateForEntityRead_J10064" checks="TypeName"/>
<suppress files="PatchForOzoneServiceDefPolicyConditionUpdate_J10065" checks="TypeName"/>
<suppress files="PatchForOzoneServiceDefUpdate_J10066" checks="TypeName"/>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dineshkumar-yadav it would be good to know what kind of service def update this patch is taking care by renaming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants