-
Notifications
You must be signed in to change notification settings - Fork 17
MWPW-191059: route Studio preview through MAS gateway #741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Axelcureno
wants to merge
35
commits into
main
Choose a base branch
from
MWPW-191059
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
152523b
docs(MWPW-191059): add Freyja preview migration spec and implementati…
Axelcureno a7dd497
feat(MWPW-191059): add Freyja and Odin preview URL constants to paths.js
Axelcureno 41ba251
feat(MWPW-191059): add auth header injection and Freyja-first fallbac…
Axelcureno ba6ff8f
test(MWPW-191059): update pipeline and replace test mocks for Freyja …
Axelcureno 6d05b53
test(MWPW-191059): update Nala variation spec for Freyja preview URLs
Axelcureno e0a787d
feat(MWPW-191059): switch fragment-client preview to Freyja v2 with O…
Axelcureno fecc895
feat(MWPW-191059): switch mas-repository preview URLs to Freyja v2
Axelcureno 4a8b27b
feat(MWPW-191059): add backend toggle, manual token injection, and be…
Axelcureno 67bd494
feat(MWPW-191059): add standalone Freyja benchmark page and configura…
Axelcureno 60957df
Cache Freyja token to sessionStorage after IMS initialization
Axelcureno 89b0a66
Improve Freyja token caching to only cache after user sign-in
Axelcureno d2976dd
Use Freyja endpoint in fragment-client when token is available
Axelcureno 2196ec6
Fix Freyja Authorization header not being sent in fragment-client.js
Axelcureno 44cdd31
Use production Freyja endpoint instead of localhost
Axelcureno 03ae91f
Merge branch 'main' into MWPW-191059
npeltier c72cddf
Merge branch 'main' into MWPW-191059
Axelcureno e060cb1
MWPW-191059: address PR review feedback — remove Odin fallback, conso…
Axelcureno 8eb6848
Merge branch 'main' into MWPW-191059
honstar 68aee50
Merge branch 'main' into MWPW-191059
Axelcureno 1c0bd44
remove docs/superpowers from tracking, add to .gitignore
Axelcureno cae09d2
MWPW-191059 - use env-aware Freyja URL when aem.env param is set
Axelcureno d2d3fe5
MWPW-191059 - also use env-aware Freyja URL when freyjaToken is expli…
Axelcureno a6fab73
MWPW-191059 - point Studio preview at MAS gateway, drop Odin/Freyja-d…
Axelcureno 385bcea
MWPW-191059 - migrate editor translated-locale discovery to gateway p…
Axelcureno d05668e
MWPW-191059 - remove masFreyjaToken session-storage plumbing
Axelcureno 3b7b1ee
MWPW-191059 - swap ODIN_PREVIEW_URL/FREYJA_PREVIEW_URL for GATEWAY_PR…
Axelcureno d713277
MWPW-191059 - update doc comment and drop obsolete Freyja-vs-Odin ben…
Axelcureno 7d7206d
MWPW-191059 - rebuild web-components dist after removing masFreyjaToken
Axelcureno 5364aac
Merge remote-tracking branch 'origin/main' into MWPW-191059
2513393
MWPW-191059 - remove Authorization header injection from internalFetch
812b539
MWPW-191059 - revert unjustified refactoring of internalFetch
96fa975
MWPW-191059 - delete io/www/test/fragment/common.test.js
00307ff
MWPW-191059 - keep dictionary fetchTimeout at 10s
cb35e47
MWPW-191059 - fix prettier formatting on merged test files
efd76ee
MWPW-191059 - point variations self-ref test at gateway, not Freyja d…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,6 +36,7 @@ nala/.auth/ | |
| /agents/ | ||
| reports/ | ||
| /.superpowers | ||
| docs/superpowers/ | ||
| .logs | ||
|
|
||
| # IO Runtime Config | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in this file, we need to switch the value of FRAGMENT_URL_PREFIX from https://odin.adobe.com/adobe/sites/fragments to https://odinpreview.corp.adobe.com/adobe/sites/fragments
In the case of preview.