While using azure appservice deployment slots the urls for the sites (which ever has the slot) change and on swap it should not get swapped. In Sitecore commerce - we have Y.Commerce.Engine we have url to shops and ops hardcoded https://commerceauthoring.sc.com/api/ .........
</<commerceEngineConfiguration type="Sitecore.Commerce.Engine.Connect.CommerceEngineConfiguration, Sitecore.Commerce.Engine.Connect"> <shopsServiceUrl>https://commerceauthoring.sc.com/api/</shopsServiceUrl> </commerceEngineConfiguration>
The url should remain same upon swap. We have defined rule on the azure configuration as in below . based on this config I should be able to change the url dynalically with patch config. How can we achieve this? How the Patch config will look like?