-
Notifications
You must be signed in to change notification settings - Fork 50
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
Yyin/QTDI-653 add LastGroup annotation to Processor's afterGroup method. #966
base: master
Are you sure you want to change the base?
Conversation
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.
Hello,
some comments below.
Why changing the sample-connector, it's not necessary. You can create UT elsewhere in project.
Concerning UT, I think that you should enforce tests on this feature.
- check backward compatibility
- check state when using lastgroup
- etc.
We also need to change validation for aftergroup. We should not be able to
handle both signatures and check for that.
I don't see why component-tools/src/test/resources/org/talend/test/valid/httpclient/Messages.properties
has some changes?
QueueOutput as some todo tasks that were used for debugging...
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
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.
See comment.
Validation is missing in maven plugin. The ModelVisitor checks for runtime parameter not during build.
@@ -26,4 +28,31 @@ public class AutoChunkProcessor extends org.talend.sdk.component.runtime.manager | |||
public AutoChunkProcessor(final int chunkSize, final Processor processor) { |
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.
Please, create an UT to test theses changes. See UTs in this module.
Analysis Details1 IssueCoverage and DuplicationsProject ID: org.talend.sdk.component:component-runtime |
https://qlik-dev.atlassian.net/browse/QTDI-653
Requirements
Why this PR is needed?
What does this PR adds (design/code thoughts)?