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
Improve PDS auto ZIP/TAR handling #1773
Improve PDS auto ZIP/TAR handling #1773
Conversation
- introduced 'pds.config.supported.datatypes' as job parameter - introduced NONE in SecHubDataConfigurationType - introduced SecHUbDataConfigurationTypeListParser - introduced configuration autofix on PDS start - added tests - changed integration test setup - fixed typos - renamed some methods
cbe8dd0
to
ae89d2a
Compare
feature-1172-possibility-to-define-supported-pds-upload-types
- removed "extractUploads" from code and examples - added new key "pds.config.supported.datatype" into example one time with description, another without (so clear its optional) - added testcase to ensure example configuration file can be still loaded
f924e4f
to
ce05a9d
Compare
- separated parts from PDSWorkspaceService into own classes: more readable, better testable - added unit tests - added javadoc - changed code, so PDS workspace service gathers information, download only necessary stuff and checks for extraction output - Workspace preparation result calculator does the final step and provides information if script can be launched or not - adopted existing unit tests to work with the new dependencies - added integration tests - enhanced test scenario 17
ce05a9d
to
cfadb6d
Compare
- many existing integration tests did fail, because the PDS standard code scan integration test setup did now insist on sources - removed this setup (so accepting binary,source and also none). This fixed the problem - scenario 17 integration tests do still check the correct behavior for the supported data types
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.
This can improve performance of the PDS solutions. Looks very good. 🚀
I just found two things to change inside the documentation. Please have a look at the comments.
sechub-doc/src/docs/asciidoc/documents/pds/product_delegation_server_config_example1.json
Outdated
Show resolved
Hide resolved
sechub-doc/src/docs/asciidoc/documents/pds/product_delegation_server_config_example1.json
Outdated
Show resolved
Hide resolved
- added unit test for problem found in PR - changed example configuration
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.
Looks good to me 👍
This PR