Skip to content

Commit bde855b

Browse files
authored
Revert "Merge release/trigger to main (#913)"
This reverts commit a4f3a30.
1 parent a4f3a30 commit bde855b

File tree

241 files changed

+343
-8374
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

241 files changed

+343
-8374
lines changed

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"omnisharp.enableEditorConfigSupport": true,
99
"omnisharp.enableRoslynAnalyzers": true,
1010
"yaml.schemas": {
11-
"https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/master/service-schema.json": "builds/azure-pipelines/**/*.yml"
12-
},
11+
"https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/master/service-schema.json": "builds/azure-pipelines/**/*.yml"
12+
},
1313
}

Directory.Packages.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<PackageVersion Include="Moq" Version="4.18.4" />
1616
<PackageVersion Include="xunit" Version="2.5.0" />
1717
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.0" />
18-
<PackageVersion Include="xRetry" Version="1.9.0" />
1918
<PackageVersion Include="Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator" Version="4.0.1" />
2019
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
2120
<PackageVersion Include="Microsoft.AspNetCore.Http" Version="2.2.2" />

README.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
# Azure SQL bindings for Azure Functions - Preview
1+
# Azure SQL bindings for Azure Functions
22

33
## Table of Contents
44

5-
- [Azure SQL bindings for Azure Functions - Preview](#azure-sql-bindings-for-azure-functions---preview)
5+
- [Azure SQL bindings for Azure Functions](#azure-sql-bindings-for-azure-functions)
66
- [Table of Contents](#table-of-contents)
77
- [Introduction](#introduction)
88
- [Supported SQL Server Versions](#supported-sql-server-versions)
99
- [Known/By Design Issues](#knownby-design-issues)
1010
- [Output Bindings](#output-bindings)
11-
- [Trigger Bindings](#trigger-bindings)
1211
- [Telemetry](#telemetry)
1312
- [Privacy Statement](#privacy-statement)
1413
- [Trademarks](#trademarks)
@@ -19,7 +18,7 @@ This repository contains the Azure SQL bindings for Azure Functions extension co
1918

2019
- **Input Binding**: takes a SQL query or stored procedure to run and returns the output to the function.
2120
- **Output Binding**: takes a list of rows and upserts them into the user table (i.e. If a row doesn't already exist, it is added. If it does, it is updated).
22-
- **Trigger Binding**: monitors the user table for changes (i.e., row inserts, updates, and deletes) and invokes the function with updated rows.
21+
- **Trigger (preview)**: monitors the user table for changes (i.e., row inserts, updates, and deletes) and invokes the function with updated rows. Note: This is a preview feature and is available only in preview packages. More information is available on the [trigger branch](https://github.com/Azure/azure-functions-sql-extension/tree/release/trigger) and on the [documentation](https://aka.ms/sqltrigger).
2322

2423
For a more detailed overview of the different types of bindings see the [Bindings Overview](https://github.com/Azure/azure-functions-sql-extension/blob/main/docs/BindingsOverview.md).
2524

@@ -46,7 +45,7 @@ Below is a list of common issues that users may run into when using the SQL Bind
4645

4746
> **Note:** While we are actively working on resolving the known issues, some may not be supported at this time. We appreciate your patience as we work to improve the Azure Functions SQL Extension.
4847
49-
- **By Design:** The table used by a SQL binding or SQL trigger cannot contain two columns that only differ by casing (Ex. 'Name' and 'name').
48+
- **By Design:** The table used by a SQL binding cannot contain two columns that only differ by casing (Ex. 'Name' and 'name').
5049
- **By Design:** Non-CSharp functions using SQL bindings against tables with columns of data types `BINARY` or `VARBINARY` need to map those columns to a string type. Input bindings will return the binary value as a base64 encoded string. Output bindings require the value upserted to binary columns to be a base64 encoded string.
5150
- **Planned for Future Support:** SQL bindings against tables with columns of data types `GEOMETRY` and `GEOGRAPHY` are not supported. Issue is tracked [here](https://github.com/Azure/azure-functions-sql-extension/issues/654).
5251
- Issues resulting from upstream dependencies can be found [here](https://github.com/Azure/azure-functions-sql-extension/issues?q=is%3Aopen+is%3Aissue+label%3Aupstream).
@@ -68,10 +67,6 @@ Below is a list of common issues that users may run into when using the SQL Bind
6867
- PowerShell: The workaround is to use the `$TriggerMetadata[$keyName]` to retrieve the query property - an example can be found [here](https://github.com/Azure/azure-functions-sql-extension/blob/main/samples/samples-powershell/AddProductParams/run.ps1). Issue is tracked [here](https://github.com/Azure/azure-functions-powershell-worker/issues/895).
6968
- Python: The workaround is to use `parse_qs` - an example can be found [here](https://github.com/Azure/azure-functions-sql-extension/blob/main/samples/samples-python/AddProductParams/__init__.py). Issue is tracked [here](https://github.com/Azure/azure-functions-python-worker/issues/894).
7069

71-
### Trigger Bindings
72-
73-
- **By Design:** Trigger bindings will exhibit undefined behavior if the SQL table schema gets modified while the user application is running, for example, if a column is added, renamed or deleted or if the primary key is modified or deleted. In such cases, restarting the application should help resolve any errors.
74-
7570
## Telemetry
7671

7772
This extension collects usage data in order to help us improve your experience. The data is anonymous and doesn't include any personal information. You can opt-out of telemetry by setting the `AZUREFUNCTIONS_SQLBINDINGS_TELEMETRY_OPTOUT` environment variable or the `AzureFunctionsSqlBindingsTelemetryOptOut` app setting (in your `*.settings.json` file) to '1', 'true' or 'yes';

Worker.Extensions.Sql/src/SqlChange.cs

Lines changed: 0 additions & 45 deletions
This file was deleted.

Worker.Extensions.Sql/src/SqlTriggerAttribute.cs

Lines changed: 0 additions & 49 deletions
This file was deleted.

builds/azure-pipelines/build-release-java.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ steps:
2525
$source = 'java-library'
2626
$destination = '$(Build.ArtifactStagingDirectory)/java-library'
2727
$jar = Get-ChildItem $source/target/*.jar | Select-Object -First 1 | Select Name
28-
$jar -match '\d+\.\d+\.\d+(-preview)?'
28+
$jar -match '\d+\.\d+\.\d+'
2929
$version = $matches[0]
3030
$prefix = 'azure-functions-java-library-sql-'+$version
3131
New-Item $destination -ItemType Directory

builds/azure-pipelines/build-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ parameters: # parameters are shown up in ADO UI in a build queue time
44
- name: 'ReleaseType'
55
displayName: 'Type of release'
66
type: string
7-
default: preview
7+
default: full
88
values:
99
- full
1010
- preview
@@ -22,7 +22,7 @@ schedules:
2222
variables:
2323
solution: '**/*.sln'
2424
configuration: 'Release'
25-
versionMajor: 3
25+
versionMajor: 2
2626
versionMinor: 0
2727
versionMajorMinor: '$(versionMajor).$(versionMinor)' # This variable is only used for the counter so we reset properly when either major or minor is bumped
2828
versionPatch: $[counter(variables['versionMajorMinor'], 0)] # This will reset when we bump minor version

builds/azure-pipelines/performance.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,7 @@ trigger: none
22

33
pr: none
44

5-
schedules:
6-
- cron: "0 0 * * *"
7-
displayName: Mon-Fri at Midnight
8-
branches:
9-
include:
10-
- main
11-
always: true
5+
schedules: [ ]
126

137
variables:
148
configuration: 'Release'

builds/azure-pipelines/template-steps-performance.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ parameters:
99
default:
1010
- input
1111
- output
12-
- trigger
13-
- trigger_batch
14-
- trigger_poll
15-
- trigger_overrides
16-
- trigger_parallel
1712

1813
steps:
1914
- task: UseDotNet@2

0 commit comments

Comments
 (0)