8 Messages
•
765 Points
The Spring Boot Integration Library Seems to Ignore Proxy
Hello,
I'm trying to connect to Collibra in a Spring Boot Project using Collibra's Spring Boot Integration library. It seems to work fine initially, and I can use the CollibraImportApiHelper class to access assets. In the logs I can see:
2024-08-14T17:30:24.940+01:00 INFO 33676 --- [ main] .c.m.l.i.InternalSharedLibraryConnection : Authenticating with the Collibra Platform...
2024-08-14T17:30:26.475+01:00 INFO 33676 --- [ main] .c.m.l.i.InternalSharedLibraryConnection : Successfully authenticated with the Collibra Platform.
So, there is a connection to Collibra. If I try to use CollibraImportApiHelper or CollibraExportApiHelper, everything works as expected.
If I try to use CollibraCoreApiHelper or UsersApi however, any call that I make seems to try (and fail) to initiate another connection.
I can see in the logs that I'm getting "RBAC: Access Denied" from the Collibra instance I'm trying to hit. The RBAC error is the response we get when trying to access Collibra without using the company proxy.
Caused by: feign.FeignException$Forbidden: [403 Forbidden] during [GET] to [https://mydomain.collibra.com/rest/2.0/domains?limit=99999999&name=DamienBusiness%20Data%20Quality%20Rule&nameMatchMode=EXACT] [DomainsApi#findDomains(Map)]: [RBAC: access denied]at feign.FeignException.clientErrorStatus(FeignException.java:226) ~[feign-core-12.1.jar!/:na]at feign.FeignException.errorStatus(FeignException.java:203) ~[feign-core-12.1.jar!/:na]at feign.FeignException.errorStatus(FeignException.java:194) ~[feign-core-12.1.jar!/:na]at feign.FeignException.errorStatus(FeignException.java:171) ~[feign-core-12.1.jar!/:na]at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:92) ~[feign-core-12.1.jar!/:na]at feign.ResponseHandler.decodeError(ResponseHandler.java:136) ~[feign-core-12.1.jar!/:na]at feign.ResponseHandler.handleResponse(ResponseHandler.java:70) ~[feign-core-12.1.jar!/:na]at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:116) ~[feign-core-12.1.jar!/:na]at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:72) ~[feign-core-12.1.jar!/:na]at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:98) ~[feign-core-12.1.jar!/:na]at jdk.proxy2/jdk.proxy2.$Proxy128.findDomains(Unknown Source) ~[na:na]at com.collibra.marketplace.library.integration.CollibraCoreApiHelper.getDomainId(CollibraCoreApiHelper.java:257) ~[collibra-integration-library-sb3-1.0.1.jar!/:1.0.1]
My guess is that there is something different in how the Import/Export helpers get their connection and how the other API helpers do it. But I can't figure out how to step around it. Is there a way to access the connection created by InternalSharedLibraryConnection?
Any suggestion would be greatly appreciated.
Thanks!
damienrembert
8 Messages
•
765 Points
2 months ago
Hello @spring-team.collibra.com, any chance you can help me with that issue, please?
0
0