Skip to content

Commit df7e838

Browse files
aayush3011azure-sdkanuchandyv-durgeshsVinothini Dharmaraj
authored
[Cosmos][VectorSearch] Non Streaming Order By Query (#40096)
* Initial changes * Initial changes * Increment versions for core releases (#40003) Increment package versions for core releases * Ensure ServiceBus session idle timeout fall back to retry-options::try-timeout (#39994) * Added Alpha3 Java Media Streaming Events (#40002) * Added Alpha3 Java Media Streaming Events * updating readme to add the media streaming events to remove model --------- Co-authored-by: Vinothini Dharmaraj <[email protected]> * Update version of github-event-processor to 1.0.0-dev.20240502.2 (#40012) Co-authored-by: James Suplizio <[email protected]> * Prepare May 2024 Identity Release (#40006) * Prepare Identity Broker May 2024 Release (#40014) * Increment package versions for identity releases (#40015) * [JobRouter] SDK Review updates (#40011) * SDK Review updates * Update auto-generated models * Add customization * Fix customization * Update package * Update tests * Linting * FixFaultInjectionRuleFailedToApplyPerPartitionInGatewayMode (#40005) * fix fault injection rule failed to apply per partition in gateway mode --------- Co-authored-by: annie-mac <[email protected]> * azure-cosmos-test_1.0.0.beta.7Release (#40021) * release azure-cosmos-test 1.0.0.beta.7 --------- Co-authored-by: annie-mac <[email protected]> * Fixed existsById API in ReactiveCosmosTemplate (#40022) * Fixed existsById API in ReactiveCosmosTemplate * Added changelog * Initial changes * Initial changes * Skip Recorded test and delete Event record until test proxy to work with Event recordings (#40029) Co-authored-by: Min Woo Lee 🧊 <[email protected]> * Fix invalid CODEOWNERS (#40032) * Initial changes * ServiceBus: fix session tracing (#39962) * remove additional matrix * Fix session processing and disposition instrumentation * return matrix config * review suggestions * [Automation] Generate SDK based on TypeSpec 0.15.15 (#40048) * [CODEOWNERS] Updates for org changes (#40049) * [CODEOWNERS] Updates for org changes The focus of these changes is to remove an individual who no longer is responsible for the products which their GH account is associated to. * Move from using the docker image to java2docfx for docs validation (#39744) * Move from using the docker image to java2docfx for docs validation * Temporarily turn on docs processing for template libraries for testing * Actually install the rex validation tool * Fix the if not Test-Path statement * Update java2docfx version and add a couple of diagnostics output lines * Add missing close paren * Ensure that Sort-Object always returns an array even if there's only one item * add another piece of diagnostics output * trying one more thing * remove some diag, add other * Remove the additional diagnostics, add permanent output message * Invoke java -jar on java2docfx to show the help command to ensure the install is okay * fiddling with the java -jar command * Set the working directory to the java2docfx directory before executing the mvn dependency download * Actually create the directory before trying to set location...oops * Update rex validation to verify MAVEN_HOME is set * Updates for Java PR 39875 which had changes from this PR that were more immediate * Update java2docfx version * remove check for MAVEN_HOME which was only for testing * Update the version of java2docfx to test a fix * Update version of java2docfx to 1.0.4 * revert template's ci.yml changes that were only necessary to test java2docfx * owners (#39686) * Use ClientLogger in testing output (#40010) Use ClientLogger in testing output * Fix null pointer exception and context usage (#40053) * Rename AML to AzureMachineLearning (#40056) * Fixed the Key Vault `test-resources.json` file to properly configure a deployment script for certificate creation. (#40037) * Close response body in bearer policy (#40052) * Running Prepare-Release for azure-messaging-servicebus 7.17.0 (#40058) * mgmt, TypeSpec code generation pipeline (#39963) * typespec generation pipeline echo command PR_TITLE * generation typespec Update generation.yml for Azure Pipelines Update generation.yml for Azure Pipelines Update generation.yml for Azure Pipelines * remove typespec pipeline file * fix pr title * address comments * Add codeowner linter owners (#39997) * Update to ESRP task version that supports federated auth (#40059) * Increment package versions for cosmos releases (#40031) * Update azure-sdk-build-tools Repository Resource Refs in Yaml files (#39627) * Add reduced embeddings sample to azure-search-documents (#40069) * Add reduced embeddings sample * Fix cspell * Fix link * Search May Preview Regen Updates (#40057) * Search May Preview Regeneration - Still need to add varargs convenience * Removing ovveride statements from `setFields` for `VectorizableImageUrlQuery` and `VectorizableImageBinaryQuery` * Removing ovveride statements from `setFields` for `VectorizableImageUrlQuery` and `VectorizableImageBinaryQuery` * adding varargs * Additional adjustments to FieldBuilder and Search Index Customizations * Updating cspell.json * Adjust `SearchScoreThreshold` customization Re-enable code generation in CI * Updates: - Updated Cspell - Rename `maxStoragePerIndex` property to `maxStoragePerIndexInBytes` in SearchServiceLimits - Set `hybridSearch` property to be type `HybridSearch` in SearchRequest - Add `hybridSearch` to SearchOptions and `SearchAsyncClient.createSearchRequest()` * Adding Support and testing byte[] and List<byte> within field builder * Fix linting --------- Co-authored-by: alzimmermsft <[email protected]> * Preparing Search May 2024 Beta Release (#40071) * Preparing Search May 2024 Beta Release * Preparing Search May 2024 Beta Release * Resolving comments * Fixing build issues * eng, update autorest.java, improve error output in sdk automation (#40073) * improve error output * autorest.java 4.1.29 * Merge to main after spring cloud azure 4.18.0 released (#40075) * Prepare for Spring Cloud Azure 4.18.0 release (#40063) * update version client * update version/changelog/readme * update changelog * Increment versions for spring releases (#40074) * Increment package versions for spring releases * Update version_client.txt * Update pom.xml --------- Co-authored-by: Muyao Feng <[email protected]> --------- Co-authored-by: Azure SDK Bot <[email protected]> * Miscellaneous Core performance improvements (#39552) Miscellaneous Core performance improvements * Increment package versions for search releases (#40072) * Update io.fabric8:kubernetes-client (#40086) 5.12.3 -> 6.12.1 * Increment package versions for servicebus releases (#40094) * Emit stable auto-instrumented otel metrics (#39960) * Update otel metrics logic * add runtime metrics * adding a few metrics I forgot * small correction * Update * Fix * Update * Delete pre-stable metrics --------- Co-authored-by: Harsimar Kaur (from Dev Box) <[email protected]> --------- Co-authored-by: Azure SDK Bot <[email protected]> Co-authored-by: Anu Thomas Chandy <[email protected]> Co-authored-by: v-durgeshs <[email protected]> Co-authored-by: Vinothini Dharmaraj <[email protected]> Co-authored-by: James Suplizio <[email protected]> Co-authored-by: Bill Wert <[email protected]> Co-authored-by: williamzhao87 <[email protected]> Co-authored-by: Annie Liang <[email protected]> Co-authored-by: annie-mac <[email protected]> Co-authored-by: Kushagra Thapar <[email protected]> Co-authored-by: minwoolee-msft <[email protected]> Co-authored-by: Min Woo Lee 🧊 <[email protected]> Co-authored-by: Alan Zimmer <[email protected]> Co-authored-by: Liudmila Molkova <[email protected]> Co-authored-by: Jesse Squire <[email protected]> Co-authored-by: Harsimar Kaur <[email protected]> Co-authored-by: vcolin7 <[email protected]> Co-authored-by: Xiaofei Cao <[email protected]> Co-authored-by: Wes Haggard <[email protected]> Co-authored-by: Patrick Hallisey <[email protected]> Co-authored-by: Jair Myree <[email protected]> Co-authored-by: Weidong Xu <[email protected]> Co-authored-by: Muyao Feng <[email protected]> Co-authored-by: Helen <[email protected]> Co-authored-by: Harsimar Kaur (from Dev Box) <[email protected]>
1 parent 148cba5 commit df7e838

File tree

319 files changed

+3800
-2489
lines changed

Some content is hidden

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

319 files changed

+3800
-2489
lines changed

.github/CODEOWNERS

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -396,10 +396,10 @@
396396
# ServiceOwners: @raedJarrar @jifems
397397

398398
# PRLabel: %DevCenter
399-
/sdk/devcenter/ @sebrenna @mharlan
399+
/sdk/devcenter/ @sebrenna
400400

401401
# ServiceLabel: %DevCenter
402-
# ServiceOwners: @sebrenna @mharlan
402+
# ServiceOwners: @sebrenna
403403

404404
# ServiceLabel: %Device Provisioning Service
405405
# ServiceOwners: @nberdy
@@ -430,7 +430,7 @@
430430

431431
# ServiceLabel: %Event Grid
432432
# AzureSdkOwners: @billwert
433-
# ServiceOwners: @jfggdl
433+
# ServiceOwners: @Kishp01 @ahamad-MS
434434

435435
# PRLabel: %Event Hubs
436436
/sdk/eventhubs/ @conniey @anuchandy @lmolkova
@@ -558,7 +558,7 @@
558558
# ServiceOwners: @ambhatna @savjani
559559

560560
# PRLabel: %OpenTelemetry
561-
/sdk/monitor/azure-monitor-opentelemetry-exporter/ @trask @ramthi @heyams @jeanbisutti
561+
/sdk/monitor/azure-monitor-opentelemetry-exporter/ @trask @ramthi @heyams @jeanbisutti @harsimar
562562

563563
# ServiceLabel: %Network
564564
# ServiceOwners: @aznetsuppgithub
@@ -647,9 +647,6 @@
647647
# ServiceLabel: %Redis Cache
648648
# ServiceOwners: @yegu-ms
649649

650-
# ServiceLabel: %Relay
651-
# ServiceOwners: @jfggdl
652-
653650
# PRLabel: %Remote Rendering
654651
/sdk/remoterendering/ @MichaelZp0 @ChristopherManthei
655652

@@ -796,13 +793,13 @@
796793
/sdk/spring-experimental/ @chenrujun @netyyyy @saragluna @moarychan
797794

798795
# PRLabel: %Monitor - Spring
799-
/sdk/spring/spring-cloud-azure-starter-monitor @jeanbisutti @trask @ramthi @heyams
796+
/sdk/spring/spring-cloud-azure-starter-monitor @jeanbisutti @trask @ramthi @heyams @harsimar
800797

801798
# PRLabel: %Monitor - Spring
802-
/sdk/spring/spring-cloud-azure-starter-monitor-test @jeanbisutti @trask @ramthi @heyams
799+
/sdk/spring/spring-cloud-azure-starter-monitor-test @jeanbisutti @trask @ramthi @heyams @harsimar
803800

804801
# ServiceLabel: %Monitor - Spring
805-
# AzureSdkOwners: @jeanbisutti @trask @ramthi @heyams
802+
# AzureSdkOwners: @jeanbisutti @trask @ramthi @heyams @harsimar
806803

807804
# PRLabel: %azure-spring
808805
/sdk/spring/spring-cloud-azure-appconfiguration-config*/ @mrm9084 @chenrujun @netyyyy @saragluna @moarychan
@@ -853,3 +850,4 @@
853850

854851
# Add owners for notifications for specific pipelines
855852
/eng/pipelines/aggregate-reports.yml @joshfree @jonathangiles
853+
/eng/common/pipelines/codeowners-linter.yml @alzimmermsft @srnagar @lmolkova

.github/CODEOWNERS_baseline_errors.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,3 +267,8 @@ ccmixpdevs is an invalid user. Ensure the user exists, is public member of Azure
267267
ccmbpxpcrew is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
268268
TiagoCrewGitHubIssues is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
269269
ccmshowbackdevs is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.
270+
sagivf is not a public member of Azure.
271+
Aviv-Yaniv is not a public member of Azure.
272+
tmahmood-microsoft is not a public member of Azure.
273+
Kishp01 is not a public member of Azure.
274+
ahamad-MS is an invalid user. Ensure the user exists, is public member of Azure and has write permissions.

eng/emitter-package-lock.json

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eng/emitter-package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"main": "dist/src/index.js",
33
"dependencies": {
4-
"@azure-tools/typespec-java": "0.15.14"
4+
"@azure-tools/typespec-java": "0.15.15"
55
},
66
"devDependencies": {
7-
"@typespec/versioning": "0.55.0",
8-
"@azure-tools/typespec-client-generator-core": "0.41.6",
9-
"@typespec/http": "0.55.0",
10-
"@typespec/openapi": "0.55.0",
7+
"@azure-tools/typespec-client-generator-core": "0.41.8",
118
"@typespec/rest": "0.55.0",
129
"@typespec/compiler": "0.55.0",
10+
"@typespec/openapi": "0.55.0",
1311
"@azure-tools/typespec-azure-core": "0.41.0",
12+
"@typespec/versioning": "0.55.0",
13+
"@typespec/http": "0.55.0",
1414
"@azure-tools/typespec-azure-resource-manager": "0.41.0",
1515
"@azure-tools/typespec-autorest": "0.41.1"
1616
}

eng/mgmt/automation/changelog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from parameters import *
1010
from generate import update_parameters
1111
from generate_utils import get_version
12-
from generate import compile_package
12+
from generate_utils import compile_arm_package
1313
from generate import compare_with_maven_package
1414

1515
os.chdir(pwd)
@@ -31,7 +31,7 @@ def main():
3131
update_parameters(args.get('suffix'))
3232

3333
if args.get('compile'):
34-
compile_package(sdk_root, service)
34+
compile_arm_package(sdk_root, service)
3535

3636
versions = get_version(sdk_root, service).split(';')
3737
stable_version = versions[1]

eng/mgmt/automation/generate.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
)
2525
from generate_utils import (
2626
compare_with_maven_package,
27-
compile_package,
27+
compile_arm_package,
2828
generate,
2929
get_and_update_service_from_api_specs,
3030
get_suffix_from_api_specs,
@@ -187,7 +187,7 @@ def sdk_automation_autorest(config: dict) -> List[dict]:
187187
tag=tag,
188188
)
189189
if succeeded:
190-
compile_package(sdk_root, module)
190+
compile_arm_package(sdk_root, module)
191191

192192
packages.append({
193193
'packageName':
@@ -256,7 +256,7 @@ def sdk_automation_typespec_project(tsp_project: str, config: dict) -> dict:
256256
update_root_pom(sdk_root, service)
257257

258258
# compile
259-
succeeded = compile_package(sdk_root, module)
259+
succeeded = compile_arm_package(sdk_root, module)
260260

261261
# output
262262
if sdk_folder and module and service:
@@ -359,7 +359,7 @@ def main():
359359
)
360360

361361
if succeeded:
362-
succeeded = compile_package(sdk_root, module)
362+
succeeded = compile_arm_package(sdk_root, module)
363363
if succeeded:
364364
compare_with_maven_package(sdk_root, service, stable_version,
365365
current_version, module)

eng/mgmt/automation/generate_data.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,11 @@ def compile_package(sdk_root: str, group_id: str, module: str) -> bool:
335335
sdk_root, group_id, module)
336336
logging.info(command)
337337
if os.system(command) != 0:
338-
logging.error('[COMPILE] Maven build fail')
338+
error_message = ('[COMPILE] Maven build fail.\n'
339+
'One reason of the compilation failure is that the existing code customization in SDK repository being incompatible with the class generated from updated TypeSpec source. In such case, you can ignore the failure, and fix the customization in SDK repository.\n'
340+
'You can inquire in "Language - Java" Teams channel. Please include the link of this Pull Request in the query.')
341+
logging.error(error_message)
342+
print(error_message, file=sys.stderr)
339343
return False
340344
return True
341345

eng/mgmt/automation/generate_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def generate(
9595
return True
9696

9797

98-
def compile_package(sdk_root, module) -> bool:
98+
def compile_arm_package(sdk_root: str, module: str) -> bool:
9999
if os.system(
100100
'mvn --no-transfer-progress clean verify -f {0}/pom.xml -Dmaven.javadoc.skip -Dgpg.skip -DskipTestCompile -Djacoco.skip -Drevapi.skip -pl {1}:{2} -am'.format(
101101
sdk_root, GROUP_ID, module)) != 0:

eng/mgmt/automation/generation.yml

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ variables:
1212
- name: MAVEN_OPTS
1313
value: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
1414
- name: NodeVersion
15-
value: '16.x'
15+
value: '18.x'
16+
- name: fromTypeSpec
17+
value: $[ne(variables['TSP_CONFIG'], '')]
1618

1719
steps:
1820
- bash: |
@@ -29,6 +31,12 @@ steps:
2931
- bash: |
3032
npm install -g autorest
3133
displayName: 'Install autorest'
34+
condition: eq(variables.fromTypeSpec, false)
35+
36+
- bash: |
37+
npm install -g @azure-tools/typespec-client-generator-cli
38+
displayName: 'Install tsp-client'
39+
condition: eq(variables.fromTypeSpec, true)
3240

3341
# - template: /eng/common/testproxy/test-proxy-tool.yml
3442
# parameters:
@@ -38,13 +46,27 @@ steps:
3846
- bash: |
3947
export PATH=$JAVA_HOME_11_X64/bin:$PATH
4048
java -version
49+
set -x
50+
./eng/mgmt/automation/generate.py --tsp-config "$(TSP_CONFIG)" --version "$(VERSION)" --auto-commit-external-change --user-name "azure-sdk" --user-email "[email protected]"
51+
displayName: Generation from TypeSpec
52+
condition: eq(variables.fromTypeSpec, true)
53+
54+
- bash: |
55+
export PATH=$JAVA_HOME_11_X64/bin:$PATH
56+
java -version
57+
set -x
4158
./eng/mgmt/automation/generate.py --readme "$(README)" --tag "$(TAG)" --autorest-options="$(AUTOREST_OPTIONS)" --service "$(SERVICE)" --version "$(VERSION)" --suffix "$(SUFFIX)" --auto-commit-external-change --user-name "azure-sdk" --user-email "[email protected]"
42-
displayName: Generation
59+
displayName: Generation from Swagger
60+
condition: eq(variables.fromTypeSpec, false)
4361

4462
- template: /eng/common/pipelines/templates/steps/create-pull-request.yml
4563
parameters:
4664
PRBranchName: fluent-lite-generation-$(Build.BuildId)
47-
CommitMsg: '[Automation] Generate Fluent Lite from $(README)#$(TAG)'
48-
PRTitle: '[Automation] Generate Fluent Lite from $(README)#$(TAG)'
65+
${{ if variables.fromTypeSpec }}:
66+
CommitMsg: '[Automation] Generate Fluent Lite from TypeSpec $(README)'
67+
PRTitle: '[Automation] Generate Fluent Lite from TypeSpec $(README)'
68+
${{ else }}:
69+
CommitMsg: '[Automation] Generate Fluent Lite from Swagger $(README)#$(TAG)'
70+
PRTitle: '[Automation] Generate Fluent Lite from Swagger $(README)#$(TAG)'
4971
PRLabels: 'Mgmt - Track 2'
5072
OpenAsDraft: '$(DRAFT_PULL_REQUEST)'

eng/mgmt/automation/generation_data.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ variables:
1212
- name: MAVEN_OPTS
1313
value: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER)'
1414
- name: NodeVersion
15-
value: '16.x'
15+
value: '18.x'
1616

1717
steps:
1818
- bash: |

0 commit comments

Comments
 (0)