Skip to content

Commit

Permalink
eng, bump core jar (#2954)
Browse files Browse the repository at this point in the history
  • Loading branch information
weidongxu-microsoft authored Sep 24, 2024
1 parent 3caefce commit 4dcd223
Show file tree
Hide file tree
Showing 26 changed files with 89 additions and 84 deletions.
4 changes: 2 additions & 2 deletions azure-dataplane-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-json</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand All @@ -49,7 +49,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.15.3</version>
<version>1.15.4</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions azure-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-management</artifactId>
<version>1.15.2</version>
<version>1.15.3</version>
</dependency>

<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.15.3</version>
<version>1.15.4</version>
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion core
Submodule core updated 1155 files
2 changes: 1 addition & 1 deletion customization-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-json</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down
8 changes: 4 additions & 4 deletions customization-base/src/main/resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-json</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand All @@ -40,19 +40,19 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.51.0</version>
<version>1.52.0</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.15.3</version>
<version>1.15.4</version>
</dependency>

<!-- Test Dependencies -->
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.26.2</version>
<version>1.27.0-beta.1</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions customization-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.15.3</version>
<version>1.15.4</version>
</dependency>

<!-- Test Dependencies -->
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.26.2</version>
<version>1.27.0-beta.1</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
6 changes: 6 additions & 0 deletions eng/versioning/sync_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ def update_pom(package_versions: List[PackageVersion]):
if path.isdir(path.join(root_path, folder)) and path.isfile(path.join(root_path, folder, 'pom.xml')):
pom_files.append(path.join(folder, 'pom.xml'))

core_relative_path = 'core/packages/http-client-java/generator'
core_path = path.join(root_path, core_relative_path)
for folder in os.listdir(core_path):
if path.isdir(path.join(core_path, folder)) and path.isfile(path.join(core_path, folder, 'pom.xml')):
pom_files.append(path.join(core_relative_path, folder, 'pom.xml'))

# POMs
for pom_file in pom_files:
with open(path.join(root_path, pom_file), encoding='utf-8') as f_in:
Expand Down
2 changes: 1 addition & 1 deletion extension-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-json</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
Expand Down
18 changes: 9 additions & 9 deletions fluent-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,25 +91,25 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-management</artifactId>
<version>1.15.2</version>
<version>1.15.3</version>
</dependency>

<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.26.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.15.3</version>
<version>1.27.0-beta.1</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-jdk-httpclient</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.13.2</version>
<version>1.13.3</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.51.0</version>
<version>1.52.0</version>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down Expand Up @@ -151,7 +151,7 @@
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>9.3</version> <!-- {x-version-update;org.ow2.asm:asm;external_dependency} -->
<version>9.3</version>
</dependency>
</dependencies>
</plugin>
Expand Down
14 changes: 7 additions & 7 deletions protocol-sdk-integration-tests/eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
com.azure:azure-core;1.51.0;1.51.0
com.azure:azure-core-experimental;1.0.0-beta.52;1.0.0-beta.52
com.azure:azure-core-http-netty;1.15.3;1.15.3
com.azure:azure-core-management;1.15.2;1.15.2
com.azure:azure-core-test;1.26.2;1.26.2
com.azure:azure-core;1.52.0;1.52.0
com.azure:azure-core-experimental;1.0.0-beta.53;1.0.0-beta.53
com.azure:azure-core-http-netty;1.15.4;1.15.4
com.azure:azure-core-management;1.15.3;1.15.3
com.azure:azure-core-test;1.27.0-beta.1;1.27.0-beta.1

com.azure:azure-identity;1.13.2;1.13.2
com.azure:azure-json;1.2.0;1.2.0
com.azure:azure-identity;1.13.3;1.13.3
com.azure:azure-json;1.3.0;1.3.0
14 changes: 7 additions & 7 deletions protocol-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.26.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.15.3</version>
<version>1.27.0-beta.1</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-jdk-httpclient</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down
2 changes: 1 addition & 1 deletion typespec-tests/customization/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<dependency>
<groupId>com.azure.tools</groupId>
<artifactId>azure-autorest-customization</artifactId>
<version>1.0.0-beta.8</version> <!-- {x-version-update;com.azure.tools:azure-autorest-customization;external_dependency} -->
<version>1.0.0-beta.8</version>
</dependency>
</dependencies>
</project>
20 changes: 10 additions & 10 deletions typespec-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,12 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.13.2</version>
<version>1.13.3</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-management</artifactId>
<version>1.15.2</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.15.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand All @@ -57,13 +51,13 @@
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.14.12</version> <!-- {x-version-update;testdep_net.bytebuddy:byte-buddy;external_dependency} -->
<version>1.14.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
<version>1.14.12</version> <!-- {x-version-update;testdep_net.bytebuddy:byte-buddy-agent;external_dependency} -->
<version>1.14.12</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -75,8 +69,14 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.26.2</version>
<version>1.27.0-beta.1</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-jdk-httpclient</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@
*/
public final class ManagedServiceIdentityType extends ExpandableStringEnum<ManagedServiceIdentityType> {
/**
* Static value None for ManagedServiceIdentityType.
* No managed identity.
*/
public static final ManagedServiceIdentityType NONE = fromString("None");

/**
* Static value SystemAssigned for ManagedServiceIdentityType.
* System assigned managed identity.
*/
public static final ManagedServiceIdentityType SYSTEM_ASSIGNED = fromString("SystemAssigned");

/**
* Static value UserAssigned for ManagedServiceIdentityType.
* User assigned managed identity.
*/
public static final ManagedServiceIdentityType USER_ASSIGNED = fromString("UserAssigned");

/**
* Static value SystemAssigned,UserAssigned for ManagedServiceIdentityType.
* System and user assigned managed identity.
*/
public static final ManagedServiceIdentityType SYSTEM_ASSIGNED_USER_ASSIGNED
public static final ManagedServiceIdentityType SYSTEM_AND_USER_ASSIGNED_V3
= fromString("SystemAssigned,UserAssigned");

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
*/
public final class ProvisioningState extends ExpandableStringEnum<ProvisioningState> {
/**
* Static value Succeeded for ProvisioningState.
* Resource has been created.
*/
public static final ProvisioningState SUCCEEDED = fromString("Succeeded");

/**
* Static value Failed for ProvisioningState.
* Resource creation failed.
*/
public static final ProvisioningState FAILED = fromString("Failed");

/**
* Static value Canceled for ProvisioningState.
* Resource creation was canceled.
*/
public static final ProvisioningState CANCELED = fromString("Canceled");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
public final class ActionType extends ExpandableStringEnum<ActionType> {
/**
* Static value Internal for ActionType.
* Actions are for internal-only APIs.
*/
public static final ActionType INTERNAL = fromString("Internal");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "kind", defaultImpl = Dog.class, visible = true)
@JsonTypeName("Dog")
@JsonSubTypes({ @JsonSubTypes.Type(name = "golden", value = Golden.class) })
@JsonSubTypes({ @JsonSubTypes.Type(name = "golden_dog", value = Golden.class) })
@Fluent
public class Dog {
/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
*/
public final class DogKind extends ExpandableStringEnum<DogKind> {
/**
* Static value golden for DogKind.
* Species golden.
*/
public static final DogKind GOLDEN = fromString("golden");
public static final DogKind GOLDEN = fromString("golden_dog");

/**
* Creates a new instance of DogKind value.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Golden dog model.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "kind", defaultImpl = Golden.class, visible = true)
@JsonTypeName("golden")
@JsonTypeName("golden_dog")
@Fluent
public final class Golden extends Dog {
/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@
*/
public final class ManagedServiceIdentityType extends ExpandableStringEnum<ManagedServiceIdentityType> {
/**
* Static value None for ManagedServiceIdentityType.
* No managed identity.
*/
public static final ManagedServiceIdentityType NONE = fromString("None");

/**
* Static value SystemAssigned for ManagedServiceIdentityType.
* System assigned managed identity.
*/
public static final ManagedServiceIdentityType SYSTEM_ASSIGNED = fromString("SystemAssigned");

/**
* Static value UserAssigned for ManagedServiceIdentityType.
* User assigned managed identity.
*/
public static final ManagedServiceIdentityType USER_ASSIGNED = fromString("UserAssigned");

/**
* Static value SystemAssigned,UserAssigned for ManagedServiceIdentityType.
* System and user assigned managed identity.
*/
public static final ManagedServiceIdentityType SYSTEM_ASSIGNED_USER_ASSIGNED
public static final ManagedServiceIdentityType SYSTEM_AND_USER_ASSIGNED_V3
= fromString("SystemAssigned,UserAssigned");

/**
Expand Down
Loading

0 comments on commit 4dcd223

Please sign in to comment.