-
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
Open
yyin-talend
wants to merge
21
commits into
master
Choose a base branch
from
yyin/QTDI-653_AddLastToAfterGroup
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
880cd53
feat(QTDI-653): add annotation LastGroup for AfterGroup
yyin-talend 6c1ceba
feat(QTDI-653): fix/changes proposal
d23e313
feat(TCOMP-2828): Add a sample connector to test @AfterGroup only once.
ypiel-talend 61bbc80
feat(TCOMP-2828): Fix missing resources.
ypiel-talend 8f2dd19
feat(TCOMP-2828): Fix API Test
acatoire 6c4795c
feat(QTDI-653): add junit to test
yyin-talend 2ef3df5
feat(QTDI-653): fix junit
yyin-talend bc8c79b
optimize some code
yyin-talend 25c940a
Add validation rule for aftergroup method
yyin-talend 82fb952
Revert "feat(QTDI-653): add junit to test"
yyin-talend 66a449b
Merge branch 'master' into yyin/QTDI-653_AddLastToAfterGroup
yyin-talend 3a48e70
fix merged conflicts.
yyin-talend 27f6f15
fix conflict
yyin-talend aeac195
Update ModelVisitor.java
yyin-talend 88d505a
remove empty line
yyin-talend ce55d0b
fix sonars
yyin-talend bb49901
add test coverage
yyin-talend 7082d8d
Merge branch 'master' into yyin/QTDI-653_AddLastToAfterGroup
yyin-talend 08ecec0
Add test case in ComponentBValidator
yyin-talend 401c7c2
Add junit for AutoChunkProcessor
yyin-talend 7922ac9
Add junit for auto chunk processor
yyin-talend File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
component-api/src/main/java/org/talend/sdk/component/api/processor/LastGroup.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/** | ||
* Copyright (C) 2006-2024 Talend Inc. - www.talend.com | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package org.talend.sdk.component.api.processor; | ||
|
||
import static java.lang.annotation.ElementType.PARAMETER; | ||
import static java.lang.annotation.RetentionPolicy.RUNTIME; | ||
|
||
import java.lang.annotation.Retention; | ||
import java.lang.annotation.Target; | ||
|
||
@Target(PARAMETER) | ||
@Retention(RUNTIME) | ||
public @interface LastGroup { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.