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

Provide templates and assets #3545

Draft
wants to merge 15 commits into
base: develop
Choose a base branch
from

Conversation

@de-jcup de-jcup force-pushed the feature-3521-templates-and-assets branch 3 times, most recently from 5cce323 to ad4ca93 Compare October 25, 2024 06:12
@de-jcup de-jcup force-pushed the feature-3521-templates-and-assets branch from ad4ca93 to 27232ad Compare October 25, 2024 07:04
@de-jcup de-jcup self-assigned this Oct 25, 2024
@de-jcup de-jcup changed the title Feature 3521 templates and assets Provide templates and assets Oct 25, 2024
- usecases for asset CRUD operations
- AssertFile entity + DB parts
- assert service
- TestUtil enhanced, now a dedicated sub folder can be defined
  for temporary files
- implemented asset storages (+ AbstractSharedVolumeStorage)
- introduced asset storage factories
@de-jcup de-jcup force-pushed the feature-3521-templates-and-assets branch 2 times, most recently from 6e1dacb to 7332704 Compare November 11, 2024 09:09
- formatted code
- wrote unit tests
- wrote integration test
- wrote DB tests
- wrote RESTdoc tests
- implemented logic inside asset service
- wrote DAUI actions
- added missing license headers
@de-jcup de-jcup force-pushed the feature-3521-templates-and-assets branch 2 times, most recently from f9c63f7 to eca68d8 Compare November 11, 2024 15:32
@de-jcup de-jcup force-pushed the feature-3521-templates-and-assets branch 3 times, most recently from 4b7af4c to 5c13f87 Compare November 15, 2024 12:05
- it is now ensured on every pds job call, that the assets in storage
  are same as in db. Same logic for admin create/update operation is
  used.
- improved PDSWebScanJobScenario12IntTest which does now uses templates
  and assets. The test ensures that the PDS instance will receive
  the pds template meta data.
- changed templateDefinition format. Assets now no longer an array
  but only one entry. Means we have 1:n relation here from
  asset to templates and no longer m:n.
- added unit tests
- introduced TemplateData resolver in commons-model which can be
  used from PDS and wrapper applications
- introduced TemplateData inside SecHub convfiguration file
- Template and Asset REST controller are now annotated with profile
  admin access
@de-jcup de-jcup marked this pull request as draft November 15, 2024 13:38
@de-jcup de-jcup force-pushed the feature-3521-templates-and-assets branch from 5c13f87 to e346ecf Compare November 15, 2024 13:38
- introduced TestAPI.executeResilient which is a short term for
  executeRunnableAndAcceptAssertionsMaximumTimes(4, runnable, 500);
- all time relevant parts inside integration test
  TemplateScenario1IntTest do now use this for testing
@de-jcup de-jcup force-pushed the feature-3521-templates-and-assets branch from 404adcb to 3f6e709 Compare November 18, 2024 15:00
- introduced new usecase for PDS job execution
  (makes it easier for developers to find the relevant parts)
@de-jcup de-jcup force-pushed the feature-3521-templates-and-assets branch 2 times, most recently from 7e7f2a1 to 426b7c9 Compare November 20, 2024 09:14
@de-jcup de-jcup force-pushed the feature-3521-templates-and-assets branch from 426b7c9 to d4e4399 Compare November 20, 2024 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant