forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrating spring data cosmos from sdk/cosmos to sdk/spring (Azure#33905)
* Moving the azure-spring-data-cosmos and azure-spring-data-cosmos-test directories from sdk/cosmos to sdk/spring * Updating the azure-spring-data-cosmos-test pom file. * Updating the azure-spring-data-cosmos pom file. * Updating the changelog. * Making changes for PR. * Making changes for PR. * Update cspell to ignore these directories still. * Fixing paths to sdk/spring from sdk/cosmos. * Fixing more paths. * Fixing more paths. * Switching azure-spring-data-cosmos to use the dependency versoin of azure-cosmos and not the current version. * Fixing dependency. * Moving azure-spring-data-cosmos to the sdk/spring ci. * Updating CI pipelines to run correctly for the migration. 'java - cosmos - ci' had spring removed from it and put in it's own pipeline to accomdate the change, this new pipeline is 'java - cosmos - spring -ci' * Fixing tests. * Removing un-used dependency. * Resolving issue from merge conflict. * Fixing spring integration tests * Fixing spring integration tests. * Removing duplicate from POM.
- Loading branch information
1 parent
dbcd6f7
commit 47c6278
Showing
347 changed files
with
297 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -152,7 +152,7 @@ or contact [[email protected]][coc_contact] with any additional questions o | |
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/ | ||
[coc_contact]: mailto:[email protected] | ||
[azure_subscription]: https://azure.microsoft.com/free/ | ||
[samples]: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/cosmos/azure-spring-data-cosmos/src/samples/java/com/azure/spring/data/cosmos | ||
[samples]: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/spring/azure-spring-data-cosmos/src/samples/java/com/azure/spring/data/cosmos | ||
[sql_api_query]: https://docs.microsoft.com/azure/cosmos-db/sql-api-sql-query | ||
[local_emulator]: https://docs.microsoft.com/azure/cosmos-db/local-emulator | ||
[local_emulator_export_ssl_certificates]: https://docs.microsoft.com/azure/cosmos-db/local-emulator-export-ssl-certificates | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -152,7 +152,7 @@ or contact [[email protected]][coc_contact] with any additional questions o | |
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/ | ||
[coc_contact]: mailto:[email protected] | ||
[azure_subscription]: https://azure.microsoft.com/free/ | ||
[samples]: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/cosmos/azure-spring-data-cosmos/src/samples/java/com/azure/spring/data/cosmos | ||
[samples]: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/spring/azure-spring-data-cosmos/src/samples/java/com/azure/spring/data/cosmos | ||
[sql_api_query]: https://docs.microsoft.com/azure/cosmos-db/sql-api-sql-query | ||
[local_emulator]: https://docs.microsoft.com/azure/cosmos-db/local-emulator | ||
[local_emulator_export_ssl_certificates]: https://docs.microsoft.com/azure/cosmos-db/local-emulator-export-ssl-certificates | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -152,7 +152,7 @@ or contact [[email protected]][coc_contact] with any additional questions o | |
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/ | ||
[coc_contact]: mailto:[email protected] | ||
[azure_subscription]: https://azure.microsoft.com/free/ | ||
[samples]: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/cosmos/azure-spring-data-cosmos/src/samples/java/com/azure/spring/data/cosmos | ||
[samples]: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/spring/azure-spring-data-cosmos/src/samples/java/com/azure/spring/data/cosmos | ||
[sql_api_query]: https://docs.microsoft.com/azure/cosmos-db/sql-api-sql-query | ||
[local_emulator]: https://docs.microsoft.com/azure/cosmos-db/local-emulator | ||
[local_emulator_export_ssl_certificates]: https://docs.microsoft.com/azure/cosmos-db/local-emulator-export-ssl-certificates | ||
|
31 changes: 0 additions & 31 deletions
31
...-test/src/test/java/com/azure/spring/data/cosmos/repository/TestRepositorySpELConfig.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. | ||
trigger: | ||
branches: | ||
include: | ||
- main | ||
- hotfix/* | ||
- release/* | ||
paths: | ||
include: | ||
- sdk/cosmos/ci.spring.yml | ||
- sdk/cosmos/azure-cosmos/ | ||
- sdk/cosmos/azure-cosmos-benchmark/ | ||
- sdk/cosmos/azure-cosmos-dotnet-benchmark/ | ||
- sdk/cosmos/azure-cosmos-encryption/ | ||
- sdk/cosmos/azure-cosmos-examples/ | ||
- sdk/cosmos/azure-cosmos-spark_3_2-12/ | ||
- sdk/cosmos/azure-cosmos-spark_3-1_2-12/ | ||
- sdk/cosmos/azure-cosmos-spark_3-2_2-12/ | ||
- sdk/cosmos/azure-cosmos-spark_3-3_2-12/ | ||
- sdk/cosmos/azure-cosmos-test/ | ||
- sdk/cosmos/azure-cosmos-tests/ | ||
- sdk/cosmos/faq/ | ||
exclude: | ||
- sdk/cosmos/pom.xml | ||
- sdk/cosmos/azure-cosmos/pom.xml | ||
- sdk/cosmos/azure-cosmos-tests/pom.xml | ||
- sdk/cosmos/azure-cosmos-benchmark/pom.xml | ||
- sdk/cosmos/azure-cosmos-dotnet-benchmark/pom.xml | ||
- sdk/cosmos/azure-cosmos-encryption/pom.xml | ||
- sdk/cosmos/azure-cosmos-spark_3_2-12/pom.xml | ||
- sdk/cosmos/azure-cosmos-spark_3-1_2-12/pom.xml | ||
- sdk/cosmos/azure-cosmos-spark_3-2_2-12/pom.xml | ||
- sdk/cosmos/azure-cosmos-spark_3-3_2-12/pom.xml - | ||
|
||
pr: | ||
branches: | ||
include: | ||
- main | ||
- feature/* | ||
- hotfix/* | ||
- release/* | ||
paths: | ||
include: | ||
- sdk/cosmos/ci.spring.yml | ||
- sdk/cosmos/azure-cosmos/ | ||
- sdk/cosmos/azure-cosmos-benchmark/ | ||
- sdk/cosmos/azure-cosmos-dotnet-benchmark/ | ||
- sdk/cosmos/azure-cosmos-encryption/ | ||
- sdk/cosmos/azure-cosmos-examples/ | ||
- sdk/cosmos/azure-cosmos-test/ | ||
- sdk/cosmos/azure-cosmos-tests/ | ||
- sdk/cosmos/azure-cosmos-spark_3_2-12/ | ||
- sdk/cosmos/azure-cosmos-spark_3-1_2-12/ | ||
- sdk/cosmos/azure-cosmos-spark_3-2_2-12/ | ||
- sdk/cosmos/azure-cosmos-spark_3-3_2-12/ - | ||
- sdk/cosmos/faq/ | ||
exclude: | ||
- sdk/cosmos/pom.xml | ||
- sdk/cosmos/azure-cosmos/pom.xml | ||
- sdk/cosmos/azure-cosmos-benchmark/pom.xml | ||
- sdk/cosmos/azure-cosmos-dotnet-benchmark/pom.xml | ||
- sdk/cosmos/azure-cosmos-encryption/pom.xml | ||
- sdk/cosmos/azure-cosmos-spark_3_2-12/pom.xml | ||
- sdk/cosmos/azure-cosmos-spark_3-1_2-12/pom.xml | ||
- sdk/cosmos/azure-cosmos-spark_3-2_2-12/pom.xml | ||
- sdk/cosmos/azure-cosmos-spark_3-3_2-12/pom.xml - | ||
- sdk/cosmos/azure-cosmos-test/pom.xml | ||
- sdk/cosmos/azure-cosmos-tests/pom.xml | ||
|
||
extends: | ||
template: /eng/pipelines/templates/stages/archetype-sdk-client.yml | ||
parameters: | ||
ServiceDirectory: spring | ||
Artifacts: | ||
- name: azure-spring-data-cosmos | ||
groupId: com.azure | ||
safeName: azurespringdatacosmos | ||
releaseInBatch: false | ||
AdditionalModules: | ||
- name: azure-spring-data-cosmos-test | ||
groupId: com.azure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
18 changes: 18 additions & 0 deletions
18
...-test/src/test/java/com/azure/spring/data/cosmos/repository/TestRepositorySpELConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
package com.azure.spring.data.cosmos.repository; | ||
|
||
import com.azure.spring.data.cosmos.common.DynamicContainer; | ||
import com.azure.spring.data.cosmos.common.TestConstants; | ||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.Configuration; | ||
|
||
@Configuration | ||
public class TestRepositorySpELConfig extends TestRepositoryConfig { | ||
|
||
@Bean | ||
public DynamicContainer dynamicContainer() { | ||
return new DynamicContainer(TestConstants.DYNAMIC_BEAN_COLLECTION_NAME); | ||
} | ||
|
||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.