From d4be48e7a27263123f10a9752593967658635829 Mon Sep 17 00:00:00 2001 From: Marcus Heath Date: Fri, 27 Jul 2018 08:02:48 -0400 Subject: [PATCH 1/9] New Storefront 1.2 release Compatible with Sitecore XC 9.0.2. --- SXA Storefront 1.2/README.md | 21 ++ SXA Storefront 1.2/azuredeploy.json | 195 ++++++++++++++++++ .../azuredeploy.parameters.json | 39 ++++ 3 files changed, 255 insertions(+) create mode 100644 SXA Storefront 1.2/README.md create mode 100644 SXA Storefront 1.2/azuredeploy.json create mode 100644 SXA Storefront 1.2/azuredeploy.parameters.json diff --git a/SXA Storefront 1.2/README.md b/SXA Storefront 1.2/README.md new file mode 100644 index 00000000..8de74fa9 --- /dev/null +++ b/SXA Storefront 1.2/README.md @@ -0,0 +1,21 @@ +# Sitecore Experience Accelerator Storefront (SXA Storefront) module for Sitecore XP Environment + + +This template deploys the SXA Storefront module into a Sitecore XP Environment. SXA Storefront requires Sitecore XC and SXA modules. + +SXA Storefront 1.2 is compatible with Sitecore XP 9.0.2 and Sitecore XC 9.0.2. + +## Parameters + +The **deploymentId** parameter is filled in by the PowerShell script. + +| Parameter | Description +-----------------------------------------------|------------------------------------------------ +| location | The geographical region of the current deployment. +| siteTitle | Long title of the Storefront site. +| sqlServerLogin | The name of the administrator account for Azure SQL server that will be created. +| sqlServerPassword | The password for the administrator account for Azure SQL server. +| sxaMsDeployPackageUrl | The HTTP(s) URL of the Sitecore Commerce Experience Accelerator Web Deploy package (not an SXA Web Deploy package). +| sxaStorefrontMsDeployPackageUrl | The HTTP(s) URL of the Sitecore Commerce Experience Accelerator Storefront Web Deploy package. +| sxaHabitatCatalogMsDeployPackageUrl | The HTTP(s) URL of the Sitecore Commerce Experience Accelerator Habitat Catalog Web Deploy package. +| sxaStorefrontThemesMsDeployPackageUrl | The HTTP(s) URL of the Sitecore Commerce Experience Accelerator Storefront Themes Web Deploy package diff --git a/SXA Storefront 1.2/azuredeploy.json b/SXA Storefront 1.2/azuredeploy.json new file mode 100644 index 00000000..d1d888bf --- /dev/null +++ b/SXA Storefront 1.2/azuredeploy.json @@ -0,0 +1,195 @@ +{ + "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "variables": { + "webApiVersion": "2016-08-01", + "cmWebAppNameTidy": "[toLower(trim(parameters('cmWebAppName')))]", + "cdWebAppNameTidy": "[toLower(trim(parameters('cdWebAppName')))]", + "sqlServerFqdnTidy": "[toLower(trim(parameters('sqlServerFqdn')))]", + "masterSqlDatabaseNameTidy": "[toLower(trim(parameters('masterSqlDatabaseName')))]" + }, + "parameters": { + "standard": { + "type": "secureObject", + "defaultValue": { + "infrastructure": { + "sqlServerFqdn": null + }, + "deploymentId": null, + "location": null, + "sqlServerLogin": null, + "sqlServerPassword": null, + "masterSqlDatabaseName": null, + "cmWebAppName": null, + "cdWebAppName": null, + "xcRefDataWebAppName": null, + "xcCollectWebAppName": null, + "xcSearchWebAppName": null, + "maOpsWebAppName": null, + "maRepWebAppName": null + } + }, + "extension": { + "type": "secureObject", + "defaultValue": { + "sxaMsDeployPackageUrl": null, + "sxaStorefrontMsDeployPackageUrl": null, + "sxaHabitatCatalogMsDeployPackageUrl": null, + "sxaStorefrontThemesMsDeployPackageUrl": null + } + }, + "deploymentId": { + "type": "string", + "defaultValue": "[coalesce(parameters('standard').deploymentId, resourceGroup().name)]" + }, + "location": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').location, resourceGroup().location)]" + }, + "sqlServerFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').infrastructure.sqlServerFqdn, concat(parameters('deploymentId'), '-sql.database.windows.net'))]" + }, + "sqlServerLogin": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('standard').sqlServerLogin]" + }, + "sqlServerPassword": { + "type": "securestring", + "minLength": 8, + "defaultValue": "[parameters('standard').sqlServerPassword]" + }, + "masterSqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').masterSqlDatabaseName, concat(parameters('deploymentId'), '-master-db'))]" + }, + "cmWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').cmWebAppName, concat(parameters('deploymentId'), '-cm'))]" + }, + "cdWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').cdWebAppName, concat(parameters('deploymentId'), '-cd'))]" + }, + "sxaMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extension').sxaMsDeployPackageUrl]" + }, + "sxaStorefrontMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extension').sxaStorefrontMsDeployPackageUrl]" + }, + "sxaHabitatCatalogMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extension').sxaHabitatCatalogMsDeployPackageUrl]" + }, + "sxaStorefrontThemesMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extension').sxaStorefrontThemesMsDeployPackageUrl]" + } + }, + + "resources": [ + { + "name": "[concat(variables('cmWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('sxaMsDeployPackageUrl')]", + "dbType": "SQL", + "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "setParameters": { + "Application Path": "[variables('cmWebAppNameTidy')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" + } + }, + { + "packageUri": "[parameters('sxaHabitatCatalogMsDeployPackageUrl')]", + "dbType": "SQL", + "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "setParameters": { + "Application Path": "[variables('cmWebAppNameTidy')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" + } + }, + { + "packageUri": "[parameters('sxaStorefrontMsDeployPackageUrl')]", + "dbType": "SQL", + "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "setParameters": { + "Application Path": "[variables('cmWebAppNameTidy')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" + } + }, + { + "packageUri": "[parameters('sxaStorefrontThemesMsDeployPackageUrl')]", + "dbType": "SQL", + "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "setParameters": { + "Application Path": "[variables('cmWebAppNameTidy')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" } + } + ] + } + }, + { + "name": "[concat(variables('cdWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ "[concat('Microsoft.Web/sites/', variables('cmWebAppNameTidy'), '/Extensions/MSDeploy')]" ], + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('sxaMsDeployPackageUrl')]", + "dbType": "SQL", + "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "setParameters": { + "Application Path": "[variables('cdWebAppNameTidy')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" + } + }, + { + "packageUri": "[parameters('sxaHabitatCatalogMsDeployPackageUrl')]", + "dbType": "SQL", + "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "setParameters": { + "Application Path": "[variables('cdWebAppNameTidy')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" + } + }, + { + "packageUri": "[parameters('sxaStorefrontMsDeployPackageUrl')]", + "dbType": "SQL", + "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "setParameters": { + "Application Path": "[variables('cdWebAppNameTidy')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" + } + }, + { + "packageUri": "[parameters('sxaStorefrontThemesMsDeployPackageUrl')]", + "dbType": "SQL", + "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "setParameters": { + "Application Path": "[variables('cdWebAppNameTidy')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" } + } + ] + } + } + ] +} diff --git a/SXA Storefront 1.2/azuredeploy.parameters.json b/SXA Storefront 1.2/azuredeploy.parameters.json new file mode 100644 index 00000000..e833d621 --- /dev/null +++ b/SXA Storefront 1.2/azuredeploy.parameters.json @@ -0,0 +1,39 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "deploymentId": { + "value": "" + }, + "location": { + "value": "" + }, + "siteName": { + "value": "" + }, + "siteTitle": { + "value": "" + }, + "sqlServerLogin": { + "value": "" + }, + "sqlServerPassword": { + "value": "" + }, + "environmentName": { + "value": "" + }, + "sxaMsDeployPackageUrl": { + "value": "" + }, + "sxaStorefrontMsDeployPackageUrl": { + "value": "" + }, + "sxaHabitatCatalogMsDeployPackageUrl": { + "value": "" + }, + "sxaStorefrontThemesMsDeployPackageUrl": { + "value": "" + } + } +} \ No newline at end of file From 6201a5ec7cf92f801b9a806ae87e87bb00b16a95 Mon Sep 17 00:00:00 2001 From: Marcus Heath Date: Fri, 27 Jul 2018 08:23:43 -0400 Subject: [PATCH 2/9] New Sitecore XC 9.0.2 release --- Sitecore XC 9.0.2/README.md | 90 ++ Sitecore XC 9.0.2/azuredeploy.json | 733 ++++++++++++ Sitecore XC 9.0.2/azuredeploy.parameters.json | 116 ++ Sitecore XC 9.0.2/nested/application.json | 1041 +++++++++++++++++ Sitecore XC 9.0.2/nested/infrastructure.json | 757 ++++++++++++ 5 files changed, 2737 insertions(+) create mode 100644 Sitecore XC 9.0.2/README.md create mode 100644 Sitecore XC 9.0.2/azuredeploy.json create mode 100644 Sitecore XC 9.0.2/azuredeploy.parameters.json create mode 100644 Sitecore XC 9.0.2/nested/application.json create mode 100644 Sitecore XC 9.0.2/nested/infrastructure.json diff --git a/Sitecore XC 9.0.2/README.md b/Sitecore XC 9.0.2/README.md new file mode 100644 index 00000000..b6cb49c6 --- /dev/null +++ b/Sitecore XC 9.0.2/README.md @@ -0,0 +1,90 @@ +# Sitecore Experience Commerce module for Sitecore XP Environment + + +This template deploys the Sitecore Experience Commerce (Sitecore XC) module into a Sitecore XP Environment. + +Sitecore XC 9.0.2 is compatible with: + Sitecore XP 9.0.2 + SXA 1.7.1 + SXA Storefront 1.2 + +## Parameters + +The **deploymentId** parameter is filled in by the PowerShell script. + +| Parameter | Description +-----------------------------------------------|------------------------------------------------ +| location | The geographical region of the current deployment. +| sitecoreAdminPassword | The new password for the Sitecore **admin** account. +| sitecoreDomain | The domain name of the Siteore account with which the Commerce Engine communicates. +| sitecorePassword | The password corresponding to the SitecoreDomain. +| sqlServerName | The name of the SQL server used to host Commerce Engine databases. +| sqlServerLogin | The name of the administrator account for Azure SQL server that will be created. +| sqlServerPassword | The password for the administrator account for Azure SQL server. +| authCertificateBlob | A Base64-encoded blob of the authentication certificate in PKCS #12 format. +| authCertificatePassword | A password to the authentication certificate. +| commerceConnectMsDeployPackageUrl | The HTTP(s) URL of the Sitecore Commerce Connect Core Web Deploy package. +| commerceEngineCloudMsDeployPackageUrl | The HTTP(s) URL of the Sitecore.Commerce.Engine Web Deploy package. +| commerceEngineConnectCdMsDeployPackageUrl | The HTTP(s) URL of the Sitecore.Commerce.Engine.Connect.CD Web Deploy package. +| commerceEngineConnectCmMsDeployPackageUrl | The HTTP(s) URL of the Sitecore.Commerce.Engine.Connect.CM Web Deploy package. +| idServerCloudMsDeployPackageUrl | The HTTP(s) URL of the Sitecore.IdentityServer Web Deploy package. +| bizfxCloudMsDeployPackageUrl | The HTTP(s) URL of the Sitecore.BizFX Web Deploy package. +| adventureWorksImagesDeployPackageUrl | The HTTP(s) URL of the Adventure Works Images Web Deploy package. +| habitatImagesDeployPackageUrl | The HTTP(s) URL of the Sitecore.Commerce.Habitat.Images Web Deploy package. +| indexWorkerDefinitionsDeployPackageUrl | The HTTP(s) URL of the Sitecore Commerce Connect Schema Definitions for IndexWorker Web Deploy package. +| xConnectDefinitionsDeployPackageUrl | The HTTP(s) URL of the Sitecore Commerce Connect Schema Definitions for xConnect Web Deploy package. +| xProfileCoreDeployPackageUrl | The HTTP(s) URL of the Sitecore Commerce ExperienceProfile Core Web Deploy package. +| xAnalyticsCoreDeployPackageUrl | The HTTP(s) URL of the Sitecore Commerce ExperienceAnalytics Core Web Deploy package. +| maCoreDeployPackageUrl | The HTTP(s) URL of the Sitecore Commerce MarketingAutomation Core Web Deploy package. +| maAzureDeployPackageUrl | The HTTP(s) URL of the Sitecore Commerce MarketingAutomation for Azure Web Deploy package. +| braintreeMerchantId | The Braintree gateway account unique identifier, including any merchant accounts. +| braintreePublicKey | The user-specific public key identifier. +| braintreePrivateKey | The user-specific private key identifier. +| braintreeEnvironment | Specifies where requests via the API are directed – sandbox or production. +| environmentName | The Commerce Engine environment serving the Storefront site. +| defaultShopName | The name of the Storefront site. +| defaultShopCurrency | The default currency currency, e.g. "USD". +| defaultShopLanguage | The default language configured language, e.g. "en". + + + +## Deploying as part of Sitecore deployment + +In order to configure Sitecore deployment parameters to include the Sitecore XC module: + +* Add the following snippet to the `modules` parameter: + +```JSON +{ + "name": "Commerce", + "templateLink": "https://raw.githubusercontent.com/Sitecore/Sitecore-Azure-Quickstart-Templates/master/Sitecore%20XC%209.0.0/azuredeploy.json", + "parameters": { + "templateLinkAccessToken": "", + "commerceConnectMsDeployPackageUrl": "", + "commerceEngineCloudMsDeployPackageUrl": "", + "commerceEngineConnectCdMsDeployPackageUrl": "", + "commerceEngineConnectCmMsDeployPackageUrl": "", + "idServerCloudMsDeployPackageUrl": "", + "bizfxCloudMsDeployPackageUrl": "", + "adventureWorksImagesDeployPackageUrl": "", + "habitatImagesDeployPackageUrl": "", + "indexWorkerDefinitionsDeployPackageUrl": "", + "xConnectDefinitionsDeployPackageUrl": "", + "xProfileCoreDeployPackageUrl": "", + "xAnalyticsCoreDeployPackageUrl": "", + "maCoreDeployPackageUrl": "", + "maAzureDeployPackageUrl": "", + "braintreeMerchantId": "", + "braintreePublicKey": "", + "braintreePrivateKey": "", + "braintreeEnvironment": "", + "environmentName": "", + "defaultShopName": "", + "defaultShopCurrency": "", + "defaultShopLanguage": "" + } +}, +``` + +* Configure Bootloader module according to [Modules.md](../MODULES.md) +> **Note**. The Bootloader module should be placed after the Commerce module, and (if applicable) after the SXA and SXA-SF modules. \ No newline at end of file diff --git a/Sitecore XC 9.0.2/azuredeploy.json b/Sitecore XC 9.0.2/azuredeploy.json new file mode 100644 index 00000000..f560f8ec --- /dev/null +++ b/Sitecore XC 9.0.2/azuredeploy.json @@ -0,0 +1,733 @@ +{ + "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "variables": { + "resourcesApiVersion": "2016-09-01" + }, + "parameters": { + "standard": { + "type": "secureObject", + "defaultValue": { + "deploymentId": null, + "location": null, + "sitecoreSKU": null, + "sitecoreAdminPassword": null, + + "sqlServerName": null, + "sqlServerLogin": null, + "sqlServerPassword": null, + + "coreSqlDatabaseName": null, + "masterSqlDatabaseName": null, + "webSqlDatabaseName": null, + "shard0SqlDatabaseName": null, + "shard1SqlDatabaseName": null, + + "cdWebAppName": null, + "cmWebAppName": null, + "prcWebAppName": null, + "xcRefDataWebAppName": null, + "xcCollectWebAppName": null, + "xcSearchWebAppName": null, + "maOpsWebAppName": null, + "maRepWebAppName": null, + "authCertificateBlob": null, + "authCertificatePassword": null + } + }, + "extension": { + "type": "secureObject", + "defaultValue": { + "templateLinkAccessToken": "", + "commerceConnectMsDeployPackageUrl": null, + "commerceEngineCloudMsDeployPackageUrl": null, + "commerceEngineConnectCdMsDeployPackageUrl": null, + "commerceEngineConnectCmMsDeployPackageUrl": null, + "idServerCloudMsDeployPackageUrl": null, + "bizfxCloudMsDeployPackageUrl": null, + "adventureWorksImagesDeployPackageUrl": null, + "habitatImagesDeployPackageUrl": null, + "indexWorkerDefinitionsDeployPackageUrl": null, + "xConnectDefinitionsDeployPackageUrl": null, + "xProfileCoreDeployPackageUrl": null, + "xAnalyticsCoreDeployPackageUrl": null, + "maCoreDeployPackageUrl": null, + "maAzureDeployPackageUrl": null + } + }, + "extensionDefaults":{ + "type": "secureObject", + "defaultValue": { + "braintreeMerchantId": null, + "braintreePublicKey": null, + "braintreePrivateKey": null, + "braintreeEnvironment": null, + + "environmentName": "HabitatShops", + "defaultShopName": "CommerceEngineDefaultStorefront", + "defaultShopCurrency": "USD", + "defaultShopLanguage": "en" + } + }, + + "extensionExpanded":{ + "type": "secureObject", + "defaultValue": "[union(parameters('extensionDefaults'), parameters('extension'))]" + }, + + "modules": { + "type": "secureObject", + "defaultValue": { + "items": [ + ] + } + }, + + "templateLinkBase": { + "type": "string", + "minLength": 1, + "defaultValue": "[uri(replace(deployment().properties.templateLink.uri,' ','%20'), '.')]" + }, + "templateLinkAccessToken": { + "type": "securestring", + "defaultValue": "[parameters('extensionExpanded').templateLinkAccessToken]" + }, + + "deploymentId": { + "type": "string", + "defaultValue": "[coalesce(parameters('standard').deploymentId, resourceGroup().name)]" + }, + "location": { + "type": "string", + "defaultValue": "[coalesce(parameters('standard').location, resourceGroup().location)]" + }, + "sitecoreSKU": { + "type": "string", + "allowedValues": [ "Extra Small", "Small", "Medium", "Large", "Extra Large" ], + "defaultValue": "[coalesce(parameters('standard').sitecoreSKU, 'Small')]", + "metadata": { + "description": "Sitecore SKU controls the sizes and service levels of the provisioned resources" + } + }, + + "sitecoreAdminPassword": { + "type": "securestring", + "minLength": 8, + "defaultValue": "[parameters('standard').sitecoreAdminPassword]" + }, + + "sitecoreDomain": { + "type": "string", + "minLength": 1, + "defaultValue": "sitecore" + }, + "sitecoreUserName": { + "type": "string", + "minLength": 1, + "defaultValue": "admin" + }, + "sitecorePassword": { + "type": "securestring", + "minLength": 8, + "defaultValue": "[parameters('standard').sitecoreAdminPassword]" + }, + + "sqlServerName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').sqlServerName, concat(parameters('deploymentId'), '-sql'))]" + }, + "sqlServerLogin": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('standard').sqlServerLogin]" + }, + "sqlServerPassword": { + "type": "securestring", + "minLength": 8, + "defaultValue": "[parameters('standard').sqlServerPassword]" + }, + + "sqlDatabaseCollation": { + "type": "string", + "minLength": 1, + "defaultValue": "SQL_Latin1_General_CP1_CI_AS" + }, + + "coreSqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').coreSqlDatabaseName, concat(parameters('deploymentId'), '-core-db'))]" + }, + "masterSqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').masterSqlDatabaseName, concat(parameters('deploymentId'), '-master-db'))]" + }, + "webSqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').webSqlDatabaseName, concat(parameters('deploymentId'), '-web-db'))]" + }, + "shard0SqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').shard0SqlDatabaseName, concat(parameters('deploymentId'), '-shard0-db'))]" + }, + "shard1SqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').shard1SqlDatabaseName, concat(parameters('deploymentId'), '-shard1-db'))]" + }, + + "globalSqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-global-db')]" + }, + "sharedSqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-shared-db')]" + }, + "masterSqlDatabaseLogicalName": { + "type": "string", + "minLength": 1, + "defaultValue": "master" + }, + "webSqlDatabaseLogicalName": { + "type": "string", + "minLength": 1, + "defaultValue": "web" + }, + "globalSqlDatabaseUserName": { + "type": "string", + "minLength": 1, + "defaultValue": "engineglobaluser" + }, + "globalSqlDatabaseUserPassword": { + "type": "securestring", + "minLength": 8, + "defaultValue": "[concat(toUpper(uniqueString('engine-global', parameters('passwordSalt'))), '@', uniqueString('engine-global', parameters('sqlServerPassword')), toUpper(uniqueString('engine-global', parameters('sitecoreAdminPassword'))))]" + }, + "sharedSqlDatabaseUserName": { + "type": "string", + "minLength": 1, + "defaultValue": "engineshareduser" + }, + "sharedSqlDatabaseUserPassword": { + "type": "securestring", + "minLength": 8, + "defaultValue": "[concat(toUpper(uniqueString('engine-shared', parameters('passwordSalt'))), '@', uniqueString('engine-shared', parameters('sqlServerPassword')), toUpper(uniqueString('engine-shared', parameters('sitecoreAdminPassword'))))]" + }, + "engineHostingPlanName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-engine-hp')]" + }, + "minionsHostingPlanName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-minions-hp')]" + }, + "cmHostingPlanName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-cm-hp')]" + }, + "cdHostingPlanName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-cd-hp')]" + }, + "xcResourceIntensiveHostingPlanName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-xc-resourceintensive-hp')]" + }, + + "cdWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').cdWebAppName, concat(parameters('deploymentId'), '-cd'))]" + }, + "cmWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').cmWebAppName, concat(parameters('deploymentId'), '-cm'))]" + }, + "prcWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').prcWebAppName, concat(parameters('deploymentId'), '-prc'))]" + }, + "xcRefDataWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').xcRefDataWebAppName, concat(parameters('deploymentId'), '-xc-refdata'))]" + }, + "xcCollectWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').xcCollectWebAppName, concat(parameters('deploymentId'), '-xc-collect'))]" + }, + "xcSearchWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').xcSearchWebAppName, concat(parameters('deploymentId'), '-xc-search'))]" + }, + "maOpsWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').maOpsWebAppName, concat(parameters('deploymentId'), '-ma-ops'))]" + }, + "maRepWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').maRepWebAppName, concat(parameters('deploymentId'), '-ma-rep'))]" + }, + "authCertificateBlob": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('standard').authCertificateBlob]" + }, + "authCertificatePassword": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('standard').authCertificatePassword]" + }, + "shopsWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-shop')]" + }, + "opsWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-ops')]" + }, + "authoringWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-authoring')]" + }, + "minionsWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-minions')]" + }, + "authCertificateName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-auth')]" + }, + "commerceConnectMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').commerceConnectMsDeployPackageUrl]" + }, + "commerceEngineCloudMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').commerceEngineCloudMsDeployPackageUrl]" + }, + "commerceEngineConnectCdMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').commerceEngineConnectCdMsDeployPackageUrl]" + }, + "commerceEngineConnectCmMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').commerceEngineConnectCmMsDeployPackageUrl]" + }, + "idServerCloudMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').idServerCloudMsDeployPackageUrl]" + }, + "bizfxCloudMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').bizfxCloudMsDeployPackageUrl]" + }, + "adventureWorksImagesDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').adventureWorksImagesDeployPackageUrl]" + }, + "habitatImagesDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').habitatImagesDeployPackageUrl]" + }, + "indexWorkerDefinitionsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').indexWorkerDefinitionsDeployPackageUrl]" + }, + "xConnectDefinitionsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').xConnectDefinitionsDeployPackageUrl]" + }, + "xProfileCoreDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').xProfileCoreDeployPackageUrl]" + }, + "xAnalyticsCoreDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').xAnalyticsCoreDeployPackageUrl]" + }, + "maCoreDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').maCoreDeployPackageUrl]" + }, + "maAzureDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').maAzureDeployPackageUrl]" + }, + "braintreeMerchantId": { + "type": "securestring", + "defaultValue": "[parameters('extensionExpanded').braintreeMerchantId]" + }, + "braintreePublicKey": { + "type": "securestring", + "defaultValue": "[parameters('extensionExpanded').braintreePublicKey]" + }, + "braintreePrivateKey": { + "type": "securestring", + "defaultValue": "[parameters('extensionExpanded').braintreePrivateKey]" + }, + "braintreeEnvironment": { + "type": "string", + "defaultValue": "[parameters('extensionExpanded').braintreeEnvironment]" + }, + "environmentName": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').environmentName]" + }, + "defaultShopName": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').defaultShopName]" + }, + "defaultShopCurrency": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').defaultShopCurrency]" + }, + "defaultShopLanguage": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').defaultShopLanguage]" + }, + "passwordSalt": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[resourceGroup().id]" + }, + + "searchServiceName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-as')]" + } + }, + "resources": [ + { + "apiVersion": "[variables('resourcesApiVersion')]", + "name": "[concat(deployment().name, '-infrastructure')]", + "type": "Microsoft.Resources/deployments", + "properties": { + "mode": "Incremental", + "templateLink": { + "uri": "[concat(uri(parameters('templateLinkBase'), 'nested/infrastructure.json'), parameters('templateLinkAccessToken'))]" + }, + "parameters": { + "deploymentId": { + "value": "[parameters('deploymentId')]" + }, + "location": { + "value": "[parameters('location')]" + }, + "sitecoreSKU": { + "value": "[parameters('sitecoreSKU')]" + }, + "sqlServerName": { + "value": "[parameters('sqlServerName')]" + }, + "sqlDatabaseCollation": { + "value": "[parameters('sqlDatabaseCollation')]" + }, + "webSqlDatabaseName": { + "value": "[parameters('webSqlDatabaseName')]" + }, + "shard0SqlDatabaseName": { + "value": "[parameters('shard0SqlDatabaseName')]" + }, + "shard1SqlDatabaseName": { + "value": "[parameters('shard1SqlDatabaseName')]" + }, + "globalSqlDatabaseName": { + "value": "[parameters('globalSqlDatabaseName')]" + }, + "sharedSqlDatabaseName": { + "value": "[parameters('sharedSqlDatabaseName')]" + }, + "engineHostingPlanName": { + "value": "[parameters('engineHostingPlanName')]" + }, + "minionsHostingPlanName": { + "value": "[parameters('minionsHostingPlanName')]" + }, + "cmHostingPlanName": { + "value": "[parameters('cmHostingPlanName')]" + }, + "cdHostingPlanName": { + "value": "[parameters('cdHostingPlanName')]" + }, + "xcResourceIntensiveHostingPlanName": { + "value": "[parameters('xcResourceIntensiveHostingPlanName')]" + }, + "shopsWebAppName": { + "value": "[parameters('shopsWebAppName')]" + }, + "opsWebAppName": { + "value": "[parameters('opsWebAppName')]" + }, + "authoringWebAppName": { + "value": "[parameters('authoringWebAppName')]" + }, + "minionsWebAppName": { + "value": "[parameters('minionsWebAppName')]" + }, + "cdWebAppName": { + "value": "[parameters('cdWebAppName')]" + }, + "cmWebAppName": { + "value": "[parameters('cmWebAppName')]" + }, + "prcWebAppName": { + "value": "[parameters('prcWebAppName')]" + }, + "xcRefDataWebAppName": { + "value": "[parameters('xcRefDataWebAppName')]" + }, + "xcCollectWebAppName": { + "value": "[parameters('xcCollectWebAppName')]" + }, + "xcSearchWebAppName": { + "value": "[parameters('xcSearchWebAppName')]" + }, + "maOpsWebAppName": { + "value": "[parameters('maOpsWebAppName')]" + }, + "maRepWebAppName": { + "value": "[parameters('maRepWebAppName')]" + }, + "authCertificateName": { + "value": "[parameters('authCertificateName')]" + }, + "authCertificateBlob": { + "value": "[parameters('authCertificateBlob')]" + }, + "authCertificatePassword": { + "value": "[parameters('authCertificatePassword')]" + } + } + } + }, + { + "apiVersion": "[variables('resourcesApiVersion')]", + "name": "[concat(deployment().name, '-application')]", + "type": "Microsoft.Resources/deployments", + "properties": { + "mode": "Incremental", + "templateLink": { + "uri": "[concat(uri(parameters('templateLinkBase'), 'nested/application.json'), parameters('templateLinkAccessToken'))]" + }, + "parameters": { + "infrastructure": { + "value": "[reference(concat(deployment().name,'-infrastructure')).outputs.infrastructure.value]" + }, + + "deploymentId": { + "value": "[parameters('deploymentId')]" + }, + "location": { + "value": "[parameters('location')]" + }, + "sitecoreAdminPassword": { + "value": "[parameters('sitecoreAdminPassword')]" + }, + "sitecoreDomain": { + "value": "[parameters('sitecoreDomain')]" + }, + "sitecoreUserName": { + "value": "[parameters('sitecoreUserName')]" + }, + "sitecorePassword": { + "value": "[parameters('sitecorePassword')]" + }, + + "sqlServerLogin": { + "value": "[parameters('sqlServerLogin')]" + }, + "sqlServerPassword": { + "value": "[parameters('sqlServerPassword')]" + }, + + "coreSqlDatabaseName": { + "value": "[parameters('coreSqlDatabaseName')]" + }, + "masterSqlDatabaseName": { + "value": "[parameters('masterSqlDatabaseName')]" + }, + "globalSqlDatabaseName": { + "value": "[parameters('globalSqlDatabaseName')]" + }, + "sharedSqlDatabaseName": { + "value": "[parameters('sharedSqlDatabaseName')]" + }, + "masterSqlDatabaseLogicalName": { + "value": "[parameters('masterSqlDatabaseLogicalName')]" + }, + "webSqlDatabaseLogicalName": { + "value": "[parameters('webSqlDatabaseLogicalName')]" + }, + "globalSqlDatabaseUserName": { + "value": "[parameters('globalSqlDatabaseUserName')]" + }, + "globalSqlDatabaseUserPassword": { + "value": "[parameters('globalSqlDatabaseUserPassword')]" + }, + "sharedSqlDatabaseUserName": { + "value": "[parameters('sharedSqlDatabaseUserName')]" + }, + "sharedSqlDatabaseUserPassword": { + "value": "[parameters('sharedSqlDatabaseUserPassword')]" + }, + "cdWebAppName": { + "value": "[parameters('cdWebAppName')]" + }, + "cmWebAppName": { + "value": "[parameters('cmWebAppName')]" + }, + "prcWebAppName": { + "value": "[parameters('prcWebAppName')]" + }, + "xcRefDataWebAppName": { + "value": "[parameters('xcRefDataWebAppName')]" + }, + "xcCollectWebAppName": { + "value": "[parameters('xcCollectWebAppName')]" + }, + "xcSearchWebAppName": { + "value": "[parameters('xcSearchWebAppName')]" + }, + "maOpsWebAppName": { + "value": "[parameters('maOpsWebAppName')]" + }, + "maRepWebAppName": { + "value": "[parameters('maRepWebAppName')]" + }, + "shopsWebAppName": { + "value": "[parameters('shopsWebAppName')]" + }, + "opsWebAppName": { + "value": "[parameters('opsWebAppName')]" + }, + "authoringWebAppName": { + "value": "[parameters('authoringWebAppName')]" + }, + "minionsWebAppName": { + "value": "[parameters('minionsWebAppName')]" + }, + "commerceConnectMsDeployPackageUrl": { + "value": "[parameters('commerceConnectMsDeployPackageUrl')]" + }, + "commerceEngineCloudMsDeployPackageUrl": { + "value": "[parameters('commerceEngineCloudMsDeployPackageUrl')]" + }, + "commerceEngineConnectCdMsDeployPackageUrl": { + "value": "[parameters('commerceEngineConnectCdMsDeployPackageUrl')]" + }, + "commerceEngineConnectCmMsDeployPackageUrl": { + "value": "[parameters('commerceEngineConnectCmMsDeployPackageUrl')]" + }, + "idServerCloudMsDeployPackageUrl": { + "value": "[parameters('idServerCloudMsDeployPackageUrl')]" + }, + "bizfxCloudMsDeployPackageUrl": { + "value": "[parameters('bizfxCloudMsDeployPackageUrl')]" + }, + "adventureWorksImagesDeployPackageUrl": { + "value": "[parameters('adventureWorksImagesDeployPackageUrl')]" + }, + "habitatImagesDeployPackageUrl": { + "value": "[parameters('habitatImagesDeployPackageUrl')]" + }, + "indexWorkerDefinitionsDeployPackageUrl": { + "value": "[parameters('indexWorkerDefinitionsDeployPackageUrl')]" + }, + "xConnectDefinitionsDeployPackageUrl": { + "value": "[parameters('xConnectDefinitionsDeployPackageUrl')]" + }, + "xProfileCoreDeployPackageUrl": { + "value": "[parameters('xProfileCoreDeployPackageUrl')]" + }, + "xAnalyticsCoreDeployPackageUrl": { + "value": "[parameters('xAnalyticsCoreDeployPackageUrl')]" + }, + "maCoreDeployPackageUrl": { + "value": "[parameters('maCoreDeployPackageUrl')]" + }, + "maAzureDeployPackageUrl": { + "value": "[parameters('maAzureDeployPackageUrl')]" + }, + "braintreeMerchantId": { + "value": "[parameters('braintreeMerchantId')]" + }, + "braintreePublicKey": { + "value": "[parameters('braintreePublicKey')]" + }, + "braintreePrivateKey": { + "value": "[parameters('braintreePrivateKey')]" + }, + "braintreeEnvironment": { + "value": "[parameters('braintreeEnvironment')]" + }, + "environmentName": { + "value": "[parameters('environmentName')]" + }, + "defaultShopName": { + "value": "[parameters('defaultShopName')]" + }, + "defaultShopCurrency": { + "value": "[parameters('defaultShopCurrency')]" + }, + "defaultShopLanguage": { + "value": "[parameters('defaultShopLanguage')]" + }, + + "passwordSalt": { + "value": "[parameters('passwordSalt')]" + }, + + "searchServiceName": { + "value": "[parameters('searchServiceName')]" + } + } + }, + "dependsOn": [ + "[resourceId('Microsoft.Resources/deployments', concat(deployment().name, '-infrastructure'))]" + ] + } + ] +} diff --git a/Sitecore XC 9.0.2/azuredeploy.parameters.json b/Sitecore XC 9.0.2/azuredeploy.parameters.json new file mode 100644 index 00000000..80c45405 --- /dev/null +++ b/Sitecore XC 9.0.2/azuredeploy.parameters.json @@ -0,0 +1,116 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "deploymentId": { + "value": "" + }, + "location": { + "value": "" + }, + "sitecoreAdminPassword": { + "value": "" + }, + "sitecoreDomain": { + "value": "" + }, + "sitecorePassword": { + "value": "" + }, + "sqlServerName": { + "value": "" + }, + "sqlServerLogin": { + "value": "" + }, + "sqlServerPassword": { + "value": "" + }, + "authCertificateBlob": { + "value": "" + }, + "authCertificatePassword": { + "value": "" + }, + "commerceConnectMsDeployPackageUrl": { + "value": "" + }, + "commerceEngineCloudMsDeployPackageUrl": { + "value": "" + }, + "commerceEngineConnectCdMsDeployPackageUrl": { + "value": "" + }, + "commerceEngineConnectCmMsDeployPackageUrl": { + "value": "" + }, + "idServerCloudMsDeployPackageUrl": { + "value": "" + }, + "bizfxCloudMsDeployPackageUrl": { + "value": "" + }, + "adventureWorksImagesDeployPackageUrl": { + "value": "" + }, + "habitatImagesDeployPackageUrl": { + "value": "" + }, + "indexWorkerDefinitionsDeployPackageUrl": { + "value": "" + }, + "xConnectDefinitionsDeployPackageUrl": { + "value": "" + }, + "xProfileCoreDeployPackageUrl": { + "value": "" + }, + "xAnalyticsCoreDeployPackageUrl": { + "value": "" + }, + "maCoreDeployPackageUrl": { + "value": "" + }, + "maAzureDeployPackageUrl": { + "value": "" + }, + "braintreeMerchantId": { + "value": "" + }, + "braintreePublicKey": { + "value": "" + }, + "braintreePrivateKey": { + "value": "" + }, + "braintreeEnvironment": { + "value": "" + }, + "environmentName": { + "value":"" + }, + "defaultShopName": { + "value": "" + }, + "defaultShopCurrency": { + "value": "" + }, + "defaultShopLanguage": { + "value": "" + }, + + "modules": { + "value": { + "items": [ + { + "name": "bootloader", + "templateLink": "", + "parameters": { + "msDeployPackageUrl": "" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/Sitecore XC 9.0.2/nested/application.json b/Sitecore XC 9.0.2/nested/application.json new file mode 100644 index 00000000..e5304c30 --- /dev/null +++ b/Sitecore XC 9.0.2/nested/application.json @@ -0,0 +1,1041 @@ +{ + "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "variables": { + "webApiVersion": "2016-08-01", + "searchApiVersion": "2015-08-19", + + "sqlServerFqdnTidy": "[toLower(trim(parameters('sqlServerFqdn')))]", + + "coreSqlDatabaseNameTidy": "[toLower(trim(parameters('coreSqlDatabaseName')))]", + "masterSqlDatabaseNameTidy": "[toLower(trim(parameters('masterSqlDatabaseName')))]", + "globalSqlDatabaseNameTidy": "[toLower(trim(parameters('globalSqlDatabaseName')))]", + "sharedSqlDatabaseNameTidy": "[toLower(trim(parameters('sharedSqlDatabaseName')))]", + + "cdWebAppNameTidy": "[toLower(trim(parameters('cdWebAppName')))]", + "cdWebAppFqdnTidy": "[toLower(trim(parameters('cdWebAppFqdn')))]", + "cmWebAppNameTidy": "[toLower(trim(parameters('cmWebAppName')))]", + "cmWebAppFqdnTidy": "[toLower(trim(parameters('cmWebAppFqdn')))]", + "prcWebAppNameTidy": "[toLower(trim(parameters('prcWebAppName')))]", + "prcWebAppFqdnTidy": "[toLower(trim(parameters('prcWebAppFqdn')))]", + "repWebAppNameTidy": "[toLower(trim(parameters('repWebAppName')))]", + "repWebAppFqdnTidy": "[toLower(trim(parameters('repWebAppFqdn')))]", + "xcCollectWebAppNameTidy": "[toLower(trim(parameters('xcCollectWebAppName')))]", + "xcCollectWebAppFqdnTidy": "[toLower(trim(parameters('xcCollectWebAppFqdn')))]", + "xcSearchWebAppNameTidy": "[toLower(trim(parameters('xcSearchWebAppName')))]", + "xcSearchWebAppFqdnTidy": "[toLower(trim(parameters('xcSearchWebAppFqdn')))]", + "xcRefDataWebAppNameTidy": "[toLower(trim(parameters('xcRefDataWebAppName')))]", + "xcRefDataWebAppFqdnTidy": "[toLower(trim(parameters('xcRefDataWebAppFqdn')))]", + "maOpsWebAppNameTidy": "[toLower(trim(parameters('maOpsWebAppName')))]", + "maOpsWebAppFqdnTidy": "[toLower(trim(parameters('maOpsWebAppFqdn')))]", + "maRepWebAppNameTidy": "[toLower(trim(parameters('maRepWebAppName')))]", + "maRepWebAppFqdnTidy": "[toLower(trim(parameters('maRepWebAppFqdn')))]", + + "shopsWebAppNameTidy": "[toLower(trim(parameters('shopsWebAppName')))]", + "shopsWebAppFqdnTidy": "[toLower(trim(parameters('shopsWebAppFqdn')))]", + "opsWebAppNameTidy": "[toLower(trim(parameters('opsWebAppName')))]", + "opsWebAppFqdnTidy": "[toLower(trim(parameters('opsWebAppFqdn')))]", + "authoringWebAppNameTidy": "[toLower(trim(parameters('authoringWebAppName')))]", + "authoringWebAppFqdnTidy": "[toLower(trim(parameters('authoringWebAppFqdn')))]", + "minionsWebAppNameTidy": "[toLower(trim(parameters('minionsWebAppName')))]", + "minionsWebAppFqdnTidy": "[toLower(trim(parameters('minionsWebAppFqdn')))]", + "idserverAppNameTidy": "[toLower(trim(parameters('idserverAppName')))]", + "idserverAppFqdnTidy": "[toLower(trim(parameters('idserverAppFqdn')))]", + "bizfxAppNameTidy": "[toLower(trim(parameters('bizfxAppName')))]", + "bizfxAppFqdnTidy": "[toLower(trim(parameters('bizfxAppFqdn')))]", + + "sitecoreDomainTidy": "[toLower(trim(parameters('sitecoreDomain')))]", + "defaultShopNameTidy": "[toLower(trim(parameters('defaultShopName')))]", + + "searchServiceNameTidy": "[toLower(trim(parameters('searchServiceName')))]", + + "siteTitle": "Sitecore Commerce Engine" + }, + "parameters": { + "infrastructure": { + "type": "secureObject", + "defaultValue": { + "sqlServerFqdn": "[concat(parameters('deploymentId'), '-sql.database.windows.net')]", + + "cdWebAppFqdn": "[concat(parameters('deploymentId'), '-cd.windowsazure.net')]", + "cmWebAppFqdn": "[concat(parameters('deploymentId'), '-cm.windowsazure.net')]", + "prcWebAppFqdn": "[concat(parameters('deploymentId'), '-prc.windowsazure.net')]", + "repWebAppFqdn": "[concat(parameters('deploymentId'), '-rep.windowsazure.net')]", + "xcCollectWebAppFqdn": "[concat(parameters('deploymentId'), '-xc-collect.windowsazure.net')]", + "xcSearchWebAppFqdn": "[concat(parameters('deploymentId'), '-xc-search.windowsazure.net')]", + "xcRefDataWebAppFqdn": "[concat(parameters('deploymentId'), '-xc-refdata.windowsazure.net')]", + "maOpsWebAppFqdn": "[concat(parameters('deploymentId'), '-ma-ops.windowsazure.net')]", + "maRepWebAppFqdn": "[concat(parameters('deploymentId'), '-ma-rep.windowsazure.net')]", + + "shopsWebAppFqdn": "[concat(parameters('deploymentId'), '-shop.windowsazure.net')]", + "opsWebAppFqdn": "[concat(parameters('deploymentId'), '-ops.windowsazure.net')]", + "authoringWebAppFqdn": "[concat(parameters('deploymentId'), '-authoring.windowsazure.net')]", + "minionsWebAppFqdn": "[concat(parameters('deploymentId'), '-minions.windowsazure.net')]", + "idserverAppFqdn": "[concat(parameters('deploymentId'), '-idserver.windowsazure.net')]", + "bizfxAppFqdn": "[concat(parameters('deploymentId'), '-bizfx.windowsazure.net')]", + + "authCertificateThumbprint": null, + "applicationInsightsKey": null + } + }, + + "deploymentId": { + "type": "string", + "defaultValue": "[resourceGroup().name]" + }, + "location": { + "type": "string", + "defaultValue": "[resourceGroup().location]" + }, + "sitecoreAdminPassword": { + "type": "securestring", + "minLength": 8 + }, + + "sitecoreDomain": { + "type": "string", + "minLength": 1, + "defaultValue": "sitecore" + }, + "sitecoreUserName": { + "type": "string", + "minLength": 1, + "defaultValue": "admin" + }, + "sitecorePassword": { + "type": "securestring", + "minLength": 8 + }, + + "sqlServerFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').sqlServerFqdn]" + }, + "sqlServerLogin": { + "type": "string", + "minLength": 1 + }, + "sqlServerPassword": { + "type": "securestring", + "minLength": 8 + }, + + "coreSqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-core-db')]" + }, + "masterSqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-master-db')]" + }, + "globalSqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-global-db')]" + }, + "sharedSqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-shared-db')]" + }, + "masterSqlDatabaseLogicalName": { + "type": "string", + "minLength": 1, + "defaultValue": "master" + }, + "webSqlDatabaseLogicalName": { + "type": "string", + "minLength": 1, + "defaultValue": "web" + }, + + "globalSqlDatabaseUserName": { + "type": "string", + "minLength": 1, + "defaultValue": "engineglobaluser" + }, + "globalSqlDatabaseUserPassword": { + "type": "securestring", + "minLength": 8, + "defaultValue": "[concat(toUpper(uniqueString('engine-global', parameters('passwordSalt'))), '@', uniqueString('engine-global', parameters('sqlServerPassword')), toUpper(uniqueString('engine-global', parameters('sitecoreAdminPassword'))))]" + }, + "sharedSqlDatabaseUserName": { + "type": "string", + "minLength": 1, + "defaultValue": "engineshareduser" + }, + "sharedSqlDatabaseUserPassword": { + "type": "securestring", + "minLength": 8, + "defaultValue": "[concat(toUpper(uniqueString('engine-shared', parameters('passwordSalt'))), '@', uniqueString('engine-shared', parameters('sqlServerPassword')), toUpper(uniqueString('engine-shared', parameters('sitecoreAdminPassword'))))]" + }, + "cdWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-cd')]" + }, + "cdWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').cdWebAppFqdn]" + }, + "cmWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-cm')]" + }, + "cmWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').cmWebAppFqdn]" + }, + "prcWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-prc')]" + }, + "prcWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').prcWebAppFqdn]" + }, + "repWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-rep')]" + }, + "repWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').repWebAppFqdn]" + }, + "xcRefDataWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-xc-refdata')]" + }, + "xcRefDataWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').xcRefDataWebAppFqdn]" + }, + "xcCollectWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-xc-collect')]" + }, + "xcCollectWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').xcCollectWebAppFqdn]" + }, + "xcSearchWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-xc-search')]" + }, + "xcSearchWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').xcSearchWebAppFqdn]" + }, + "maOpsWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-ma-ops')]" + }, + "maOpsWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').maOpsWebAppFqdn]" + }, + "maRepWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-ma-rep')]" + }, + "maRepWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').maRepWebAppFqdn]" + }, + + "shopsWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-shop')]" + }, + "shopsWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').shopsWebAppFqdn]" + }, + "opsWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-ops')]" + }, + "opsWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').opsWebAppFqdn]" + }, + "authoringWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-authoring')]" + }, + "authoringWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').authoringWebAppFqdn]" + }, + "minionsWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-minions')]" + }, + "minionsWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').minionsWebAppFqdn]" + }, + "idserverAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-idserver')]" + }, + "idserverAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').idserverAppFqdn]" + }, + "bizfxAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-bizfx')]" + }, + "bizfxAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').bizfxAppFqdn]" + }, + + "applicationInsightsKey": { + "type": "securestring", + "minLength": 8, + "defaultValue": "[parameters('infrastructure').applicationInsightsKey]" + }, + "authCertificateThumbprint": { + "type": "string", + "minLength": 8, + "defaultValue": "[parameters('infrastructure').authCertificateThumbprint]" + }, + + "commerceConnectMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "commerceEngineCloudMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "commerceEngineConnectCdMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "commerceEngineConnectCmMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "idServerCloudMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "bizfxCloudMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "adventureWorksImagesDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "habitatImagesDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "indexWorkerDefinitionsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "xConnectDefinitionsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "xProfileCoreDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "xAnalyticsCoreDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "maCoreDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "maAzureDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "braintreeMerchantId": { + "type": "securestring" + }, + "braintreePublicKey": { + "type": "securestring" + }, + "braintreePrivateKey": { + "type": "securestring" + }, + "braintreeEnvironment": { + "type": "string" + }, + + "environmentName": { + "type": "string", + "minLength": 1, + "defaultValue": "HabitatShops" + }, + "defaultShopName": { + "type": "string", + "minLength": 1, + "defaultValue": "Storefront" + }, + "defaultShopCurrency": { + "type": "string", + "minLength": 1, + "defaultValue": "USD" + }, + "defaultShopLanguage": { + "type": "string", + "minLength": 1, + "defaultValue": "en-US" + }, + + "passwordSalt": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[resourceGroup().id]" + }, + + "searchServiceName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-as')]" + } + }, + "resources": [ + { + "name": "[concat(variables('cdWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ "[concat('Microsoft.Web/sites/', variables('cmWebAppNameTidy'), '/Extensions/MSDeploy')]" ], + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('commerceConnectMsDeployPackageUrl')]", + "dbType": "SQL", + "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "setParameters": { + "Application Path": "[variables('cdWebAppNameTidy')]", + "Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" + } + }, + { + "packageUri": "[parameters('maCoreDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('cdWebAppNameTidy')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" + } + }, + { + "packageUri": "[parameters('commerceEngineConnectCdMsDeployPackageUrl')]", + "dbType": "SQL", + "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "setParameters": { + "Application Path": "[variables('cdWebAppNameTidy')]", + "Ops Service URL": "[concat('https://', variables('opsWebAppFqdnTidy'), '/commerceops/')]", + "Shops Service URL": "[concat('https://', variables('shopsWebAppFqdnTidy'), '/api/')]", + "Default Environment": "[parameters('environmentName')]", + "Default Shop Name": "[variables('defaultShopNameTidy')]", + "Default Shop Currency": "[parameters('defaultShopCurrency')]", + "Certificate Thumbprint": "[parameters('authCertificateThumbprint')]" + } + } + ] + } + }, + { + "name": "[concat(variables('cmWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('commerceConnectMsDeployPackageUrl')]", + "dbType": "SQL", + "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "setParameters": { + "Application Path": "[variables('cmWebAppNameTidy')]", + "Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" + } + }, + { + "packageUri": "[parameters('xProfileCoreDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('cmWebAppNameTidy')]", + "Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" + } + }, + { + "packageUri": "[parameters('xAnalyticsCoreDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('cmWebAppNameTidy')]", + "Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" + } + }, + { + "packageUri": "[parameters('maCoreDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('cmWebAppNameTidy')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" + } + }, + { + "packageUri": "[parameters('commerceEngineConnectCmMsDeployPackageUrl')]", + "dbType": "SQL", + "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "setParameters": { + "Application Path": "[variables('cmWebAppNameTidy')]", + "Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "Business Tools Link": "[concat('https://', variables('bizfxAppFqdnTidy'))]", + "Ops Service URL": "[concat('https://', variables('opsWebAppFqdnTidy'), '/commerceops/')]", + "Shops Service URL": "[concat('https://', variables('authoringWebAppFqdnTidy'), '/api/')]", + "Default Environment": "HabitatAuthoring", + "Default Shop Name": "[variables('defaultShopNameTidy')]", + "Default Shop Currency": "[parameters('defaultShopCurrency')]", + "Certificate Thumbprint": "[parameters('authCertificateThumbprint')]" + } + }, + { + "packageUri": "[parameters('adventureWorksImagesDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('cmWebAppNameTidy')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" + } + }, + { + "packageUri": "[parameters('habitatImagesDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('cmWebAppNameTidy')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" + } + } + ] + } + }, + { + "name": "[concat(variables('prcWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ "[concat('Microsoft.Web/sites/', variables('cmWebAppNameTidy'), '/Extensions/MSDeploy')]" ], + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('xAnalyticsCoreDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('prcWebAppNameTidy')]", + "Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" + } + } + ] + } + }, + { + "name": "[concat(variables('repWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ "[concat('Microsoft.Web/sites/', variables('cmWebAppNameTidy'), '/Extensions/MSDeploy')]" ], + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('xAnalyticsCoreDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('repWebAppNameTidy')]", + "Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" + } + } + ] + } + }, + { + "name": "[concat(variables('xcRefDataWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('xConnectDefinitionsDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('xcRefDataWebAppNameTidy')]" + } + } + ] + } + }, + { + "name": "[concat(variables('xcCollectWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('xConnectDefinitionsDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('xcCollectWebAppNameTidy')]" + } + } + ] + } + }, + { + "name": "[concat(variables('xcSearchWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('indexWorkerDefinitionsDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('maOpsWebAppNameTidy')]" + } + }, + { + "packageUri": "[parameters('xConnectDefinitionsDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('xcSearchWebAppNameTidy')]" + } + } + ] + } + }, + { + "name": "[concat(variables('maOpsWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('indexWorkerDefinitionsDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('maOpsWebAppNameTidy')]" + } + }, + { + "packageUri": "[parameters('xConnectDefinitionsDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('xcRefDataWebAppNameTidy')]" + } + }, + { + "packageUri": "[parameters('maAzureDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('maOpsWebAppNameTidy')]" + } + } + ] + } + }, + { + "name": "[concat(variables('maRepWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('indexWorkerDefinitionsDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('maRepWebAppNameTidy')]" + } + } + ] + } + }, + { + "name": "[concat(variables('opsWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('commerceEngineCloudMsDeployPackageUrl')]", + "dbType": "SQL", + "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "setParameters": { + "IIS Web Application Name": "[variables('opsWebAppNameTidy')]", + + "CommerceEngineGlobalConnectionString-Admin": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('globalSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "CommerceEngineSharedConnectionString-Admin": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('sharedSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + + "SiteTitle": "[variables('siteTitle')]", + "DeploymentId": "[parameters('deploymentId')]", + "EnvironmentName": "HabitatAuthoring", + "ApplicationInsightsKey": "[parameters('applicationInsightsKey')]", + "CertificateThumbprint": "[parameters('authCertificateThumbprint')]", + "AntiForgeryEnabled": false, + + "GlobalDatabaseName": "[variables('globalSqlDatabaseNameTidy')]", + "GlobalDatabaseUserName": "[parameters('globalSqlDatabaseUserName')]", + "GlobalDatabasePassword": "[parameters('globalSqlDatabaseUserPassword')]", + "GlobalDatabaseServer": "[variables('sqlServerFqdnTidy')]", + + "SharedDatabaseName": "[variables('sharedSqlDatabaseNameTidy')]", + "SharedDatabaseUserName": "[parameters('sharedSqlDatabaseUserName')]", + "SharedDatabasePassword": "[parameters('sharedSqlDatabaseUserPassword')]", + "SharedDatabaseServer": "[variables('sqlServerFqdnTidy')]", + + "BraintreeMerchantId": "[parameters('braintreeMerchantId')]", + "BraintreePublicKey": "[parameters('braintreePublicKey')]", + "BraintreePrivateKey": "[parameters('braintreePrivateKey')]", + "BraintreeEnvironment": "[parameters('braintreeEnvironment')]", + + "SitecoreHost": "[variables('cmWebAppFqdnTidy')]", + "SitecoreDatabase": "[parameters('masterSqlDatabaseLogicalName')]", + "SitecoreUserName": "[parameters('sitecoreUserName')]", + "SitecoreDomain": "[variables('sitecoreDomainTidy')]", + "SitecorePassword": "[parameters('sitecorePassword')]", + + "SitecoreIdentityServerUrl":"[concat('https://', variables('idserverAppFqdnTidy'))]", + "BizFxUrl":"[concat('https://', variables('bizfxAppFqdnTidy'))]", + + "AzureSearchServiceName": "[variables('searchServiceNameTidy')]", + "AzureSearchServiceQueryApiKey": "[listAdminKeys(resourceId('Microsoft.Search/searchServices', variables('searchServiceNameTidy')), variables('searchApiVersion')).primaryKey]", + "AzureSearchServiceAdminApiKey": "[listAdminKeys(resourceId('Microsoft.Search/searchServices', variables('searchServiceNameTidy')), variables('searchApiVersion')).primaryKey]" + } + } + ] + } + }, + { + "name": "[concat(variables('authoringWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ "[concat('Microsoft.Web/sites/', variables('opsWebAppNameTidy'), '/Extensions/MSDeploy')]" ], + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('commerceEngineCloudMsDeployPackageUrl')]", + "dbType": "SQL", + "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "setParameters": { + "IIS Web Application Name": "[variables('authoringWebAppNameTidy')]", + + "CommerceEngineGlobalConnectionString-Admin": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('globalSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "CommerceEngineSharedConnectionString-Admin": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('sharedSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + + "SiteTitle": "[variables('siteTitle')]", + "DeploymentId": "[parameters('deploymentId')]", + "EnvironmentName": "HabitatAuthoring", + "ApplicationInsightsKey": "[parameters('applicationInsightsKey')]", + "CertificateThumbprint": "[parameters('authCertificateThumbprint')]", + "AntiForgeryEnabled": false, + + "GlobalDatabaseName": "[variables('globalSqlDatabaseNameTidy')]", + "GlobalDatabaseUserName": "[parameters('globalSqlDatabaseUserName')]", + "GlobalDatabasePassword": "[parameters('globalSqlDatabaseUserPassword')]", + "GlobalDatabaseServer": "[variables('sqlServerFqdnTidy')]", + + "SharedDatabaseName": "[variables('sharedSqlDatabaseNameTidy')]", + "SharedDatabaseUserName": "[parameters('sharedSqlDatabaseUserName')]", + "SharedDatabasePassword": "[parameters('sharedSqlDatabaseUserPassword')]", + "SharedDatabaseServer": "[variables('sqlServerFqdnTidy')]", + + "BraintreeMerchantId": "[parameters('braintreeMerchantId')]", + "BraintreePublicKey": "[parameters('braintreePublicKey')]", + "BraintreePrivateKey": "[parameters('braintreePrivateKey')]", + "BraintreeEnvironment": "[parameters('braintreeEnvironment')]", + + "SitecoreHost": "[variables('cmWebAppFqdnTidy')]", + "SitecoreDatabase": "[parameters('masterSqlDatabaseLogicalName')]", + "SitecoreUserName": "[parameters('sitecoreUserName')]", + "SitecoreDomain": "[variables('sitecoreDomainTidy')]", + "SitecorePassword": "[parameters('sitecorePassword')]", + + "SitecoreIdentityServerUrl": "[concat('https://', variables('idserverAppFqdnTidy'))]", + "BizFxUrl": "[concat('https://', variables('bizfxAppFqdnTidy'))]", + + "AzureSearchServiceName": "[variables('searchServiceNameTidy')]", + "AzureSearchServiceQueryApiKey": "[listAdminKeys(resourceId('Microsoft.Search/searchServices', variables('searchServiceNameTidy')), variables('searchApiVersion')).primaryKey]", + "AzureSearchServiceAdminApiKey": "[listAdminKeys(resourceId('Microsoft.Search/searchServices', variables('searchServiceNameTidy')), variables('searchApiVersion')).primaryKey]" + } + } + ] + } + }, + { + "name": "[concat(variables('minionsWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ "[concat('Microsoft.Web/sites/', variables('authoringWebAppNameTidy'), '/Extensions/MSDeploy')]" ], + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('commerceEngineCloudMsDeployPackageUrl')]", + "dbType": "SQL", + "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "setParameters": { + "IIS Web Application Name": "[variables('minionsWebAppNameTidy')]", + + "CommerceEngineGlobalConnectionString-Admin": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('globalSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "CommerceEngineSharedConnectionString-Admin": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('sharedSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + + "SiteTitle": "[variables('siteTitle')]", + "DeploymentId": "[parameters('deploymentId')]", + "EnvironmentName": "HabitatMinions", + "ApplicationInsightsKey": "[parameters('applicationInsightsKey')]", + "CertificateThumbprint": "[parameters('authCertificateThumbprint')]", + "AntiForgeryEnabled": false, + + "GlobalDatabaseName": "[variables('globalSqlDatabaseNameTidy')]", + "GlobalDatabaseUserName": "[parameters('globalSqlDatabaseUserName')]", + "GlobalDatabasePassword": "[parameters('globalSqlDatabaseUserPassword')]", + "GlobalDatabaseServer": "[variables('sqlServerFqdnTidy')]", + + "SharedDatabaseName": "[variables('sharedSqlDatabaseNameTidy')]", + "SharedDatabaseUserName": "[parameters('sharedSqlDatabaseUserName')]", + "SharedDatabasePassword": "[parameters('sharedSqlDatabaseUserPassword')]", + "SharedDatabaseServer": "[variables('sqlServerFqdnTidy')]", + + "BraintreeMerchantId": "[parameters('braintreeMerchantId')]", + "BraintreePublicKey": "[parameters('braintreePublicKey')]", + "BraintreePrivateKey": "[parameters('braintreePrivateKey')]", + "BraintreeEnvironment": "[parameters('braintreeEnvironment')]", + + "SitecoreHost": "[variables('cmWebAppFqdnTidy')]", + "SitecoreDatabase": "[parameters('masterSqlDatabaseLogicalName')]", + "SitecoreUserName": "[parameters('sitecoreUserName')]", + "SitecoreDomain": "[variables('sitecoreDomainTidy')]", + "SitecorePassword": "[parameters('sitecorePassword')]", + + "SitecoreIdentityServerUrl": "[concat('https://', variables('idserverAppFqdnTidy'))]", + "BizFxUrl": "[concat('https://', variables('bizfxAppFqdnTidy'))]", + + "AzureSearchServiceName": "[variables('searchServiceNameTidy')]", + "AzureSearchServiceQueryApiKey": "[listAdminKeys(resourceId('Microsoft.Search/searchServices', variables('searchServiceNameTidy')), variables('searchApiVersion')).primaryKey]", + "AzureSearchServiceAdminApiKey": "[listAdminKeys(resourceId('Microsoft.Search/searchServices', variables('searchServiceNameTidy')), variables('searchApiVersion')).primaryKey]" + + } + } + ] + } + }, + { + "name": "[concat(variables('shopsWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ "[concat('Microsoft.Web/sites/', variables('minionsWebAppNameTidy'), '/Extensions/MSDeploy')]" ], + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('commerceEngineCloudMsDeployPackageUrl')]", + "dbType": "SQL", + "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "setParameters": { + "IIS Web Application Name": "[variables('shopsWebAppNameTidy')]", + + "CommerceEngineGlobalConnectionString-Admin": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('globalSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "CommerceEngineSharedConnectionString-Admin": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('sharedSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + + "SiteTitle": "[variables('siteTitle')]", + "DeploymentId": "[parameters('deploymentId')]", + "EnvironmentName": "HabitatShops", + "ApplicationInsightsKey": "[parameters('applicationInsightsKey')]", + "CertificateThumbprint": "[parameters('authCertificateThumbprint')]", + "AntiForgeryEnabled": false, + + "GlobalDatabaseName": "[variables('globalSqlDatabaseNameTidy')]", + "GlobalDatabaseUserName": "[parameters('globalSqlDatabaseUserName')]", + "GlobalDatabasePassword": "[parameters('globalSqlDatabaseUserPassword')]", + "GlobalDatabaseServer": "[variables('sqlServerFqdnTidy')]", + + "SharedDatabaseName": "[variables('sharedSqlDatabaseNameTidy')]", + "SharedDatabaseUserName": "[parameters('sharedSqlDatabaseUserName')]", + "SharedDatabasePassword": "[parameters('sharedSqlDatabaseUserPassword')]", + "SharedDatabaseServer": "[variables('sqlServerFqdnTidy')]", + + "BraintreeMerchantId": "[parameters('braintreeMerchantId')]", + "BraintreePublicKey": "[parameters('braintreePublicKey')]", + "BraintreePrivateKey": "[parameters('braintreePrivateKey')]", + "BraintreeEnvironment": "[parameters('braintreeEnvironment')]", + + "SitecoreHost": "[variables('cmWebAppFqdnTidy')]", + "SitecoreDatabase": "[parameters('masterSqlDatabaseLogicalName')]", + "SitecoreUserName": "[parameters('sitecoreUserName')]", + "SitecoreDomain": "[variables('sitecoreDomainTidy')]", + "SitecorePassword": "[parameters('sitecorePassword')]", + + "SitecoreIdentityServerUrl": "[concat('https://', variables('idserverAppFqdnTidy'))]", + "BizFxUrl": "[concat('https://', variables('bizfxAppFqdnTidy'))]", + + "AzureSearchServiceName": "[variables('searchServiceNameTidy')]", + "AzureSearchServiceQueryApiKey": "[listAdminKeys(resourceId('Microsoft.Search/searchServices', variables('searchServiceNameTidy')), variables('searchApiVersion')).primaryKey]", + "AzureSearchServiceAdminApiKey": "[listAdminKeys(resourceId('Microsoft.Search/searchServices', variables('searchServiceNameTidy')), variables('searchApiVersion')).primaryKey]" + + } + } + ] + } + }, + { + "name": "[concat(variables('idserverAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('idServerCloudMsDeployPackageUrl')]", + "setParameters": { + "IIS Web Application Name": "[variables('idserverAppNameTidy')]", + "BizFxUrl": "[concat('https://', variables('bizfxAppFqdnTidy'))]", + "BizFxUrlWildcard": "[concat('https://', variables('bizfxAppFqdnTidy'), '/?')]", + "SitecoreConnectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=', parameters('coreSqlDatabaseName'), ';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "IDServerCertificateThumbprint" : "[parameters('authCertificateThumbprint')]" + } + } + ] + } + }, + { + "name": "[concat(variables('bizfxAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('bizfxCloudMsDeployPackageUrl')]", + "setParameters": { + "IIS Web Application Name": "[variables('bizfxAppNameTidy')]", + "DefaultShopName": "[parameters('defaultShopName')]", + "DefaultCurrency": "[parameters('defaultShopCurrency')]", + "DefaultLanguage": "[parameters('defaultShopLanguage')]", + "EngineAuthoringUrl": "[concat('https://', variables('authoringWebAppFqdnTidy'))]", + "IdentityServerUrl": "[concat('https://', variables('idserverAppFqdnTidy'))]", + "BizFxUrl":"[concat('https://', variables('bizfxAppFqdnTidy'))]" + } + } + ] + } + }, + { + "name": "[concat(variables('shopsWebAppNameTidy'), '/', 'appsettings')]", + "type": "Microsoft.Web/sites/config", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "WEBSITE_LOAD_CERTIFICATES": "[parameters('authCertificateThumbprint')]" + }, + "dependsOn": [ + "[concat('Microsoft.Web/Sites/', variables('shopsWebAppNameTidy'), '/Extensions/MSDeploy')]" + ] + }, + { + "name": "[concat(variables('opsWebAppNameTidy'), '/', 'appsettings')]", + "type": "Microsoft.Web/sites/config", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "WEBSITE_LOAD_CERTIFICATES": "[parameters('authCertificateThumbprint')]" + }, + "dependsOn": [ + "[concat('Microsoft.Web/Sites/', variables('opsWebAppNameTidy'), '/Extensions/MSDeploy')]" + ] + }, + { + "name": "[concat(variables('authoringWebAppNameTidy'), '/', 'appsettings')]", + "type": "Microsoft.Web/sites/config", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "WEBSITE_LOAD_CERTIFICATES": "[parameters('authCertificateThumbprint')]" + }, + "dependsOn": [ + "[concat('Microsoft.Web/Sites/', variables('authoringWebAppNameTidy'), '/Extensions/MSDeploy')]" + ] + }, + { + "name": "[concat(variables('minionsWebAppNameTidy'), '/', 'appsettings')]", + "type": "Microsoft.Web/sites/config", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "WEBSITE_LOAD_CERTIFICATES": "[parameters('authCertificateThumbprint')]" + }, + "dependsOn": [ + "[concat('Microsoft.Web/Sites/', variables('minionsWebAppNameTidy'), '/Extensions/MSDeploy')]" + ] + }, + { + "name": "[concat(variables('cdWebAppNameTidy'), '/', 'appsettings')]", + "type": "Microsoft.Web/sites/config", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "WEBSITE_LOAD_CERTIFICATES": "[parameters('authCertificateThumbprint')]" + }, + "dependsOn": [ + "[concat('Microsoft.Web/Sites/', variables('cdWebAppNameTidy'), '/Extensions/MSDeploy')]" + ] + }, + { + "name": "[concat(variables('cmWebAppNameTidy'), '/', 'appsettings')]", + "type": "Microsoft.Web/sites/config", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "WEBSITE_LOAD_CERTIFICATES": "[parameters('authCertificateThumbprint')]" + }, + "dependsOn": [ + "[concat('Microsoft.Web/Sites/', variables('cmWebAppNameTidy'), '/Extensions/MSDeploy')]" + ] + }, + { + "name": "[concat(variables('idserverAppNameTidy'), '/', 'appsettings')]", + "type": "Microsoft.Web/sites/config", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "WEBSITE_LOAD_CERTIFICATES": "[parameters('authCertificateThumbprint')]" + }, + "dependsOn": [ + "[concat('Microsoft.Web/Sites/', variables('idserverAppNameTidy'), '/Extensions/MSDeploy')]" + ] + } + ] +} diff --git a/Sitecore XC 9.0.2/nested/infrastructure.json b/Sitecore XC 9.0.2/nested/infrastructure.json new file mode 100644 index 00000000..f9c88770 --- /dev/null +++ b/Sitecore XC 9.0.2/nested/infrastructure.json @@ -0,0 +1,757 @@ +{ + "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "variables": { + "dbApiVersion": "2014-04-01-preview", + "serverFarmApiVersion": "2016-09-01", + "webApiVersion": "2016-08-01", + "certificateApiVersion": "2014-11-01", + "appInsightsApiVersion": "2015-05-01", + + "sqlServerNameTidy": "[toLower(trim(parameters('sqlServerName')))]", + + "webSqlDatabaseNameTidy": "[toLower(trim(parameters('webSqlDatabaseName')))]", + "shard0SqlDatabaseNameTidy": "[toLower(trim(parameters('shard0SqlDatabaseName')))]", + "shard1SqlDatabaseNameTidy": "[toLower(trim(parameters('shard1SqlDatabaseName')))]", + "globalSqlDatabaseNameTidy": "[toLower(trim(parameters('globalSqlDatabaseName')))]", + "sharedSqlDatabaseNameTidy": "[toLower(trim(parameters('sharedSqlDatabaseName')))]", + + "engineHostingPlanNameTidy": "[toLower(trim(parameters('engineHostingPlanName')))]", + "minionsHostingPlanNameTidy": "[toLower(trim(parameters('minionsHostingPlanName')))]", + "cmHostingPlanNameTidy": "[toLower(trim(parameters('cmHostingPlanName')))]", + "cdHostingPlanNameTidy": "[toLower(trim(parameters('cdHostingPlanName')))]", + "xcResourceIntensiveHostingPlanNameTidy": "[toLower(trim(parameters('xcResourceIntensiveHostingPlanName')))]", + + "cdWebAppNameTidy": "[toLower(trim(parameters('cdWebAppName')))]", + "cmWebAppNameTidy": "[toLower(trim(parameters('cmWebAppName')))]", + "prcWebAppNameTidy": "[toLower(trim(parameters('prcWebAppName')))]", + "repWebAppNameTidy": "[toLower(trim(parameters('repWebAppName')))]", + "xcRefDataWebAppNameTidy": "[toLower(trim(parameters('xcRefDataWebAppName')))]", + "xcCollectWebAppNameTidy": "[toLower(trim(parameters('xcCollectWebAppName')))]", + "xcSearchWebAppNameTidy": "[toLower(trim(parameters('xcSearchWebAppName')))]", + "maOpsWebAppNameTidy": "[toLower(trim(parameters('maOpsWebAppName')))]", + "maRepWebAppNameTidy": "[toLower(trim(parameters('maRepWebAppName')))]", + + "shopsWebAppNameTidy": "[toLower(trim(parameters('shopsWebAppName')))]", + "opsWebAppNameTidy": "[toLower(trim(parameters('opsWebAppName')))]", + "authoringWebAppNameTidy": "[toLower(trim(parameters('authoringWebAppName')))]", + "minionsWebAppNameTidy": "[toLower(trim(parameters('minionsWebAppName')))]", + "idserverAppNameTidy": "[toLower(trim(parameters('idserverAppName')))]", + "bizfxAppNameTidy": "[toLower(trim(parameters('bizfxAppName')))]", + + "authCertificateNameTidy": "[toLower(trim(parameters('authCertificateName')))]", + + "sitecoreTags": { + "provider": "b51535c2-ab3e-4a68-95f8-e2e3c9a19299" + } + }, + "parameters": { + "deploymentId": { + "type": "string", + "defaultValue": "[resourceGroup().name]" + }, + "location": { + "type": "string", + "defaultValue": "[resourceGroup().location]" + }, + "sitecoreSKU": { + "type": "string", + "allowedValues": [ "Extra Small", "Small", "Medium", "Large", "Extra Large" ], + "defaultValue": "Extra Small", + "metadata": { + "description": "Sitecore SKU controls the sizes and service levels of the provisioned resources" + } + }, + + "sqlServerName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-sql')]" + }, + + "sqlDatabaseCollation": { + "type": "string", + "minLength": 1, + "defaultValue": "SQL_Latin1_General_CP1_CI_AS" + }, + "webSqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-web-db')]" + }, + "shard0SqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-shard0-db')]" + }, + "shard1SqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-shard1-db')]" + }, + + "globalSqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-engine-global-db')]" + }, + "sharedSqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-engine-shared-db')]" + }, + + "engineHostingPlanName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-engine-hp')]" + }, + "minionsHostingPlanName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-minions-hp')]" + }, + "cmHostingPlanName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-cm-hp')]" + }, + "cdHostingPlanName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-cd-hp')]" + }, + "xcResourceIntensiveHostingPlanName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-xc-resourceintensive-hp')]" + }, + + "shopsWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-shop')]" + }, + "opsWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-ops')]" + }, + "authoringWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-authoring')]" + }, + "minionsWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-minions')]" + }, + + "cdWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-cd')]" + }, + "cmWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-cm')]" + }, + "prcWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-prc')]" + }, + "repWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-rep')]" + }, + "xcRefDataWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-xc-refdata')]" + }, + "xcCollectWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-xc-collect')]" + }, + "xcSearchWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-xc-search')]" + }, + "maOpsWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-ma-ops')]" + }, + "maRepWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-ma-rep')]" + }, + + "idserverAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-idserver')]" + }, + "bizfxAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-bizfx')]" + }, + + "authCertificateName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-auth')]" + }, + "authCertificateBlob": { + "type": "securestring", + "minLength": 1 + }, + "authCertificatePassword": { + "type": "securestring", + "minLength": 1 + }, + + "skuMap": { + "type": "secureObject", + "defaultValue": { + "Extra Small": { + "cmHostingPlan": { + "SkuName": "B2", + "SkuCapacity": 1 + }, + "cdHostingPlan": { + "SkuName": "B2", + "SkuCapacity": 1 + }, + "xcResourceIntensiveHostingPlan": { + "SkuName": "B1", + "SkuCapacity": 1 + }, + "engineHostingPlan": { + "SkuName": "B1", + "SkuCapacity": 1 + }, + "minionsHostingPlan": { + "SkuName": "B1", + "SkuCapacity": 1 + }, + "webSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S1" + }, + "xcShard0SqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S0" + }, + "xcShard1SqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S0" + }, + "globalSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S1" + }, + "sharedSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S1" + } + }, + "Small": { + "cmHostingPlan": { + "SkuName": "S3", + "SkuCapacity": 1 + }, + "cdHostingPlan": { + "SkuName": "S3", + "SkuCapacity": 1 + }, + "xcResourceIntensiveHostingPlan": { + "SkuName": "P3v2", + "SkuCapacity": 1 + }, + "engineHostingPlan": { + "SkuName": "S3", + "SkuCapacity": 1 + }, + "minionsHostingPlan": { + "SkuName": "S1", + "SkuCapacity": 1 + }, + "webSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S3" + }, + "xcShard0SqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S3" + }, + "xcShard1SqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S3" + }, + "globalSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S0" + }, + "sharedSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S3" + } + }, + "Medium": { + "cmHostingPlan": { + "SkuName": "P3v2", + "SkuCapacity": 1 + }, + "cdHostingPlan": { + "SkuName": "P3v2", + "SkuCapacity": 1 + }, + "xcResourceIntensiveHostingPlan": { + "SkuName": "P3v2", + "SkuCapacity": 1 + }, + "engineHostingPlan": { + "SkuName": "P3v2", + "SkuCapacity": 1 + }, + "minionsHostingPlan": { + "SkuName": "S1", + "SkuCapacity": 1 + }, + "webSqlDatabase": { + "Edition": "Premium", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "P1" + }, + "xcShard0SqlDatabase": { + "Edition": "Premium", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "P1" + }, + "xcShard1SqlDatabase": { + "Edition": "Premium", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "P1" + }, + "globalSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S0" + }, + "sharedSqlDatabase": { + "Edition": "Premium", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "P1" + } + }, + "Large": { + "cmHostingPlan": { + "SkuName": "P3v2", + "SkuCapacity": 1 + }, + "cdHostingPlan": { + "SkuName": "P3v2", + "SkuCapacity": 4 + }, + "xcResourceIntensiveHostingPlan": { + "SkuName": "P3v2", + "SkuCapacity": 1 + }, + "engineHostingPlan": { + "SkuName": "P3v2", + "SkuCapacity": 2 + }, + "minionsHostingPlan": { + "SkuName": "S1", + "SkuCapacity": 1 + }, + "webSqlDatabase": { + "Edition": "Premium", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "P1" + }, + "xcShard0SqlDatabase": { + "Edition": "Premium", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "P1" + }, + "xcShard1SqlDatabase": { + "Edition": "Premium", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "P1" + }, + "globalSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S0" + }, + "sharedSqlDatabase": { + "Edition": "Premium", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "P1" + } + }, + "Extra Large": { + "cmHostingPlan": { + "SkuName": "P3v2", + "SkuCapacity": 1 + }, + "cdHostingPlan": { + "SkuName": "P3v2", + "SkuCapacity": 4 + }, + "xcResourceIntensiveHostingPlan": { + "SkuName": "P3v2", + "SkuCapacity": 1 + }, + "engineHostingPlan": { + "SkuName": "P3v2", + "SkuCapacity": 2 + }, + "minionsHostingPlan": { + "SkuName": "S1", + "SkuCapacity": 1 + }, + "webSqlDatabase": { + "Edition": "Premium", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "P1" + }, + "xcShard0SqlDatabase": { + "Edition": "Premium", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "P1" + }, + "xcShard1SqlDatabase": { + "Edition": "Premium", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "P1" + }, + "globalSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S0" + }, + "sharedSqlDatabase": { + "Edition": "Premium", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "P1" + } + } + } + }, + "resourceSizes": { + "type": "object", + "defaultValue": "[parameters('skuMap')[parameters('sitecoreSKU')]]" + } + }, + "resources": [ + { + "name": "[concat(variables('sqlServerNameTidy'), '/', variables('webSqlDatabaseNameTidy'))]", + "type": "Microsoft.Sql/servers/databases", + "location": "[parameters('location')]", + "apiVersion": "[variables('dbApiVersion')]", + "properties": { + "edition": "[parameters('resourceSizes').webSqlDatabase.Edition]", + "collation": "[parameters('sqlDatabaseCollation')]", + "maxSizeBytes": "[parameters('resourceSizes').webSqlDatabase.MaxSize]", + "requestedServiceObjectiveName": "[parameters('resourceSizes').webSqlDatabase.ServiceObjectiveLevel]" + } + }, + { + "name": "[concat(variables('sqlServerNameTidy'), '/', variables('shard0SqlDatabaseNameTidy'))]", + "type": "Microsoft.Sql/servers/databases", + "location": "[parameters('location')]", + "apiVersion": "[variables('dbApiVersion')]", + "properties": { + "edition": "[parameters('resourceSizes').xcShard0SqlDatabase.Edition]", + "collation": "[parameters('sqlDatabaseCollation')]", + "maxSizeBytes": "[parameters('resourceSizes').xcShard0SqlDatabase.MaxSize]", + "requestedServiceObjectiveName": "[parameters('resourceSizes').xcShard0SqlDatabase.ServiceObjectiveLevel]" + } + }, + { + "name": "[concat(variables('sqlServerNameTidy'), '/', variables('shard1SqlDatabaseNameTidy'))]", + "type": "Microsoft.Sql/servers/databases", + "location": "[parameters('location')]", + "apiVersion": "[variables('dbApiVersion')]", + "properties": { + "edition": "[parameters('resourceSizes').xcShard1SqlDatabase.Edition]", + "collation": "[parameters('sqlDatabaseCollation')]", + "maxSizeBytes": "[parameters('resourceSizes').xcShard1SqlDatabase.MaxSize]", + "requestedServiceObjectiveName": "[parameters('resourceSizes').xcShard1SqlDatabase.ServiceObjectiveLevel]" + } + }, + { + "name": "[concat(variables('sqlServerNameTidy'), '/', variables('globalSqlDatabaseNameTidy'))]", + "type": "Microsoft.Sql/servers/databases", + "location": "[parameters('location')]", + "apiVersion": "[variables('dbApiVersion')]", + "properties": { + "edition": "[parameters('resourceSizes').globalSqlDatabase.Edition]", + "collation": "[parameters('sqlDatabaseCollation')]", + "maxSizeBytes": "[parameters('resourceSizes').globalSqlDatabase.MaxSize]", + "requestedServiceObjectiveName": "[parameters('resourceSizes').globalSqlDatabase.ServiceObjectiveLevel]" + }, + "tags": { + "provider": "[variables('sitecoreTags').provider]" + } + }, + { + "name": "[concat(variables('sqlServerNameTidy'), '/', variables('sharedSqlDatabaseNameTidy'))]", + "type": "Microsoft.Sql/servers/databases", + "location": "[parameters('location')]", + "apiVersion": "[variables('dbApiVersion')]", + "properties": { + "edition": "[parameters('resourceSizes').sharedSqlDatabase.Edition]", + "collation": "[parameters('sqlDatabaseCollation')]", + "maxSizeBytes": "[parameters('resourceSizes').sharedSqlDatabase.MaxSize]", + "requestedServiceObjectiveName": "[parameters('resourceSizes').sharedSqlDatabase.ServiceObjectiveLevel]" + }, + "tags": { + "provider": "[variables('sitecoreTags').provider]" + } + }, + { + "name": "[variables('authCertificateNameTidy')]", + "apiVersion": "[variables('certificateApiVersion')]", + "type": "Microsoft.Web/certificates", + "location": "[parameters('location')]", + "dependsOn": [ + "[resourceId('Microsoft.Web/serverfarms', variables('engineHostingPlanNameTidy'))]", + "[resourceId('Microsoft.Web/serverfarms', variables('minionsHostingPlanNameTidy'))]", + "[resourceId('Microsoft.Web/serverfarms', variables('cmHostingPlanNameTidy'))]" + ], + "properties": { + "password": "[parameters('authCertificatePassword')]", + "pfxBlob": "[parameters('authCertificateBlob')]" + } + }, + { + "type": "Microsoft.Web/serverfarms", + "name": "[variables('cmHostingPlanNameTidy')]", + "location": "[parameters('location')]", + "apiVersion": "[variables('serverFarmApiVersion')]", + "sku": { + "name": "[parameters('resourceSizes').cmHostingPlan.SkuName]", + "capacity": "[parameters('resourceSizes').cmHostingPlan.SkuCapacity]" + } + }, + { + "type": "Microsoft.Web/serverfarms", + "name": "[variables('cdHostingPlanNameTidy')]", + "location": "[parameters('location')]", + "apiVersion": "[variables('serverFarmApiVersion')]", + "sku": { + "name": "[parameters('resourceSizes').cdHostingPlan.SkuName]", + "capacity": "[parameters('resourceSizes').cdHostingPlan.SkuCapacity]" + } + }, + { + "type": "Microsoft.Web/serverfarms", + "name": "[variables('xcResourceIntensiveHostingPlanNameTidy')]", + "location": "[parameters('location')]", + "apiVersion": "[variables('serverFarmApiVersion')]", + "sku": { + "name": "[parameters('resourceSizes').xcResourceIntensiveHostingPlan.SkuName]", + "capacity": "[parameters('resourceSizes').xcResourceIntensiveHostingPlan.SkuCapacity]" + } + }, + { + "name": "[variables('engineHostingPlanNameTidy')]", + "type": "Microsoft.Web/serverfarms", + "location": "[parameters('location')]", + "apiVersion": "[variables('serverFarmApiVersion')]", + "sku": { + "name": "[parameters('resourceSizes').engineHostingPlan.SkuName]", + "capacity": "[parameters('resourceSizes').engineHostingPlan.SkuCapacity]" + }, + "tags": { + "provider": "[variables('sitecoreTags').provider]" + }, + "properties": { + "name": "[variables('engineHostingPlanNameTidy')]", + "numberOfWorkers": 1 + } + }, + { + "name": "[variables('shopsWebAppNameTidy')]", + "type": "Microsoft.Web/sites", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ + "[resourceId('Microsoft.Web/serverfarms', variables('engineHostingPlanNameTidy'))]" + ], + "tags": { + "provider": "[variables('sitecoreTags').provider]" + }, + "properties": { + "name": "[variables('shopsWebAppNameTidy')]", + "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('engineHostingPlanNameTidy'))]", + "siteConfig": { + "use32BitWorkerProcess": false + } + } + }, + { + "name": "[variables('opsWebAppNameTidy')]", + "type": "Microsoft.Web/sites", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ + "[resourceId('Microsoft.Web/serverfarms', variables('engineHostingPlanNameTidy'))]" + ], + "tags": { + "provider": "[variables('sitecoreTags').provider]" + }, + "properties": { + "name": "[variables('opsWebAppNameTidy')]", + "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('engineHostingPlanNameTidy'))]", + "siteConfig": { + "use32BitWorkerProcess": false + } + } + }, + { + "name": "[variables('authoringWebAppNameTidy')]", + "type": "Microsoft.Web/sites", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ + "[resourceId('Microsoft.Web/serverfarms', variables('engineHostingPlanNameTidy'))]" + ], + "tags": { + "provider": "[variables('sitecoreTags').provider]" + }, + "properties": { + "name": "[variables('authoringWebAppNameTidy')]", + "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('engineHostingPlanNameTidy'))]", + "siteConfig": { + "use32BitWorkerProcess": false + } + } + }, + { + "name": "[variables('minionsHostingPlanNameTidy')]", + "type": "Microsoft.Web/serverfarms", + "location": "[parameters('location')]", + "apiVersion": "[variables('serverFarmApiVersion')]", + "sku": { + "name": "[parameters('resourceSizes').minionsHostingPlan.SkuName]", + "capacity": "[parameters('resourceSizes').minionsHostingPlan.SkuCapacity]" + }, + "tags": { + "provider": "[variables('sitecoreTags').provider]" + }, + "properties": { + "name": "[variables('minionsHostingPlanNameTidy')]", + "numberOfWorkers": 1 + } + }, + { + "name": "[variables('minionsWebAppNameTidy')]", + "type": "Microsoft.Web/sites", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ + "[resourceId('Microsoft.Web/serverfarms', variables('minionsHostingPlanNameTidy'))]" + ], + "tags": { + "provider": "[variables('sitecoreTags').provider]" + }, + "properties": { + "name": "[variables('minionsWebAppNameTidy')]", + "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('minionsHostingPlanNameTidy'))]", + "siteConfig": { + "use32BitWorkerProcess": false, + "alwaysOn": true + } + } + }, + { + "name": "[variables('idserverAppNameTidy')]", + "type": "Microsoft.Web/sites", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ + "[resourceId('Microsoft.Web/serverfarms', variables('cmHostingPlanNameTidy'))]" + ], + "tags": { + "provider": "[variables('sitecoreTags').provider]" + }, + "properties": { + "name": "[variables('idserverAppNameTidy')]", + "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('cmHostingPlanNameTidy'))]", + "siteConfig": { + "use32BitWorkerProcess": false + } + } + }, + { + "name": "[variables('bizfxAppNameTidy')]", + "type": "Microsoft.Web/sites", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ + "[resourceId('Microsoft.Web/serverfarms', variables('cmHostingPlanNameTidy'))]" + ], + "tags": { + "provider": "[variables('sitecoreTags').provider]" + }, + "properties": { + "name": "[variables('bizfxAppNameTidy')]", + "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('cmHostingPlanNameTidy'))]", + "siteConfig": { + "use32BitWorkerProcess": false + } + } + } + ], + "outputs": { + "infrastructure": { + "type": "object", + "value": { + "sqlServerFqdn": "[reference(concat('Microsoft.Sql/servers/', variables('sqlServerNameTidy')), variables('dbApiVersion')).fullyQualifiedDomainName]", + + "cdWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('cdWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", + "cmWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('cmWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", + "prcWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('prcWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", + "repWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('repWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", + "xcRefDataWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('xcRefDataWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", + "xcCollectWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('xcCollectWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", + "xcSearchWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('xcSearchWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", + "maOpsWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('maOpsWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", + "maRepWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('maRepWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", + + "shopsWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('shopsWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", + "opsWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('opsWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", + "authoringWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('authoringWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", + "minionsWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('minionsWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", + "idserverAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('idserverAppNameTidy')),variables('webApiVersion')).defaultHostName]", + "bizfxAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('bizfxAppNameTidy')),variables('webApiVersion')).defaultHostName]", + + "applicationInsightsKey": "[reference(resourceId('Microsoft.Insights/Components', concat(parameters('deploymentId'), '-ai')), variables('appInsightsApiVersion')).InstrumentationKey]", + + "authCertificateThumbprint": "[reference(resourceId('Microsoft.Web/certificates', variables('authCertificateNameTidy')), variables('certificateApiVersion')).thumbprint]" } + } + } +} From cefff239e7506798b5ddd2ac30e8d7730afe370a Mon Sep 17 00:00:00 2001 From: Marcus Heath Date: Fri, 27 Jul 2018 08:39:29 -0400 Subject: [PATCH 3/9] Updated compatibility info (only) --- Sitecore XC 9.0.2/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Sitecore XC 9.0.2/README.md b/Sitecore XC 9.0.2/README.md index b6cb49c6..49aa4b1c 100644 --- a/Sitecore XC 9.0.2/README.md +++ b/Sitecore XC 9.0.2/README.md @@ -2,7 +2,6 @@ This template deploys the Sitecore Experience Commerce (Sitecore XC) module into a Sitecore XP Environment. - Sitecore XC 9.0.2 is compatible with: Sitecore XP 9.0.2 SXA 1.7.1 From ecbd6daacf87f88fb132bab51e26310f63dcaef7 Mon Sep 17 00:00:00 2001 From: Marcus Heath Date: Fri, 27 Jul 2018 08:41:55 -0400 Subject: [PATCH 4/9] Updated readme compatibility info --- Sitecore XC 9.0.2/README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Sitecore XC 9.0.2/README.md b/Sitecore XC 9.0.2/README.md index 49aa4b1c..7d9e47c3 100644 --- a/Sitecore XC 9.0.2/README.md +++ b/Sitecore XC 9.0.2/README.md @@ -2,10 +2,8 @@ This template deploys the Sitecore Experience Commerce (Sitecore XC) module into a Sitecore XP Environment. -Sitecore XC 9.0.2 is compatible with: - Sitecore XP 9.0.2 - SXA 1.7.1 - SXA Storefront 1.2 + +Sitecore XC 9.0.2 is compatible with: Sitecore XP 9.0.2, SXA 1.7.1, SXA Storefront 1.2 ## Parameters From 9570e22c702ec3d43db5d07ed071ed0f366b0848 Mon Sep 17 00:00:00 2001 From: Marcus Heath Date: Fri, 27 Jul 2018 08:43:35 -0400 Subject: [PATCH 5/9] Updated readme compatibility info --- SXA Storefront 1.2/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SXA Storefront 1.2/README.md b/SXA Storefront 1.2/README.md index 8de74fa9..0684dbf3 100644 --- a/SXA Storefront 1.2/README.md +++ b/SXA Storefront 1.2/README.md @@ -3,7 +3,7 @@ This template deploys the SXA Storefront module into a Sitecore XP Environment. SXA Storefront requires Sitecore XC and SXA modules. -SXA Storefront 1.2 is compatible with Sitecore XP 9.0.2 and Sitecore XC 9.0.2. +SXA Storefront 1.2 is compatible with: Sitecore XP 9.0.2, Sitecore XC 9.0.2, SXA 1.7.1. ## Parameters From 1875f95657f9877a776d8238a0fda94aad95bba8 Mon Sep 17 00:00:00 2001 From: Marcus Heath Date: Fri, 27 Jul 2018 21:34:54 -0400 Subject: [PATCH 6/9] Sitecore XC 9.0.2 template compatibility line-up --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d77c7d00..dd0a357f 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,11 @@ Choose the compatible templates for your Sitecore version: | AD 1.3.0 | Active Directory 1.3 | | EXM 3.5.0 | Email Experience Manager 3.5.0 | | SXA | Sitecore Experience Accelerator 1.3 - 1.6 for Sitecore 8.2 and Sitecore 9.0 | -| Sitecore XC 9.0.0 | Sitecore Experience Commerce 9.0 Initial | -| SXA Storefront 1.0 | SXA Storefront 1.0 for Sitecore XC 9.0 Initial | +| Sitecore XC 9.0.0 | Commerce 9.0 Initial, Commerce 9.0 Update-1. Use with templates: Sitecore 9.0.1, SXA 1.6, SXA Storefront 1.0 | +| Sitecore XC 9.0.2 | Commerce 9.0 Update-2. Use with templates: Sitecore 9.0.2, SXA 1.7.1, SXA Storefront 1.2 | +| SXA Storefront 1.0 | SXA Storefront 1.0. Use with templates: Sitecore 9.0.1, Sitecore XC 9.0.0, SXA 1.6 | +| SXA Storefront 1.2 | SXA Storefront 1.2. Use with templates: Sitecore 9.0.2, Sitecore XC 9.0.2, SXA 1.7.1 | + # Pre-deployment Checklist 1. Ensure you have the latest Azure PowerShell SDK installed From bd02b730f1705b157c17a3ea2972e71f4cf326b1 Mon Sep 17 00:00:00 2001 From: Marcus Heath Date: Fri, 27 Jul 2018 21:55:18 -0400 Subject: [PATCH 7/9] Revert "xc902 Updates (#25)" This reverts commit cde27c7811c8a881ddf50ee3f24fd12d8e6cc40f. --- Sitecore XC 9.0.0/azuredeploy.json | 97 +----- Sitecore XC 9.0.0/azuredeploy.parameters.json | 12 - Sitecore XC 9.0.0/nested/application.json | 142 +-------- Sitecore XC 9.0.0/nested/infrastructure.json | 294 ++---------------- 4 files changed, 38 insertions(+), 507 deletions(-) diff --git a/Sitecore XC 9.0.0/azuredeploy.json b/Sitecore XC 9.0.0/azuredeploy.json index f560f8ec..549c158f 100644 --- a/Sitecore XC 9.0.0/azuredeploy.json +++ b/Sitecore XC 9.0.0/azuredeploy.json @@ -19,13 +19,9 @@ "coreSqlDatabaseName": null, "masterSqlDatabaseName": null, - "webSqlDatabaseName": null, - "shard0SqlDatabaseName": null, - "shard1SqlDatabaseName": null, "cdWebAppName": null, "cmWebAppName": null, - "prcWebAppName": null, "xcRefDataWebAppName": null, "xcCollectWebAppName": null, "xcSearchWebAppName": null, @@ -48,11 +44,7 @@ "adventureWorksImagesDeployPackageUrl": null, "habitatImagesDeployPackageUrl": null, "indexWorkerDefinitionsDeployPackageUrl": null, - "xConnectDefinitionsDeployPackageUrl": null, - "xProfileCoreDeployPackageUrl": null, - "xAnalyticsCoreDeployPackageUrl": null, - "maCoreDeployPackageUrl": null, - "maAzureDeployPackageUrl": null + "xConnectDefinitionsDeployPackageUrl": null } }, "extensionDefaults":{ @@ -164,22 +156,6 @@ "minLength": 1, "defaultValue": "[coalesce(parameters('standard').masterSqlDatabaseName, concat(parameters('deploymentId'), '-master-db'))]" }, - "webSqlDatabaseName": { - "type": "string", - "minLength": 1, - "defaultValue": "[coalesce(parameters('standard').webSqlDatabaseName, concat(parameters('deploymentId'), '-web-db'))]" - }, - "shard0SqlDatabaseName": { - "type": "string", - "minLength": 1, - "defaultValue": "[coalesce(parameters('standard').shard0SqlDatabaseName, concat(parameters('deploymentId'), '-shard0-db'))]" - }, - "shard1SqlDatabaseName": { - "type": "string", - "minLength": 1, - "defaultValue": "[coalesce(parameters('standard').shard1SqlDatabaseName, concat(parameters('deploymentId'), '-shard1-db'))]" - }, - "globalSqlDatabaseName": { "type": "string", "minLength": 1, @@ -235,17 +211,6 @@ "minLength": 1, "defaultValue": "[concat(parameters('deploymentId'), '-cm-hp')]" }, - "cdHostingPlanName": { - "type": "string", - "minLength": 1, - "defaultValue": "[concat(parameters('deploymentId'), '-cd-hp')]" - }, - "xcResourceIntensiveHostingPlanName": { - "type": "string", - "minLength": 1, - "defaultValue": "[concat(parameters('deploymentId'), '-xc-resourceintensive-hp')]" - }, - "cdWebAppName": { "type": "string", "minLength": 1, @@ -256,11 +221,6 @@ "minLength": 1, "defaultValue": "[coalesce(parameters('standard').cmWebAppName, concat(parameters('deploymentId'), '-cm'))]" }, - "prcWebAppName": { - "type": "string", - "minLength": 1, - "defaultValue": "[coalesce(parameters('standard').prcWebAppName, concat(parameters('deploymentId'), '-prc'))]" - }, "xcRefDataWebAppName": { "type": "string", "minLength": 1, @@ -371,26 +331,6 @@ "minLength": 1, "defaultValue": "[parameters('extensionExpanded').xConnectDefinitionsDeployPackageUrl]" }, - "xProfileCoreDeployPackageUrl": { - "type": "securestring", - "minLength": 1, - "defaultValue": "[parameters('extensionExpanded').xProfileCoreDeployPackageUrl]" - }, - "xAnalyticsCoreDeployPackageUrl": { - "type": "securestring", - "minLength": 1, - "defaultValue": "[parameters('extensionExpanded').xAnalyticsCoreDeployPackageUrl]" - }, - "maCoreDeployPackageUrl": { - "type": "securestring", - "minLength": 1, - "defaultValue": "[parameters('extensionExpanded').maCoreDeployPackageUrl]" - }, - "maAzureDeployPackageUrl": { - "type": "securestring", - "minLength": 1, - "defaultValue": "[parameters('extensionExpanded').maAzureDeployPackageUrl]" - }, "braintreeMerchantId": { "type": "securestring", "defaultValue": "[parameters('extensionExpanded').braintreeMerchantId]" @@ -462,18 +402,11 @@ "sqlServerName": { "value": "[parameters('sqlServerName')]" }, + "sqlDatabaseCollation": { "value": "[parameters('sqlDatabaseCollation')]" }, - "webSqlDatabaseName": { - "value": "[parameters('webSqlDatabaseName')]" - }, - "shard0SqlDatabaseName": { - "value": "[parameters('shard0SqlDatabaseName')]" - }, - "shard1SqlDatabaseName": { - "value": "[parameters('shard1SqlDatabaseName')]" - }, + "globalSqlDatabaseName": { "value": "[parameters('globalSqlDatabaseName')]" }, @@ -489,12 +422,6 @@ "cmHostingPlanName": { "value": "[parameters('cmHostingPlanName')]" }, - "cdHostingPlanName": { - "value": "[parameters('cdHostingPlanName')]" - }, - "xcResourceIntensiveHostingPlanName": { - "value": "[parameters('xcResourceIntensiveHostingPlanName')]" - }, "shopsWebAppName": { "value": "[parameters('shopsWebAppName')]" }, @@ -513,9 +440,6 @@ "cmWebAppName": { "value": "[parameters('cmWebAppName')]" }, - "prcWebAppName": { - "value": "[parameters('prcWebAppName')]" - }, "xcRefDataWebAppName": { "value": "[parameters('xcRefDataWebAppName')]" }, @@ -619,9 +543,6 @@ "cmWebAppName": { "value": "[parameters('cmWebAppName')]" }, - "prcWebAppName": { - "value": "[parameters('prcWebAppName')]" - }, "xcRefDataWebAppName": { "value": "[parameters('xcRefDataWebAppName')]" }, @@ -679,18 +600,6 @@ "xConnectDefinitionsDeployPackageUrl": { "value": "[parameters('xConnectDefinitionsDeployPackageUrl')]" }, - "xProfileCoreDeployPackageUrl": { - "value": "[parameters('xProfileCoreDeployPackageUrl')]" - }, - "xAnalyticsCoreDeployPackageUrl": { - "value": "[parameters('xAnalyticsCoreDeployPackageUrl')]" - }, - "maCoreDeployPackageUrl": { - "value": "[parameters('maCoreDeployPackageUrl')]" - }, - "maAzureDeployPackageUrl": { - "value": "[parameters('maAzureDeployPackageUrl')]" - }, "braintreeMerchantId": { "value": "[parameters('braintreeMerchantId')]" }, diff --git a/Sitecore XC 9.0.0/azuredeploy.parameters.json b/Sitecore XC 9.0.0/azuredeploy.parameters.json index 80c45405..c218bfe0 100644 --- a/Sitecore XC 9.0.0/azuredeploy.parameters.json +++ b/Sitecore XC 9.0.0/azuredeploy.parameters.json @@ -62,18 +62,6 @@ "xConnectDefinitionsDeployPackageUrl": { "value": "" }, - "xProfileCoreDeployPackageUrl": { - "value": "" - }, - "xAnalyticsCoreDeployPackageUrl": { - "value": "" - }, - "maCoreDeployPackageUrl": { - "value": "" - }, - "maAzureDeployPackageUrl": { - "value": "" - }, "braintreeMerchantId": { "value": "" }, diff --git a/Sitecore XC 9.0.0/nested/application.json b/Sitecore XC 9.0.0/nested/application.json index e5304c30..fa9641ee 100644 --- a/Sitecore XC 9.0.0/nested/application.json +++ b/Sitecore XC 9.0.0/nested/application.json @@ -16,10 +16,6 @@ "cdWebAppFqdnTidy": "[toLower(trim(parameters('cdWebAppFqdn')))]", "cmWebAppNameTidy": "[toLower(trim(parameters('cmWebAppName')))]", "cmWebAppFqdnTidy": "[toLower(trim(parameters('cmWebAppFqdn')))]", - "prcWebAppNameTidy": "[toLower(trim(parameters('prcWebAppName')))]", - "prcWebAppFqdnTidy": "[toLower(trim(parameters('prcWebAppFqdn')))]", - "repWebAppNameTidy": "[toLower(trim(parameters('repWebAppName')))]", - "repWebAppFqdnTidy": "[toLower(trim(parameters('repWebAppFqdn')))]", "xcCollectWebAppNameTidy": "[toLower(trim(parameters('xcCollectWebAppName')))]", "xcCollectWebAppFqdnTidy": "[toLower(trim(parameters('xcCollectWebAppFqdn')))]", "xcSearchWebAppNameTidy": "[toLower(trim(parameters('xcSearchWebAppName')))]", @@ -59,14 +55,13 @@ "cdWebAppFqdn": "[concat(parameters('deploymentId'), '-cd.windowsazure.net')]", "cmWebAppFqdn": "[concat(parameters('deploymentId'), '-cm.windowsazure.net')]", - "prcWebAppFqdn": "[concat(parameters('deploymentId'), '-prc.windowsazure.net')]", - "repWebAppFqdn": "[concat(parameters('deploymentId'), '-rep.windowsazure.net')]", "xcCollectWebAppFqdn": "[concat(parameters('deploymentId'), '-xc-collect.windowsazure.net')]", "xcSearchWebAppFqdn": "[concat(parameters('deploymentId'), '-xc-search.windowsazure.net')]", "xcRefDataWebAppFqdn": "[concat(parameters('deploymentId'), '-xc-refdata.windowsazure.net')]", "maOpsWebAppFqdn": "[concat(parameters('deploymentId'), '-ma-ops.windowsazure.net')]", "maRepWebAppFqdn": "[concat(parameters('deploymentId'), '-ma-rep.windowsazure.net')]", + "shopsWebAppFqdn": "[concat(parameters('deploymentId'), '-shop.windowsazure.net')]", "opsWebAppFqdn": "[concat(parameters('deploymentId'), '-ops.windowsazure.net')]", "authoringWebAppFqdn": "[concat(parameters('deploymentId'), '-authoring.windowsazure.net')]", @@ -192,26 +187,6 @@ "minLength": 1, "defaultValue": "[parameters('infrastructure').cmWebAppFqdn]" }, - "prcWebAppName": { - "type": "string", - "minLength": 1, - "defaultValue": "[concat(parameters('deploymentId'), '-prc')]" - }, - "prcWebAppFqdn": { - "type": "string", - "minLength": 1, - "defaultValue": "[parameters('infrastructure').prcWebAppFqdn]" - }, - "repWebAppName": { - "type": "string", - "minLength": 1, - "defaultValue": "[concat(parameters('deploymentId'), '-rep')]" - }, - "repWebAppFqdn": { - "type": "string", - "minLength": 1, - "defaultValue": "[parameters('infrastructure').repWebAppFqdn]" - }, "xcRefDataWebAppName": { "type": "string", "minLength": 1, @@ -262,7 +237,7 @@ "minLength": 1, "defaultValue": "[parameters('infrastructure').maRepWebAppFqdn]" }, - + "shopsWebAppName": { "type": "string", "minLength": 1, @@ -375,22 +350,6 @@ "type": "securestring", "minLength": 1 }, - "xProfileCoreDeployPackageUrl": { - "type": "securestring", - "minLength": 1 - }, - "xAnalyticsCoreDeployPackageUrl": { - "type": "securestring", - "minLength": 1 - }, - "maCoreDeployPackageUrl": { - "type": "securestring", - "minLength": 1 - }, - "maAzureDeployPackageUrl": { - "type": "securestring", - "minLength": 1 - }, "braintreeMerchantId": { "type": "securestring" }, @@ -456,13 +415,6 @@ "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" } }, - { - "packageUri": "[parameters('maCoreDeployPackageUrl')]", - "setParameters": { - "Application Path": "[variables('cdWebAppNameTidy')]", - "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" - } - }, { "packageUri": "[parameters('commerceEngineConnectCdMsDeployPackageUrl')]", "dbType": "SQL", @@ -497,28 +449,6 @@ "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" } }, - { - "packageUri": "[parameters('xProfileCoreDeployPackageUrl')]", - "setParameters": { - "Application Path": "[variables('cmWebAppNameTidy')]", - "Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" - } - }, - { - "packageUri": "[parameters('xAnalyticsCoreDeployPackageUrl')]", - "setParameters": { - "Application Path": "[variables('cmWebAppNameTidy')]", - "Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", - "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" - } - }, - { - "packageUri": "[parameters('maCoreDeployPackageUrl')]", - "setParameters": { - "Application Path": "[variables('cmWebAppNameTidy')]", - "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" - } - }, { "packageUri": "[parameters('commerceEngineConnectCmMsDeployPackageUrl')]", "dbType": "SQL", @@ -529,8 +459,8 @@ "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", "Business Tools Link": "[concat('https://', variables('bizfxAppFqdnTidy'))]", "Ops Service URL": "[concat('https://', variables('opsWebAppFqdnTidy'), '/commerceops/')]", - "Shops Service URL": "[concat('https://', variables('authoringWebAppFqdnTidy'), '/api/')]", - "Default Environment": "HabitatAuthoring", + "Shops Service URL": "[concat('https://', variables('shopsWebAppFqdnTidy'), '/api/')]", + "Default Environment": "[parameters('environmentName')]", "Default Shop Name": "[variables('defaultShopNameTidy')]", "Default Shop Currency": "[parameters('defaultShopCurrency')]", "Certificate Thumbprint": "[parameters('authCertificateThumbprint')]" @@ -553,44 +483,6 @@ ] } }, - { - "name": "[concat(variables('prcWebAppNameTidy'), '/', 'MSDeploy')]", - "type": "Microsoft.Web/sites/extensions", - "location": "[parameters('location')]", - "apiVersion": "[variables('webApiVersion')]", - "dependsOn": [ "[concat('Microsoft.Web/sites/', variables('cmWebAppNameTidy'), '/Extensions/MSDeploy')]" ], - "properties": { - "addOnPackages": [ - { - "packageUri": "[parameters('xAnalyticsCoreDeployPackageUrl')]", - "setParameters": { - "Application Path": "[variables('prcWebAppNameTidy')]", - "Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", - "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" - } - } - ] - } - }, - { - "name": "[concat(variables('repWebAppNameTidy'), '/', 'MSDeploy')]", - "type": "Microsoft.Web/sites/extensions", - "location": "[parameters('location')]", - "apiVersion": "[variables('webApiVersion')]", - "dependsOn": [ "[concat('Microsoft.Web/sites/', variables('cmWebAppNameTidy'), '/Extensions/MSDeploy')]" ], - "properties": { - "addOnPackages": [ - { - "packageUri": "[parameters('xAnalyticsCoreDeployPackageUrl')]", - "setParameters": { - "Application Path": "[variables('repWebAppNameTidy')]", - "Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", - "Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]" - } - } - ] - } - }, { "name": "[concat(variables('xcRefDataWebAppNameTidy'), '/', 'MSDeploy')]", "type": "Microsoft.Web/sites/extensions", @@ -630,12 +522,6 @@ "apiVersion": "[variables('webApiVersion')]", "properties": { "addOnPackages": [ - { - "packageUri": "[parameters('indexWorkerDefinitionsDeployPackageUrl')]", - "setParameters": { - "Application Path": "[variables('maOpsWebAppNameTidy')]" - } - }, { "packageUri": "[parameters('xConnectDefinitionsDeployPackageUrl')]", "setParameters": { @@ -657,18 +543,6 @@ "setParameters": { "Application Path": "[variables('maOpsWebAppNameTidy')]" } - }, - { - "packageUri": "[parameters('xConnectDefinitionsDeployPackageUrl')]", - "setParameters": { - "Application Path": "[variables('xcRefDataWebAppNameTidy')]" - } - }, - { - "packageUri": "[parameters('maAzureDeployPackageUrl')]", - "setParameters": { - "Application Path": "[variables('maOpsWebAppNameTidy')]" - } } ] } @@ -708,7 +582,7 @@ "SiteTitle": "[variables('siteTitle')]", "DeploymentId": "[parameters('deploymentId')]", - "EnvironmentName": "HabitatAuthoring", + "EnvironmentName": "[parameters('environmentName')]", "ApplicationInsightsKey": "[parameters('applicationInsightsKey')]", "CertificateThumbprint": "[parameters('authCertificateThumbprint')]", "AntiForgeryEnabled": false, @@ -765,7 +639,7 @@ "SiteTitle": "[variables('siteTitle')]", "DeploymentId": "[parameters('deploymentId')]", - "EnvironmentName": "HabitatAuthoring", + "EnvironmentName": "[parameters('environmentName')]", "ApplicationInsightsKey": "[parameters('applicationInsightsKey')]", "CertificateThumbprint": "[parameters('authCertificateThumbprint')]", "AntiForgeryEnabled": false, @@ -822,7 +696,7 @@ "SiteTitle": "[variables('siteTitle')]", "DeploymentId": "[parameters('deploymentId')]", - "EnvironmentName": "HabitatMinions", + "EnvironmentName": "[parameters('environmentName')]", "ApplicationInsightsKey": "[parameters('applicationInsightsKey')]", "CertificateThumbprint": "[parameters('authCertificateThumbprint')]", "AntiForgeryEnabled": false, @@ -880,7 +754,7 @@ "SiteTitle": "[variables('siteTitle')]", "DeploymentId": "[parameters('deploymentId')]", - "EnvironmentName": "HabitatShops", + "EnvironmentName": "[parameters('environmentName')]", "ApplicationInsightsKey": "[parameters('applicationInsightsKey')]", "CertificateThumbprint": "[parameters('authCertificateThumbprint')]", "AntiForgeryEnabled": false, diff --git a/Sitecore XC 9.0.0/nested/infrastructure.json b/Sitecore XC 9.0.0/nested/infrastructure.json index f9c88770..ca1ca6eb 100644 --- a/Sitecore XC 9.0.0/nested/infrastructure.json +++ b/Sitecore XC 9.0.0/nested/infrastructure.json @@ -10,22 +10,15 @@ "sqlServerNameTidy": "[toLower(trim(parameters('sqlServerName')))]", - "webSqlDatabaseNameTidy": "[toLower(trim(parameters('webSqlDatabaseName')))]", - "shard0SqlDatabaseNameTidy": "[toLower(trim(parameters('shard0SqlDatabaseName')))]", - "shard1SqlDatabaseNameTidy": "[toLower(trim(parameters('shard1SqlDatabaseName')))]", "globalSqlDatabaseNameTidy": "[toLower(trim(parameters('globalSqlDatabaseName')))]", "sharedSqlDatabaseNameTidy": "[toLower(trim(parameters('sharedSqlDatabaseName')))]", "engineHostingPlanNameTidy": "[toLower(trim(parameters('engineHostingPlanName')))]", "minionsHostingPlanNameTidy": "[toLower(trim(parameters('minionsHostingPlanName')))]", "cmHostingPlanNameTidy": "[toLower(trim(parameters('cmHostingPlanName')))]", - "cdHostingPlanNameTidy": "[toLower(trim(parameters('cdHostingPlanName')))]", - "xcResourceIntensiveHostingPlanNameTidy": "[toLower(trim(parameters('xcResourceIntensiveHostingPlanName')))]", - + "cdWebAppNameTidy": "[toLower(trim(parameters('cdWebAppName')))]", "cmWebAppNameTidy": "[toLower(trim(parameters('cmWebAppName')))]", - "prcWebAppNameTidy": "[toLower(trim(parameters('prcWebAppName')))]", - "repWebAppNameTidy": "[toLower(trim(parameters('repWebAppName')))]", "xcRefDataWebAppNameTidy": "[toLower(trim(parameters('xcRefDataWebAppName')))]", "xcCollectWebAppNameTidy": "[toLower(trim(parameters('xcCollectWebAppName')))]", "xcSearchWebAppNameTidy": "[toLower(trim(parameters('xcSearchWebAppName')))]", @@ -74,21 +67,6 @@ "minLength": 1, "defaultValue": "SQL_Latin1_General_CP1_CI_AS" }, - "webSqlDatabaseName": { - "type": "string", - "minLength": 1, - "defaultValue": "[concat(parameters('deploymentId'), '-web-db')]" - }, - "shard0SqlDatabaseName": { - "type": "string", - "minLength": 1, - "defaultValue": "[concat(parameters('deploymentId'), '-shard0-db')]" - }, - "shard1SqlDatabaseName": { - "type": "string", - "minLength": 1, - "defaultValue": "[concat(parameters('deploymentId'), '-shard1-db')]" - }, "globalSqlDatabaseName": { "type": "string", @@ -116,16 +94,6 @@ "minLength": 1, "defaultValue": "[concat(parameters('deploymentId'), '-cm-hp')]" }, - "cdHostingPlanName": { - "type": "string", - "minLength": 1, - "defaultValue": "[concat(parameters('deploymentId'), '-cd-hp')]" - }, - "xcResourceIntensiveHostingPlanName": { - "type": "string", - "minLength": 1, - "defaultValue": "[concat(parameters('deploymentId'), '-xc-resourceintensive-hp')]" - }, "shopsWebAppName": { "type": "string", @@ -158,16 +126,6 @@ "minLength": 1, "defaultValue": "[concat(parameters('deploymentId'), '-cm')]" }, - "prcWebAppName": { - "type": "string", - "minLength": 1, - "defaultValue": "[concat(parameters('deploymentId'), '-prc')]" - }, - "repWebAppName": { - "type": "string", - "minLength": 1, - "defaultValue": "[concat(parameters('deploymentId'), '-rep')]" - }, "xcRefDataWebAppName": { "type": "string", "minLength": 1, @@ -223,18 +181,6 @@ "type": "secureObject", "defaultValue": { "Extra Small": { - "cmHostingPlan": { - "SkuName": "B2", - "SkuCapacity": 1 - }, - "cdHostingPlan": { - "SkuName": "B2", - "SkuCapacity": 1 - }, - "xcResourceIntensiveHostingPlan": { - "SkuName": "B1", - "SkuCapacity": 1 - }, "engineHostingPlan": { "SkuName": "B1", "SkuCapacity": 1 @@ -243,21 +189,6 @@ "SkuName": "B1", "SkuCapacity": 1 }, - "webSqlDatabase": { - "Edition": "Standard", - "MaxSize": "268435456000", - "ServiceObjectiveLevel": "S1" - }, - "xcShard0SqlDatabase": { - "Edition": "Standard", - "MaxSize": "268435456000", - "ServiceObjectiveLevel": "S0" - }, - "xcShard1SqlDatabase": { - "Edition": "Standard", - "MaxSize": "268435456000", - "ServiceObjectiveLevel": "S0" - }, "globalSqlDatabase": { "Edition": "Standard", "MaxSize": "268435456000", @@ -270,191 +201,83 @@ } }, "Small": { - "cmHostingPlan": { - "SkuName": "S3", - "SkuCapacity": 1 - }, - "cdHostingPlan": { - "SkuName": "S3", - "SkuCapacity": 1 - }, - "xcResourceIntensiveHostingPlan": { - "SkuName": "P3v2", - "SkuCapacity": 1 - }, "engineHostingPlan": { - "SkuName": "S3", + "SkuName": "B1", "SkuCapacity": 1 }, "minionsHostingPlan": { - "SkuName": "S1", + "SkuName": "B1", "SkuCapacity": 1 }, - "webSqlDatabase": { - "Edition": "Standard", - "MaxSize": "268435456000", - "ServiceObjectiveLevel": "S3" - }, - "xcShard0SqlDatabase": { - "Edition": "Standard", - "MaxSize": "268435456000", - "ServiceObjectiveLevel": "S3" - }, - "xcShard1SqlDatabase": { - "Edition": "Standard", - "MaxSize": "268435456000", - "ServiceObjectiveLevel": "S3" - }, "globalSqlDatabase": { "Edition": "Standard", "MaxSize": "268435456000", - "ServiceObjectiveLevel": "S0" + "ServiceObjectiveLevel": "S1" }, "sharedSqlDatabase": { "Edition": "Standard", "MaxSize": "268435456000", - "ServiceObjectiveLevel": "S3" + "ServiceObjectiveLevel": "S1" } }, "Medium": { - "cmHostingPlan": { - "SkuName": "P3v2", - "SkuCapacity": 1 - }, - "cdHostingPlan": { - "SkuName": "P3v2", - "SkuCapacity": 1 - }, - "xcResourceIntensiveHostingPlan": { - "SkuName": "P3v2", - "SkuCapacity": 1 - }, "engineHostingPlan": { - "SkuName": "P3v2", + "SkuName": "B1", "SkuCapacity": 1 }, "minionsHostingPlan": { - "SkuName": "S1", + "SkuName": "B1", "SkuCapacity": 1 }, - "webSqlDatabase": { - "Edition": "Premium", - "MaxSize": "268435456000", - "ServiceObjectiveLevel": "P1" - }, - "xcShard0SqlDatabase": { - "Edition": "Premium", - "MaxSize": "268435456000", - "ServiceObjectiveLevel": "P1" - }, - "xcShard1SqlDatabase": { - "Edition": "Premium", - "MaxSize": "268435456000", - "ServiceObjectiveLevel": "P1" - }, "globalSqlDatabase": { "Edition": "Standard", "MaxSize": "268435456000", - "ServiceObjectiveLevel": "S0" + "ServiceObjectiveLevel": "S1" }, "sharedSqlDatabase": { - "Edition": "Premium", + "Edition": "Standard", "MaxSize": "268435456000", - "ServiceObjectiveLevel": "P1" + "ServiceObjectiveLevel": "S1" } }, "Large": { - "cmHostingPlan": { - "SkuName": "P3v2", - "SkuCapacity": 1 - }, - "cdHostingPlan": { - "SkuName": "P3v2", - "SkuCapacity": 4 - }, - "xcResourceIntensiveHostingPlan": { - "SkuName": "P3v2", - "SkuCapacity": 1 - }, "engineHostingPlan": { - "SkuName": "P3v2", - "SkuCapacity": 2 + "SkuName": "B1", + "SkuCapacity": 1 }, "minionsHostingPlan": { - "SkuName": "S1", + "SkuName": "B1", "SkuCapacity": 1 }, - "webSqlDatabase": { - "Edition": "Premium", - "MaxSize": "268435456000", - "ServiceObjectiveLevel": "P1" - }, - "xcShard0SqlDatabase": { - "Edition": "Premium", - "MaxSize": "268435456000", - "ServiceObjectiveLevel": "P1" - }, - "xcShard1SqlDatabase": { - "Edition": "Premium", - "MaxSize": "268435456000", - "ServiceObjectiveLevel": "P1" - }, "globalSqlDatabase": { "Edition": "Standard", "MaxSize": "268435456000", - "ServiceObjectiveLevel": "S0" + "ServiceObjectiveLevel": "S1" }, "sharedSqlDatabase": { - "Edition": "Premium", + "Edition": "Standard", "MaxSize": "268435456000", - "ServiceObjectiveLevel": "P1" + "ServiceObjectiveLevel": "S1" } }, "Extra Large": { - "cmHostingPlan": { - "SkuName": "P3v2", - "SkuCapacity": 1 - }, - "cdHostingPlan": { - "SkuName": "P3v2", - "SkuCapacity": 4 - }, - "xcResourceIntensiveHostingPlan": { - "SkuName": "P3v2", - "SkuCapacity": 1 - }, "engineHostingPlan": { - "SkuName": "P3v2", - "SkuCapacity": 2 + "SkuName": "B1", + "SkuCapacity": 1 }, "minionsHostingPlan": { - "SkuName": "S1", + "SkuName": "B1", "SkuCapacity": 1 }, - "webSqlDatabase": { - "Edition": "Premium", - "MaxSize": "268435456000", - "ServiceObjectiveLevel": "P1" - }, - "xcShard0SqlDatabase": { - "Edition": "Premium", - "MaxSize": "268435456000", - "ServiceObjectiveLevel": "P1" - }, - "xcShard1SqlDatabase": { - "Edition": "Premium", - "MaxSize": "268435456000", - "ServiceObjectiveLevel": "P1" - }, "globalSqlDatabase": { "Edition": "Standard", "MaxSize": "268435456000", - "ServiceObjectiveLevel": "S0" + "ServiceObjectiveLevel": "S1" }, "sharedSqlDatabase": { - "Edition": "Premium", + "Edition": "Standard", "MaxSize": "268435456000", - "ServiceObjectiveLevel": "P1" + "ServiceObjectiveLevel": "S1" } } } @@ -466,43 +289,7 @@ }, "resources": [ { - "name": "[concat(variables('sqlServerNameTidy'), '/', variables('webSqlDatabaseNameTidy'))]", - "type": "Microsoft.Sql/servers/databases", - "location": "[parameters('location')]", - "apiVersion": "[variables('dbApiVersion')]", - "properties": { - "edition": "[parameters('resourceSizes').webSqlDatabase.Edition]", - "collation": "[parameters('sqlDatabaseCollation')]", - "maxSizeBytes": "[parameters('resourceSizes').webSqlDatabase.MaxSize]", - "requestedServiceObjectiveName": "[parameters('resourceSizes').webSqlDatabase.ServiceObjectiveLevel]" - } - }, - { - "name": "[concat(variables('sqlServerNameTidy'), '/', variables('shard0SqlDatabaseNameTidy'))]", - "type": "Microsoft.Sql/servers/databases", - "location": "[parameters('location')]", - "apiVersion": "[variables('dbApiVersion')]", - "properties": { - "edition": "[parameters('resourceSizes').xcShard0SqlDatabase.Edition]", - "collation": "[parameters('sqlDatabaseCollation')]", - "maxSizeBytes": "[parameters('resourceSizes').xcShard0SqlDatabase.MaxSize]", - "requestedServiceObjectiveName": "[parameters('resourceSizes').xcShard0SqlDatabase.ServiceObjectiveLevel]" - } - }, - { - "name": "[concat(variables('sqlServerNameTidy'), '/', variables('shard1SqlDatabaseNameTidy'))]", - "type": "Microsoft.Sql/servers/databases", - "location": "[parameters('location')]", - "apiVersion": "[variables('dbApiVersion')]", - "properties": { - "edition": "[parameters('resourceSizes').xcShard1SqlDatabase.Edition]", - "collation": "[parameters('sqlDatabaseCollation')]", - "maxSizeBytes": "[parameters('resourceSizes').xcShard1SqlDatabase.MaxSize]", - "requestedServiceObjectiveName": "[parameters('resourceSizes').xcShard1SqlDatabase.ServiceObjectiveLevel]" - } - }, - { - "name": "[concat(variables('sqlServerNameTidy'), '/', variables('globalSqlDatabaseNameTidy'))]", + "name": "[concat(parameters('sqlServerName'), '/', variables('globalSqlDatabaseNameTidy'))]", "type": "Microsoft.Sql/servers/databases", "location": "[parameters('location')]", "apiVersion": "[variables('dbApiVersion')]", @@ -517,7 +304,7 @@ } }, { - "name": "[concat(variables('sqlServerNameTidy'), '/', variables('sharedSqlDatabaseNameTidy'))]", + "name": "[concat(parameters('sqlServerName'), '/', variables('sharedSqlDatabaseNameTidy'))]", "type": "Microsoft.Sql/servers/databases", "location": "[parameters('location')]", "apiVersion": "[variables('dbApiVersion')]", @@ -550,31 +337,7 @@ "type": "Microsoft.Web/serverfarms", "name": "[variables('cmHostingPlanNameTidy')]", "location": "[parameters('location')]", - "apiVersion": "[variables('serverFarmApiVersion')]", - "sku": { - "name": "[parameters('resourceSizes').cmHostingPlan.SkuName]", - "capacity": "[parameters('resourceSizes').cmHostingPlan.SkuCapacity]" - } - }, - { - "type": "Microsoft.Web/serverfarms", - "name": "[variables('cdHostingPlanNameTidy')]", - "location": "[parameters('location')]", - "apiVersion": "[variables('serverFarmApiVersion')]", - "sku": { - "name": "[parameters('resourceSizes').cdHostingPlan.SkuName]", - "capacity": "[parameters('resourceSizes').cdHostingPlan.SkuCapacity]" - } - }, - { - "type": "Microsoft.Web/serverfarms", - "name": "[variables('xcResourceIntensiveHostingPlanNameTidy')]", - "location": "[parameters('location')]", - "apiVersion": "[variables('serverFarmApiVersion')]", - "sku": { - "name": "[parameters('resourceSizes').xcResourceIntensiveHostingPlan.SkuName]", - "capacity": "[parameters('resourceSizes').xcResourceIntensiveHostingPlan.SkuCapacity]" - } + "apiVersion": "[variables('serverFarmApiVersion')]" }, { "name": "[variables('engineHostingPlanNameTidy')]", @@ -682,8 +445,7 @@ "name": "[variables('minionsWebAppNameTidy')]", "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('minionsHostingPlanNameTidy'))]", "siteConfig": { - "use32BitWorkerProcess": false, - "alwaysOn": true + "use32BitWorkerProcess": false } } }, @@ -730,12 +492,10 @@ "infrastructure": { "type": "object", "value": { - "sqlServerFqdn": "[reference(concat('Microsoft.Sql/servers/', variables('sqlServerNameTidy')), variables('dbApiVersion')).fullyQualifiedDomainName]", + "sqlServerFqdn": "[reference(concat('Microsoft.Sql/servers/', parameters('sqlServerName')), variables('dbApiVersion')).fullyQualifiedDomainName]", "cdWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('cdWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", "cmWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('cmWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", - "prcWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('prcWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", - "repWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('repWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", "xcRefDataWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('xcRefDataWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", "xcCollectWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('xcCollectWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", "xcSearchWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('xcSearchWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", From 26f0a0636e1458cf32b9fff0f0e16aaec07eaa0c Mon Sep 17 00:00:00 2001 From: OlegJytnik Date: Thu, 2 Aug 2018 09:57:41 +0300 Subject: [PATCH 8/9] Make Solr support package parameter optional. --- SXA 1.7.1/xm/README.md | 2 +- SXA 1.7.1/xm/azuredeploy.json | 1 - SXA 1.7.1/xp/README.md | 2 +- SXA 1.7.1/xp/azuredeploy.json | 1 - SXA 1.7.1/xp0/README.md | 2 +- SXA 1.7.1/xp0/azuredeploy.json | 1 - 6 files changed, 3 insertions(+), 6 deletions(-) diff --git a/SXA 1.7.1/xm/README.md b/SXA 1.7.1/xm/README.md index 31f94739..dbaf5b61 100644 --- a/SXA 1.7.1/xm/README.md +++ b/SXA 1.7.1/xm/README.md @@ -38,7 +38,7 @@ In order to configure Sitecore deployment parameters to include Sitecore Experie "cdSxaMsDeployPackageUrl" : "", "cmSxaMsDeployPackageUrl" : "", "speMsDeployPackageUrl" : "", - "solrSupportSxaMsDeployPackageUrl" : "", + "solrSupportSxaMsDeployPackageUrl" : " Can be empty", "templateLinkAccessToken" : "Access token for the template if stored under the Azure storage. Otherwise should be empty string" } } diff --git a/SXA 1.7.1/xm/azuredeploy.json b/SXA 1.7.1/xm/azuredeploy.json index f6aa9bb8..f4c57d93 100644 --- a/SXA 1.7.1/xm/azuredeploy.json +++ b/SXA 1.7.1/xm/azuredeploy.json @@ -123,7 +123,6 @@ "solrSupportSxaMsDeployPackageUrl": { "type": "securestring", - "minLength": 1, "defaultValue": "[parameters('extension').solrSupportSxaMsDeployPackageUrl]" } }, diff --git a/SXA 1.7.1/xp/README.md b/SXA 1.7.1/xp/README.md index faf86b0c..0dfeec28 100644 --- a/SXA 1.7.1/xp/README.md +++ b/SXA 1.7.1/xp/README.md @@ -39,7 +39,7 @@ In order to configure Sitecore deployment parameters to include Sitecore Experie "cdSxaMsDeployPackageUrl" : "", "cmSxaMsDeployPackageUrl" : "", "speMsDeployPackageUrl" : "", - "solrSupportSxaMsDeployPackageUrl" : "", + "solrSupportSxaMsDeployPackageUrl" : " Can be empty", "templateLinkAccessToken" : "Access token for the template if stored under the Azure storage. Otherwise should be empty string" } } diff --git a/SXA 1.7.1/xp/azuredeploy.json b/SXA 1.7.1/xp/azuredeploy.json index 6760cc75..f69c1115 100644 --- a/SXA 1.7.1/xp/azuredeploy.json +++ b/SXA 1.7.1/xp/azuredeploy.json @@ -123,7 +123,6 @@ "solrSupportSxaMsDeployPackageUrl": { "type": "securestring", - "minLength": 1, "defaultValue": "[parameters('extension').solrSupportSxaMsDeployPackageUrl]" } }, diff --git a/SXA 1.7.1/xp0/README.md b/SXA 1.7.1/xp0/README.md index fb1619a1..59e3e0c5 100644 --- a/SXA 1.7.1/xp0/README.md +++ b/SXA 1.7.1/xp0/README.md @@ -36,7 +36,7 @@ In order to configure Sitecore deployment parameters to include Sitecore Experie { "cmSxaMsDeployPackageUrl": "", "speMsDeployPackageUrl": "", - "solrSupportSxaMsDeployPackageUrl" : "", + "solrSupportSxaMsDeployPackageUrl" : " Can be empty", "templateLinkAccessToken" : "Access token for the template if stored under the Azure storage. Otherwise should be empty string" } } diff --git a/SXA 1.7.1/xp0/azuredeploy.json b/SXA 1.7.1/xp0/azuredeploy.json index 933b1edb..5c6e0007 100644 --- a/SXA 1.7.1/xp0/azuredeploy.json +++ b/SXA 1.7.1/xp0/azuredeploy.json @@ -108,7 +108,6 @@ "solrSupportSxaMsDeployPackageUrl": { "type": "securestring", - "minLength": 1, "defaultValue": "[parameters('extension').solrSupportSxaMsDeployPackageUrl]" } }, From 4ca667000139be95ea168a4f242301b26949da2e Mon Sep 17 00:00:00 2001 From: Marcus Heath Date: Fri, 10 Aug 2018 23:09:22 -0400 Subject: [PATCH 9/9] Fixed dependencies to avoid intermittend lock timeouts --- Sitecore XC 9.0.2/nested/application.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sitecore XC 9.0.2/nested/application.json b/Sitecore XC 9.0.2/nested/application.json index e5304c30..1688c1cf 100644 --- a/Sitecore XC 9.0.2/nested/application.json +++ b/Sitecore XC 9.0.2/nested/application.json @@ -558,7 +558,7 @@ "type": "Microsoft.Web/sites/extensions", "location": "[parameters('location')]", "apiVersion": "[variables('webApiVersion')]", - "dependsOn": [ "[concat('Microsoft.Web/sites/', variables('cmWebAppNameTidy'), '/Extensions/MSDeploy')]" ], + "dependsOn": [ "[concat('Microsoft.Web/sites/', variables('cdWebAppNameTidy'), '/Extensions/MSDeploy')]" ], "properties": { "addOnPackages": [ { @@ -577,7 +577,7 @@ "type": "Microsoft.Web/sites/extensions", "location": "[parameters('location')]", "apiVersion": "[variables('webApiVersion')]", - "dependsOn": [ "[concat('Microsoft.Web/sites/', variables('cmWebAppNameTidy'), '/Extensions/MSDeploy')]" ], + "dependsOn": [ "[concat('Microsoft.Web/sites/', variables('prcWebAppNameTidy'), '/Extensions/MSDeploy')]" ], "properties": { "addOnPackages": [ {