-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(idp extraction connector): implement new idp extraction outbound connector #3482
Conversation
...s/idp-extraction/src/main/java/io/camunda/connector/idp/extraction/caller/BedrockCaller.java
Fixed
Show fixed
Hide fixed
...s/idp-extraction/src/main/java/io/camunda/connector/idp/extraction/caller/BedrockCaller.java
Fixed
Show fixed
Hide fixed
...s/idp-extraction/src/main/java/io/camunda/connector/idp/extraction/caller/BedrockCaller.java
Fixed
Show fixed
Hide fixed
...ectors/idp-extraction/src/main/java/io/camunda/connector/idp/extraction/utils/AwsS3Util.java
Fixed
Show fixed
Hide fixed
...ectors/idp-extraction/src/main/java/io/camunda/connector/idp/extraction/utils/AwsS3Util.java
Fixed
Show fixed
Hide fixed
...ectors/idp-extraction/src/main/java/io/camunda/connector/idp/extraction/utils/AwsS3Util.java
Fixed
Show fixed
Hide fixed
...s/idp-extraction/src/main/java/io/camunda/connector/idp/extraction/caller/BedrockCaller.java
Fixed
Show fixed
Hide fixed
...s/idp-extraction/src/main/java/io/camunda/connector/idp/extraction/caller/BedrockCaller.java
Fixed
Show fixed
Hide fixed
...s/idp-extraction/src/main/java/io/camunda/connector/idp/extraction/caller/BedrockCaller.java
Fixed
Show fixed
Hide fixed
...ectors/idp-extraction/src/main/java/io/camunda/connector/idp/extraction/utils/AwsS3Util.java
Fixed
Show fixed
Hide fixed
...ectors/idp-extraction/src/main/java/io/camunda/connector/idp/extraction/utils/AwsS3Util.java
Fixed
Show fixed
Hide fixed
...ectors/idp-extraction/src/main/java/io/camunda/connector/idp/extraction/utils/AwsS3Util.java
Fixed
Show fixed
Hide fixed
import org.apache.commons.lang3.builder.EqualsBuilder; | ||
import org.apache.commons.lang3.builder.HashCodeBuilder; | ||
|
||
public class ExtractionRequest extends AwsBaseRequest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be more flexible in terms of cloud providers, I would recommend to create another class in your model like AwsRequest
and just reference it ExtractionRequest
so you dont have to inherit from the AwsBaseRequest
here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would also allow you to change this one to a record.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created a new class BaseRequest
to extend from AwsBaseRequest
.
Converted ExtractionRequest
to a record.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@YanaSegal FYI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we are working on it :)
@sahilbhatoacamunda Congrats to your first Connector 🥳 and great work. Added just a smaller comments regarding the model. From my perspective its fine for now that you implemented your own polling although its somewhat duplicated in the textract connector right now but we can generalize later rather than now. |
...s/idp-extraction/src/main/java/io/camunda/connector/idp/extraction/caller/BedrockCaller.java
Fixed
Show fixed
Hide fixed
...idp-extraction/src/main/java/io/camunda/connector/idp/extraction/model/ExtractionResult.java
Outdated
Show resolved
Hide resolved
…g to allow json objects
@sahilbhatoacamunda Great work. Looks like there are some tests failing. |
… connector (#3482) * feat(idp extraction connector): implement new idp extraction outbound connector * Removed new idp connector reference from pom.xml * Updated pom.xml to include new connector in the bundle. * Fixed code formatting * Added `io.camunda.connector:connector-aws-base` as dependency in connector build stage. * Create the new class to extend AWS base request. ExtractorRequest is refactored to be a record. * Modified ExtractionResult to have Object as response instead of string to allow json objects * Updated icon for the connector. * fix(idp-connector) change snapshot version of mail integration test --------- Co-authored-by: Mathias Vandaele <[email protected]>
… connector (#3482) * feat(idp extraction connector): implement new idp extraction outbound connector * Removed new idp connector reference from pom.xml * Updated pom.xml to include new connector in the bundle. * Fixed code formatting * Added `io.camunda.connector:connector-aws-base` as dependency in connector build stage. * Create the new class to extend AWS base request. ExtractorRequest is refactored to be a record. * Modified ExtractionResult to have Object as response instead of string to allow json objects * Updated icon for the connector. * fix(idp-connector) change snapshot version of mail integration test --------- Co-authored-by: Mathias Vandaele <[email protected]>
… connector (#3482) * feat(idp extraction connector): implement new idp extraction outbound connector * Removed new idp connector reference from pom.xml * Updated pom.xml to include new connector in the bundle. * Fixed code formatting * Added `io.camunda.connector:connector-aws-base` as dependency in connector build stage. * Create the new class to extend AWS base request. ExtractorRequest is refactored to be a record. * Modified ExtractionResult to have Object as response instead of string to allow json objects * Updated icon for the connector. * fix(idp-connector) change snapshot version of mail integration test --------- Co-authored-by: Mathias Vandaele <[email protected]>
Description
This PR introduces the integration of an outbound IDP extraction connector. This connector uses AWS Bedrock and Textract/Apache PdfBox to extract the text and then analyze it based on the input taxonomy.
Related issues
closes https://github.com/camunda/product-hub/issues/2527
Checklist
no milestone
label.