Description
OrchestratorRequest must be able to distinguish whether a request is destined for an AW fragment or an embedded fragment (vs. to a test or a wikifunctions requested call), as a prerequisite for applying different caching strategies per request type.
Desired behavior/Acceptance criteria
- OrchestratorRequest exposes a way to identify the fragment destination (AW vs. embedded)
- Only calls coming from AbstractWikiRequest can be recognized as such at the OrchestratorRequest side (e.g. this cannot be faked via other interfaces)
- Only calls coming from WikifunctionsClientRequestJob can be recognized as such at the OrchestratorRequest side (e.g. this cannot be faked via other interfaces)
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist