Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b1b527f
Moved azure-spring-data-cosmos-test to azure-spring-data-cosmos module
kushagraThapar May 11, 2023
49a8909
Deleted azure-spring-data-cosmos-test module
kushagraThapar May 11, 2023
2db2a99
Fixed build issues with spring-data-cosmos-test module
kushagraThapar May 11, 2023
6fa1b15
Opened azure.cosmos.implementation package to com.azure.spring.data.c…
kushagraThapar May 12, 2023
1fae5b9
Updated AdditionalModules with azure-spring-data-cosmos module
kushagraThapar May 12, 2023
87f8280
Relying on current version of azure-cosmos
kushagraThapar May 12, 2023
fb413e1
Reverting the current version change
kushagraThapar May 12, 2023
22e8f5a
Disabled tests with implementation packages accessor
kushagraThapar May 12, 2023
67e24e5
Suppressing test checks
kushagraThapar May 12, 2023
53dd3c2
Added suppressions for spring data cosmos test files
kushagraThapar May 12, 2023
e102117
updated pom.xml with experiments
kushagraThapar May 12, 2023
cb9201e
testing junit
kushagraThapar May 13, 2023
20e42b7
Fixed unit tests
kushagraThapar May 13, 2023
b622abb
Merge branch 'main' into dissolve_azure_spring_data_cosmos_test_module
kushagraThapar May 13, 2023
07b09c2
Fixed application properties account host and key
kushagraThapar May 13, 2023
d1c0f5a
Removed protocol and other unnecessary command line args
kushagraThapar May 15, 2023
f8f5ae2
Passing env variables
kushagraThapar May 15, 2023
eb6242a
Adding additional args back
kushagraThapar May 15, 2023
b51b612
Fixing java 17 tests
kushagraThapar May 15, 2023
74a4d0b
Merge branch 'main' into dissolve_azure_spring_data_cosmos_test_module
kushagraThapar May 15, 2023
8839a40
Fixed some tests with refelction issues
kushagraThapar May 15, 2023
43ce623
Fixed more tests
kushagraThapar May 15, 2023
8a1fb66
Fixed more tests
kushagraThapar May 15, 2023
a173e88
Fixed more tests
kushagraThapar May 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
/sdk/spring/spring-cloud-azure-appconfiguration-config*/ @mrm9084 @backwind1233 @chenrujun @hui1110 @netyyyy @saragluna @stliu @yiliuTo @moarychan @fangjian0423
/sdk/spring/spring-cloud-azure-feature-management*/ @mrm9084 @backwind1233 @chenrujun @hui1110 @netyyyy @saragluna @stliu @yiliuTo @moarychan @fangjian0423
/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/ @mrm9084 @backwind1233 @chenrujun @hui1110 @netyyyy @saragluna @stliu @yiliuTo @moarychan @fangjian0423
# PRLabel: %azure-spring
/sdk/spring/azure-spring-data-cosmos/ @kushagraThapar @FabianMeiswinkel @backwind1233 @chenrujun @hui1110 @netyyyy @saragluna @stliu @yiliuTo @xinlian12 @moarychan @aayush3011 @simorenoh @fangjian0423 @jeet1995 @Pilchie


# PRLabel: %Attestation
Expand Down Expand Up @@ -103,10 +105,6 @@

# PRLabel: %Cosmos
/sdk/cosmos/ @kushagraThapar @FabianMeiswinkel @kirankumarkolli @xinlian12 @milismsft @aayush3011 @simorenoh @jeet1995 @Pilchie
# PRLabel: %azure-spring
/sdk/cosmos/azure-spring-data-cosmos/ @kushagraThapar @FabianMeiswinkel @backwind1233 @chenrujun @hui1110 @netyyyy @saragluna @stliu @yiliuTo @xinlian12 @moarychan @aayush3011 @simorenoh @fangjian0423 @jeet1995 @Pilchie
# PRLabel: %azure-spring
/sdk/cosmos/azure-spring-data-cosmos-test/ @kushagraThapar @FabianMeiswinkel @backwind1233 @chenrujun @hui1110 @netyyyy @saragluna @stliu @yiliuTo @xinlian12 @moarychan @aayush3011 @simorenoh @fangjian0423 @jeet1995 @Pilchie

# PRLabel: %Load Testing
/sdk/loadtesting/ @Harshan01 @abranj1219
Expand Down
1 change: 0 additions & 1 deletion .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@
"sdk/cosmos/azure-cosmos-spark_3-3_2-12/**",
"sdk/core/azure-core-test/**",
"sdk/cosmos/azure-cosmos-encryption/**",
"sdk/spring/azure-spring-data-cosmos-test/**",
"sdk/cosmos/azure-cosmos-spark_3_2-12/**",
"sdk/spring/azure-spring-data-cosmos/**",
"sdk/core/azure-json/**",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class Utils {
public static final String ANALYZE_MODE = "analyze";
public static final String GENERATE_MODE = "generate";
public static final Pattern COMMANDLINE_REGEX = Pattern.compile("-(.*)=(.*)");
public static final List<String> EXCLUSION_LIST = Arrays.asList("azure-spring-data-cosmos", "azure-spring-data-cosmos-test", "azure-core-test", "azure-sdk-all", "azure-sdk-parent", "azure-client-sdk-parent");
public static final List<String> EXCLUSION_LIST = Arrays.asList("azure-spring-data-cosmos", "azure-core-test", "azure-sdk-all", "azure-sdk-parent", "azure-client-sdk-parent");
public static final Pattern SDK_DEPENDENCY_PATTERN = Pattern.compile("com.azure:(.+);(.+);(.+)");
public static final String BASE_AZURE_GROUPID = "com.azure";
public static final String AZURE_TEST_LIBRARY_IDENTIFIER = "-test";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ the main ServiceBusClientBuilder. -->
<suppress checks="EnforceFinalFields" files="com.azure.spring.data.cosmos.core.query.CosmosPageRequest"/>

<!-- Checkstyle suppressions for azure.spring.data.cosmos package -->
<suppress checks="[a-zA-Z0-9]*" files="[/\\]azure-spring-data-cosmos[/\\]src[/\\]test[/\\]"/>
<suppress checks="MethodName|MemberName|ParameterName" files="src[/\\]test[/\\]java[/\\]com[/\\]azure[/\\]spring[/\\]data[/\\]cosmos[/\\]domain|repository.*.java"/>
<suppress checks="MethodName" files="com.azure.spring.data.cosmos.config.CosmosConfig.java"/>
<suppress checks="MemberName" files="com.azure.spring.data.cosmos.MyItem.java"/>
Expand Down
18 changes: 14 additions & 4 deletions eng/pipelines/templates/stages/cosmos-emulator-matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,25 @@
},
"Spring Emulator Only Integration Tests - Java 8": {
"ProfileFlag": "-Pintegration-test-emulator",
"PROTOCOLS": "[\"Tcp\"]",
"JavaTestVersion": "1.8",
"AdditionalArgs": "-Dspring-e2e -DargLine=\"-DACCOUNT_HOST=https://localhost:8081/ -DACCOUNT_KEY=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw== -DSECONDARY_ACCOUNT_KEY=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw== -DNEW_ACCOUNT_HOST=https://localhost:8081/ -DNEW_ACCOUNT_KEY=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw== -DNEW_SECONDARY_ACCOUNT_KEY=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==\""
"ACCOUNT_HOST": "https://localhost:8081/",
"ACCOUNT_KEY": "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==",
"SECONDARY_ACCOUNT_KEY": "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==",
"NEW_ACCOUNT_HOST": "https://localhost:8081/",
"NEW_ACCOUNT_KEY": "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==",
"NEW_SECONDARY_ACCOUNT_KEY": "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==",
"AdditionalArgs": "-Dspring-e2e"
},
"Spring Emulator Only Integration Tests - Java 17": {
"ProfileFlag": "-Pintegration-test-emulator",
"PROTOCOLS": "[\"Tcp\"]",
"JavaTestVersion": "1.17",
"AdditionalArgs": "-Dspring-e2e -DargLine=\"-DACCOUNT_HOST=https://localhost:8081/ -DACCOUNT_KEY=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw== -DSECONDARY_ACCOUNT_KEY=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw== -DNEW_ACCOUNT_HOST=https://localhost:8081/ -DNEW_ACCOUNT_KEY=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw== -DNEW_SECONDARY_ACCOUNT_KEY=C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==\""
"ACCOUNT_HOST": "https://localhost:8081/",
"ACCOUNT_KEY": "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==",
"SECONDARY_ACCOUNT_KEY": "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==",
"NEW_ACCOUNT_HOST": "https://localhost:8081/",
"NEW_ACCOUNT_KEY": "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==",
"NEW_SECONDARY_ACCOUNT_KEY": "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==",
"AdditionalArgs": "-Dspring-e2e"
},
"Encryption Emulator Only Integration Tests": {
"ProfileFlag": "-Pencryption-integration",
Expand Down
1 change: 0 additions & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ com.azure:azure-sdk-template;1.1.1234;1.2.2-beta.1
com.azure:azure-sdk-template-two;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-sdk-template-three;1.0.0-beta.1;1.0.0-beta.1
com.azure:azure-spring-data-cosmos;3.34.0;3.35.0-beta.1
com.azure:azure-spring-data-cosmos-test;3.0.0-beta.1;3.0.0-beta.1
com.azure:azure-storage-blob;12.22.0;12.23.0-beta.1
com.azure:azure-storage-blob-batch;12.18.0;12.19.0-beta.1
com.azure:azure-storage-blob-changefeed;12.0.0-beta.18;12.0.0-beta.19
Expand Down
3 changes: 0 additions & 3 deletions sdk/cosmos/ci.spring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,3 @@ extends:
groupId: com.azure
safeName: azurespringdatacosmos
releaseInBatch: false
AdditionalModules:
- name: azure-spring-data-cosmos-test
groupId: com.azure
2 changes: 2 additions & 0 deletions sdk/cosmos/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,5 @@ extends:
groupId: com.azure
- name: azure-cosmos-spark_3_2-12
groupId: com.azure.cosmos.spark
- name: azure-spring-data-cosmos
groupId: com.azure
8 changes: 4 additions & 4 deletions sdk/cosmos/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ stages:
SubscriptionConfigurations:
- $(sub-config-azure-cloud-test-resources)
- $(sub-config-cosmos-azure-cloud-test-resources)
Clouds: 'Cosmos_Public'
Clouds: 'Cosmos_Public_Integration'
MatrixConfigs:
- Name: Cosmos_live_test
Path: sdk/cosmos/platform-matrix.json
Expand All @@ -39,7 +39,7 @@ stages:

- template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml
parameters:
TestName: 'Integration'
TestName: 'Spring_Data_Cosmos_Integration'
CloudConfig:
Public:
SubscriptionConfigurations:
Expand All @@ -52,9 +52,9 @@ stages:
GenerateVMJobs: true
ServiceDirectory: spring
Artifacts:
- name: azure-spring-data-cosmos-test
- name: azure-spring-data-cosmos
groupId: com.azure
safeName: azurespringdatacosmostest
safeName: azurespringdatacosmos
TimeoutInMinutes: 90
PreSteps:
- template: /eng/pipelines/templates/steps/install-reporting-tools.yml
Expand Down
5 changes: 0 additions & 5 deletions sdk/spring/azure-spring-data-cosmos-test/CHANGELOG.md

This file was deleted.

9 changes: 0 additions & 9 deletions sdk/spring/azure-spring-data-cosmos-test/README.md

This file was deleted.

127 changes: 0 additions & 127 deletions sdk/spring/azure-spring-data-cosmos-test/pom.xml

This file was deleted.

This file was deleted.

Loading