Skip to content
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

Merged

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
@de-jcup de-jcup force-pushed the feature-1172-possibility-to-define-supported-pds-upload-types branch from cbe8dd0 to ae89d2a Compare November 22, 2022 08:01
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
@de-jcup de-jcup force-pushed the feature-1172-possibility-to-define-supported-pds-upload-types branch from f924e4f to ce05a9d Compare November 22, 2022 17:16
- 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
@de-jcup de-jcup force-pushed the feature-1172-possibility-to-define-supported-pds-upload-types branch from ce05a9d to cfadb6d Compare November 25, 2022 17:33
- 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
@de-jcup de-jcup requested a review from winzj November 25, 2022 18:10
@de-jcup de-jcup marked this pull request as ready for review November 25, 2022 18:11
Copy link
Member

@winzj winzj left a 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.

- added unit test for problem found in PR
- changed example configuration
@de-jcup de-jcup requested a review from winzj November 28, 2022 11:53
Copy link
Member

@winzj winzj left a 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 👍

@de-jcup de-jcup merged commit ba43e15 into develop Nov 28, 2022
@de-jcup de-jcup deleted the feature-1172-possibility-to-define-supported-pds-upload-types branch November 28, 2022 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants