Skip to main content
deleted 4 characters in body
Source Link
Jyoti
  • 33
  • 6

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? screenshot

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/ .........

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? screenshot

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

</<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? screenshot

deleted 4 characters in body
Source Link
Jyoti
  • 33
  • 6

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/https://commerceauthoring.sc.com/api/ .........

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? screenshot

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/ .........

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? screenshot

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/ .........

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? screenshot

Source Link
Jyoti
  • 33
  • 6

How to apply rule based patch for 'shopsServiceUrl' in Y.Commerce.Engine?

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/ .........

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? screenshot