Skip to content

Move authentication out of PostConstruct wherever we are using thread local in it #1671

@petmongrels

Description

@petmongrels

Motivation

PostConstruct and @JobScope/@StepScope can run in different threads.
https://www.perplexity.ai/search/is-the-postconstruct-and-execu-_G.aQZMcTYGUNTzU9Uejpg

Acceptance Criteria

Fix the following:

  • CannedAnalyticsCreateQuestionsOnlyTasklet
  • CannedAnalyticsSetupTasklet
  • CannedAnalyticsTearDownTasklet
  • BundleZipFileImporter

Tech Approach

  • BundleZipFileImporter may become slightly sub-optimal, but it should still be fine to move the post constructs to the execute.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions