7 Messages
•
660 Points
collibra-integration-library-sb3-1.0.1 no longer compatible with Workflow Definition API
Dear @springboot_team,
We've recently upgraded Collibra to 2024.10 and turns out that the latest integration library (1.0.1) for Spring Boot 3 is now longer compatible with Collibra Workflow Definition API.
When deploying the definition, API client throws an deserialization exception due to missing `Role` enum value:
Caused by: feign.FeignException: Cannot construct instance of `com.collibra.marketplace.library.generated.core.model.RoleImpl$PermissionsEnum`, problem: Unexpected value 'INSIGHTS_VIEW'
at[Source: (BufferedReader); line: 1, column: 2533](through reference chain: com.collibra.marketplace.library.generated.core.model.WorkflowDefinitionImpl["startRoles"]>java.util.ArrayList[0]>com.collibra.marketplace.library.generated.core.model.RoleImpl["permissions"]->java.util.ArrayList[14]) reading POSThttps://***.collibra.com/rest/2.0/workflowDefinitions
A quick workaround is to allow embedded object mapper to read unknown enum values:
apiClient.getObjectMapper().enable(DeserializationFeature.READ_UNKNOWN_ENUM_VALUES_AS_NULL);
Besides that I've noticed that the API class provides a `void` types for `getWorkflowDefinitionDiagram()` and `getWorkflowDefinitionXML()` methods, making them useless.
Are there any plans for library update?
venkatareddy_padala
18 Messages
•
2.1K Points
2 months ago
Wanted to join the wagon!
JobsApi is also missing FindJobsRequest to query for any jobs. It only has getJob and cancelJob. but we don't have method to query for any jobs, like get all running/ waiting jobs etc.
Also outputModuleApi fix would be great, (of course it was mentioned in documentation to use exportApiHelper but we don't want to spam the activities with export result for all the outputmodule exportJson query results.
Fixes to these 2 also would be great.
1