Skip to content

Commit

Permalink
5.7.2 template updates
Browse files Browse the repository at this point in the history
  • Loading branch information
lukecolburn committed Jun 15, 2021
1 parent 55f8d45 commit 4adbbe3
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 30 deletions.
18 changes: 9 additions & 9 deletions Dynamics/InRule.Dynamics.Service.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,37 +104,37 @@
},
"inRuleVersion": {
"type": "string",
"defaultValue": "5.7.1",
"defaultValue": "5.7.2",
"metadata": {
"description": "Defines what version of the InRule Execution Service to deploy"
}
},
"createOrUpdateAppInsightsResource": {
"type": "bool",
"defaultValue": true,
"defaultValue": false,
"metadata": {
"description": "If set to true, provide a value for the appInsightsResourceName parameter. If set to false, you can provide a value for the appInsightsIntrumentationKey to associate your App Service with an existing App Insights resource"
"description": "(Deprecated, now conditionally triggered based on appInsightsInstrumentationKey) If set to true, provide a value for the appInsightsResourceName parameter. If set to false, you can provide a value for the appInsightsIntrumentationKey to associate your App Service with an existing App Insights resource"
}
},
"appInsightsInstrumentationKey": {
"type": "string",
"defaultValue": "AppInsightsInstrumentationKey",
"defaultValue": "",
"metadata": {
"description": "If createOrUpdateAppInsightsResource is set to false and you have an existing App Insights resource you'd like to use instead, provide the Instrumentation key here. If createOrUpdateAppInsightsResource is set to true, leave this blank and provide a value for 'appInsightsResourceName' instead"
"description": "Provide an Instrumentation Key if you have an existing App Insights resource you'd like to use for logging and telemetry. If you are configuring this in a nonstandard azure environment, please additionally provide an App Insights Connection String. Otherwise, leave this value blank and provide a value for the 'appInsightsResourceName' parameter, which will create the resource for you"
}
},
"appInsightsConnectionString": {
"type": "string",
"defaultValue": "[concat('InstrumentationKey=', parameters('appInsightsInstrumentationKey'), ';')]",
"metadata": {
"description": "If createOrUpdateAppInsightsResource is set to false and you have an existing App Insights resource you'd like to use instead, provide the Connection String here. If createOrUpdateAppInsightsResource is set to true, leave this blank and provide a value for 'appInsightsResourceName' instead"
"description": "Only override the default value here if you have an existing App Insights resource you'd like to use, AND you need to use a non-standard connection string. If you need to supply your own connection string, be sure to set that value here, as well as providing your instrumentation key in the appInsightsInstrumentationKey parameter. If you want this template to manage the App Insights resource for you, or only need to provide an instrumentation key, leave this value as the default and provide values for appInsightsResourceName or appInsightsInstrumentationKey instead"
}
},
"appInsightsResourceName": {
"type": "string",
"defaultValue": "[concat(parameters('appServiceName'),'AppInsights')]",
"metadata": {
"description": "If createOrUpdateAppInsightsResource is set to true, define the name of the Application Insights resource to deploy here. If createOrUpdateAppInsightsResource is set to false, leave this field blank"
"description": "Provide a name if you do not have an existing App Insights resource you'd like to use for logging and telemetry. Setting this value will create a new App Insights resource with the provided name. This defaults to appending 'AppInsights' to the App Service resource name, but you can provide your own name. If you have an existing resource you'd like to use, leave this value blank and provide one for the 'appInsightsInstrumentationKey' parameter"
}
},
"appInsightsLocation": {
Expand Down Expand Up @@ -178,7 +178,7 @@
"properties": {}
},
{
"condition": "[parameters('createOrUpdateAppInsightsResource')]",
"condition": "[or(empty(parameters('appInsightsInstrumentationKey')), parameters('createOrUpdateAppInsightsResource'))]",
"name": "[variables('appInsightsResourceName')]",
"type": "Microsoft.Insights/components",
"apiVersion": "2018-05-01-preview",
Expand Down Expand Up @@ -276,7 +276,7 @@
"inrule:crm:s2s:crmOrgUrl": "[parameters('orgUrl')]",
"inrule:repository:licensing:licenseFolder": "D:\\home\\site\\wwwroot",
"inrule:logging:level": "Warn",
"APPLICATIONINSIGHTS_CONNECTION_STRING": "[if(parameters('createOrUpdateAppInsightsResource'), reference(resourceId('Microsoft.Insights/components', parameters('appInsightsResourceName')), '2018-05-01-preview').ConnectionString, parameters('appInsightsConnectionString'))]"
"APPLICATIONINSIGHTS_CONNECTION_STRING": "[if(or(empty(parameters('appInsightsInstrumentationKey')), parameters('createOrUpdateAppInsightsResource')), reference(resourceId('Microsoft.Insights/components', parameters('appInsightsResourceName')), '2018-05-01-preview').ConnectionString, parameters('appInsightsConnectionString'))]"
}
},
{
Expand Down
11 changes: 7 additions & 4 deletions Dynamics/InRule.Dynamics.Service.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,20 @@
"appServicePlanName": {
"value": ""
},
"createOrUpdateAppServicePlan": {
"value": true
},
"inRuleVersion": {
"value": "5.7.1"
"value": "5.7.2"
},
"appInsightsInstrumentationKey": {
"value": ""
},
"appInsightsResourceName": {
"appInsightsConnectionString": {
"value": ""
},
"createOrUpdateAppServicePlan": {
"value": true
"appInsightsResourceName": {
"value": ""
}
}
}
2 changes: 1 addition & 1 deletion InRule.Catalog.Service.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
},
"inRuleVersion": {
"type": "string",
"defaultValue": "5.7.1",
"defaultValue": "5.7.2",
"metadata": {
"description": "Version of the catalog to deploy"
}
Expand Down
2 changes: 1 addition & 1 deletion InRule.Catalog.Service.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"value": "Basic"
},
"inRuleVersion": {
"value": "5.7.1"
"value": "5.7.2"
},
"catalogServicePlanName": {
"value": ""
Expand Down
2 changes: 1 addition & 1 deletion InRule.Runtime.Service.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
},
"inRuleVersion": {
"type": "string",
"defaultValue": "5.7.1",
"defaultValue": "5.7.2",
"metadata": {
"description": "Version of the execution service to deploy"
}
Expand Down
2 changes: 1 addition & 1 deletion InRule.Runtime.Service.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"value": ""
},
"inRuleVersion": {
"value": "5.7.1"
"value": "5.7.2"
},
"executionServicePlanName": {
"value": ""
Expand Down
19 changes: 9 additions & 10 deletions Salesforce/InRule.Salesforce.Service.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,37 +119,37 @@
},
"inRuleVersion": {
"type": "string",
"defaultValue": "5.7.1",
"defaultValue": "5.7.2",
"metadata": {
"description": "Defines what version of the InRule Execution Service to deploy"
}
},
"createOrUpdateAppInsightsResource": {
"type": "bool",
"defaultValue": true,
"defaultValue": false,
"metadata": {
"description": "If set to true, provide a value for the appInsightsResourceName parameter. If set to false, you can provide a value for the appInsightsIntrumentationKey to associate your App Service with an existing App Insights resource"
"description": "(Deprecated, now conditionally triggered based on appInsightsInstrumentationKey) If set to true, provide a value for the appInsightsResourceName parameter. If set to false, you can provide a value for the appInsightsIntrumentationKey to associate your App Service with an existing App Insights resource"
}
},
"appInsightsInstrumentationKey": {
"type": "string",
"defaultValue": "AppInsightsInstrumentationKey",
"defaultValue": "",
"metadata": {
"description": "If createOrUpdateAppInsightsResource is set to false and you have an existing App Insights resource you'd like to use instead, provide the Instrumentation key here. If createOrUpdateAppInsightsResource is set to true, leave this blank and provide a value for 'appInsightsResourceName' instead"
"description": "Provide an Instrumentation Key if you have an existing App Insights resource you'd like to use for logging and telemetry. If you are configuring this in a nonstandard azure environment, please additionally provide an App Insights Connection String. Otherwise, leave this value blank and provide a value for the 'appInsightsResourceName' parameter, which will create the resource for you"
}
},
"appInsightsConnectionString": {
"type": "string",
"defaultValue": "[concat('InstrumentationKey=', parameters('appInsightsInstrumentationKey'), ';')]",
"metadata": {
"description": "If createOrUpdateAppInsightsResource is set to false and you have an existing App Insights resource you'd like to use instead, provide the Connection String here. If createOrUpdateAppInsightsResource is set to true, leave this blank and provide a value for 'appInsightsResourceName' instead"
"description": "Only override the default value here if you have an existing App Insights resource you'd like to use, AND you need to use a non-standard connection string. If you need to supply your own connection string, be sure to set that value here, as well as providing your instrumentation key in the appInsightsInstrumentationKey parameter. If you want this template to manage the App Insights resource for you, or only need to provide an instrumentation key, leave this value as the default and provide values for appInsightsResourceName or appInsightsInstrumentationKey instead"
}
},
"appInsightsResourceName": {
"type": "string",
"defaultValue": "[concat(parameters('appServiceName'),'AppInsights')]",
"metadata": {
"description": "If createOrUpdateAppInsightsResource is set to true, define the name of the Application Insights resource to deploy here. If createOrUpdateAppInsightsResource is set to false, leave this field blank"
"description": "Provide a name if you do not have an existing App Insights resource you'd like to use for logging and telemetry. Setting this value will create a new App Insights resource with the provided name. This defaults to appending 'AppInsights' to the App Service resource name, but you can provide your own name. If you have an existing resource you'd like to use, leave this value blank and provide one for the 'appInsightsInstrumentationKey' parameter"
}
},
"appInsightsLocation": {
Expand Down Expand Up @@ -186,7 +186,7 @@
}
},
{
"condition": "[parameters('createOrUpdateAppInsightsResource')]",
"condition": "[or(empty(parameters('appInsightsInstrumentationKey')), parameters('createOrUpdateAppInsightsResource'))]",
"name": "[variables('appInsightsResourceName')]",
"type": "Microsoft.Insights/components",
"apiVersion": "2018-05-01-preview",
Expand Down Expand Up @@ -278,8 +278,7 @@
"inrule:sf:ruleService:basicPwd": "[parameters('executionServiceBasicPassword')]",
"inrule:repository:licensing:licenseFolder": "D:\\home\\site\\wwwroot",
"inrule:logging:level": "Warn",
"APPLICATIONINSIGHTS_CONNECTION_STRING": "[if(parameters('createOrUpdateAppInsightsResource'), reference(resourceId('Microsoft.Insights/components', parameters('appInsightsResourceName')), '2018-05-01-preview').ConnectionString, parameters('appInsightsConnectionString'))]",
"inrule:logging:appInsights:instrumentationKey": "[if(empty(parameters('appInsightsResourceName')), parameters('appInsightsInstrumentationKey'), reference(resourceId('Microsoft.Insights/components', parameters('appInsightsResourceName')), '2015-05-01').InstrumentationKey)]"
"APPLICATIONINSIGHTS_CONNECTION_STRING": "[if(or(empty(parameters('appInsightsInstrumentationKey')), parameters('createOrUpdateAppInsightsResource')), reference(resourceId('Microsoft.Insights/components', parameters('appInsightsResourceName')), '2018-05-01-preview').ConnectionString, parameters('appInsightsConnectionString'))]"
}
}
]
Expand Down
9 changes: 6 additions & 3 deletions Salesforce/InRule.Salesforce.Service.parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,20 @@
"appServicePlanName": {
"value": ""
},
"createOrUpdateAppServicePlan": {
"value": true
},
"inRuleVersion": {
"value": "5.7.1"
"value": "5.7.2"
},
"appInsightsResourceName": {
"value": ""
},
"appInsightsInstrumentationKey": {
"value": ""
},
"createOrUpdateAppServicePlan": {
"value": true
"appInsightsConnectionString": {
"value": ""
}
}
}

0 comments on commit 4adbbe3

Please sign in to comment.