Skip to content

Commit

Permalink
Fix for breaking change in Uri object
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbaranov committed Nov 14, 2017
1 parent 82a8f79 commit 7614bd7
Show file tree
Hide file tree
Showing 30 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion Sitecore 8.2.3/xdb/azuredeploy.compat.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"templateLink": {
"type": "securestring",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri, ' ', '%20'), 'azuredeploy.json')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri, ' ', '%20'), 'azuredeploy.json')]"
},

"deploymentId": {
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.3/xdb/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"templateLinkBase": {
"type": "string",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.3/xm/azuredeploy.compat.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"templateLink": {
"type": "securestring",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri, ' ', '%20'), 'azuredeploy.json')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri, ' ', '%20'), 'azuredeploy.json')]"
},

"deploymentId": {
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.3/xm/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"templateLinkBase": {
"type": "string",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.3/xp/azuredeploy.compat.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"templateLink": {
"type": "securestring",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri, ' ', '%20'), 'azuredeploy.json')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri, ' ', '%20'), 'azuredeploy.json')]"
},

"deploymentId": {
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.3/xp/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"templateLinkBase": {
"type": "string",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.3/xp0/azuredeploy.compat.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"templateLink": {
"type": "securestring",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri, ' ', '%20'), 'azuredeploy.json')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri, ' ', '%20'), 'azuredeploy.json')]"
},

"deploymentId": {
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.3/xp0/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"templateLinkBase": {
"type": "string",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.4/xdb/azuredeploy.compat.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"templateLink": {
"type": "securestring",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri, ' ', '%20'), 'azuredeploy.json')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri, ' ', '%20'), 'azuredeploy.json')]"
},

"deploymentId": {
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.4/xdb/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"templateLinkBase": {
"type": "string",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.4/xm/azuredeploy.compat.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"templateLink": {
"type": "securestring",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri, ' ', '%20'), 'azuredeploy.json')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri, ' ', '%20'), 'azuredeploy.json')]"
},

"deploymentId": {
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.4/xm/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"templateLinkBase": {
"type": "string",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.4/xp/azuredeploy.compat.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"templateLink": {
"type": "securestring",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri, ' ', '%20'), 'azuredeploy.json')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri, ' ', '%20'), 'azuredeploy.json')]"
},

"deploymentId": {
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.4/xp/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"templateLinkBase": {
"type": "string",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.4/xp0/azuredeploy.compat.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"templateLink": {
"type": "securestring",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri, ' ', '%20'), 'azuredeploy.json')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri, ' ', '%20'), 'azuredeploy.json')]"
},

"deploymentId": {
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.4/xp0/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"templateLinkBase": {
"type": "string",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.5/xdb/azuredeploy.compat.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"templateLink": {
"type": "securestring",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri, ' ', '%20'), 'azuredeploy.json')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri, ' ', '%20'), 'azuredeploy.json')]"
},

"deploymentId": {
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.5/xdb/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"templateLinkBase": {
"type": "string",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.5/xm/azuredeploy.compat.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"templateLink": {
"type": "securestring",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri, ' ', '%20'), 'azuredeploy.json')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri, ' ', '%20'), 'azuredeploy.json')]"
},

"deploymentId": {
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.5/xm/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"templateLinkBase": {
"type": "string",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.5/xp/azuredeploy.compat.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"templateLink": {
"type": "securestring",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri, ' ', '%20'), 'azuredeploy.json')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri, ' ', '%20'), 'azuredeploy.json')]"
},

"deploymentId": {
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.5/xp/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"templateLinkBase": {
"type": "string",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.5/xp0/azuredeploy.compat.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"templateLink": {
"type": "securestring",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri, ' ', '%20'), 'azuredeploy.json')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri, ' ', '%20'), 'azuredeploy.json')]"
},

"deploymentId": {
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 8.2.5/xp0/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"templateLinkBase": {
"type": "string",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 9.0.0/XDB/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"templateLinkBase": {
"type": "string",
"minLength": 1,
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 9.0.0/XDBSingle/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"templateLinkBase": {
"type": "string",
"minLength": 1,
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 9.0.0/XM/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

"templateLinkBase": {
"type": "string",
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 9.0.0/XMSingle/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"templateLinkBase": {
"type": "string",
"minLength": 1,
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 9.0.0/XP/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"templateLinkBase": {
"type": "string",
"minLength": 1,
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down
2 changes: 1 addition & 1 deletion Sitecore 9.0.0/XPSingle/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"templateLinkBase": {
"type": "string",
"minLength": 1,
"defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]"
"defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]"
},
"templateLinkAccessToken": {
"type": "securestring",
Expand Down

0 comments on commit 7614bd7

Please sign in to comment.