Skip to content

Unify Dropwizard service bootstrap and reuse shared auth/logging helpers #5982

Description

@Ma77Ball

Task Summary

The six Dropwizard services duplicate identical bootstrap code: the initialize() env-var substitution + Scala-module registration, the SqlServer.initConnection(StorageConfig.*) call, and the main() config-path builder. Additionally WorkflowCompilingService hand-rolls a request-logging filter identical to the shared RequestLoggingFilter, and NotebookMigrationService defines its own auth registration identical to the shared AuthFeatures.register. This extracts the common bootstrap into a ServiceBootstrap helper in common/auth and points the two drifted services at the existing shared helpers.

Task Type

  • Refactor

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions