-
Notifications
You must be signed in to change notification settings - Fork 56
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
PDS prepare upload remote data to shared storage #3131
base: develop
Are you sure you want to change the base?
Conversation
lorriborri
commented
May 15, 2024
•
edited
edited
- closes: Enable PDS prepare to upload to shared storage #3026
- closes: Transfer PDS_STORAGE variables to prepare wrapper application #3176
- closes: Add Integrationtest for remote data section prepare wrapper application #3154
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.
Good job. but there a things to change/discuss.
...rapper-prepare/src/main/java/com/mercedesbenz/sechub/wrapper/prepare/modules/GitContext.java
Outdated
Show resolved
Hide resolved
...rapper-prepare/src/main/java/com/mercedesbenz/sechub/wrapper/prepare/modules/GitContext.java
Outdated
Show resolved
Hide resolved
...apper-prepare/src/main/java/com/mercedesbenz/sechub/wrapper/prepare/modules/JGitAdapter.java
Outdated
Show resolved
Hide resolved
...apper-prepare/src/main/java/com/mercedesbenz/sechub/wrapper/prepare/modules/JGitAdapter.java
Outdated
Show resolved
Hide resolved
...c/test/java/com/mercedesbenz/sechub/wrapper/prepare/modules/PrepareWrapperModuleGitTest.java
Outdated
Show resolved
Hide resolved
...repare/src/test/java/com/mercedesbenz/sechub/wrapper/prepare/upload/FileNameSupportTest.java
Outdated
Show resolved
Hide resolved
...repare/src/test/java/com/mercedesbenz/sechub/wrapper/prepare/upload/FileNameSupportTest.java
Outdated
Show resolved
Hide resolved
...om/mercedesbenz/sechub/wrapper/prepare/upload/PrepareWrapperSharedVolumePropertiesSetup.java
Outdated
Show resolved
Hide resolved
...om/mercedesbenz/sechub/wrapper/prepare/upload/PrepareWrapperSharedVolumePropertiesSetup.java
Outdated
Show resolved
Hide resolved
9407d38
to
311dbee
Compare
311dbee
to
43a6c11
Compare
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.
Looking good, well done 👍
I just found some smaller parts, please have a look at my comments.
sechub-pds/src/main/java/com/mercedesbenz/sechub/pds/config/PDSConfigService.java
Outdated
Show resolved
Hide resolved
sechub-pds/src/main/java/com/mercedesbenz/sechub/pds/job/PDSFileUploadJobService.java
Outdated
Show resolved
Hide resolved
sechub-pds/src/test/java/com/mercedesbenz/sechub/pds/config/PDSConfigServiceTest.java
Show resolved
Hide resolved
@@ -23,6 +26,9 @@ public class AbstractInputValidator implements InputValidator { | |||
private final List<String> forbiddenCharacters = Collections | |||
.unmodifiableList(Arrays.asList(">", "<", "!", "?", "*", "'", "\"", ";", "&", "|", "`", "$", "{", "}")); | |||
|
|||
@Autowired | |||
public PDSLogSanitizer pdsLogSanitizer; |
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.
Can you change the visibility to something other than public?
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.
can't because in abstract class -> can not be mocked in tests otherwise