Skip to content

Commit

Permalink
Merge pull request #16 from InRule/5.5.0-Updates
Browse files Browse the repository at this point in the history
Update Arm Temps for 5.5.0
  • Loading branch information
Connor-Lynch authored Dec 5, 2019
2 parents 3b89a17 + 146a171 commit b078cff
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 12 deletions.
29 changes: 25 additions & 4 deletions Dynamics/InRule.Dynamics.Service.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,36 @@
"appInsightsInstrumentationKey": {
"type": "string"
},
"appInsightsResourceName": {
"type": "string"
},
"appInsightsLocation": {
"type": "string",
"defaultValue": "[resourceGroup().location]"
},
"packageUri": {
"type": "string",
"defaultValue": "[concat('https://github.com/InRule/AzureAppServices/releases/download/v', parameters('inRuleVersion'),'/InRule.CRM.WebJob.zip')]"
}
},
"variables": {
"appServicePlanName": "[if(empty(parameters('appServicePlanName')), concat(parameters('appServiceName'),'Plan'), parameters('appServicePlanName'))]"
"appServicePlanName": "[if(empty(parameters('appServicePlanName')), concat(parameters('appServiceName'),'Plan'), parameters('appServicePlanName'))]",
"appInsightsResourceName": "[if(empty(parameters('appInsightsResourceName')), concat(parameters('appServiceName'),'Insights'), parameters('appInsightsResourceName'))]"
},
"resources": [
{
"condition": "[not(empty(parameters('appInsightsResourceName')))]",
"name": "[variables('appInsightsResourceName')]",
"type": "Microsoft.Insights/components",
"apiVersion": "2015-05-01",
"location": "[parameters('appInsightsLocation')]",
"kind": "web",
"tags": {
"[concat('hidden-link:', resourceGroup().id, '/providers/Microsoft.Web/sites/', parameters('appInsightsResourceName'))]": "Resource"
},
"properties": {
}
},
{
"condition": "[parameters('createAppServicePlan')]",
"name": "[variables('appServicePlanName')]",
Expand Down Expand Up @@ -162,7 +183,7 @@
"inrule:crm:s2s:crmOrgUrl": "[parameters('orgUrl')]",
"inrule:repository:licensing:licenseFolder": "D:\\home\\site\\wwwroot",
"inrule:logging:level": "Warn",
"inrule:logging:appInsights:instrumentationKey": "[parameters('appInsightsInstrumentationKey')]"
"inrule:logging:appInsights:instrumentationKey": "[if(empty(parameters('appInsightsResourceName')), parameters('appInsightsInstrumentationKey'), reference(resourceId('Microsoft.Insights/components', parameters('appInsightsResourceName'))).InstrumentationKey)]"
}
},
{
Expand All @@ -175,7 +196,7 @@
"[concat('Microsoft.Web/sites/', parameters('appServiceName'))]"
],
"properties": {
"DynamicsCrm": {
"DynamicsCRM": {
"value": "[parameters('crmConnectionString')]",
"type": "Custom"
}
Expand All @@ -195,6 +216,6 @@
"relayKey": {
"type": "string",
"value": "[listKeys(resourceId('Microsoft.Relay/namespaces/authorizationRules', parameters('relayName'), 'RootManageSharedAccessKey'), providers('Microsoft.Relay', 'namespaces').apiVersions[0]).primaryKey]"
}
}
}
}
5 changes: 4 additions & 1 deletion Dynamics/InRule.Dynamics.Service.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"value": ""
},
"crmConnectionString": {
"value": ""
"value": ""
},
"appServicePlanName": {
"value": ""
Expand All @@ -37,6 +37,9 @@
},
"appInsightsInstrumentationKey": {
"value": ""
},
"appInsightsResourceName": {
"value": ""
}
}
}
39 changes: 33 additions & 6 deletions Salesforce/InRule.Salesforce.Service.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,21 +82,47 @@
"type": "string",
"defaultValue": "5.5.0"
},
"appInsightsInstrumentationKey": {
"type": "string"
},
"appInsightsResourceName": {
"type": "string"
},
"appInsightsLocation": {
"type": "string",
"defaultValue": "[resourceGroup().location]"
},
"packageUri": {
"type": "string",
"defaultValue": "[concat('https://github.com/InRule/AzureAppServices/releases/download/v', parameters('inRuleVersion'),'/InRule.Salesforce.WebService.zip')]"
}
},
"variables": {},
"variables": {
"appServicePlanName": "[if(empty(parameters('appServicePlanName')), concat(parameters('appServiceName'),'Plan'), parameters('appServicePlanName'))]",
"appInsightsResourceName": "[if(empty(parameters('appInsightsResourceName')), concat(parameters('appServiceName'),'Insights'), parameters('appInsightsResourceName'))]"
},
"resources": [
{
"condition": "[not(empty(parameters('appInsightsResourceName')))]",
"name": "[variables('appInsightsResourceName')]",
"type": "Microsoft.Insights/components",
"apiVersion": "2015-05-01",
"location": "[parameters('appInsightsLocation')]",
"kind": "web",
"tags": {
"[concat('hidden-link:', resourceGroup().id, '/providers/Microsoft.Web/sites/', parameters('appInsightsResourceName'))]": "Resource"
},
"properties": {
}
},
{
"condition": "[parameters('createAppServicePlan')]",
"name": "[parameters('appServicePlanName')]",
"name": "[variables('appServicePlanName')]",
"type": "Microsoft.Web/serverfarms",
"apiVersion": "2016-09-01",
"location": "[resourceGroup().location]",
"properties": {
"name": "[parameters('appServicePlanName')]"
"name": "[variables('appServicePlanName')]"
},
"sku": {
"name": "[parameters('appServicePlanSkuName')]"
Expand All @@ -108,13 +134,13 @@
"apiVersion": "2016-08-01",
"location": "[resourceGroup().location]",
"dependsOn": [
"[resourceId(parameters('servicePlanResourceGroupName'), 'Microsoft.Web/serverfarms', parameters('appServicePlanName'))]"
"[resourceId(parameters('servicePlanResourceGroupName'), 'Microsoft.Web/serverfarms', variables('appServicePlanName'))]"
],
"tags": {
"[concat('hidden-related:', resourceId(parameters('servicePlanResourceGroupName'), 'Microsoft.Web/serverfarms', parameters('appServicePlanName')))]": "Resource"
},
"properties": {
"serverFarmId": "[resourceId(parameters('servicePlanResourceGroupName'), 'Microsoft.Web/serverfarms', parameters('appServicePlanName'))]"
"serverFarmId": "[resourceId(parameters('servicePlanResourceGroupName'), 'Microsoft.Web/serverfarms', variables('appServicePlanName'))]"
},
"resources": [
{
Expand Down Expand Up @@ -154,7 +180,8 @@
"inrule:sf:ruleService:basicPwd": "[parameters('executionServiceBasicPassword')]",
"inrule:sf:ruleService:basicRealm": "[parameters('executionServiceBasicRealm')]",
"inrule:repository:licensing:licenseFolder": "D:\\home\\site\\wwwroot",
"inrule:logging:level": "Warn"
"inrule:logging:level": "Warn",
"inrule:logging:appInsights:instrumentationKey": "[if(empty(parameters('appInsightsResourceName')), parameters('appInsightsInstrumentationKey'), reference(resourceId('Microsoft.Insights/components', parameters('appInsightsResourceName'))).InstrumentationKey)]"
}
}
]
Expand Down
12 changes: 12 additions & 0 deletions Salesforce/InRule.Salesforce.Service.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@
},
"executionServiceBasicRealm": {
"value": ""
},
"appServicePlanName": {
"value": ""
},
"inRuleVersion": {
"value": "5.5.0"
},
"appInsightsResourceName": {
"value": ""
},
"appInsightsInstrumentationKey": {
"value": ""
}
}
}
2 changes: 1 addition & 1 deletion doc/ircatalog-arm-template-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ In this section we will be deploying the irCatalog® as well as the irCatalog Ma

If you have not done so already, please read the [prerequisites](../README.md#prerequisites) before you get started.

Get the template and parameters file from the `source.zip` here [here](https://github.com/InRule/AzureAppServices/releases). Both will be needed to continue with this deployment option.
Get the template and parameters file from the `source.zip` [here](https://github.com/InRule/AzureAppServices/releases). Both will be needed to continue with this deployment option.

# Update the template parameters

Expand Down

0 comments on commit b078cff

Please sign in to comment.