8 Messages
Azure Purview and Collibra Integration - pom.xml error
I have loaded the azure-purview-to-collibra-integration code in the eclipse IDE and getting a pom.xml error
Description Resource Path Location Type
Non-resolvable parent POM for com.collibra.template:sbi-azure-purview:1.2.2: org.springframework.boot:spring-boot-starter-parent:pom:2.5.12 failed to transfer from https://repo.maven.apache.org/maven2 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.5.12 from/to central (https://repo.maven.apache.org/maven2): transfer failed for https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.5.12/spring-boot-starter-parent-2.5.12.pom pom.xml /sbi-azure-purview line 6 Language Servers
I am not sure what I am doing wrong here. This is the first integration code that I am trying from the marketplace.
Please advise.
springboot_team
368 Messages
2 years ago
Hi @abdutta.geico.com,
From the error details provided it might be that Maven is not installed or configured correctly, therefore, it is not able to download the Maven dependencies required by this integration.
Can you please try following the steps in the Installation section of the Azure Purview integration documentation?
Since the Eclipse IDE is being used, you can also review the Development with the Eclipse IDE [Optional] section.
Thanks
1
0
springboot_team
368 Messages
2 years ago
Hi @abdutta.geico.com,
The issue might be occurring because your machine is being blocked from fetching the integration’s dependencies.
To test this, can you try accessing this link in a browser from the same machine you are running the integration on:
https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.5.12/spring-boot-starter-parent-2.5.12.pom.
Kindly note that if you don’t want to perform any code modifications and you want to use the integration directly, you can try running this integration from the provided jar file by running the following command:
java -jar sbi-azure-purview-1.2.2.jar -Dspring.config.location=src/main/resources/application.properties
Thanks
0
0
abhishekdutta1
8 Messages
2 years ago
Hi @spring-team.collibra.com,
Thanks. I tried that and got this error
I have set -
azure.uri.limit=60
This is what I ran -
java -jar sbi-azure-purview-1.2.2.jar -Dspring.config.location=C:\Code\sbi-template-azure-purview-1.2.2\sbi-template-azure-purview-1.2.2\src\main\resources\application.properties
0
0
abhishekdutta1
8 Messages
2 years ago
Hi @spring-team.collibra.com,
On a separate note I was able to resolve the maven dependencies and run, but when I am running this from Postman its failing
Below is the curl command
0
0
springboot_team
368 Messages
2 years ago
Hi @abdutta.geico.com,
Thanks for the update.
Regarding the error, it seems that the issue might be that from Postman HTTPS is being used, while the Purview Spring Boot integration is configured to allow HTTP requests – e.g.
server.ssl.enabled
is set to false.Therefore, can you please update the request protocol from Postman to use HTTP instead of HTTPS?
In case you would like to use HTTPS, you should:
server.ssl.enabled
totrue
server.ssl.*
propertiesFor information on generating a self-signed certificate, you can refer to the documentation, section “Generate a Self-Signed Certificate using the Java Keytool”.
Thanks
0
0
abhishekdutta1
8 Messages
2 years ago
Yeah thanks I got that resolved. Now I have everything setup as false and enabled only ADLS gen 2
Yet when I am running the application I am getting 404 Not Found
What else is missing
0
0
abhishekdutta1
8 Messages
2 years ago
I changed the below variable and after that it worked and added some of the assets
purview.rest.api.base.path=/catalog/api/atlas/v2
Added /catalog before /api
It added the storage account, service and container names for the adls gen2 and after that its failing with NullPointer Exception…
What else can cause this…
0
0
abhishekdutta1
8 Messages
2 years ago
Hi @spring-team.collibra.com,
Any insights to move forward from here will be useful.
Regards,
Abhishek
1
0
abhishekdutta1
8 Messages
2 years ago
Hi @spring-team.collibra.com,
azure.datalake.gen2.inferred.directories what does this do… I am trying to understand this more. I thought default is true so did not add but now explicitly I made that true and is working. Can you give some examples and help here.
I faced another issue where I was getting error when inserting data, and after debugging I got that schema needs to be mentioned as well.
collibra.asset.file.schema=Schema
Now I am getting all the assets, fields, schema, etc…
Thank you for your support.
Regards,
Abhishek
1
0