eric-maynard opened a new pull request, #1263:
URL: https://github.com/apache/polaris/pull/1263

   As part of the generic tables implementation, I added 
`polaris-api-catalog-service` as a dependency in `polaris-service-common`. What 
I found was that the interfaces such as `PolarisCatalogPolicyApiService` 
require scope-annotated implementations or else errors like this will occur 
during initialization:
   
   ```
   java.lang.RuntimeException: io.quarkus.builder.BuildException: Build 
failure: Build failed due to errors
        [error]: Build step io.quarkus.arc.deployment.ArcProcessor#validate 
threw an exception: jakarta.enterprise.inject.spi.DeploymentException: 
jakarta.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied 
dependency for type 
org.apache.polaris.service.catalog.api.PolarisCatalogPolicyApiService and 
qualifiers [@Default]
        - injection target: parameter 'service' of 
org.apache.polaris.service.catalog.api.PolarisCatalogPolicyApi constructor
        - declared on CLASS bean 
[types=[org.apache.polaris.service.catalog.api.PolarisCatalogPolicyApi, 
java.lang.Object], qualifiers=[@Default, @Any], 
target=org.apache.polaris.service.catalog.api.PolarisCatalogPolicyApi]
        The following classes match by type, but have been skipped during 
discovery:
        - 
org.apache.polaris.service.catalog.api.impl.PolarisCatalogPolicyApiServiceImpl 
has no bean defining annotation (scope, stereotype, etc.)
   ```
   
   This PR adds stubs for these implementations and adds the dependency on 
`polaris-api-catalog-service`. A real implementation of 
`GenericTableCatalogAdapter` is slated to immediately follow.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to