Skip to content

[Response Ops][MW] Expose a fully internal MW client #246200

@cnasikas

Description

@cnasikas

In PR #246117, we realized that the internal MW client is exposed by using the getScopedClient. We should use the createInternalRepository instead. Otherwise anyone using it from the TM where there is no user, will get an unauthorized error. The solution of the PR was to disable the spaces extension.

DoD

  • Expose a truly internal MW client by using createInternalRepository .
  • Check if the alerting plugin needs the spaces extension when using the internal client. If yes, let the alerting plugin create a variant of the internal client with the spaces extension enabled. An alternative would be for the alerting plugin to pass the namespaces attribute to the find method if needed.

Metadata

Metadata

Assignees

Labels

Team:ResponseOpsPlatform ResponseOps team (formerly the Cases and Alerting teams) t//technical debtImprovement of the software architecture and operational architecture

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions