Skip to content

Commit

Permalink
New field added to provide a option to customer to choose the Data Se…
Browse files Browse the repository at this point in the history
…rializer option (#17686)

Co-authored-by: Philipson Joseph V <v-philv@microsoft.com>
  • Loading branch information
PhilipsonJoseph and Philipson Joseph V authored Jan 31, 2023
1 parent 5f24aae commit e2ff23b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"loc.friendlyName": "Publish To Azure Service Bus",
"loc.helpMarkDown": "[More Information](https://go.microsoft.com/fwlink/?linkid=870237)",
"loc.helpMarkDown": "[Learn more about this task](https://go.microsoft.com/fwlink/?linkid=870237)",
"loc.description": "Sends a message to Azure Service Bus using a service connection (no agent is required)",
"loc.instanceNameFormat": "Publish to Azure Service Bus",
"loc.group.displayName.advancedProperties": "Advanced",
Expand All @@ -17,5 +17,7 @@
"loc.input.label.signatureKey": "Signature Property Key",
"loc.input.help.signatureKey": "Key where you want signature to be in Message Properties. If left Empty, default is 'signature' in message properties",
"loc.input.label.waitForCompletion": "Wait for task completion",
"loc.input.help.waitForCompletion": "If this is true, this task will wait for TaskCompleted event for the specified task timeout."
"loc.input.help.waitForCompletion": "If this is true, this task will wait for TaskCompleted event for the specified task timeout.",
"loc.input.label.useDataContractSerializer": "Use .NET data contract serailizer",
"loc.input.help.useDataContractSerializer": "For more details go to task documentation"
}
11 changes: 10 additions & 1 deletion Tasks/PublishToAzureServiceBusV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 1,
"Minor": 198,
"Minor": 217,
"Patch": 0
},
"groups": [
Expand Down Expand Up @@ -97,6 +97,14 @@
"defaultValue": "false",
"required": true,
"helpMarkDown": "If this is true, this task will wait for TaskCompleted event for the specified task timeout."
},
{
"name": "useDataContractSerializer",
"type": "boolean",
"label": "Use .NET data contract serailizer",
"required": true,
"defaultValue": "true",
"helpMarkDown": "For more details go to task documentation"
}
],
"instanceNameFormat": "Publish to Azure Service Bus",
Expand All @@ -115,6 +123,7 @@
"sessionId": "$(sessionId)",
"certificateString": "{{#notEquals signPayload 'false' 1}}{{#notEquals endpoint.signPayload 'false' 1}}$(certificateString){{/notEquals}}{{else}}{{/notEquals}}",
"signaturePropertyKey": "$(signatureKey)",
"useDataContractSerializer": "$(useDataContractSerializer)",
"messageProperties": {
"PlanUrl": "$(system.CollectionUri)",
"ProjectId": "$(system.TeamProjectId)",
Expand Down
11 changes: 10 additions & 1 deletion Tasks/PublishToAzureServiceBusV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 1,
"Minor": 198,
"Minor": 217,
"Patch": 0
},
"groups": [
Expand Down Expand Up @@ -97,6 +97,14 @@
"defaultValue": "false",
"required": true,
"helpMarkDown": "ms-resource:loc.input.help.waitForCompletion"
},
{
"name": "useDataContractSerializer",
"type": "boolean",
"label": "ms-resource:loc.input.label.useDataContractSerializer",
"required": true,
"defaultValue": "true",
"helpMarkDown": "ms-resource:loc.input.help.useDataContractSerializer"
}
],
"instanceNameFormat": "ms-resource:loc.instanceNameFormat",
Expand All @@ -115,6 +123,7 @@
"sessionId": "$(sessionId)",
"certificateString": "{{#notEquals signPayload 'false' 1}}{{#notEquals endpoint.signPayload 'false' 1}}$(certificateString){{/notEquals}}{{else}}{{/notEquals}}",
"signaturePropertyKey": "$(signatureKey)",
"useDataContractSerializer": "$(useDataContractSerializer)",
"messageProperties": {
"PlanUrl": "$(system.CollectionUri)",
"ProjectId": "$(system.TeamProjectId)",
Expand Down

0 comments on commit e2ff23b

Please sign in to comment.