Skip to content

Conversation

@mneethiraj
Copy link
Contributor

What changes were proposed in this pull request?

added service-def for Apache Polaris. Ranger authorizer implementation will be in Apache Polaris git repo, tracked by apache/polaris#274.

How was this patch tested?

  • verfied successful registration of the service-def via REST API call
  • verified Polaris policy CRUD via UI

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new service definition for Apache Polaris, an open-source catalog management system. The service-def enables Ranger to provide authorization capabilities for Polaris resources.

Changes:

  • Added comprehensive service definition JSON file for Apache Polaris
  • Defined 8 resource types (root, catalog, principal, principal-role, namespace, catalog-role, table, policy) with hierarchical relationships
  • Configured 102 access types covering CRUD operations, metadata management, and grants across all resource types

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mneethiraj mneethiraj requested a review from Copilot January 30, 2026 00:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -123,6 +124,7 @@ public class EmbeddedServiceDefsUtil {
private RangerServiceDef ozoneServiceDef;
private RangerServiceDef kuduServiceDef;
private RangerServiceDef nestedStructureServiveDef;
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

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

Corrected spelling of 'nestedStructureServiveDef' to 'nestedStructureServiceDef'.

Suggested change
private RangerServiceDef nestedStructureServiveDef;
private RangerServiceDef nestedStructureServiceDef;

Copilot uses AI. Check for mistakes.
Comment on lines +4 to +6
"displayName": "Polaris (draft)",
"label": "Apache Polaris",
"description": "Apache Polaris",
Copy link

Copilot AI Jan 30, 2026

Choose a reason for hiding this comment

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

The displayName includes '(draft)' which may be inappropriate for a production service definition. Consider removing the draft designation or clarifying its purpose in the description field instead.

Suggested change
"displayName": "Polaris (draft)",
"label": "Apache Polaris",
"description": "Apache Polaris",
"displayName": "Polaris",
"label": "Apache Polaris",
"description": "Apache Polaris (draft service definition)",

Copilot uses AI. Check for mistakes.
@mneethiraj mneethiraj merged commit 689113f into apache:master Feb 1, 2026
3 of 4 checks passed
mneethiraj added a commit that referenced this pull request Feb 1, 2026
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.

3 participants