apache / apache/texera

Unify Dropwizard service bootstrap and reuse shared auth/logging helpers

Open
#5,982 0 comments 0 reactions 1 assignee Claimed by @Ma77Ball View on GitHub
Dominant language
Scala
Stars
314
Forks
187
Avg merge
1d 21h
Merged PRs (30d)
214

Description

### 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
- [x] Refactor

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.