-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/Sitecore/Sitecore-Azure-Q…
- Loading branch information
Showing
19 changed files
with
3,035 additions
and
515 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Sitecore Experience Accelerator Storefront (SXA Storefront) module for Sitecore XP Environment | ||
|
||
|
||
This template deploys the SXA Storefront module into a Sitecore XP Environment. SXA Storefront requires Sitecore XC and SXA modules. | ||
|
||
SXA Storefront 1.2 is compatible with: Sitecore XP 9.0.2, Sitecore XC 9.0.2, SXA 1.7.1. | ||
|
||
## 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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'), ';')]" } | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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": "" | ||
} | ||
} | ||
} |
Oops, something went wrong.