From c416b84e6eb37d2a3ce0f1ae319a007d255e9a9d Mon Sep 17 00:00:00 2001 From: sc-marcusheath Date: Fri, 9 Aug 2019 13:28:45 -0400 Subject: [PATCH] Released Sitecore XC 9.2.0 and SXA Storefront 3.0 templates --- README.md | 5 +- SXA Storefront 3.0/XCScaled/README.md | 21 + SXA Storefront 3.0/XCScaled/azuredeploy.json | 195 +++ .../XCScaled/azuredeploy.parameters.json | 39 + .../sitecore.azuredeploy.parameters.json | 138 +++ SXA Storefront 3.0/XCSingle/README.md | 21 + SXA Storefront 3.0/XCSingle/azuredeploy.json | 137 +++ .../XCSingle/azuredeploy.parameters.json | 39 + .../sitecore.azuredeploy.parameters.json | 99 ++ Sitecore XC 9.2.0/XCScaled/README.md | 44 + Sitecore XC 9.2.0/XCScaled/azuredeploy.json | 800 +++++++++++++ .../XCScaled/azuredeploy.parameters.json | 128 ++ .../XCScaled/nested/application-cec-img.json | 84 ++ .../XCScaled/nested/application-cec.json | 351 ++++++ .../XCScaled/nested/application-eng-as.json | 497 ++++++++ .../XCScaled/nested/application-eng-solr.json | 494 ++++++++ .../XCScaled/nested/application-eng.json | 549 +++++++++ .../XCScaled/nested/application.json | 1055 +++++++++++++++++ .../XCScaled/nested/infrastructure.json | 773 ++++++++++++ .../sitecore.azuredeploy.parameters.json | 138 +++ Sitecore XC 9.2.0/XCSingle/README.md | 44 + Sitecore XC 9.2.0/XCSingle/azuredeploy.json | 609 ++++++++++ .../XCSingle/azuredeploy.parameters.json | 113 ++ .../XCSingle/nested/application.json | 606 ++++++++++ .../XCSingle/nested/infrastructure.json | 406 +++++++ .../sitecore.azuredeploy.parameters.json | 99 ++ 26 files changed, 7483 insertions(+), 1 deletion(-) create mode 100644 SXA Storefront 3.0/XCScaled/README.md create mode 100644 SXA Storefront 3.0/XCScaled/azuredeploy.json create mode 100644 SXA Storefront 3.0/XCScaled/azuredeploy.parameters.json create mode 100644 SXA Storefront 3.0/XCScaled/sitecore.azuredeploy.parameters.json create mode 100644 SXA Storefront 3.0/XCSingle/README.md create mode 100644 SXA Storefront 3.0/XCSingle/azuredeploy.json create mode 100644 SXA Storefront 3.0/XCSingle/azuredeploy.parameters.json create mode 100644 SXA Storefront 3.0/XCSingle/sitecore.azuredeploy.parameters.json create mode 100644 Sitecore XC 9.2.0/XCScaled/README.md create mode 100644 Sitecore XC 9.2.0/XCScaled/azuredeploy.json create mode 100644 Sitecore XC 9.2.0/XCScaled/azuredeploy.parameters.json create mode 100644 Sitecore XC 9.2.0/XCScaled/nested/application-cec-img.json create mode 100644 Sitecore XC 9.2.0/XCScaled/nested/application-cec.json create mode 100644 Sitecore XC 9.2.0/XCScaled/nested/application-eng-as.json create mode 100644 Sitecore XC 9.2.0/XCScaled/nested/application-eng-solr.json create mode 100644 Sitecore XC 9.2.0/XCScaled/nested/application-eng.json create mode 100644 Sitecore XC 9.2.0/XCScaled/nested/application.json create mode 100644 Sitecore XC 9.2.0/XCScaled/nested/infrastructure.json create mode 100644 Sitecore XC 9.2.0/XCScaled/sitecore.azuredeploy.parameters.json create mode 100644 Sitecore XC 9.2.0/XCSingle/README.md create mode 100644 Sitecore XC 9.2.0/XCSingle/azuredeploy.json create mode 100644 Sitecore XC 9.2.0/XCSingle/azuredeploy.parameters.json create mode 100644 Sitecore XC 9.2.0/XCSingle/nested/application.json create mode 100644 Sitecore XC 9.2.0/XCSingle/nested/infrastructure.json create mode 100644 Sitecore XC 9.2.0/XCSingle/sitecore.azuredeploy.parameters.json diff --git a/README.md b/README.md index 7c129883..9ea44f16 100644 --- a/README.md +++ b/README.md @@ -28,10 +28,13 @@ Choose the compatible templates for your Sitecore version: | 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 | | Sitecore XC 9.0.3 | Commerce 9.0 Update-3. Use with templates: Sitecore 9.0.2, SXA 1.8, SXA Storefront 1.4 | +| Sitecore XC 9.1.0 | Commerce 9.1 Initial. Use with templates: Sitecore 9.1.1, SXA 1.8, SXA Storefront 2.0 | +| Sitecore XC 9.2.0 | Commerce 9.2 Initial. Use with templates: Sitecore 9.2.0, SXA 1.9.0, SXA Storefront 3.0 | | 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 | | SXA Storefront 1.4 | SXA Storefront 1.4. Use with templates: Sitecore 9.0.2, Sitecore XC 9.0.3, SXA 1.8 | - +| SXA Storefront 2.0 | SXA Storefront 2.0. Use with templates: Sitecore 9.1.1, Sitecore XC 9.1.0, SXA 1.8 | +| SXA Storefront 3.0 | SXA Storefront 3.0. Use with templates: Sitecore 9.2.0, Sitecore XC 9.2.0, SXA 1.9.0 | # Pre-deployment Checklist 1. Ensure you have the latest Azure PowerShell SDK installed diff --git a/SXA Storefront 3.0/XCScaled/README.md b/SXA Storefront 3.0/XCScaled/README.md new file mode 100644 index 00000000..91132c93 --- /dev/null +++ b/SXA Storefront 3.0/XCScaled/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 3.0 is compatible with: Sitecore XP 9.2.0, Sitecore XC 9.2.0, SXA 1.9.0. + +## 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 3.0/XCScaled/azuredeploy.json b/SXA Storefront 3.0/XCScaled/azuredeploy.json new file mode 100644 index 00000000..d1d888bf --- /dev/null +++ b/SXA Storefront 3.0/XCScaled/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 3.0/XCScaled/azuredeploy.parameters.json b/SXA Storefront 3.0/XCScaled/azuredeploy.parameters.json new file mode 100644 index 00000000..e833d621 --- /dev/null +++ b/SXA Storefront 3.0/XCScaled/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 diff --git a/SXA Storefront 3.0/XCScaled/sitecore.azuredeploy.parameters.json b/SXA Storefront 3.0/XCScaled/sitecore.azuredeploy.parameters.json new file mode 100644 index 00000000..36ffeb1c --- /dev/null +++ b/SXA Storefront 3.0/XCScaled/sitecore.azuredeploy.parameters.json @@ -0,0 +1,138 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "deploymentId": { + "value": "" + }, + "location": { + "value": "" + }, + "sitecoreAdminPassword": { + "value": "" + }, + "licenseXml": { + "value": "" + }, + "repAuthenticationApiKey": { + "value": "" + }, + "sqlServerLogin": { + "value": "" + }, + "sqlServerPassword": { + "value": "" + }, + "solrConnectionString": { + "value": "" + }, + "siMsDeployPackageUrl": { + "value": "" + }, + "cmMsDeployPackageUrl": { + "value": "" + }, + "cdMsDeployPackageUrl": { + "value": "" + }, + "prcMsDeployPackageUrl": { + "value": "" + }, + "repMsDeployPackageUrl": { + "value": "" + }, + "xcRefDataMsDeployPackageUrl": { + "value": "" + }, + "xcCollectMsDeployPackageUrl": { + "value": "" + }, + "xcSearchMsDeployPackageUrl": { + "value": "" + }, + "maOpsMsDeployPackageUrl": { + "value": "" + }, + "maRepMsDeployPackageUrl": { + "value": "" + }, + "cortexProcessingMsDeployPackageUrl": { + "value": "" + }, + "cortexReportingMsDeployPackageUrl": { + "value": "" + }, + "authCertificateBlob": { + "value": "" + }, + "authCertificatePassword": { + "value": "" + }, + "modules": { + "value": { + "items": [ + { + "name": "Commerce", + "templateLink": "", + "parameters": { + "templateLinkAccessToken": "", + "commerceConnectMsDeployPackageUrl": "", + "commerceEngineAzureMsDeployPackageUrl": "", + "commerceEngineSolrCloudMsDeployPackageUrl": "", + "commerceEngineConnectCdAzureMsDeployPackageUrl": "", + "commerceEngineConnectCmAzureMsDeployPackageUrl": "", + "commerceEngineConnectCdSolrMsDeployPackageUrl": "", + "commerceEngineConnectCmSolrMsDeployPackageUrl": "", + "identityConfigCommerceMsDeployPackageUrl": "", + "bizfxCloudMsDeployPackageUrl": "", + "adventureWorksImagesDeployPackageUrl": "", + "habitatImagesDeployPackageUrl": "", + "indexWorkerDefinitionsDeployPackageUrl": "", + "xConnectDefinitionsDeployPackageUrl": "", + "xProfileCoreDeployPackageUrl": "", + "xAnalyticsCoreDeployPackageUrl": "", + "maCoreDeployPackageUrl": "", + "maAzureDeployPackageUrl": "", + "braintreeMerchantId": "", + "braintreePublicKey": "", + "braintreePrivateKey": "", + "braintreeEnvironment": "", + "environmentName": "", + "defaultShopName": "", + "defaultShopCurrency": "", + "defaultShopLanguage": "" + } + }, + { + "name": "sxa", + "templateLink": "", + "parameters": { + "cdSxaMsDeployPackageUrl": "", + "cmSxaMsDeployPackageUrl": "", + "speMsDeployPackageUrl": "", + "solrSupportSxaMsDeployPackageUrl":"", + "templateLinkAccessToken": "" + } + }, + { + "name": "sxa-sf", + "templateLink": "", + "parameters": { + "sxaMsDeployPackageUrl": "", + "sxaStorefrontMsDeployPackageUrl": "", + "sxaHabitatCatalogMsDeployPackageUrl": "", + "sxaStorefrontThemesMsDeployPackageUrl": "" + } + }, + { + "name": "bootloader", + "templateLink": "", + "parameters": { + "msDeployPackageUrl": "" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/SXA Storefront 3.0/XCSingle/README.md b/SXA Storefront 3.0/XCSingle/README.md new file mode 100644 index 00000000..91132c93 --- /dev/null +++ b/SXA Storefront 3.0/XCSingle/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 3.0 is compatible with: Sitecore XP 9.2.0, Sitecore XC 9.2.0, SXA 1.9.0. + +## 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 3.0/XCSingle/azuredeploy.json b/SXA Storefront 3.0/XCSingle/azuredeploy.json new file mode 100644 index 00000000..1fcc7828 --- /dev/null +++ b/SXA Storefront 3.0/XCSingle/azuredeploy.json @@ -0,0 +1,137 @@ +{ + "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "variables": { + "webApiVersion": "2016-08-01", + "singleWebAppNameTidy": "[toLower(trim(parameters('singleWebAppName')))]", + "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, + "singleWebAppName": 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'))]" + }, + "singleWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').singleWebAppName, concat(parameters('deploymentId'), '-cm'))]" + }, + "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('singleWebAppNameTidy'), '/', '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('singleWebAppNameTidy')]", + "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('singleWebAppNameTidy')]", + "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('singleWebAppNameTidy')]", + "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('singleWebAppNameTidy')]", + "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 3.0/XCSingle/azuredeploy.parameters.json b/SXA Storefront 3.0/XCSingle/azuredeploy.parameters.json new file mode 100644 index 00000000..e833d621 --- /dev/null +++ b/SXA Storefront 3.0/XCSingle/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 diff --git a/SXA Storefront 3.0/XCSingle/sitecore.azuredeploy.parameters.json b/SXA Storefront 3.0/XCSingle/sitecore.azuredeploy.parameters.json new file mode 100644 index 00000000..81508f81 --- /dev/null +++ b/SXA Storefront 3.0/XCSingle/sitecore.azuredeploy.parameters.json @@ -0,0 +1,99 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "deploymentId": { + "value": "" + }, + "location": { + "value": "" + }, + "sitecoreAdminPassword": { + "value": "" + }, + "licenseXml": { + "value": "" + }, + "sqlServerLogin": { + "value": "" + }, + "sqlServerPassword": { + "value": "" + }, + "singleMsDeployPackageUrl": { + "value": "" + }, + "xcSingleMsDeployPackageUrl": { + "value": "" + }, + "authCertificateBlob": { + "value": "" + }, + "authCertificatePassword": { + "value": "" + }, + "allowInvalidClientCertificates": { + "value": true + }, + "modules": { + "value": { + "items": [ + { + "name": "Commerce", + "templateLink": "", + "parameters": { + "templateLinkAccessToken": "", + "commerceConnectMsDeployPackageUrl": "", + "commerceEngineCloudMsDeployPackageUrl": "", + "commerceEngineConnectMsDeployPackageUrl": "", + "identityConfigCommerceMsDeployPackageUrl": "", + "bizfxCloudMsDeployPackageUrl": "", + "adventureWorksImagesDeployPackageUrl": "", + "habitatImagesDeployPackageUrl": "", + "indexWorkerDefinitionsDeployPackageUrl": "", + "xConnectDefinitionsDeployPackageUrl": "", + "xProfileCoreDeployPackageUrl": "", + "xAnalyticsCoreDeployPackageUrl": "", + "maCoreDeployPackageUrl": "", + "maAzureDeployPackageUrl": "", + "environmentName": "", + "defaultShopName": "", + "defaultShopCurrency": "", + "defaultShopLanguage": "", + "braintreeMerchantId": "", + "braintreePublicKey": "", + "braintreePrivateKey": "", + "braintreeEnvironment": "" + } + }, + { + "name": "sxa", + "templateLink": "", + "parameters": + { + "sxaMsDeployPackageUrl": "", + "speMsDeployPackageUrl": "" + } + }, + { + "name": "sxa-sf", + "templateLink": "", + "parameters": { + "sxaMsDeployPackageUrl": "", + "sxaStorefrontMsDeployPackageUrl": "", + "sxaHabitatCatalogMsDeployPackageUrl": "", + "sxaStorefrontThemesMsDeployPackageUrl": "" + } + }, + { + "name": "bootloader", + "templateLink": "", + "parameters": { + "msDeployPackageUrl" : "" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/Sitecore XC 9.2.0/XCScaled/README.md b/Sitecore XC 9.2.0/XCScaled/README.md new file mode 100644 index 00000000..ca298899 --- /dev/null +++ b/Sitecore XC 9.2.0/XCScaled/README.md @@ -0,0 +1,44 @@ +# 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.2.0 is compatible with: Sitecore XP 9.2.0, SXA 1.9.0, SXA Storefront 3.0 + +## 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". diff --git a/Sitecore XC 9.2.0/XCScaled/azuredeploy.json b/Sitecore XC 9.2.0/XCScaled/azuredeploy.json new file mode 100644 index 00000000..116e4cc4 --- /dev/null +++ b/Sitecore XC 9.2.0/XCScaled/azuredeploy.json @@ -0,0 +1,800 @@ +{ + "$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": { + "infrastructure": { + "siWebAppHostName": null + }, + "deploymentId": null, + "location": null, + "sitecoreSKU": null, + "sitecoreAdminPassword": null, + "solrConnectionString": 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, + "useApplicationInsights": true + } + }, + "extension": { + "type": "secureObject", + "defaultValue": { + "templateLinkAccessToken": "", + "commerceConnectMsDeployPackageUrl": null, + "commerceEngineAzureMsDeployPackageUrl": null, + "commerceEngineSolrCloudMsDeployPackageUrl": null, + "commerceEngineConnectCdAzureMsDeployPackageUrl": null, + "commerceEngineConnectCmAzureMsDeployPackageUrl": null, + "commerceEngineConnectCdSolrMsDeployPackageUrl": null, + "commerceEngineConnectCmSolrMsDeployPackageUrl": null, + "identityConfigCommerceMsDeployPackageUrl": 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" + }, + "solrConnectionString": { + "type": "securestring", + "defaultValue": "[parameters('standard').solrConnectionString]" + }, + "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')]" + }, + "siWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[replace(coalesce(parameters('standard').infrastructure.siWebAppHostName, concat(parameters('deploymentId'), '-si')),'.azurewebsites.net','')]" + }, + "siWebAppHostName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').infrastructure.siWebAppHostName, concat(parameters('siWebAppName'), '.azurewebsites.net'))]" + }, + "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]" + }, + "useApplicationInsights": { + "type": "bool", + "defaultValue": "[parameters('standard').useApplicationInsights]" + }, + "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]" + }, + "commerceEngineAzureMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').commerceEngineAzureMsDeployPackageUrl]" + }, + "commerceEngineSolrCloudMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').commerceEngineSolrCloudMsDeployPackageUrl]" + }, + "commerceEngineConnectCdAzureMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').commerceEngineConnectCdAzureMsDeployPackageUrl]" + }, + "commerceEngineConnectCmAzureMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').commerceEngineConnectCmAzureMsDeployPackageUrl]" + }, + "commerceEngineConnectCdSolrMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').commerceEngineConnectCdSolrMsDeployPackageUrl]" + }, + "commerceEngineConnectCmSolrMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').commerceEngineConnectCmSolrMsDeployPackageUrl]" + }, + "identityConfigCommerceMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').identityConfigCommerceMsDeployPackageUrl]" + }, + "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')]" + }, + "antiForgeryEnabled": { + "type": "bool", + "defaultValue": false + }, + "redisCacheName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-commerce-redis')]" + } + }, + "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')]" + }, + "useApplicationInsights": { + "value": "[parameters('useApplicationInsights')]" + }, + "redisCacheName": { + "value": "[parameters('redisCacheName')]" + } + } + } + }, + { + "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]" + }, + "templateLinkBase": { + "value": "[parameters('templateLinkBase')]" + }, + "templateLinkAccessToken": { + "value": "[parameters('templateLinkAccessToken')]" + }, + "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')]" + }, + "solrConnectionString": { + "value": "[parameters('solrConnectionString')]" + }, + "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')]" + }, + "commerceEngineAzureMsDeployPackageUrl": { + "value": "[parameters('commerceEngineAzureMsDeployPackageUrl')]" + }, + "commerceEngineSolrCloudMsDeployPackageUrl": { + "value": "[parameters('commerceEngineSolrCloudMsDeployPackageUrl')]" + }, + "commerceEngineConnectCdAzureMsDeployPackageUrl": { + "value": "[parameters('commerceEngineConnectCdAzureMsDeployPackageUrl')]" + }, + "commerceEngineConnectCmAzureMsDeployPackageUrl": { + "value": "[parameters('commerceEngineConnectCmAzureMsDeployPackageUrl')]" + }, + "commerceEngineConnectCdSolrMsDeployPackageUrl": { + "value": "[parameters('commerceEngineConnectCdSolrMsDeployPackageUrl')]" + }, + "commerceEngineConnectCmSolrMsDeployPackageUrl": { + "value": "[parameters('commerceEngineConnectCmSolrMsDeployPackageUrl')]" + }, + "identityConfigCommerceMsDeployPackageUrl": { + "value": "[parameters('identityConfigCommerceMsDeployPackageUrl')]" + }, + "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')]" + }, + "idserverAppName": { + "value": "[parameters('siWebAppName')]" + }, + "idserverAppFqdn": { + "value": "[parameters('siWebAppHostName')]" + }, + "passwordSalt": { + "value": "[parameters('passwordSalt')]" + }, + "searchServiceName": { + "value": "[parameters('searchServiceName')]" + }, + "antiForgeryEnabled": { + "value": "[parameters('antiForgeryEnabled')]" + } + } + }, + "dependsOn": [ + "[resourceId('Microsoft.Resources/deployments', concat(deployment().name, '-infrastructure'))]" + ] + } + ] +} diff --git a/Sitecore XC 9.2.0/XCScaled/azuredeploy.parameters.json b/Sitecore XC 9.2.0/XCScaled/azuredeploy.parameters.json new file mode 100644 index 00000000..9d2d5c0d --- /dev/null +++ b/Sitecore XC 9.2.0/XCScaled/azuredeploy.parameters.json @@ -0,0 +1,128 @@ +{ + "$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": "" + }, + "solrConnectionString": { + "value": "" + }, + "authCertificateBlob": { + "value": "" + }, + "authCertificatePassword": { + "value": "" + }, + "commerceConnectMsDeployPackageUrl": { + "value": "" + }, + "commerceEngineAzureMsDeployPackageUrl": { + "value": "" + }, + "commerceEngineSolrCloudMsDeployPackageUrl": { + "value": "" + }, + "commerceEngineConnectCdAzureMsDeployPackageUrl": { + "value": "" + }, + "commerceEngineConnectCmAzureMsDeployPackageUrl": { + "value": "" + }, + "commerceEngineConnectCdSolrMsDeployPackageUrl": { + "value": "" + }, + "commerceEngineConnectCmSolrMsDeployPackageUrl": { + "value": "" + }, + "identityConfigCommerceMsDeployPackageUrl": { + "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.2.0/XCScaled/nested/application-cec-img.json b/Sitecore XC 9.2.0/XCScaled/nested/application-cec-img.json new file mode 100644 index 00000000..36d4c2da --- /dev/null +++ b/Sitecore XC 9.2.0/XCScaled/nested/application-cec-img.json @@ -0,0 +1,84 @@ +{ + "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "variables": { + "webApiVersion": "2016-08-01", + + "sqlServerFqdnTidy": "[toLower(trim(parameters('sqlServerFqdn')))]", + "masterSqlDatabaseNameTidy": "[toLower(trim(parameters('masterSqlDatabaseName')))]", + "cmWebAppNameTidy": "[toLower(trim(parameters('cmWebAppName')))]" + }, + "parameters": { + "infrastructure": { + "type": "secureObject", + "defaultValue": { + "sqlServerFqdn": "[concat(parameters('deploymentId'), '-sql.database.windows.net')]", + } + }, + "deploymentId": { + "type": "string", + "defaultValue": "[resourceGroup().name]" + }, + "location": { + "type": "string", + "defaultValue": "[resourceGroup().location]" + }, + "sqlServerFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').sqlServerFqdn]" + }, + "sqlServerLogin": { + "type": "string", + "minLength": 1 + }, + "sqlServerPassword": { + "type": "securestring", + "minLength": 8 + }, + "masterSqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-master-db')]" + }, + "cmWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-cm')]" + }, + "adventureWorksImagesDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "habitatImagesDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + } + }, + "resources": [ + { + "name": "[concat(variables('cmWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "addOnPackages": [ + { + "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'), ';')]" + } + } + ] + } + } + ] +} diff --git a/Sitecore XC 9.2.0/XCScaled/nested/application-cec.json b/Sitecore XC 9.2.0/XCScaled/nested/application-cec.json new file mode 100644 index 00000000..f6331166 --- /dev/null +++ b/Sitecore XC 9.2.0/XCScaled/nested/application-cec.json @@ -0,0 +1,351 @@ +{ + "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "variables": { + "webApiVersion": "2016-08-01", + "resourcesApiVersion": "2016-09-01", + + "sqlServerFqdnTidy": "[toLower(trim(parameters('sqlServerFqdn')))]", + + "coreSqlDatabaseNameTidy": "[toLower(trim(parameters('coreSqlDatabaseName')))]", + "masterSqlDatabaseNameTidy": "[toLower(trim(parameters('masterSqlDatabaseName')))]", + + "cdWebAppNameTidy": "[toLower(trim(parameters('cdWebAppName')))]", + "cmWebAppNameTidy": "[toLower(trim(parameters('cmWebAppName')))]", + + "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')))]", + "bizfxAppFqdnTidy": "[toLower(trim(parameters('bizfxAppFqdn')))]", + + "defaultShopNameTidy": "[toLower(trim(parameters('defaultShopName')))]" + }, + "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')]", + "bizfxAppFqdn": "[concat(parameters('deploymentId'), '-bizfx.windowsazure.net')]", + + "authCertificateThumbprint": null, + "applicationInsightsKey": null + } + }, + + "templateLinkBase": { + "type": "string", + "minLength": 1, + "defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]" + }, + "templateLinkAccessToken": { + "type": "securestring", + "defaultValue": "" + }, + "deploymentId": { + "type": "string", + "defaultValue": "[resourceGroup().name]" + }, + "location": { + "type": "string", + "defaultValue": "[resourceGroup().location]" + }, + "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')]" + }, + "cdWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-cd')]" + }, + "cmWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-cm')]" + }, + "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]" + }, + "bizfxAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').bizfxAppFqdn]" + }, + "authCertificateThumbprint": { + "type": "string", + "minLength": 8, + "defaultValue": "[parameters('infrastructure').authCertificateThumbprint]" + }, + + "commerceConnectMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "commerceEngineConnectCdMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "commerceEngineConnectCmMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "adventureWorksImagesDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "habitatImagesDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "xProfileCoreDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "xAnalyticsCoreDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "maCoreDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "environmentName": { + "type": "string", + "minLength": 1, + "defaultValue": "HabitatShops" + }, + "defaultShopName": { + "type": "string", + "minLength": 1, + "defaultValue": "Storefront" + }, + "defaultShopCurrency": { + "type": "string", + "minLength": 1, + "defaultValue": "USD" + } + }, + "resources": [ + { + "name": "[concat(variables('cdWebAppNameTidy'), '/', '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('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')]", + "dependsOn": [ "[concat('Microsoft.Web/sites/', variables('cdWebAppNameTidy'), '/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('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')]" + } + } + ] + } + }, + { + "apiVersion": "[variables('resourcesApiVersion')]", + "dependsOn": [ "[concat('Microsoft.Web/sites/', variables('cmWebAppNameTidy'), '/Extensions/MSDeploy')]" ], + "name": "[concat(deployment().name, '-img')]", + "type": "Microsoft.Resources/deployments", + "properties": { + "mode": "Incremental", + "templateLink": { + "uri": "[concat(uri(parameters('templateLinkBase'), 'application-cec-img.json'), parameters('templateLinkAccessToken'))]" + }, + "parameters": { + "infrastructure": { + "value": "[parameters('infrastructure')]" + }, + "deploymentId": { + "value": "[parameters('deploymentId')]" + }, + "location": { + "value": "[parameters('location')]" + }, + "sqlServerFqdn": { + "value": "[parameters('infrastructure').sqlServerFqdn]" + }, + "sqlServerLogin": { + "value": "[parameters('sqlServerLogin')]" + }, + "sqlServerPassword": { + "value": "[parameters('sqlServerPassword')]" + }, + "masterSqlDatabaseName": { + "value": "[parameters('masterSqlDatabaseName')]" + }, + "cmWebAppName": { + "value": "[parameters('cmWebAppName')]" + }, + "adventureWorksImagesDeployPackageUrl": { + "value": "[parameters('adventureWorksImagesDeployPackageUrl')]" + }, + "habitatImagesDeployPackageUrl": { + "value": "[parameters('habitatImagesDeployPackageUrl')]" + } + } + } + } + ] +} diff --git a/Sitecore XC 9.2.0/XCScaled/nested/application-eng-as.json b/Sitecore XC 9.2.0/XCScaled/nested/application-eng-as.json new file mode 100644 index 00000000..3ff46363 --- /dev/null +++ b/Sitecore XC 9.2.0/XCScaled/nested/application-eng-as.json @@ -0,0 +1,497 @@ +{ + "$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')))]", + "globalSqlDatabaseNameTidy": "[toLower(trim(parameters('globalSqlDatabaseName')))]", + "sharedSqlDatabaseNameTidy": "[toLower(trim(parameters('sharedSqlDatabaseName')))]", + "cmWebAppFqdnTidy": "[toLower(trim(parameters('cmWebAppFqdn')))]", + "shopsWebAppNameTidy": "[toLower(trim(parameters('shopsWebAppName')))]", + "opsWebAppNameTidy": "[toLower(trim(parameters('opsWebAppName')))]", + "authoringWebAppNameTidy": "[toLower(trim(parameters('authoringWebAppName')))]", + "minionsWebAppNameTidy": "[toLower(trim(parameters('minionsWebAppName')))]", + "idserverAppFqdnTidy": "[toLower(trim(parameters('idserverAppFqdn')))]", + "bizfxAppFqdnTidy": "[toLower(trim(parameters('bizfxAppFqdn')))]", + "sitecoreDomainTidy": "[toLower(trim(parameters('sitecoreDomain')))]", + "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')]", + "bizfxAppFqdn": "[concat(parameters('deploymentId'), '-bizfx.windowsazure.net')]", + "authCertificateThumbprint": null, + "applicationInsightsKey": null, + "redisConfiguration": null, + "redisInstanceName": 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 + }, + "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" + }, + "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'))))]" + }, + "cmWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').cmWebAppFqdn]" + }, + "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]" + }, + "idserverAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-si.windowsazure.net')]" + }, + "bizfxAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-bizfx')]" + }, + "bizfxAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').bizfxAppFqdn]" + }, + "applicationInsightsKey": { + "type": "securestring", + "defaultValue": "[parameters('infrastructure').applicationInsightsKey]" + }, + "authCertificateThumbprint": { + "type": "string", + "minLength": 8, + "defaultValue": "[parameters('infrastructure').authCertificateThumbprint]" + }, + "commerceEngineAzureMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "braintreeMerchantId": { + "type": "securestring" + }, + "braintreePublicKey": { + "type": "securestring" + }, + "braintreePrivateKey": { + "type": "securestring" + }, + "braintreeEnvironment": { + "type": "string" + }, + "environmentName": { + "type": "string", + "minLength": 1, + "defaultValue": "HabitatShops" + }, + "passwordSalt": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[resourceGroup().id]" + }, + "searchServiceName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-as')]" + }, + "antiForgeryEnabled": { + "type": "bool", + "defaultValue": false + }, + "commerceServicesHostPostfix": { + "type": "string" + }, + "redisConfiguration": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').redisConfiguration]" + }, + "redisInstanceName": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').redisInstanceName]" + } + }, + "resources": [ + { + "name": "[concat(variables('opsWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('commerceEngineAzureMsDeployPackageUrl')]", + "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": "[parameters('antiForgeryEnabled')]", + "Configuration": "[parameters('redisConfiguration')]", + "InstanceName": "[parameters('redisInstanceName')]", + "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]", + "CommerceServicesHostPostfix": "[parameters('commerceServicesHostPostfix')]" + } + } + ] + } + }, + { + "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('commerceEngineAzureMsDeployPackageUrl')]", + "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": "[parameters('antiForgeryEnabled')]", + "Configuration": "[parameters('redisConfiguration')]", + "InstanceName": "[parameters('redisInstanceName')]", + "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]", + "CommerceServicesHostPostfix": "[parameters('commerceServicesHostPostfix')]" + } + } + ] + } + }, + { + "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('commerceEngineAzureMsDeployPackageUrl')]", + "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": "[parameters('antiForgeryEnabled')]", + "Configuration": "[parameters('redisConfiguration')]", + "InstanceName": "[parameters('redisInstanceName')]", + "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]", + "CommerceServicesHostPostfix": "[parameters('commerceServicesHostPostfix')]" + } + } + ] + } + }, + { + "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('commerceEngineAzureMsDeployPackageUrl')]", + "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": "[parameters('antiForgeryEnabled')]", + "Configuration": "[parameters('redisConfiguration')]", + "InstanceName": "[parameters('redisInstanceName')]", + "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]", + "CommerceServicesHostPostfix": "[parameters('commerceServicesHostPostfix')]" + } + } + ] + } + }, + { + "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')]" + ] + } + ] +} diff --git a/Sitecore XC 9.2.0/XCScaled/nested/application-eng-solr.json b/Sitecore XC 9.2.0/XCScaled/nested/application-eng-solr.json new file mode 100644 index 00000000..457e138a --- /dev/null +++ b/Sitecore XC 9.2.0/XCScaled/nested/application-eng-solr.json @@ -0,0 +1,494 @@ +{ + "$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')))]", + "globalSqlDatabaseNameTidy": "[toLower(trim(parameters('globalSqlDatabaseName')))]", + "sharedSqlDatabaseNameTidy": "[toLower(trim(parameters('sharedSqlDatabaseName')))]", + "cmWebAppFqdnTidy": "[toLower(trim(parameters('cmWebAppFqdn')))]", + "shopsWebAppNameTidy": "[toLower(trim(parameters('shopsWebAppName')))]", + "opsWebAppNameTidy": "[toLower(trim(parameters('opsWebAppName')))]", + "authoringWebAppNameTidy": "[toLower(trim(parameters('authoringWebAppName')))]", + "minionsWebAppNameTidy": "[toLower(trim(parameters('minionsWebAppName')))]", + "idserverAppFqdnTidy": "[toLower(trim(parameters('idserverAppFqdn')))]", + "bizfxAppFqdnTidy": "[toLower(trim(parameters('bizfxAppFqdn')))]", + "sitecoreDomainTidy": "[toLower(trim(parameters('sitecoreDomain')))]", + "searchServiceNameTidy": "[toLower(trim(parameters('searchServiceName')))]", + "solrUrl": "[toLower(trim(parameters('solrConnectionString')))]", + "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')]", + "bizfxAppFqdn": "[concat(parameters('deploymentId'), '-bizfx.windowsazure.net')]", + "authCertificateThumbprint": null, + "applicationInsightsKey": null, + "redisConfiguration": null, + "redisInstanceName": 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 + }, + "solrConnectionString": { + "type": "securestring", + "defaultValue": "" + }, + "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" + }, + "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'))))]" + }, + "cmWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').cmWebAppFqdn]" + }, + "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]" + }, + "idserverAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-si.windowsazure.net')]" + }, + "bizfxAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-bizfx')]" + }, + "bizfxAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').bizfxAppFqdn]" + }, + "applicationInsightsKey": { + "type": "securestring", + "defaultValue": "[parameters('infrastructure').applicationInsightsKey]" + }, + "authCertificateThumbprint": { + "type": "string", + "minLength": 8, + "defaultValue": "[parameters('infrastructure').authCertificateThumbprint]" + }, + "commerceEngineSolrCloudMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "braintreeMerchantId": { + "type": "securestring" + }, + "braintreePublicKey": { + "type": "securestring" + }, + "braintreePrivateKey": { + "type": "securestring" + }, + "braintreeEnvironment": { + "type": "string" + }, + "environmentName": { + "type": "string", + "minLength": 1, + "defaultValue": "HabitatShops" + }, + "passwordSalt": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[resourceGroup().id]" + }, + "searchServiceName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-as')]" + }, + "antiForgeryEnabled": { + "type": "bool", + "defaultValue": false + }, + "commerceServicesHostPostfix": { + "type": "string" + }, + "redisConfiguration": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').redisConfiguration]" + }, + "redisInstanceName": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').redisInstanceName]" + } + }, + "resources": [ + { + "name": "[concat(variables('opsWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('commerceEngineSolrCloudMsDeployPackageUrl')]", + "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": "[parameters('antiForgeryEnabled')]", + "Configuration": "[parameters('redisConfiguration')]", + "InstanceName": "[parameters('redisInstanceName')]", + "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'))]", + "SolrUrl": "[variables('solrUrl')]", + "CommerceServicesHostPostfix": "[parameters('commerceServicesHostPostfix')]" + } + } + ] + } + }, + { + "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('commerceEngineSolrCloudMsDeployPackageUrl')]", + "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": "[parameters('antiForgeryEnabled')]", + "Configuration": "[parameters('redisConfiguration')]", + "InstanceName": "[parameters('redisInstanceName')]", + "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'))]", + "SolrUrl": "[variables('solrUrl')]", + "CommerceServicesHostPostfix": "[parameters('commerceServicesHostPostfix')]" + } + } + ] + } + }, + { + "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('commerceEngineSolrCloudMsDeployPackageUrl')]", + "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": "[parameters('antiForgeryEnabled')]", + "Configuration": "[parameters('redisConfiguration')]", + "InstanceName": "[parameters('redisInstanceName')]", + "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'))]", + "SolrUrl": "[variables('solrUrl')]", + "CommerceServicesHostPostfix": "[parameters('commerceServicesHostPostfix')]" + } + } + ] + } + }, + { + "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('commerceEngineSolrCloudMsDeployPackageUrl')]", + "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": "[parameters('antiForgeryEnabled')]", + "Configuration": "[parameters('redisConfiguration')]", + "InstanceName": "[parameters('redisInstanceName')]", + "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'))]", + "SolrUrl": "[variables('solrUrl')]", + "CommerceServicesHostPostfix": "[parameters('commerceServicesHostPostfix')]" + } + } + ] + } + }, + { + "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')]" + ] + } + ] +} diff --git a/Sitecore XC 9.2.0/XCScaled/nested/application-eng.json b/Sitecore XC 9.2.0/XCScaled/nested/application-eng.json new file mode 100644 index 00000000..5f068ffe --- /dev/null +++ b/Sitecore XC 9.2.0/XCScaled/nested/application-eng.json @@ -0,0 +1,549 @@ +{ + "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "variables": { + "resourcesApiVersion": "2016-09-01", + "webApiVersion": "2016-08-01", + "searchApiVersion": "2015-08-19", + "searchProvider": "[if(empty(parameters('solrConnectionString')), 'Azure', 'Solr')]", + "siteTitle": "Sitecore Commerce Engine", + "commerceServicesHostPostfix": "" + }, + "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')]", + "bizfxAppFqdn": "[concat(parameters('deploymentId'), '-bizfx.windowsazure.net')]", + "authCertificateThumbprint": null, + "applicationInsightsKey": null, + "redisConfiguration": null, + "redisInstanceName": null + } + }, + "deploymentId": { + "type": "string", + "defaultValue": "[resourceGroup().name]" + }, + "location": { + "type": "string", + "defaultValue": "[resourceGroup().location]" + }, + "templateLinkBase": { + "type": "string", + "minLength": 1, + "defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]" + }, + "templateLinkAccessToken": { + "type": "securestring", + "defaultValue": "" + }, + "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 + }, + "solrConnectionString": { + "type": "securestring", + "defaultValue": "" + }, + "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'))))]" + }, + "cmWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').cmWebAppFqdn]" + }, + "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]" + }, + "idserverAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-si.windowsazure.net')]" + }, + "bizfxAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-bizfx')]" + }, + "bizfxAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').bizfxAppFqdn]" + }, + "applicationInsightsKey": { + "type": "securestring", + "defaultValue": "[parameters('infrastructure').applicationInsightsKey]" + }, + "authCertificateThumbprint": { + "type": "string", + "minLength": 8, + "defaultValue": "[parameters('infrastructure').authCertificateThumbprint]" + }, + "commerceEngineAzureMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "commerceEngineSolrCloudMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "braintreeMerchantId": { + "type": "securestring" + }, + "braintreePublicKey": { + "type": "securestring" + }, + "braintreePrivateKey": { + "type": "securestring" + }, + "braintreeEnvironment": { + "type": "string" + }, + "environmentName": { + "type": "string", + "minLength": 1, + "defaultValue": "HabitatShops" + }, + "passwordSalt": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[resourceGroup().id]" + }, + "searchServiceName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-as')]" + }, + "antiForgeryEnabled": { + "type": "bool", + "defaultValue": false + }, + "redisConfiguration": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').redisConfiguration]" + }, + "redisInstanceName": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').redisInstanceName]" + } + }, + "resources": [ + { + "apiVersion": "[variables('resourcesApiVersion')]", + "name": "[concat(deployment().name, '-as')]", + "condition": "[equals(variables('searchProvider'), 'Azure')]", + "type": "Microsoft.Resources/deployments", + "properties": { + "mode": "Incremental", + "templateLink": { + "uri": "[concat(uri(parameters('templateLinkBase'), 'application-eng-as.json'), parameters('templateLinkAccessToken'))]" + }, + "parameters": { + "infrastructure": { + "value": "[parameters('infrastructure')]" + }, + "deploymentId": { + "value": "[parameters('deploymentId')]" + }, + "location": { + "value": "[parameters('location')]" + }, + "sitecoreAdminPassword": { + "value": "[parameters('sitecoreAdminPassword')]" + }, + "sitecoreDomain": { + "value": "[parameters('sitecoreDomain')]" + }, + "sitecoreUserName": { + "value": "[parameters('sitecoreUserName')]" + }, + "sitecorePassword": { + "value": "[parameters('sitecorePassword')]" + }, + "sqlServerFqdn": { + "value": "[parameters('sqlServerFqdn')]" + }, + "sqlServerLogin": { + "value": "[parameters('sqlServerLogin')]" + }, + "sqlServerPassword": { + "value": "[parameters('sqlServerPassword')]" + }, + "globalSqlDatabaseName": { + "value": "[parameters('globalSqlDatabaseName')]" + }, + "sharedSqlDatabaseName": { + "value": "[parameters('sharedSqlDatabaseName')]" + }, + "masterSqlDatabaseLogicalName": { + "value": "[parameters('masterSqlDatabaseLogicalName')]" + }, + "globalSqlDatabaseUserName": { + "value": "[parameters('globalSqlDatabaseUserName')]" + }, + "globalSqlDatabaseUserPassword": { + "value": "[parameters('globalSqlDatabaseUserPassword')]" + }, + "sharedSqlDatabaseUserName": { + "value": "[parameters('sharedSqlDatabaseUserName')]" + }, + "sharedSqlDatabaseUserPassword": { + "value": "[parameters('sharedSqlDatabaseUserPassword')]" + }, + "cmWebAppFqdn": { + "value": "[parameters('cmWebAppFqdn')]" + }, + "shopsWebAppName": { + "value": "[parameters('shopsWebAppName')]" + }, + "shopsWebAppFqdn": { + "value": "[parameters('shopsWebAppFqdn')]" + }, + "opsWebAppName": { + "value": "[parameters('opsWebAppName')]" + }, + "opsWebAppFqdn": { + "value": "[parameters('opsWebAppFqdn')]" + }, + "authoringWebAppName": { + "value": "[parameters('authoringWebAppName')]" + }, + "authoringWebAppFqdn": { + "value": "[parameters('authoringWebAppFqdn')]" + }, + "minionsWebAppName": { + "value": "[parameters('minionsWebAppName')]" + }, + "minionsWebAppFqdn": { + "value": "[parameters('minionsWebAppFqdn')]" + }, + "idserverAppFqdn": { + "value": "[parameters('idserverAppFqdn')]" + }, + "bizfxAppName": { + "value": "[parameters('bizfxAppName')]" + }, + "bizfxAppFqdn": { + "value": "[parameters('bizfxAppFqdn')]" + }, + "applicationInsightsKey": { + "value": "[parameters('applicationInsightsKey')]" + }, + "authCertificateThumbprint": { + "value": "[parameters('authCertificateThumbprint')]" + }, + "commerceEngineAzureMsDeployPackageUrl": { + "value": "[parameters('commerceEngineAzureMsDeployPackageUrl')]" + }, + "braintreeMerchantId": { + "value": "[parameters('braintreeMerchantId')]" + }, + "braintreePublicKey": { + "value": "[parameters('braintreePublicKey')]" + }, + "braintreePrivateKey": { + "value": "[parameters('braintreePrivateKey')]" + }, + "braintreeEnvironment": { + "value": "[parameters('braintreeEnvironment')]" + }, + "environmentName": { + "value": "[parameters('environmentName')]" + }, + "passwordSalt": { + "value": "[parameters('passwordSalt')]" + }, + "searchServiceName": { + "value": "[parameters('searchServiceName')]" + }, + "antiForgeryEnabled": { + "value": "[parameters('antiForgeryEnabled')]" + }, + "commerceServicesHostPostfix": { + "value": "[variables('commerceServicesHostPostfix')]" + }, + "redisConfiguration": { + "value": "[parameters('redisConfiguration')]" + }, + "redisInstanceName": { + "value": "[parameters('redisInstanceName')]" + } + } + } + }, + { + "apiVersion": "[variables('resourcesApiVersion')]", + "name": "[concat(deployment().name, '-solr')]", + "condition": "[equals(variables('searchProvider'), 'Solr')]", + "type": "Microsoft.Resources/deployments", + "properties": { + "mode": "Incremental", + "templateLink": { + "uri": "[concat(uri(parameters('templateLinkBase'), 'application-eng-solr.json'), parameters('templateLinkAccessToken'))]" + }, + "parameters": { + "infrastructure": { + "value": "[parameters('infrastructure')]" + }, + "deploymentId": { + "value": "[parameters('deploymentId')]" + }, + "location": { + "value": "[parameters('location')]" + }, + "sitecoreAdminPassword": { + "value": "[parameters('sitecoreAdminPassword')]" + }, + "sitecoreDomain": { + "value": "[parameters('sitecoreDomain')]" + }, + "sitecoreUserName": { + "value": "[parameters('sitecoreUserName')]" + }, + "sitecorePassword": { + "value": "[parameters('sitecorePassword')]" + }, + "sqlServerFqdn": { + "value": "[parameters('sqlServerFqdn')]" + }, + "sqlServerLogin": { + "value": "[parameters('sqlServerLogin')]" + }, + "sqlServerPassword": { + "value": "[parameters('sqlServerPassword')]" + }, + "solrConnectionString": { + "value": "[parameters('solrConnectionString')]" + }, + "globalSqlDatabaseName": { + "value": "[parameters('globalSqlDatabaseName')]" + }, + "sharedSqlDatabaseName": { + "value": "[parameters('sharedSqlDatabaseName')]" + }, + "masterSqlDatabaseLogicalName": { + "value": "[parameters('masterSqlDatabaseLogicalName')]" + }, + "globalSqlDatabaseUserName": { + "value": "[parameters('globalSqlDatabaseUserName')]" + }, + "globalSqlDatabaseUserPassword": { + "value": "[parameters('globalSqlDatabaseUserPassword')]" + }, + "sharedSqlDatabaseUserName": { + "value": "[parameters('sharedSqlDatabaseUserName')]" + }, + "sharedSqlDatabaseUserPassword": { + "value": "[parameters('sharedSqlDatabaseUserPassword')]" + }, + "cmWebAppFqdn": { + "value": "[parameters('cmWebAppFqdn')]" + }, + "shopsWebAppName": { + "value": "[parameters('shopsWebAppName')]" + }, + "shopsWebAppFqdn": { + "value": "[parameters('shopsWebAppFqdn')]" + }, + "opsWebAppName": { + "value": "[parameters('opsWebAppName')]" + }, + "opsWebAppFqdn": { + "value": "[parameters('opsWebAppFqdn')]" + }, + "authoringWebAppName": { + "value": "[parameters('authoringWebAppName')]" + }, + "authoringWebAppFqdn": { + "value": "[parameters('authoringWebAppFqdn')]" + }, + "minionsWebAppName": { + "value": "[parameters('minionsWebAppName')]" + }, + "minionsWebAppFqdn": { + "value": "[parameters('minionsWebAppFqdn')]" + }, + "idserverAppFqdn": { + "value": "[parameters('idserverAppFqdn')]" + }, + "bizfxAppName": { + "value": "[parameters('bizfxAppName')]" + }, + "bizfxAppFqdn": { + "value": "[parameters('bizfxAppFqdn')]" + }, + "applicationInsightsKey": { + "value": "[parameters('applicationInsightsKey')]" + }, + "authCertificateThumbprint": { + "value": "[parameters('authCertificateThumbprint')]" + }, + "commerceEngineSolrCloudMsDeployPackageUrl": { + "value": "[parameters('commerceEngineSolrCloudMsDeployPackageUrl')]" + }, + "braintreeMerchantId": { + "value": "[parameters('braintreeMerchantId')]" + }, + "braintreePublicKey": { + "value": "[parameters('braintreePublicKey')]" + }, + "braintreePrivateKey": { + "value": "[parameters('braintreePrivateKey')]" + }, + "braintreeEnvironment": { + "value": "[parameters('braintreeEnvironment')]" + }, + "environmentName": { + "value": "[parameters('environmentName')]" + }, + "passwordSalt": { + "value": "[parameters('passwordSalt')]" + }, + "searchServiceName": { + "value": "[parameters('searchServiceName')]" + }, + "antiForgeryEnabled": { + "value": "[parameters('antiForgeryEnabled')]" + }, + "commerceServicesHostPostfix": { + "value": "[variables('commerceServicesHostPostfix')]" + }, + "redisConfiguration": { + "value": "[parameters('redisConfiguration')]" + }, + "redisInstanceName": { + "value": "[parameters('redisInstanceName')]" + } + } + } + } + ] +} diff --git a/Sitecore XC 9.2.0/XCScaled/nested/application.json b/Sitecore XC 9.2.0/XCScaled/nested/application.json new file mode 100644 index 00000000..ad52db5d --- /dev/null +++ b/Sitecore XC 9.2.0/XCScaled/nested/application.json @@ -0,0 +1,1055 @@ +{ + "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "variables": { + "resourcesApiVersion": "2016-09-01", + "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", + "searchProvider": "[if(empty(parameters('solrConnectionString')), 'Azure', 'Solr')]" + }, + "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')]", + "bizfxAppFqdn": "[concat(parameters('deploymentId'), '-bizfx.windowsazure.net')]", + "authCertificateThumbprint": null, + "applicationInsightsKey": null, + "redisConfiguration": null, + "redisInstanceName": null + } + }, + "templateLinkBase": { + "type": "string", + "minLength": 1, + "defaultValue": "[uri(replace(json(string(deployment().properties.templateLink)).uri,' ','%20'), '.')]" + }, + "templateLinkAccessToken": { + "type": "securestring", + "defaultValue": "" + }, + "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 + }, + "solrConnectionString": { + "type": "securestring", + "defaultValue": "" + }, + "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'), '-si')]" + }, + "idserverAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('idserverAppName'), '.windowsazure.net')]" + }, + "bizfxAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-bizfx')]" + }, + "bizfxAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').bizfxAppFqdn]" + }, + "applicationInsightsKey": { + "type": "securestring", + "defaultValue": "[parameters('infrastructure').applicationInsightsKey]" + }, + "authCertificateThumbprint": { + "type": "string", + "minLength": 8, + "defaultValue": "[parameters('infrastructure').authCertificateThumbprint]" + }, + "commerceConnectMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "commerceEngineAzureMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "commerceEngineSolrCloudMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "commerceEngineConnectCdAzureMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "commerceEngineConnectCmAzureMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "commerceEngineConnectCdSolrMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "commerceEngineConnectCmSolrMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "identityConfigCommerceMsDeployPackageUrl": { + "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" + }, + "passwordSalt": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[resourceGroup().id]" + }, + "searchServiceName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-as')]" + }, + "antiForgeryEnabled": { + "type": "bool", + "defaultValue": false + }, + "redisConfiguration": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').redisConfiguration]" + }, + "redisInstanceName": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').redisInstanceName]" + } + }, + "resources": [ + { + "apiVersion": "[variables('resourcesApiVersion')]", + "name": "[concat(deployment().name, '-cec-az')]", + "condition": "[equals(variables('searchProvider'), 'Azure')]", + "type": "Microsoft.Resources/deployments", + "properties": { + "mode": "Incremental", + "templateLink": { + "uri": "[concat(uri(parameters('templateLinkBase'), 'nested/application-cec.json'), parameters('templateLinkAccessToken'))]" + }, + "parameters": { + "infrastructure": { + "value": "[parameters('infrastructure')]" + }, + "deploymentId": { + "value": "[parameters('deploymentId')]" + }, + "templateLinkAccessToken": { + "value": "[parameters('templateLinkAccessToken')]" + }, + "location": { + "value": "[parameters('location')]" + }, + "sqlServerFqdn": { + "value": "[parameters('infrastructure').sqlServerFqdn]" + }, + "sqlServerLogin": { + "value": "[parameters('sqlServerLogin')]" + }, + "sqlServerPassword": { + "value": "[parameters('sqlServerPassword')]" + }, + "coreSqlDatabaseName": { + "value": "[parameters('coreSqlDatabaseName')]" + }, + "masterSqlDatabaseName": { + "value": "[parameters('masterSqlDatabaseName')]" + }, + "cdWebAppName": { + "value": "[parameters('cdWebAppName')]" + }, + "cmWebAppName": { + "value": "[parameters('cmWebAppName')]" + }, + "shopsWebAppName": { + "value": "[parameters('shopsWebAppName')]" + }, + "shopsWebAppFqdn": { + "value": "[parameters('shopsWebAppFqdn')]" + }, + "opsWebAppName": { + "value": "[parameters('opsWebAppName')]" + }, + "opsWebAppFqdn": { + "value": "[parameters('opsWebAppFqdn')]" + }, + "authoringWebAppName": { + "value": "[parameters('authoringWebAppName')]" + }, + "authoringWebAppFqdn": { + "value": "[parameters('authoringWebAppFqdn')]" + }, + "minionsWebAppName": { + "value": "[parameters('minionsWebAppName')]" + }, + "minionsWebAppFqdn": { + "value": "[parameters('minionsWebAppFqdn')]" + }, + "bizfxAppFqdn": { + "value": "[parameters('bizfxAppFqdn')]" + }, + "authCertificateThumbprint": { + "value": "[parameters('authCertificateThumbprint')]" + }, + "commerceConnectMsDeployPackageUrl": { + "value": "[parameters('commerceConnectMsDeployPackageUrl')]" + }, + "commerceEngineConnectCdMsDeployPackageUrl": { + "value": "[parameters('commerceEngineConnectCdAzureMsDeployPackageUrl')]" + }, + "commerceEngineConnectCmMsDeployPackageUrl": { + "value": "[parameters('commerceEngineConnectCmAzureMsDeployPackageUrl')]" + }, + "adventureWorksImagesDeployPackageUrl": { + "value": "[parameters('adventureWorksImagesDeployPackageUrl')]" + }, + "habitatImagesDeployPackageUrl": { + "value": "[parameters('habitatImagesDeployPackageUrl')]" + }, + "xProfileCoreDeployPackageUrl": { + "value": "[parameters('xProfileCoreDeployPackageUrl')]" + }, + "xAnalyticsCoreDeployPackageUrl": { + "value": "[parameters('xAnalyticsCoreDeployPackageUrl')]" + }, + "maCoreDeployPackageUrl": { + "value": "[parameters('maCoreDeployPackageUrl')]" + }, + "environmentName": { + "value": "[parameters('environmentName')]" + }, + "defaultShopName": { + "value": "[parameters('defaultShopName')]" + }, + "defaultShopCurrency": { + "value": "[parameters('defaultShopCurrency')]" + } + } + } + }, + { + "apiVersion": "[variables('resourcesApiVersion')]", + "name": "[concat(deployment().name, '-cec-solr')]", + "condition": "[equals(variables('searchProvider'), 'Solr')]", + "type": "Microsoft.Resources/deployments", + "properties": { + "mode": "Incremental", + "templateLink": { + "uri": "[concat(uri(parameters('templateLinkBase'), 'nested/application-cec.json'), parameters('templateLinkAccessToken'))]" + }, + "parameters": { + "infrastructure": { + "value": "[parameters('infrastructure')]" + }, + "deploymentId": { + "value": "[parameters('deploymentId')]" + }, + "templateLinkAccessToken": { + "value": "[parameters('templateLinkAccessToken')]" + }, + "location": { + "value": "[parameters('location')]" + }, + "sqlServerFqdn": { + "value": "[parameters('infrastructure').sqlServerFqdn]" + }, + "sqlServerLogin": { + "value": "[parameters('sqlServerLogin')]" + }, + "sqlServerPassword": { + "value": "[parameters('sqlServerPassword')]" + }, + "coreSqlDatabaseName": { + "value": "[parameters('coreSqlDatabaseName')]" + }, + "masterSqlDatabaseName": { + "value": "[parameters('masterSqlDatabaseName')]" + }, + "cdWebAppName": { + "value": "[parameters('cdWebAppName')]" + }, + "cmWebAppName": { + "value": "[parameters('cmWebAppName')]" + }, + "shopsWebAppName": { + "value": "[parameters('shopsWebAppName')]" + }, + "shopsWebAppFqdn": { + "value": "[parameters('shopsWebAppFqdn')]" + }, + "opsWebAppName": { + "value": "[parameters('opsWebAppName')]" + }, + "opsWebAppFqdn": { + "value": "[parameters('opsWebAppFqdn')]" + }, + "authoringWebAppName": { + "value": "[parameters('authoringWebAppName')]" + }, + "authoringWebAppFqdn": { + "value": "[parameters('authoringWebAppFqdn')]" + }, + "minionsWebAppName": { + "value": "[parameters('minionsWebAppName')]" + }, + "minionsWebAppFqdn": { + "value": "[parameters('minionsWebAppFqdn')]" + }, + "bizfxAppFqdn": { + "value": "[parameters('bizfxAppFqdn')]" + }, + "authCertificateThumbprint": { + "value": "[parameters('authCertificateThumbprint')]" + }, + "commerceConnectMsDeployPackageUrl": { + "value": "[parameters('commerceConnectMsDeployPackageUrl')]" + }, + "commerceEngineConnectCdMsDeployPackageUrl": { + "value": "[parameters('commerceEngineConnectCdSolrMsDeployPackageUrl')]" + }, + "commerceEngineConnectCmMsDeployPackageUrl": { + "value": "[parameters('commerceEngineConnectCmSolrMsDeployPackageUrl')]" + }, + "adventureWorksImagesDeployPackageUrl": { + "value": "[parameters('adventureWorksImagesDeployPackageUrl')]" + }, + "habitatImagesDeployPackageUrl": { + "value": "[parameters('habitatImagesDeployPackageUrl')]" + }, + "xProfileCoreDeployPackageUrl": { + "value": "[parameters('xProfileCoreDeployPackageUrl')]" + }, + "xAnalyticsCoreDeployPackageUrl": { + "value": "[parameters('xAnalyticsCoreDeployPackageUrl')]" + }, + "maCoreDeployPackageUrl": { + "value": "[parameters('maCoreDeployPackageUrl')]" + }, + "environmentName": { + "value": "[parameters('environmentName')]" + }, + "defaultShopName": { + "value": "[parameters('defaultShopName')]" + }, + "defaultShopCurrency": { + "value": "[parameters('defaultShopCurrency')]" + } + } + } + }, + { + "name": "[concat(variables('prcWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ + "[resourceId('Microsoft.Resources/deployments', concat(concat(deployment().name, '-cec-az')))]", + "[resourceId('Microsoft.Resources/deployments', concat(concat(deployment().name, '-cec-solr')))]" + ], + "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('prcWebAppNameTidy'), '/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')]", + "dependsOn": [ + "[concat('Microsoft.Web/sites/', variables('xcRefDataWebAppNameTidy'), '/Extensions/MSDeploy')]" + ], + "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')]", + "dependsOn": [ + "[concat('Microsoft.Web/sites/', variables('xcCollectWebAppNameTidy'), '/Extensions/MSDeploy')]" + ], + "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')]", + "dependsOn": [ + "[concat('Microsoft.Web/sites/', variables('maOpsWebAppNameTidy'), '/Extensions/MSDeploy')]" + ], + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('indexWorkerDefinitionsDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('maRepWebAppNameTidy')]" + } + } + ] + } + }, + { + "apiVersion": "[variables('resourcesApiVersion')]", + "name": "[concat(deployment().name, '-eng')]", + "type": "Microsoft.Resources/deployments", + "properties": { + "mode": "Incremental", + "templateLink": { + "uri": "[concat(uri(parameters('templateLinkBase'), 'nested/application-eng.json'), parameters('templateLinkAccessToken'))]" + }, + "parameters": { + "infrastructure": { + "value": "[parameters('infrastructure')]" + }, + "deploymentId": { + "value": "[parameters('deploymentId')]" + }, + "templateLinkAccessToken": { + "value": "[parameters('templateLinkAccessToken')]" + }, + "location": { + "value": "[parameters('location')]" + }, + "sitecoreAdminPassword": { + "value": "[parameters('sitecoreAdminPassword')]" + }, + "sitecoreDomain": { + "value": "[parameters('sitecoreDomain')]" + }, + "sitecoreUserName": { + "value": "[parameters('sitecoreUserName')]" + }, + "sitecorePassword": { + "value": "[parameters('sitecorePassword')]" + }, + "sqlServerFqdn": { + "value": "[parameters('sqlServerFqdn')]" + }, + "sqlServerLogin": { + "value": "[parameters('sqlServerLogin')]" + }, + "sqlServerPassword": { + "value": "[parameters('sqlServerPassword')]" + }, + "solrConnectionString": { + "value": "[parameters('solrConnectionString')]" + }, + "globalSqlDatabaseName": { + "value": "[parameters('globalSqlDatabaseName')]" + }, + "sharedSqlDatabaseName": { + "value": "[parameters('sharedSqlDatabaseName')]" + }, + "masterSqlDatabaseLogicalName": { + "value": "[parameters('masterSqlDatabaseLogicalName')]" + }, + "globalSqlDatabaseUserName": { + "value": "[parameters('globalSqlDatabaseUserName')]" + }, + "globalSqlDatabaseUserPassword": { + "value": "[parameters('globalSqlDatabaseUserPassword')]" + }, + "sharedSqlDatabaseUserName": { + "value": "[parameters('sharedSqlDatabaseUserName')]" + }, + "sharedSqlDatabaseUserPassword": { + "value": "[parameters('sharedSqlDatabaseUserPassword')]" + }, + "cmWebAppFqdn": { + "value": "[parameters('cmWebAppFqdn')]" + }, + "shopsWebAppName": { + "value": "[parameters('shopsWebAppName')]" + }, + "shopsWebAppFqdn": { + "value": "[parameters('shopsWebAppFqdn')]" + }, + "opsWebAppName": { + "value": "[parameters('opsWebAppName')]" + }, + "opsWebAppFqdn": { + "value": "[parameters('opsWebAppFqdn')]" + }, + "authoringWebAppName": { + "value": "[parameters('authoringWebAppName')]" + }, + "authoringWebAppFqdn": { + "value": "[parameters('authoringWebAppFqdn')]" + }, + "minionsWebAppName": { + "value": "[parameters('minionsWebAppName')]" + }, + "minionsWebAppFqdn": { + "value": "[parameters('minionsWebAppFqdn')]" + }, + "idserverAppFqdn": { + "value": "[parameters('idserverAppFqdn')]" + }, + "bizfxAppName": { + "value": "[parameters('bizfxAppName')]" + }, + "bizfxAppFqdn": { + "value": "[parameters('bizfxAppFqdn')]" + }, + "applicationInsightsKey": { + "value": "[parameters('applicationInsightsKey')]" + }, + "authCertificateThumbprint": { + "value": "[parameters('authCertificateThumbprint')]" + }, + "commerceEngineAzureMsDeployPackageUrl": { + "value": "[parameters('commerceEngineAzureMsDeployPackageUrl')]" + }, + "commerceEngineSolrCloudMsDeployPackageUrl": { + "value": "[parameters('commerceEngineSolrCloudMsDeployPackageUrl')]" + }, + "braintreeMerchantId": { + "value": "[parameters('braintreeMerchantId')]" + }, + "braintreePublicKey": { + "value": "[parameters('braintreePublicKey')]" + }, + "braintreePrivateKey": { + "value": "[parameters('braintreePrivateKey')]" + }, + "braintreeEnvironment": { + "value": "[parameters('braintreeEnvironment')]" + }, + "environmentName": { + "value": "[parameters('environmentName')]" + }, + "passwordSalt": { + "value": "[parameters('passwordSalt')]" + }, + "searchServiceName": { + "value": "[parameters('searchServiceName')]" + }, + "antiForgeryEnabled": { + "value": "[parameters('antiForgeryEnabled')]" + }, + "redisConfiguration": { + "value": "[parameters('redisConfiguration')]" + }, + "redisInstanceName": { + "value": "[parameters('redisInstanceName')]" + } + } + } + }, + { + "name": "[concat(variables('idserverAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('identityConfigCommerceMsDeployPackageUrl')]", + "setParameters": { + "IIS Web Application Name": "[variables('idserverAppNameTidy')]", + "BizFxHostName": "[variables('bizfxAppFqdnTidy')]", + "ShopsHostName": "[variables('shopsWebAppFqdnTidy')]" + } + } + ] + } + }, + { + "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('cdWebAppNameTidy'), '/', 'appsettings')]", + "type": "Microsoft.Web/sites/config", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ + "[resourceId('Microsoft.Resources/deployments', concat(concat(deployment().name, '-cec-az')))]", + "[resourceId('Microsoft.Resources/deployments', concat(concat(deployment().name, '-cec-solr')))]" + ], + "properties": { + "WEBSITE_LOAD_CERTIFICATES": "[parameters('authCertificateThumbprint')]" + } + }, + { + "name": "[concat(variables('cmWebAppNameTidy'), '/', 'appsettings')]", + "type": "Microsoft.Web/sites/config", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ + "[resourceId('Microsoft.Resources/deployments', concat(concat(deployment().name, '-cec-az')))]", + "[resourceId('Microsoft.Resources/deployments', concat(concat(deployment().name, '-cec-solr')))]" + ], + "properties": { + "WEBSITE_LOAD_CERTIFICATES": "[parameters('authCertificateThumbprint')]" + } + }, + { + "name": "[concat(variables('idserverAppNameTidy'), '/', 'appsettings')]", + "type": "Microsoft.Web/sites/config", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ + "[concat('Microsoft.Web/sites/', variables('idserverAppNameTidy'), '/Extensions/MSDeploy')]" + ], + "properties": { + "WEBSITE_LOAD_CERTIFICATES": "[parameters('authCertificateThumbprint')]" + } + } + ] +} diff --git a/Sitecore XC 9.2.0/XCScaled/nested/infrastructure.json b/Sitecore XC 9.2.0/XCScaled/nested/infrastructure.json new file mode 100644 index 00000000..4c2dbb12 --- /dev/null +++ b/Sitecore XC 9.2.0/XCScaled/nested/infrastructure.json @@ -0,0 +1,773 @@ +{ + "$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", + "redisApiVersion": "2016-04-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')))]", + "bizfxAppNameTidy": "[toLower(trim(parameters('bizfxAppName')))]", + "authCertificateNameTidy": "[toLower(trim(parameters('authCertificateName')))]", + "redisCacheNameTidy": "[toLower(trim(parameters('redisCacheName')))]", + "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')]" + }, + "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 + }, + "useApplicationInsights": { + "type": "bool", + "defaultValue": true + }, + "redisCacheName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-commerce-redis')]" + }, + "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": "S0" + }, + "sharedSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S1" + }, + "redisCache": { + "SkuName": "Standard", + "SkuFamily": "C", + "SkuCapacity": 1 + } + }, + "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" + }, + "redisCache": { + "SkuName": "Standard", + "SkuFamily": "C", + "SkuCapacity": 1 + } + }, + "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": "GeneralPurpose", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "GP_Gen4_2" + }, + "redisCache": { + "SkuName": "Standard", + "SkuFamily": "C", + "SkuCapacity": 1 + } + }, + "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": "GeneralPurpose", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "GP_Gen4_3" + }, + "redisCache": { + "SkuName": "Standard", + "SkuFamily": "C", + "SkuCapacity": 3 + } + }, + "Extra Large": { + "cmHostingPlan": { + "SkuName": "P3v2", + "SkuCapacity": 1 + }, + "cdHostingPlan": { + "SkuName": "P3v2", + "SkuCapacity": 6 + }, + "xcResourceIntensiveHostingPlan": { + "SkuName": "P3v2", + "SkuCapacity": 2 + }, + "engineHostingPlan": { + "SkuName": "P3v2", + "SkuCapacity": 3 + }, + "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": "GeneralPurpose", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "GP_Gen4_4" + }, + "redisCache": { + "SkuName": "Standard", + "SkuFamily": "C", + "SkuCapacity": 4 + } + } + } + }, + "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('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 + } + } + }, + { + "type": "Microsoft.Cache/Redis", + "name": "[variables('redisCacheNameTidy')]", + "apiVersion": "[variables('redisApiVersion')]", + "location": "[parameters('location')]", + "properties": { + "sku": { + "name": "[parameters('resourceSizes').redisCache.SkuName]", + "family": "[parameters('resourceSizes').redisCache.SkuFamily]", + "capacity": "[parameters('resourceSizes').redisCache.SkuCapacity]" + }, + "enableNonSslPort": false + }, + "tags": { + "provider": "[variables('sitecoreTags').provider]" + } + } + ], + "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]", + "bizfxAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('bizfxAppNameTidy')),variables('webApiVersion')).defaultHostName]", + "applicationInsightsKey": "[if(parameters('useApplicationInsights'), reference(resourceId('Microsoft.Insights/Components', concat(parameters('deploymentId'), '-ai')), variables('appInsightsApiVersion')).InstrumentationKey, '')]", + "authCertificateThumbprint": "[reference(resourceId('Microsoft.Web/certificates', variables('authCertificateNameTidy')), variables('certificateApiVersion')).thumbprint]", + "redisConfiguration": "[concat(reference(resourceId('Microsoft.Cache/Redis', variables('redisCacheNameTidy')), variables('redisApiVersion')).hostName, ':', reference(resourceId('Microsoft.Cache/Redis', variables('redisCacheNameTidy')), variables('redisApiVersion')).sslPort, ',password=', listKeys(resourceId('Microsoft.Cache/Redis', variables('redisCacheNameTidy')), variables('redisApiVersion')).primaryKey, ',ssl=True,abortConnect=False')]", + "redisInstanceName": "[reference(resourceId('Microsoft.Cache/Redis', variables('redisCacheNameTidy')), variables('redisApiVersion')).hostName]" + } + } + } +} diff --git a/Sitecore XC 9.2.0/XCScaled/sitecore.azuredeploy.parameters.json b/Sitecore XC 9.2.0/XCScaled/sitecore.azuredeploy.parameters.json new file mode 100644 index 00000000..36ffeb1c --- /dev/null +++ b/Sitecore XC 9.2.0/XCScaled/sitecore.azuredeploy.parameters.json @@ -0,0 +1,138 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "deploymentId": { + "value": "" + }, + "location": { + "value": "" + }, + "sitecoreAdminPassword": { + "value": "" + }, + "licenseXml": { + "value": "" + }, + "repAuthenticationApiKey": { + "value": "" + }, + "sqlServerLogin": { + "value": "" + }, + "sqlServerPassword": { + "value": "" + }, + "solrConnectionString": { + "value": "" + }, + "siMsDeployPackageUrl": { + "value": "" + }, + "cmMsDeployPackageUrl": { + "value": "" + }, + "cdMsDeployPackageUrl": { + "value": "" + }, + "prcMsDeployPackageUrl": { + "value": "" + }, + "repMsDeployPackageUrl": { + "value": "" + }, + "xcRefDataMsDeployPackageUrl": { + "value": "" + }, + "xcCollectMsDeployPackageUrl": { + "value": "" + }, + "xcSearchMsDeployPackageUrl": { + "value": "" + }, + "maOpsMsDeployPackageUrl": { + "value": "" + }, + "maRepMsDeployPackageUrl": { + "value": "" + }, + "cortexProcessingMsDeployPackageUrl": { + "value": "" + }, + "cortexReportingMsDeployPackageUrl": { + "value": "" + }, + "authCertificateBlob": { + "value": "" + }, + "authCertificatePassword": { + "value": "" + }, + "modules": { + "value": { + "items": [ + { + "name": "Commerce", + "templateLink": "", + "parameters": { + "templateLinkAccessToken": "", + "commerceConnectMsDeployPackageUrl": "", + "commerceEngineAzureMsDeployPackageUrl": "", + "commerceEngineSolrCloudMsDeployPackageUrl": "", + "commerceEngineConnectCdAzureMsDeployPackageUrl": "", + "commerceEngineConnectCmAzureMsDeployPackageUrl": "", + "commerceEngineConnectCdSolrMsDeployPackageUrl": "", + "commerceEngineConnectCmSolrMsDeployPackageUrl": "", + "identityConfigCommerceMsDeployPackageUrl": "", + "bizfxCloudMsDeployPackageUrl": "", + "adventureWorksImagesDeployPackageUrl": "", + "habitatImagesDeployPackageUrl": "", + "indexWorkerDefinitionsDeployPackageUrl": "", + "xConnectDefinitionsDeployPackageUrl": "", + "xProfileCoreDeployPackageUrl": "", + "xAnalyticsCoreDeployPackageUrl": "", + "maCoreDeployPackageUrl": "", + "maAzureDeployPackageUrl": "", + "braintreeMerchantId": "", + "braintreePublicKey": "", + "braintreePrivateKey": "", + "braintreeEnvironment": "", + "environmentName": "", + "defaultShopName": "", + "defaultShopCurrency": "", + "defaultShopLanguage": "" + } + }, + { + "name": "sxa", + "templateLink": "", + "parameters": { + "cdSxaMsDeployPackageUrl": "", + "cmSxaMsDeployPackageUrl": "", + "speMsDeployPackageUrl": "", + "solrSupportSxaMsDeployPackageUrl":"", + "templateLinkAccessToken": "" + } + }, + { + "name": "sxa-sf", + "templateLink": "", + "parameters": { + "sxaMsDeployPackageUrl": "", + "sxaStorefrontMsDeployPackageUrl": "", + "sxaHabitatCatalogMsDeployPackageUrl": "", + "sxaStorefrontThemesMsDeployPackageUrl": "" + } + }, + { + "name": "bootloader", + "templateLink": "", + "parameters": { + "msDeployPackageUrl": "" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/Sitecore XC 9.2.0/XCSingle/README.md b/Sitecore XC 9.2.0/XCSingle/README.md new file mode 100644 index 00000000..ca298899 --- /dev/null +++ b/Sitecore XC 9.2.0/XCSingle/README.md @@ -0,0 +1,44 @@ +# 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.2.0 is compatible with: Sitecore XP 9.2.0, SXA 1.9.0, SXA Storefront 3.0 + +## 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". diff --git a/Sitecore XC 9.2.0/XCSingle/azuredeploy.json b/Sitecore XC 9.2.0/XCSingle/azuredeploy.json new file mode 100644 index 00000000..a3fdcb69 --- /dev/null +++ b/Sitecore XC 9.2.0/XCSingle/azuredeploy.json @@ -0,0 +1,609 @@ +{ + "$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": { + "infrastructure": { + "siWebAppHostName": null + }, + "deploymentId": null, + "location": null, + "sitecoreAdminPassword": null, + + "sqlServerName": null, + "sqlServerLogin": null, + "sqlServerPassword": null, + + "coreSqlDatabaseName": null, + "masterSqlDatabaseName": null, + + "singleWebAppName": null, + "xcSingleWebAppName": null, + "authCertificateBlob": null, + "authCertificatePassword": null + } + }, + "extension": { + "type": "secureObject", + "defaultValue": { + "templateLinkAccessToken": "", + "commerceConnectMsDeployPackageUrl": null, + "commerceEngineCloudMsDeployPackageUrl": null, + "commerceEngineConnectMsDeployPackageUrl": null, + "identityConfigCommerceMsDeployPackageUrl": 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", + "sitecoreSKU": "Extra Small" + } + }, + + "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('extensionExpanded').sitecoreSKU, 'Extra 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'))]" + }, + "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')]" + }, + "singleHostingPlanName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-single-hp')]" + }, + "singleWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').singleWebAppName, concat(parameters('deploymentId'), '-single'))]" + }, + "xcSingleWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').xcSingleWebAppName, concat(parameters('deploymentId'), '-xc-single'))]" + }, + + "siWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[replace(coalesce(parameters('standard').infrastructure.siWebAppHostName, concat(parameters('deploymentId'), '-si')),'.azurewebsites.net','')]" + }, + "siWebAppHostName": { + "type": "string", + "minLength": 1, + "defaultValue": "[coalesce(parameters('standard').infrastructure.siWebAppHostName, concat(parameters('siWebAppName'), '.azurewebsites.net'))]" + }, + + "authCertificateBlob": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('standard').authCertificateBlob]" + }, + "authCertificatePassword": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('standard').authCertificatePassword]" + }, + "engineWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-engine')]" + }, + "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]" + }, + "commerceEngineConnectMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').commerceEngineConnectMsDeployPackageUrl]" + }, + "identityConfigCommerceMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1, + "defaultValue": "[parameters('extensionExpanded').identityConfigCommerceMsDeployPackageUrl]" + }, + "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')]" + }, + + "globalSqlDatabaseName": { + "value": "[parameters('globalSqlDatabaseName')]" + }, + "sharedSqlDatabaseName": { + "value": "[parameters('sharedSqlDatabaseName')]" + }, + "engineHostingPlanName": { + "value": "[parameters('engineHostingPlanName')]" + }, + "minionsHostingPlanName": { + "value": "[parameters('minionsHostingPlanName')]" + }, + "singleHostingPlanName": { + "value": "[parameters('singleHostingPlanName')]" + }, + "engineWebAppName": { + "value": "[parameters('engineWebAppName')]" + }, + "minionsWebAppName": { + "value": "[parameters('minionsWebAppName')]" + }, + "singleWebAppName": { + "value": "[parameters('singleWebAppName')]" + }, + "xcSingleWebAppName": { + "value": "[parameters('xcSingleWebAppName')]" + }, + "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')]" + }, + "singleWebAppName": { + "value": "[parameters('singleWebAppName')]" + }, + "xcSingleWebAppName": { + "value": "[parameters('xcSingleWebAppName')]" + }, + "engineWebAppName": { + "value": "[parameters('engineWebAppName')]" + }, + "minionsWebAppName": { + "value": "[parameters('minionsWebAppName')]" + }, + "commerceConnectMsDeployPackageUrl": { + "value": "[parameters('commerceConnectMsDeployPackageUrl')]" + }, + "commerceEngineCloudMsDeployPackageUrl": { + "value": "[parameters('commerceEngineCloudMsDeployPackageUrl')]" + }, + "commerceEngineConnectMsDeployPackageUrl": { + "value": "[parameters('commerceEngineConnectMsDeployPackageUrl')]" + }, + "identityConfigCommerceMsDeployPackageUrl": { + "value": "[parameters('identityConfigCommerceMsDeployPackageUrl')]" + }, + "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')]" + }, + + "idserverAppName": { + "value": "[parameters('siWebAppName')]" + }, + "idserverAppFqdn": { + "value": "[parameters('siWebAppHostName')]" + }, + + "passwordSalt": { + "value": "[parameters('passwordSalt')]" + }, + + "searchServiceName": { + "value": "[parameters('searchServiceName')]" + } + } + }, + "dependsOn": [ + "[resourceId('Microsoft.Resources/deployments', concat(deployment().name, '-infrastructure'))]" + ] + } + ] +} diff --git a/Sitecore XC 9.2.0/XCSingle/azuredeploy.parameters.json b/Sitecore XC 9.2.0/XCSingle/azuredeploy.parameters.json new file mode 100644 index 00000000..acd69ca6 --- /dev/null +++ b/Sitecore XC 9.2.0/XCSingle/azuredeploy.parameters.json @@ -0,0 +1,113 @@ +{ + "$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": "" + }, + "commerceEngineConnectMsDeployPackageUrl": { + "value": "" + }, + "identityConfigCommerceMsDeployPackageUrl": { + "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.2.0/XCSingle/nested/application.json b/Sitecore XC 9.2.0/XCSingle/nested/application.json new file mode 100644 index 00000000..7a5e0593 --- /dev/null +++ b/Sitecore XC 9.2.0/XCSingle/nested/application.json @@ -0,0 +1,606 @@ +{ + "$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')))]", + + "singleWebAppNameTidy": "[toLower(trim(parameters('singleWebAppName')))]", + "singleWebAppFqdnTidy": "[toLower(trim(parameters('singleWebAppFqdn')))]", + "xcSingleWebAppNameTidy": "[toLower(trim(parameters('xcSingleWebAppName')))]", + "xcSingleWebAppFqdnTidy": "[toLower(trim(parameters('xcSingleWebAppFqdn')))]", + + "engineWebAppNameTidy": "[toLower(trim(parameters('engineWebAppName')))]", + "engineWebAppFqdnTidy": "[toLower(trim(parameters('engineWebAppFqdn')))]", + "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')]", + + "singleWebAppFqdn": "[concat(parameters('deploymentId'), '-single.windowsazure.net')]", + "xcSingleWebAppFqdn": "[concat(parameters('deploymentId'), '-xc-single.windowsazure.net')]", + + "engineWebAppFqdn": "[concat(parameters('deploymentId'), '-engine.windowsazure.net')]", + "minionsWebAppFqdn": "[concat(parameters('deploymentId'), '-minions.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'))))]" + }, + + "singleWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-single')]" + }, + "xcSingleWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-xc-single')]" + }, + "singleWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').singleWebAppFqdn]" + }, + "xcSingleWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').xcSingleWebAppFqdn]" + }, + "engineWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-engine')]" + }, + "engineWebAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[parameters('infrastructure').engineWebAppFqdn]" + }, + "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'), '-si')]" + }, + "idserverAppFqdn": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('idserverAppName'), '.windowsazure.net')]" + }, + "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 + }, + "commerceEngineConnectMsDeployPackageUrl": { + "type": "securestring", + "minLength": 1 + }, + "identityConfigCommerceMsDeployPackageUrl": { + "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('singleWebAppNameTidy'), '/', '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('singleWebAppNameTidy')]", + "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('singleWebAppNameTidy')]", + "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('singleWebAppNameTidy')]", + "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('singleWebAppNameTidy')]", + "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('maAzureDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('singleWebAppNameTidy')]" + } + }, + { + "packageUri": "[parameters('commerceEngineConnectMsDeployPackageUrl')]", + "dbType": "SQL", + "connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", + "setParameters": { + "Application Path": "[variables('singleWebAppNameTidy')]", + "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('engineWebAppFqdnTidy'), '/commerceops/')]", + "Shops Service URL": "[concat('https://', variables('engineWebAppFqdnTidy'), '/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('singleWebAppNameTidy')]", + "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('singleWebAppNameTidy')]", + "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('xcSingleWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "addOnPackages": [ + { + "packageUri": "[parameters('xConnectDefinitionsDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('xcSingleWebAppNameTidy')]" + } + }, + { + "packageUri": "[parameters('indexWorkerDefinitionsDeployPackageUrl')]", + "setParameters": { + "Application Path": "[variables('xcSingleWebAppNameTidy')]" + } + } + ] + } + }, + { + "name": "[concat(variables('minionsWebAppNameTidy'), '/', 'MSDeploy')]", + "type": "Microsoft.Web/sites/extensions", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ "[concat('Microsoft.Web/sites/', variables('engineWebAppNameTidy'), '/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('singleWebAppFqdnTidy')]", + "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('engineWebAppNameTidy'), '/', '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('engineWebAppNameTidy')]", + + "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('singleWebAppFqdnTidy')]", + "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('identityConfigCommerceMsDeployPackageUrl')]", + "setParameters": { + "IIS Web Application Name": "[variables('idserverAppNameTidy')]", + "BizFxHostName": "[variables('bizfxAppFqdnTidy')]", + "ShopsHostName": "[variables('engineWebAppFqdnTidy')]" + } + } + ] + } + }, + { + "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('engineWebAppFqdnTidy'))]", + "IdentityServerUrl": "[concat('https://', variables('idserverAppFqdnTidy'))]", + "BizFxUrl":"[concat('https://', variables('bizfxAppFqdnTidy'))]" + } + } + ] + } + }, + { + "name": "[concat(variables('engineWebAppNameTidy'), '/', 'appsettings')]", + "type": "Microsoft.Web/sites/config", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "WEBSITE_LOAD_CERTIFICATES": "[parameters('authCertificateThumbprint')]" + }, + "dependsOn": [ + "[concat('Microsoft.Web/Sites/', variables('engineWebAppNameTidy'), '/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('idserverAppNameTidy'), '/', 'appsettings')]", + "type": "Microsoft.Web/sites/config", + "apiVersion": "[variables('webApiVersion')]", + "properties": { + "WEBSITE_LOAD_CERTIFICATES": "[parameters('authCertificateThumbprint')]" + } + } + ] +} diff --git a/Sitecore XC 9.2.0/XCSingle/nested/infrastructure.json b/Sitecore XC 9.2.0/XCSingle/nested/infrastructure.json new file mode 100644 index 00000000..ed8cd33f --- /dev/null +++ b/Sitecore XC 9.2.0/XCSingle/nested/infrastructure.json @@ -0,0 +1,406 @@ +{ + "$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')))]", + + "globalSqlDatabaseNameTidy": "[toLower(trim(parameters('globalSqlDatabaseName')))]", + "sharedSqlDatabaseNameTidy": "[toLower(trim(parameters('sharedSqlDatabaseName')))]", + + "engineHostingPlanNameTidy": "[toLower(trim(parameters('engineHostingPlanName')))]", + "minionsHostingPlanNameTidy": "[toLower(trim(parameters('minionsHostingPlanName')))]", + "singleHostingPlanNameTidy": "[toLower(trim(parameters('singleHostingPlanName')))]", + + "xcSingleWebAppNameTidy": "[toLower(trim(parameters('xcSingleWebAppName')))]", + "singleWebAppNameTidy": "[toLower(trim(parameters('singleWebAppName')))]", + + "engineWebAppNameTidy": "[toLower(trim(parameters('engineWebAppName')))]", + "minionsWebAppNameTidy": "[toLower(trim(parameters('minionsWebAppName')))]", + "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" + }, + + "globalSqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-engine-global-db')]" + }, + "sharedSqlDatabaseName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-engine-shared-db')]" + }, + + "xcSingleWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-xc-single')]" + }, + + "engineHostingPlanName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-engine-hp')]" + }, + "minionsHostingPlanName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-minions-hp')]" + }, + + "engineWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-engine')]" + }, + "minionsWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-minions')]" + }, + + "singleHostingPlanName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-single-hp')]" + }, + + "singleWebAppName": { + "type": "string", + "minLength": 1, + "defaultValue": "[concat(parameters('deploymentId'), '-single')]" + }, + + "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": { + "engineHostingPlan": { + "SkuName": "S1", + "SkuCapacity": 1 + }, + "minionsHostingPlan": { + "SkuName": "S1", + "SkuCapacity": 1 + }, + "globalSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S0" + }, + "sharedSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S0" + } + }, + "Small": { + "engineHostingPlan": { + "SkuName": "S1", + "SkuCapacity": 1 + }, + "minionsHostingPlan": { + "SkuName": "S1", + "SkuCapacity": 1 + }, + "globalSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S0" + }, + "sharedSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S0" + } + }, + "Medium": { + "engineHostingPlan": { + "SkuName": "S1", + "SkuCapacity": 1 + }, + "minionsHostingPlan": { + "SkuName": "S1", + "SkuCapacity": 1 + }, + "globalSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S0" + }, + "sharedSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S0" + } + }, + "Large": { + "engineHostingPlan": { + "SkuName": "S1", + "SkuCapacity": 1 + }, + "minionsHostingPlan": { + "SkuName": "S1", + "SkuCapacity": 1 + }, + "globalSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S0" + }, + "sharedSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S0" + } + }, + "Extra Large": { + "engineHostingPlan": { + "SkuName": "S1", + "SkuCapacity": 1 + }, + "minionsHostingPlan": { + "SkuName": "S1", + "SkuCapacity": 1 + }, + "globalSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S0" + }, + "sharedSqlDatabase": { + "Edition": "Standard", + "MaxSize": "268435456000", + "ServiceObjectiveLevel": "S0" + } + } + } + }, + "resourceSizes": { + "type": "object", + "defaultValue": "[parameters('skuMap')[parameters('sitecoreSKU')]]" + } + }, + "resources": [ + { + "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('singleHostingPlanNameTidy'))]" + ], + "properties": { + "password": "[parameters('authCertificatePassword')]", + "pfxBlob": "[parameters('authCertificateBlob')]" + } + }, + { + "type": "Microsoft.Web/serverfarms", + "name": "[variables('singleHostingPlanNameTidy')]", + "location": "[parameters('location')]", + "apiVersion": "[variables('serverFarmApiVersion')]" + }, + { + "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('engineWebAppNameTidy')]", + "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('engineWebAppNameTidy')]", + "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('bizfxAppNameTidy')]", + "type": "Microsoft.Web/sites", + "location": "[parameters('location')]", + "apiVersion": "[variables('webApiVersion')]", + "dependsOn": [ + "[resourceId('Microsoft.Web/serverfarms', variables('singleHostingPlanNameTidy'))]" + ], + "tags": { + "provider": "[variables('sitecoreTags').provider]" + }, + "properties": { + "name": "[variables('bizfxAppNameTidy')]", + "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('singleHostingPlanNameTidy'))]", + "siteConfig": { + "use32BitWorkerProcess": false + } + } + } + ], + "outputs": { + "infrastructure": { + "type": "object", + "value": { + "sqlServerFqdn": "[reference(concat('Microsoft.Sql/servers/', variables('sqlServerNameTidy')), variables('dbApiVersion')).fullyQualifiedDomainName]", + + "singleWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('singleWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", + "xcSingleWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('xcSingleWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", + "engineWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('engineWebAppNameTidy')),variables('webApiVersion')).defaultHostName]", + "minionsWebAppFqdn": "[reference(concat('Microsoft.Web/sites/', variables('minionsWebAppNameTidy')),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]" } + } + } +} diff --git a/Sitecore XC 9.2.0/XCSingle/sitecore.azuredeploy.parameters.json b/Sitecore XC 9.2.0/XCSingle/sitecore.azuredeploy.parameters.json new file mode 100644 index 00000000..81508f81 --- /dev/null +++ b/Sitecore XC 9.2.0/XCSingle/sitecore.azuredeploy.parameters.json @@ -0,0 +1,99 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", + "contentVersion": "1.0.0.0", + "parameters": { + "deploymentId": { + "value": "" + }, + "location": { + "value": "" + }, + "sitecoreAdminPassword": { + "value": "" + }, + "licenseXml": { + "value": "" + }, + "sqlServerLogin": { + "value": "" + }, + "sqlServerPassword": { + "value": "" + }, + "singleMsDeployPackageUrl": { + "value": "" + }, + "xcSingleMsDeployPackageUrl": { + "value": "" + }, + "authCertificateBlob": { + "value": "" + }, + "authCertificatePassword": { + "value": "" + }, + "allowInvalidClientCertificates": { + "value": true + }, + "modules": { + "value": { + "items": [ + { + "name": "Commerce", + "templateLink": "", + "parameters": { + "templateLinkAccessToken": "", + "commerceConnectMsDeployPackageUrl": "", + "commerceEngineCloudMsDeployPackageUrl": "", + "commerceEngineConnectMsDeployPackageUrl": "", + "identityConfigCommerceMsDeployPackageUrl": "", + "bizfxCloudMsDeployPackageUrl": "", + "adventureWorksImagesDeployPackageUrl": "", + "habitatImagesDeployPackageUrl": "", + "indexWorkerDefinitionsDeployPackageUrl": "", + "xConnectDefinitionsDeployPackageUrl": "", + "xProfileCoreDeployPackageUrl": "", + "xAnalyticsCoreDeployPackageUrl": "", + "maCoreDeployPackageUrl": "", + "maAzureDeployPackageUrl": "", + "environmentName": "", + "defaultShopName": "", + "defaultShopCurrency": "", + "defaultShopLanguage": "", + "braintreeMerchantId": "", + "braintreePublicKey": "", + "braintreePrivateKey": "", + "braintreeEnvironment": "" + } + }, + { + "name": "sxa", + "templateLink": "", + "parameters": + { + "sxaMsDeployPackageUrl": "", + "speMsDeployPackageUrl": "" + } + }, + { + "name": "sxa-sf", + "templateLink": "", + "parameters": { + "sxaMsDeployPackageUrl": "", + "sxaStorefrontMsDeployPackageUrl": "", + "sxaHabitatCatalogMsDeployPackageUrl": "", + "sxaStorefrontThemesMsDeployPackageUrl": "" + } + }, + { + "name": "bootloader", + "templateLink": "", + "parameters": { + "msDeployPackageUrl" : "" + } + } + ] + } + } + } +} \ No newline at end of file