19 Messages
Error when running Collibra Lineage Harvester
Reading documentation -as shown below see page 17 of “MKPL-Collibra-Integration-Library-v1.1.9.pdf”: The code snippet:
private final CollibraPredefinedTechnicalLineage
collibraPredefinedTechnicalLineage;
@Autowired
public Constructor(CollibraPredefinedTechnicalLineage
collibraPredefinedTechnicalLineage){this.collibraPredefinedTechnicalLineage = collibraPredefinedTechnicalLineage;
}
When I run the springboot application, I get this error:
APPLICATION FAILED TO START
Description:
Parameter 0 of constructor in com…test…tlg…service…TechnicalLineageProcessor required a bean of type ‘com.collibra.marketplace.library.integration.model.lineage.CollibraPredefinedTechnicalLineage’ that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
Action:
Consider defining a bean of type ‘com.collibra.marketplace.library.integration.model.lineage.CollibraPredefinedTechnicalLineage’ in your configuration.
I have the following annotation specified: to the main class
@SpringBootApplication(scanBasePackages = { “com…collibra…marketplace”, “com.test…tlg” })
Community_Alex
678 Messages
•
14.4K Points
2 years ago
@RajeshK If you haven’t already, this would be a good candidate for submission to our Support Portal. When submitting, I would reference the URL of this thread.
0
0
paulotaylor
38 Messages
2 years ago
@spring-team.collibra.com can you have a look please?
0
0
springboot_team
368 Messages
2 years ago
Hi @RajeshK,
Thanks for trying the Collibra Integration Library.
Regarding the error encountered, can you please try using the following annotation?
1
0
springboot_team
368 Messages
2 years ago
Hi @RajeshK,
Thanks for the update.
The CollibraPredefinedTechnicalLineage is just a POJO that contains builder methods. It is the root class that is used to define the lineage that would be written in JSON format and sent to the Collibra Lineage Harvester for processing. Example:
The CollibraTechnicalLineageHelper class should be autowired and the the following methods can be called (only one from the last two):
where:
Also, by any chance did you try replicating what is being done in the GCP Dataflow to Collibra integration as explained here please? Thanks
0
0