Collibra Java API - which jar
I have downloaded the java client API jar ( dgc-core-2023.04.0-25-apiv2.jar.
However, I am not sure how to authenticate / where is the startign point. The api documentation for java doesn’t mention anything.
I am able to use REST endpoint with Basic auth, but trying to do same thing with java client and not sure which jar I needed. Can someone please guide on this.
Below is the REST endpoint. but looking for equivalent java client class and jar file.
/rest/2.0/assets/{id}
prashanthreddy_sabbidi
Posted 3 years ago · Edited 1 year ago·Last reply 3 years ago
4 comments
prashanthreddy_sabbidi
OP3 years ago · EditedHi Arthur,
Thank you for your explanation. Now I understood.
For my use case (get existing asset’s details outside Collibra), I found the Spring Boot Integration Library in the marketplace.
This is what I am looking for. However, I am not sure if this is officially supported by Collibra (I guess so) . Do you have any pointers or suggestions on this.
prashanthreddy_sabbidi
OP3 years ago · EditedHi Arthur,
Thank you for your explanation. Now I understood.
For my use case (get existing asset’s details outside Collibra), I found the Spring Boot Integration Library in the marketplace.
This is what I am looking for. However, I am not sure if this is officially supported by Collibra (I guess so) . Do you have any pointers or suggestions on this.
arthurburkhardt
·3 years ago · EditedIndeed, not supported by anyone (except the @spring-team.collibra.com here on this forum, on a best-effort basis).
Spring boot templates work like any spring boot application, so you can look for more info on those communities as well.
I personally have limited experience with those, as we prefer to use our custom python frameworks for integration.
arthurburkhardt
·3 years ago · EditedThe collibra jar for java apis is not meant to execute code remotely, it only provides the classes and methods so that you can autocomplete your code for easier development.
You can use them to develop groovy script in bpmn workflows, then you upload the workflows to Collibra to run them.
Therefore, there is no authentication to handle whatsoever.
The first step is to load the jar in eclipse.
Adding External Libraries to Eclipse Projects (emory.edu)
You can stop there, but for more convenience, you can follow this: The best autocomplete trick for eclipse! Get hints to java apis directly. - Product Q&A - the Data Citizens community (collibra.com)