-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sigterm + Resume: documentation, renamings, refactorings #390
- Loading branch information
Showing
29 changed files
with
316 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
sechub-doc/src/docs/asciidoc/diagrams/diagram_sechub_resume_suspended_jobs.puml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
@startuml | ||
|
||
'Hide empty parts: | ||
hide empty fields | ||
hide empty methods | ||
|
||
'You can find more examples at https://plantuml.com/class-diagram | ||
|
||
package com.mercedesbenz.sechub.domain.schedule { | ||
|
||
class SchedulerJobBatchTriggerService { | ||
void triggerExecutionOfNextJob() | ||
} | ||
|
||
class SchedulerNextJobResolver { | ||
UUID resolveNextJobUUID(); | ||
} | ||
|
||
class ScheduleJobMarkerService { | ||
} | ||
|
||
class ScheduleResumeJobService { | ||
void resume(ScheduleSecHubJob sechubJob) | ||
} | ||
|
||
database DB { | ||
entity ScheduleSecHubJob { | ||
} | ||
} | ||
|
||
} | ||
|
||
|
||
node EventBus { | ||
} | ||
|
||
node springcontainer as "Spring boot container" { | ||
} | ||
|
||
cloud restartProcess as "Restart job handling" { | ||
} | ||
|
||
SchedulerJobBatchTriggerService --> ScheduleJobMarkerService | ||
ScheduleResumeJobService ...> EventBus: REQUEST_JOB_RESTART | ||
restartProcess <. EventBus: REQUEST_JOB_RESTART | ||
SchedulerNextJobResolver <-- ScheduleJobMarkerService | ||
SchedulerNextJobResolver --> ScheduleSecHubJob | ||
SchedulerJobBatchTriggerService --> ScheduleResumeJobService : when RESUMING | ||
ScheduleJobMarkerService ..> ScheduleSecHubJob :updates execution state to RESUMING\nwhen jobs was in state SUSPENDED\n | ||
|
||
|
||
springcontainer --[#darkgreen,bold]> SchedulerJobBatchTriggerService: scheduled | ||
|
||
|
||
note top of SchedulerNextJobResolver | ||
At first job uuids of | ||
suspended jobs are resolved. | ||
|
||
If no suspended job shall be executed, | ||
the selected schedule strategy is used | ||
to resolve the next job. | ||
end note | ||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
sechub-doc/src/docs/asciidoc/documents/shared/concepts/concept_include_all.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
// this will include all concepts at level 3. can be used by architecture and tech doc to have same info | ||
|
||
=== Security tools | ||
include::concept_modules_and_module_groups.adoc[] | ||
|
||
=== Domain Driven Design | ||
include::concept_simple_domain_driven_design.adoc[] | ||
|
||
=== Resilience | ||
include::concept_simple_resilience.adoc[] | ||
|
||
=== Job restarts | ||
include::concept_sechub_job_restart_handling.adoc[] | ||
|
||
=== Deployment without scheduler stop | ||
include::concept_sechub_deployment_without_scheduler_stop.adoc[] | ||
|
||
=== Mappings | ||
include::concept_mappings.adoc[] | ||
|
||
// Product delegation server (headline in include - level3) | ||
include::concept_sechub_point_of_view_for_pds.adoc[] | ||
|
||
include::concept_archive_extraction.adoc[] | ||
|
||
// False-positive handling (headline in include - level3) | ||
include::concept_falsepositive_handling.adoc[] | ||
|
||
// Product execution profiles and executor configurations (headline in include - level3) | ||
include::execution-profiles/concept_execution_profiles_and_config.adoc[] | ||
|
||
include::concept_product_results.adoc[] | ||
|
||
include::concept_job_status.adoc[] | ||
|
||
include::concept_job_cancellation.adoc[] | ||
|
||
include::concept_auto_clean.adoc[] | ||
|
||
include::pds-solutions/concept_pds_solution.adoc[] | ||
|
||
=== Analytics | ||
include::concept_analytic.adoc[] | ||
|
||
=== Statistics | ||
include::concept_statistic.adoc[] | ||
|
||
=== Data encryption | ||
include::concept_sechub_data_encryption.adoc[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.