-
Notifications
You must be signed in to change notification settings - Fork 104
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(CR): Disable Clearing Request creation for the projects which have linked releases without SRC type attachment #2263
Conversation
1e9b759
to
03b1984
Compare
Testing this PR. |
List<Release> releasesWithoutSRC = new ArrayList<>(); | ||
Map<String, ProjectReleaseRelationship> releaseIdToUsage = project.getReleaseIdToUsage(); | ||
Set<String> releaseIdsSet = releaseIdToUsage.keySet(); | ||
List<String> releaseIdsList = new ArrayList<>(releaseIdsSet); |
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.
Directly store the Map keys in list.
List releaseIdsList = new ArrayList<>(releaseIdToUsage.keySet());
@@ -198,6 +198,7 @@ clearing.expert=Clearing Expert | |||
clearing.progress=Clearing Progress | |||
clearing.report=Clearing Report | |||
clearing.request=Clearing Request | |||
one.or.more.linked.releases.do.not.have.src.type.attachment=One or more linked releases do not have SRC type attachment. |
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.
add this in all language.properties files
…ve linked releases without SRC type attachment Signed-off-by: Akshit Joshi <akshit.joshi@siemens-healthineers.com>
03b1984
to
1ab1435
Compare
Hi @rudra-superrr, I have made the changes as you suggested. |
code looks good. |
Clearing Request will not be created if a project has 1 or more linked releases that do not have SRC type attachment,
Issue: #2259
Closes: #2259
How To Test?
Checklist
Must: