-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rewrite the URN when resources are being moved between projects (#16523)
When a resource is moved between stacks in different projects we also need to rewrite project part of the URNs. Do that here. Moving between different projects already works by virtue of the requireStack function supporting that when providing the fully qualified name of the stack. There is some awkwardness here as old diy backends may not return a project name, in which case we error out here. Curious if anyone has thought about what to do here. Is erroring out the best we can do? What happens if we don't rewrite the project name in this case? --------- Co-authored-by: Will Jones <[email protected]>
- Loading branch information
Showing
3 changed files
with
103 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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 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 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