Commit e1ccb323 authored by Viet Hoang's avatar Viet Hoang
Browse files

add Scripts for Sitecore Commerce 902

parent 024d54ef
This diff is collapsed.
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/">
<sitecore>
<settings>
<!-- XDB ENABLED
Determines whether xDB is enabled or not.
Default value: true
-->
<setting name="Xdb.Enabled" set:value="false" />
<!-- XDB DISABLED PAGE HANDLER
The URL of the page that is displayed when the Xdb is disabled.
All applications that depend on the Xdb must redirect to this page when Xdb is disabled.
-->
<setting name="Xdb.Tracking.Enabled" set:value="false" />
</settings>
<!-- SCHEDULING -->
<scheduling>
<frequency>00:00:00</frequency>
</scheduling>
</sitecore>
</configuration>
\ No newline at end of file
Function Invoke-InstallModuleTask {
[CmdletBinding()]
param(
[Parameter(Mandatory=$true)]
[string]$ModuleFullPath,
[Parameter(Mandatory=$true)]
[string]$ModulesDirDst,
[Parameter(Mandatory=$true)]
[string]$BaseUrl
)
Copy-Item $ModuleFullPath -destination $ModulesDirDst -force
$moduleToInstall = Split-Path -Path $ModuleFullPath -Leaf -Resolve
Write-Host "Installing module: " $moduleToInstall -ForegroundColor Green ;
$urlInstallModules = $BaseUrl + "/InstallModules.aspx?modules=" + $moduleToInstall
Write-Host $urlInstallModules
Invoke-RestMethod $urlInstallModules -TimeoutSec 7200
}
Function Invoke-InstallPackageTask {
[CmdletBinding()]
param(
[Parameter(Mandatory=$true)]
[string]$PackageFullPath,
[Parameter(Mandatory=$true)]
[string]$PackagesDirDst,
[Parameter(Mandatory=$true)]
[string]$BaseUrl
)
Copy-Item $PackageFullPath -destination $PackagesDirDst -force
$packageToInstall = Split-Path -Path $PackageFullPath -Leaf -Resolve
Write-Host "Installing package: " $packageToInstall -ForegroundColor Green ;
$urlInstallPackages = $BaseUrl + "/InstallPackages.aspx?package=" + $packageToInstall
Write-Host $urlInstallPackages
Invoke-RestMethod $urlInstallPackages -TimeoutSec 7200
}
Function Invoke-PublishToWebTask {
[CmdletBinding()]
param(
[Parameter(Mandatory=$true)]
[string]$BaseUrl
)
Write-Host "Publishing to web..." -ForegroundColor Green ;
Start-Sleep -Seconds 60
$urlPublish = $BaseUrl + "/Publish.aspx"
Invoke-RestMethod $urlPublish -TimeoutSec 7200
Write-Host "Publishing to web complete..." -ForegroundColor Green ;
}
Function Invoke-CreateDefaultStorefrontTask {
[CmdletBinding()]
param(
[Parameter(Mandatory=$true)]
[string]$BaseUrl,
[Parameter(Mandatory=$false)]
[string]$scriptName = "CreateDefaultStorefrontTenantAndSite",
[Parameter(Mandatory=$false)]
[string]$siteName = "",
[Parameter(Mandatory=$true)]
[string]$sitecoreUsername,
[Parameter(Mandatory=$true)]
[string]$sitecoreUserPassword
)
if($siteName -ne "")
{
Write-Host "Restarting the website and application pool for $($siteName)..." -ForegroundColor Green ;
Import-Module WebAdministration
Stop-WebSite $siteName
if((Get-WebAppPoolState $siteName).Value -ne 'Stopped')
{
Stop-WebAppPool -Name $siteName
}
Start-WebAppPool -Name $siteName
Start-WebSite $siteName
Write-Host "Restarting the website and application pool for $($siteName) complete..." -ForegroundColor Green ;
}
Write-Host "Creating the default storefront..." -ForegroundColor Green ;
#Added Try catch to avoid deployment failure due to an issue in SPE 4.7.1 - Once fixed, we can remove this
Try
{
$urlPowerShellScript = $BaseUrl + "/-/script/v2/master/$($scriptName)?user=$($sitecoreUsername)&password=$($sitecoreUserPassword)"
Invoke-RestMethod $urlPowerShellScript -TimeoutSec 12000
}
Catch
{
$errorMessage = $_.Exception.Message
Write-Host "Error occured: $errorMessage..." -ForegroundColor Red;
}
Write-Host "Creating the default storefront complete..." -ForegroundColor Green;
}
Function Invoke-RebuildIndexesTask {
[CmdletBinding()]
param(
[Parameter(Mandatory=$true)]
[string]$BaseUrl
)
Write-Host "Rebuilding index 'sitecore_core_index' ..." -ForegroundColor Green ;
$urlRebuildIndex = $BaseUrl + "/RebuildIndex.aspx?index=sitecore_core_index"
Invoke-RestMethod $urlRebuildIndex -TimeoutSec 6000
Write-Host "Rebuilding index 'sitecore_core_index' completed." -ForegroundColor Green ;
Write-Host "Rebuilding index 'sitecore_master_index' ..." -ForegroundColor Green ;
$urlRebuildIndex = $BaseUrl + "/RebuildIndex.aspx?index=sitecore_master_index"
Invoke-RestMethod $urlRebuildIndex -TimeoutSec 7200
Write-Host "Rebuilding index 'sitecore_master_index' completed." -ForegroundColor Green ;
Write-Host "Rebuilding index 'sitecore_web_index' ..." -ForegroundColor Green ;
$urlRebuildIndex = $BaseUrl + "/RebuildIndex.aspx?index=sitecore_web_index"
Invoke-RestMethod $urlRebuildIndex -TimeoutSec 7200
Write-Host "Rebuilding index 'sitecore_web_index' completed." -ForegroundColor Green ;
}
Function Invoke-GenerateCatalogTemplatesTask {
[CmdletBinding()]
param(
[Parameter(Mandatory=$true)]
[string]$BaseUrl
)
Write-Host "Generating Catalog Templates ..." -ForegroundColor Green ;
$urlGenerate = $BaseUrl + "/GenerateCatalogTemplates.aspx"
Invoke-RestMethod $urlGenerate -TimeoutSec 1800
Write-Host "Generating Catalog Templates completed." -ForegroundColor Green ;
}
Function Invoke-DisableConfigFilesTask {
[CmdletBinding()]
param(
[Parameter(Mandatory=$true)]
[string]$ConfigDir,
[parameter(Mandatory=$true)]
[string[]]$ConfigFileList
)
foreach ($configFileName in $ConfigFileList) {
Write-Host "Disabling config file: $configFileName" -ForegroundColor Green;
$configFilePath = Join-Path $ConfigDir -ChildPath $configFileName
$disabledFilePath = "$configFilePath.disabled";
if (Test-Path $configFilePath) {
Rename-Item -Path $configFilePath -NewName $disabledFilePath;
Write-Host " successfully disabled $configFilePath";
} else {
Write-Host " configuration file not found." -ForegroundColor Red;
}
}
}
Function Invoke-EnableConfigFilesTask {
[CmdletBinding()]
param(
[Parameter(Mandatory=$true)]
[string]$ConfigDir,
[parameter(Mandatory=$true)]
[string[]]$ConfigFileList
)
foreach ($configFileName in $ConfigFileList) {
Write-Host "Enabling config file: $configFileName" -ForegroundColor Green;
$configFilePath = Join-Path $ConfigDir -ChildPath $configFileName
$disabledFilePath = "$configFilePath.disabled";
$exampleFilePath = "$configFilePath.example";
if (Test-Path $configFilePath) {
Write-Host " config file is already enabled...";
} elseif (Test-Path $disabledFilePath) {
Rename-Item -Path $disabledFilePath -NewName $configFileName;
Write-Host " successfully enabled $disabledFilePath";
} elseif (Test-Path $exampleFilePath) {
Rename-Item -Path $exampleFilePath -NewName $configFileName;
Write-Host " successfully enabled $exampleFilePath";
} else {
Write-Host " configuration file not found." -ForegroundColor Red;
}
}
}
Function Invoke-ExpandArchive {
[CmdletBinding()]
param(
[Parameter(Mandatory=$true)]
[string]$SourceZip,
[parameter(Mandatory=$true)]
[string]$DestinationPath
)
Expand-Archive $SourceZip -DestinationPath $DestinationPath -Force
}
Register-SitecoreInstallExtension -Command Invoke-InstallModuleTask -As InstallModule -Type Task -Force
Register-SitecoreInstallExtension -Command Invoke-InstallPackageTask -As InstallPackage -Type Task -Force
Register-SitecoreInstallExtension -Command Invoke-PublishToWebTask -As PublishToWeb -Type Task -Force
Register-SitecoreInstallExtension -Command Invoke-RebuildIndexesTask -As RebuildIndexes -Type Task -Force
Register-SitecoreInstallExtension -Command Invoke-GenerateCatalogTemplatesTask -As GenerateCatalogTemplates -Type Task -Force
Register-SitecoreInstallExtension -Command Invoke-EnableConfigFilesTask -As EnableConfigFiles -Type Task -Force
Register-SitecoreInstallExtension -Command Invoke-DisableConfigFilesTask -As DisableConfigFiles -Type Task -Force
Register-SitecoreInstallExtension -Command Invoke-CreateDefaultStorefrontTask -As CreateDefaultStorefront -Type Task -Force
Register-SitecoreInstallExtension -Command Invoke-ExpandArchive -As ExpandArchive -Type Task -Force
# SIG # Begin signature block
# MIIXwQYJKoZIhvcNAQcCoIIXsjCCF64CAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQU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l8iVGBUUI8bGiJCWoq8D
# hmxf6R28hqFhreg2XhRC9ZYXRrRFPo2eO9wZP+i6tYkEB3FLJpChggILMIICBwYJ
# KoZIhvcNAQkGMYIB+DCCAfQCAQEwcjBeMQswCQYDVQQGEwJVUzEdMBsGA1UEChMU
# U3ltYW50ZWMgQ29ycG9yYXRpb24xMDAuBgNVBAMTJ1N5bWFudGVjIFRpbWUgU3Rh
# bXBpbmcgU2VydmljZXMgQ0EgLSBHMgIQDs/0OMj+vzVuBNhqmBsaUDAJBgUrDgMC
# GgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcN
# MTgwNjE0MTc1MTMyWjAjBgkqhkiG9w0BCQQxFgQU8PjQm4ne7nyHesLUVC7qZN9g
# Ky4wDQYJKoZIhvcNAQEBBQAEggEASFzCiO3Q+kk46K/lqybw9SDLolgRGMC8EwqV
# Zezpoadc+T54GyDPVxlMIPd8C1aHgVNGlPwg4a9cIuqhXLO1BcLyreOdWHE3Hrvm
# NNbCaWZW0J5rLKrpdcDh6Sfo83hFgWxO9zRv++KvuG1bW3Zi5maZzcVtzq2kuDJ5
# QCdu0WJdmVHN3EKFCh/T/IYUE/2FRYLIt9Vm1WA5zktwpmZJY2YBBXudMzWrnvsz
# hv71ZUzjhLvCQNbAAxa9C6+tlBMbyD4PKhMA+szjm4cwVdGuI19UQ2ItzpOltZg9
# nPrzDsMFOQDGEZmmlU0V98frgh2oDB+Sli6zZfWESnYcqKa77A==
# SIG # End signature block
param(
[string]$EngineSuffix = 'Sc9',
[string]$SitePrefix = "sc902com",
[string]$ScInstallDirectory = "D:\websites",
[string]$SiteHostHeaderName = "storefront.local",
[string]$SqlServer = "DESKTOP-XXXXXX\SqlServer",
[string]$SqlDbPrefix = "sc902com",
[string]$CommerceEngineCertificatePath = "..\storefront.local.cer",
[string]$CommerceSearchProvider = "SOLR",
[string]$SolrUrl = "https://localhost:8983/solr",
[string]$SolrRoot = "D:\sc901_install\solr-6.6.2",
[string]$SolrService = "Solr_6.6.2"
)
$global:DEPLOYMENT_DIRECTORY=Split-Path $MyInvocation.MyCommand.Path
$modulesPath=( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath "Modules" )
if ($env:PSModulePath -notlike "*$modulesPath*")
{
$p = $env:PSModulePath + ";" + $modulesPath
[Environment]::SetEnvironmentVariable("PSModulePath",$p)
}
$params = @{
CommerceServicesPostfix = "$($EngineSuffix)"
Path = Resolve-Path '.\Configuration\Commerce\Master_SingleServer.json'
SiteName = "$($SitePrefix).local"
SiteHostHeaderName = $SiteHostHeaderName
InstallDir = "$($ScInstallDirectory)\$($SitePrefix).local"
XConnectInstallDir = "$($ScInstallDirectory)\$($SitePrefix).xconnect.local"
CertificateName = "$($SitePrefix).local"
CommerceServicesDbServer = $SqlServer #OR "SQLServerName\SQLInstanceName"
CommerceServicesDbName = "SitecoreCommerce9_SharedEnvironments"
CommerceServicesGlobalDbName = "SitecoreCommerce9_Global"
SitecoreDbServer = $SqlServer #OR "SQLServerName\SQLInstanceName"
SitecoreCoreDbName = "$($SqlDbPrefix)_Core"
SitecoreUsername = "sitecore\admin"
SitecoreUserPassword = "b"
CommerceSearchProvider = $CommerceSearchProvider
SolrUrl = "$($SolrUrl)"
SolrRoot = "$($SolrRoot)"
SolrService = "$($SolrService)"
SolrSchemas = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath "SolrSchemas" )
SearchIndexPrefix = ""
AzureSearchServiceName = ""
AzureSearchAdminKey = ""
AzureSearchQueryKey = ""
CommerceEngineDacPac = Resolve-Path -Path "..\Sitecore.Commerce.Engine.DB.dacpac"
CommerceOpsServicesPort = "5015"
CommerceShopsServicesPort = "5005"
CommerceAuthoringServicesPort = "5000"
CommerceMinionsServicesPort = "5010"
SitecoreCommerceEngineZipPath = Resolve-Path -Path "..\Sitecore.Commerce.Engine.2*.zip"
SitecoreBizFxServicesContentPath = Resolve-Path -Path "..\Sitecore.BizFX.1.2.19"
SitecoreIdentityServerZipPath = Resolve-Path -Path "..\Sitecore.IdentityServer.1.*.zip"
CommerceEngineCertificatePath = Resolve-Path -Path "$($CommerceEngineCertificatePath)"
SiteUtilitiesSrc = ( Join-Path -Path $DEPLOYMENT_DIRECTORY -ChildPath "SiteUtilityPages" )
HabitatImagesModuleFullPath = Resolve-Path -Path "..\Sitecore.Commerce.Habitat.Images-*.zip"
AdvImagesModuleFullPath = Resolve-Path -Path "..\Adventure Works Images.zip"
CommerceConnectModuleFullPath = Resolve-Path -Path "..\Sitecore Commerce Connect*.zip"
CommercexProfilesModuleFullPath = Resolve-Path -Path "..\Sitecore Commerce ExperienceProfile Core *.zip"
CommercexAnalyticsModuleFullPath = Resolve-Path -Path "..\Sitecore Commerce ExperienceAnalytics Core *.zip"
CommerceMAModuleFullPath = Resolve-Path -Path "..\Sitecore Commerce Marketing Automation Core *.zip"
CommerceMAForAutomationEngineModuleFullPath = Resolve-Path -Path "..\Sitecore Commerce Marketing Automation for AutomationEngine *.zip"
CEConnectPackageFullPath = Resolve-Path -Path "..\Sitecore.Commerce.Engine.Connect*.update"
PowerShellExtensionsModuleFullPath = Resolve-Path -Path "..\Sitecore PowerShell Extensions*.zip"
SXAModuleFullPath = Resolve-Path -Path "..\Sitecore Experience Accelerator*.zip"
SXACommerceModuleFullPath = Resolve-Path -Path "..\Sitecore Commerce Experience Accelerator 1.*.zip"
SXAStorefrontModuleFullPath = Resolve-Path -Path "..\Sitecore Commerce Experience Accelerator Storefront 1.*.zip"
SXAStorefrontThemeModuleFullPath = Resolve-Path -Path "..\Sitecore Commerce Experience Accelerator Storefront Themes*.zip"
SXAStorefrontCatalogModuleFullPath = Resolve-Path -Path "..\Sitecore Commerce Experience Accelerator Habitat Catalog*.zip"
MergeToolFullPath = Resolve-Path -Path "..\Microsoft.Web.XmlTransform.dll"
UserAccount = @{
Domain = $Env:COMPUTERNAME
UserName = 'WindowsUserName'
Password = 'WindowsUserPassword'
}
BraintreeAccount = @{
MerchantId = ''
PublicKey = ''
PrivateKey = ''
}
SitecoreIdentityServerName = "SitecoreIdentityServer"
}
if ($CommerceSearchProvider -eq "SOLR") {
Install-SitecoreConfiguration @params
}
elseif ($CommerceSearchProvider -eq "AZURE"){
Install-SitecoreConfiguration @params -Skip InstallSolrCores
}
# SIG # Begin signature block
# MIIXwQYJKoZIhvcNAQcCoIIXsjCCF64CAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQU2A4zbikI1U2u89We6OodK+3R
# VQ+gghL8MIID7jCCA1egAwIBAgIQfpPr+3zGTlnqS5p31Ab8OzANBgkqhkiG9w0B
# AQUFADCBizELMAkGA1UEBhMCWkExFTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTEUMBIG
# A1UEBxMLRHVyYmFudmlsbGUxDzANBgNVBAoTBlRoYXd0ZTEdMBsGA1UECxMUVGhh
# d3RlIENlcnRpZmljYXRpb24xHzAdBgNVBAMTFlRoYXd0ZSBUaW1lc3RhbXBpbmcg
# Q0EwHhcNMTIxMjIxMDAwMDAwWhcNMjAxMjMwMjM1OTU5WjBeMQswCQYDVQQGEwJV
# UzEdMBsGA1UEChMUU3ltYW50ZWMgQ29ycG9yYXRpb24xMDAuBgNVBAMTJ1N5bWFu
# dGVjIFRpbWUgU3RhbXBpbmcgU2VydmljZXMgQ0EgLSBHMjCCASIwDQYJKoZIhvcN
# AQEBBQADggEPADCCAQoCggEBALGss0lUS5ccEgrYJXmRIlcqb9y4JsRDc2vCvy5Q
# WvsUwnaOQwElQ7Sh4kX06Ld7w3TMIte0lAAC903tv7S3RCRrzV9FO9FEzkMScxeC
# i2m0K8uZHqxyGyZNcR+xMd37UWECU6aq9UksBXhFpS+JzueZ5/6M4lc/PcaS3Er4
# ezPkeQr78HWIQZz/xQNRmarXbJ+TaYdlKYOFwmAUx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