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

add Scripts for Sitecore Commerce 930

parent 2505dd93
{
"Parameters": {
"CommerceInstallRoot": {
"Type": "string",
"Description": "The root path of commerce services.",
"DefaultValue": ""
},
"CommerceEngineWdpFullPath": {
"Type": "string",
"Description": "The path to the Web Deploy package to deploy.",
......@@ -181,7 +186,7 @@
"Environment.Name": "[parameter('EnvironmentName')]",
"Host.Prefix": "[parameter('HostPrefix')]",
"Minion.Instance": "[parameter('MinionInstance')]",
"Site.PhysicalPath": "[joinpath(environment('SystemDrive'), 'inetpub', 'wwwroot', variable('Site.Name'))]",
"Site.PhysicalPath": "[joinpath(parameter('CommerceInstallRoot'), variable('Site.Name'))]",
"Client.Cert.Store": "cert:\\LocalMachine\\My",
"Security.Localhost.CertificateThumbprint": "[GetCertificateThumbprint('localhost', variable('Client.Cert.Store'))]",
"DnsName": "[concat('*.', parameter('CommerceServicesHostPostfix'))]",
......
{
"Parameters": {
"CommerceInstallRoot": {
"Type": "string",
"Description": "The root path of commerce services.",
"DefaultValue": ""
},
"SiteHostHeaderName": {
"Type": "string",
"Description": "The host header name of the site to be deployed.",
......@@ -225,6 +230,10 @@
"CommerceEngine-Pre:RedisInstallationPath": {
"Type": "string",
"Reference": "RedisInstallationPath"
},
"CommerceEngine-Ops:CommerceInstallRoot": {
"Type": "string",
"Reference": "CommerceInstallRoot"
},
"CommerceEngine-Ops:CommerceEngineWdpFullPath": {
"Type": "string",
......@@ -333,6 +342,10 @@
"CommerceEngine-Ops:RedisInstanceName": {
"Type": "string",
"Reference": "RedisInstanceName"
},
"CommerceEngine-Shops:CommerceInstallRoot": {
"Type": "string",
"Reference": "CommerceInstallRoot"
},
"CommerceEngine-Shops:CommerceEngineWdpFullPath": {
"Type": "string",
......@@ -441,6 +454,10 @@
"CommerceEngine-Shops:RedisInstanceName": {
"Type": "string",
"Reference": "RedisInstanceName"
},
"CommerceEngine-Authoring:CommerceInstallRoot": {
"Type": "string",
"Reference": "CommerceInstallRoot"
},
"CommerceEngine-Authoring:CommerceEngineWdpFullPath": {
"Type": "string",
......@@ -549,6 +566,10 @@
"CommerceEngine-Authoring:RedisInstanceName": {
"Type": "string",
"Reference": "RedisInstanceName"
},
"CommerceEngine-Minions:CommerceInstallRoot": {
"Type": "string",
"Reference": "CommerceInstallRoot"
},
"CommerceEngine-Minions:CommerceEngineWdpFullPath": {
"Type": "string",
......
......@@ -384,6 +384,10 @@
"Solr:SearchIndexPrefix": {
"Type": "string",
"Reference": "SearchIndexPrefix"
},
"CommerceEngine:CommerceInstallRoot": {
"Type": "string",
"Reference": "CommerceInstallRoot"
},
"CommerceEngine:SiteHostHeaderName": {
"Type": "string",
......
$bytes = New-Object Byte[] 32
$rand = [System.Security.Cryptography.RandomNumberGenerator]::Create()
$rand.GetBytes($bytes)
$rand.Dispose()
$newClientSecret = [System.Convert]::ToBase64String($bytes)
Write-Host $newClientSecret
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment