Class PolicyConfigEndpoints
java.lang.Object
org.apache.polaris.service.catalog.policy.PolicyConfigEndpoints
- All Implemented Interfaces:
CatalogConfigEndpointContributor
@ApplicationScoped
@Priority(400)
public class PolicyConfigEndpoints
extends Object
implements CatalogConfigEndpointContributor
-
Constructor Summary
ConstructorsConstructorDescriptionPolicyConfigEndpoints(org.apache.polaris.core.config.RealmConfig realmConfig) -
Method Summary
Modifier and TypeMethodDescriptionSet<org.apache.iceberg.rest.Endpoint> static Set<org.apache.iceberg.rest.Endpoint> getSupportedPolicyEndpoints(org.apache.polaris.core.config.RealmConfig realmConfig) Get the policy store endpoints.
-
Constructor Details
-
PolicyConfigEndpoints
@Inject public PolicyConfigEndpoints(org.apache.polaris.core.config.RealmConfig realmConfig)
-
-
Method Details
-
endpoints
- Specified by:
endpointsin interfaceCatalogConfigEndpointContributor
-
getSupportedPolicyEndpoints
public static Set<org.apache.iceberg.rest.Endpoint> getSupportedPolicyEndpoints(org.apache.polaris.core.config.RealmConfig realmConfig) Get the policy store endpoints. Returns POLICY_ENDPOINTS if ENABLE_POLICY_STORE is set to true, otherwise, returns an empty set.
-