diff --git a/Dynamics/InRule.Dynamics.Service.json b/Dynamics/InRule.Dynamics.Service.json index 70ded07..735a1c9 100644 --- a/Dynamics/InRule.Dynamics.Service.json +++ b/Dynamics/InRule.Dynamics.Service.json @@ -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": { @@ -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", @@ -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'))]" } }, { diff --git a/Dynamics/InRule.Dynamics.Service.parameters.json b/Dynamics/InRule.Dynamics.Service.parameters.json index e338225..becdb07 100644 --- a/Dynamics/InRule.Dynamics.Service.parameters.json +++ b/Dynamics/InRule.Dynamics.Service.parameters.json @@ -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": "" } } } diff --git a/InRule.Catalog.Service.json b/InRule.Catalog.Service.json index 1cc8f97..408b6ec 100644 --- a/InRule.Catalog.Service.json +++ b/InRule.Catalog.Service.json @@ -106,7 +106,7 @@ }, "inRuleVersion": { "type": "string", - "defaultValue": "5.7.1", + "defaultValue": "5.7.2", "metadata": { "description": "Version of the catalog to deploy" } diff --git a/InRule.Catalog.Service.parameters.json b/InRule.Catalog.Service.parameters.json index e16cd74..7bb40be 100644 --- a/InRule.Catalog.Service.parameters.json +++ b/InRule.Catalog.Service.parameters.json @@ -30,7 +30,7 @@ "value": "Basic" }, "inRuleVersion": { - "value": "5.7.1" + "value": "5.7.2" }, "catalogServicePlanName": { "value": "" diff --git a/InRule.Runtime.Service.json b/InRule.Runtime.Service.json index 28f528c..e9bea58 100644 --- a/InRule.Runtime.Service.json +++ b/InRule.Runtime.Service.json @@ -51,7 +51,7 @@ }, "inRuleVersion": { "type": "string", - "defaultValue": "5.7.1", + "defaultValue": "5.7.2", "metadata": { "description": "Version of the execution service to deploy" } diff --git a/InRule.Runtime.Service.parameters.json b/InRule.Runtime.Service.parameters.json index 1fa2fcc..5cce46f 100644 --- a/InRule.Runtime.Service.parameters.json +++ b/InRule.Runtime.Service.parameters.json @@ -12,7 +12,7 @@ "value": "" }, "inRuleVersion": { - "value": "5.7.1" + "value": "5.7.2" }, "executionServicePlanName": { "value": "" diff --git a/Salesforce/InRule.Salesforce.Service.json b/Salesforce/InRule.Salesforce.Service.json index ec4f9f7..455f5a1 100644 --- a/Salesforce/InRule.Salesforce.Service.json +++ b/Salesforce/InRule.Salesforce.Service.json @@ -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": { @@ -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", @@ -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'))]" } } ] diff --git a/Salesforce/InRule.Salesforce.Service.parameters.json b/Salesforce/InRule.Salesforce.Service.parameters.json index c28dccd..b108ba1 100644 --- a/Salesforce/InRule.Salesforce.Service.parameters.json +++ b/Salesforce/InRule.Salesforce.Service.parameters.json @@ -41,8 +41,11 @@ "appServicePlanName": { "value": "" }, + "createOrUpdateAppServicePlan": { + "value": true + }, "inRuleVersion": { - "value": "5.7.1" + "value": "5.7.2" }, "appInsightsResourceName": { "value": "" @@ -50,8 +53,8 @@ "appInsightsInstrumentationKey": { "value": "" }, - "createOrUpdateAppServicePlan": { - "value": true + "appInsightsConnectionString": { + "value": "" } } }