Skip to content

Commit

Permalink
mgmt, sync cosmos 2.44.1 patch (#42844)
Browse files Browse the repository at this point in the history
* version_client.txt

* regen

* assets.json

* release changelog

* sync version
  • Loading branch information
XiaofeiCao authored Nov 8, 2024
1 parent 3130f7e commit ff9d93f
Show file tree
Hide file tree
Showing 40 changed files with 14 additions and 211 deletions.
2 changes: 1 addition & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ com.azure.resourcemanager:azure-resourcemanager-compute;2.44.0;2.45.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-containerinstance;2.44.0;2.45.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-containerregistry;2.44.0;2.45.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-containerservice;2.44.0;2.45.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-cosmos;2.44.0;2.45.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-cosmos;2.44.1;2.45.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-dns;2.44.0;2.45.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-eventhubs;2.44.0;2.45.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-keyvault;2.44.0;2.45.0-beta.1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-cosmos</artifactId>
<version>2.44.0</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-cosmos;dependency} -->
<version>2.44.1</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-cosmos;dependency} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmos/azure-cosmos-spark_3_2-12/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-cosmos</artifactId>
<version>2.44.0</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-cosmos;dependency} -->
<version>2.44.1</version> <!-- {x-version-update;com.azure.resourcemanager:azure-resourcemanager-cosmos;dependency} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
Expand Down
6 changes: 6 additions & 0 deletions sdk/resourcemanager/azure-resourcemanager-cosmos/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@

### Other Changes

## 2.44.1 (2024-11-07)

### Bugs Fixed

- Removed wrong validation on non-required `location` property for some classes.

## 2.44.0 (2024-10-25)

### Other Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "java",
"TagPrefix": "java/resourcemanager/azure-resourcemanager-cosmos",
"Tag": "java/resourcemanager/azure-resourcemanager-cosmos_3ea2fa6b68"
"Tag": "java/resourcemanager/azure-resourcemanager-cosmos_4e1e2e2048"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package com.azure.resourcemanager.cosmos.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -159,15 +158,8 @@ public void validate() {
if (innerProperties() != null) {
innerProperties().validate();
}
if (location() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property location in model CassandraKeyspaceGetResultsInner"));
}
}

private static final ClientLogger LOGGER = new ClientLogger(CassandraKeyspaceGetResultsInner.class);

/**
* {@inheritDoc}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package com.azure.resourcemanager.cosmos.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -159,15 +158,8 @@ public void validate() {
if (innerProperties() != null) {
innerProperties().validate();
}
if (location() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property location in model CassandraTableGetResultsInner"));
}
}

private static final ClientLogger LOGGER = new ClientLogger(CassandraTableGetResultsInner.class);

/**
* {@inheritDoc}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package com.azure.resourcemanager.cosmos.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -133,17 +132,11 @@ public void validate() {
if (properties() != null) {
properties().validate();
}
if (location() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException("Missing required property location in model ClusterResourceInner"));
}
if (identity() != null) {
identity().validate();
}
}

private static final ClientLogger LOGGER = new ClientLogger(ClusterResourceInner.class);

/**
* {@inheritDoc}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import com.azure.core.annotation.Fluent;
import com.azure.core.management.SystemData;
import com.azure.core.util.logging.ClientLogger;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -994,15 +993,8 @@ public void validate() {
if (innerProperties() != null) {
innerProperties().validate();
}
if (location() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property location in model DatabaseAccountGetResultsInner"));
}
}

private static final ClientLogger LOGGER = new ClientLogger(DatabaseAccountGetResultsInner.class);

/**
* {@inheritDoc}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package com.azure.resourcemanager.cosmos.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -159,15 +158,8 @@ public void validate() {
if (innerProperties() != null) {
innerProperties().validate();
}
if (location() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property location in model GremlinDatabaseGetResultsInner"));
}
}

private static final ClientLogger LOGGER = new ClientLogger(GremlinDatabaseGetResultsInner.class);

/**
* {@inheritDoc}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package com.azure.resourcemanager.cosmos.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -159,15 +158,8 @@ public void validate() {
if (innerProperties() != null) {
innerProperties().validate();
}
if (location() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property location in model GremlinGraphGetResultsInner"));
}
}

private static final ClientLogger LOGGER = new ClientLogger(GremlinGraphGetResultsInner.class);

/**
* {@inheritDoc}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package com.azure.resourcemanager.cosmos.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -159,15 +158,8 @@ public void validate() {
if (innerProperties() != null) {
innerProperties().validate();
}
if (location() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property location in model MongoDBCollectionGetResultsInner"));
}
}

private static final ClientLogger LOGGER = new ClientLogger(MongoDBCollectionGetResultsInner.class);

/**
* {@inheritDoc}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package com.azure.resourcemanager.cosmos.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -159,15 +158,8 @@ public void validate() {
if (innerProperties() != null) {
innerProperties().validate();
}
if (location() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property location in model MongoDBDatabaseGetResultsInner"));
}
}

private static final ClientLogger LOGGER = new ClientLogger(MongoDBDatabaseGetResultsInner.class);

/**
* {@inheritDoc}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package com.azure.resourcemanager.cosmos.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -159,15 +158,8 @@ public void validate() {
if (innerProperties() != null) {
innerProperties().validate();
}
if (location() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property location in model SqlContainerGetResultsInner"));
}
}

private static final ClientLogger LOGGER = new ClientLogger(SqlContainerGetResultsInner.class);

/**
* {@inheritDoc}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package com.azure.resourcemanager.cosmos.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -159,15 +158,8 @@ public void validate() {
if (innerProperties() != null) {
innerProperties().validate();
}
if (location() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property location in model SqlDatabaseGetResultsInner"));
}
}

private static final ClientLogger LOGGER = new ClientLogger(SqlDatabaseGetResultsInner.class);

/**
* {@inheritDoc}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package com.azure.resourcemanager.cosmos.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -135,15 +134,8 @@ public void validate() {
if (innerProperties() != null) {
innerProperties().validate();
}
if (location() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property location in model SqlStoredProcedureGetResultsInner"));
}
}

private static final ClientLogger LOGGER = new ClientLogger(SqlStoredProcedureGetResultsInner.class);

/**
* {@inheritDoc}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package com.azure.resourcemanager.cosmos.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -135,15 +134,8 @@ public void validate() {
if (innerProperties() != null) {
innerProperties().validate();
}
if (location() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property location in model SqlTriggerGetResultsInner"));
}
}

private static final ClientLogger LOGGER = new ClientLogger(SqlTriggerGetResultsInner.class);

/**
* {@inheritDoc}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package com.azure.resourcemanager.cosmos.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -135,15 +134,8 @@ public void validate() {
if (innerProperties() != null) {
innerProperties().validate();
}
if (location() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException(
"Missing required property location in model SqlUserDefinedFunctionGetResultsInner"));
}
}

private static final ClientLogger LOGGER = new ClientLogger(SqlUserDefinedFunctionGetResultsInner.class);

/**
* {@inheritDoc}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package com.azure.resourcemanager.cosmos.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
Expand Down Expand Up @@ -159,14 +158,8 @@ public void validate() {
if (innerProperties() != null) {
innerProperties().validate();
}
if (location() == null) {
throw LOGGER.atError()
.log(new IllegalArgumentException("Missing required property location in model TableGetResultsInner"));
}
}

private static final ClientLogger LOGGER = new ClientLogger(TableGetResultsInner.class);

/**
* {@inheritDoc}
*/
Expand Down
Loading

0 comments on commit ff9d93f

Please sign in to comment.