Skip to content

Commit

Permalink
tsp, sync core for namespace feature (#2988)
Browse files Browse the repository at this point in the history
  • Loading branch information
weidongxu-microsoft authored Nov 22, 2024
1 parent ab7bb63 commit ef83b1b
Show file tree
Hide file tree
Showing 303 changed files with 2,787 additions and 759 deletions.
2 changes: 1 addition & 1 deletion azure-dataplane-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.15.6</version>
<version>1.15.7</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.5</version>
<version>1.15.6</version>
</dependency>

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

Expand Down
2 changes: 1 addition & 1 deletion core
Submodule core updated 841 files
6 changes: 3 additions & 3 deletions customization-base/src/main/resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,19 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
<version>1.54.0</version>
<version>1.54.1</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-http-netty</artifactId>
<version>1.15.6</version>
<version>1.15.7</version>
</dependency>

<!-- Test Dependencies -->
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.27.0-beta.3</version>
<version>1.27.0-beta.4</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.6</version>
<version>1.15.7</version>
</dependency>

<!-- Test Dependencies -->
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.27.0-beta.3</version>
<version>1.27.0-beta.4</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions fluent-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-management</artifactId>
<version>1.15.5</version>
<version>1.15.6</version>
</dependency>

<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.27.0-beta.3</version>
<version>1.27.0-beta.4</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand All @@ -109,7 +109,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.14.1</version>
<version>1.14.2</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@autorest/java",
"version": "4.1.41",
"version": "4.1.42",
"description": "The Java extension for classic generators in AutoRest.",
"scripts": {
"autorest": "autorest",
Expand Down
2 changes: 1 addition & 1 deletion 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.54.0</version>
<version>1.54.1</version>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
12 changes: 6 additions & 6 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.54.0;1.54.0
com.azure:azure-core-experimental;1.0.0-beta.55;1.0.0-beta.55
com.azure:azure-core-http-netty;1.15.6;1.15.6
com.azure:azure-core-management;1.15.5;1.15.5
com.azure:azure-core-test;1.27.0-beta.3;1.27.0-beta.3
com.azure:azure-core;1.54.1;1.54.1
com.azure:azure-core-experimental;1.0.0-beta.56;1.0.0-beta.56
com.azure:azure-core-http-netty;1.15.7;1.15.7
com.azure:azure-core-management;1.15.6;1.15.6
com.azure:azure-core-test;1.27.0-beta.4;1.27.0-beta.4

com.azure:azure-identity;1.14.1;1.14.1
com.azure:azure-identity;1.14.2;1.14.2
com.azure:azure-json;1.3.0;1.3.0
2 changes: 1 addition & 1 deletion protocol-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.27.0-beta.3</version>
<version>1.27.0-beta.4</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand Down
7 changes: 7 additions & 0 deletions typespec-extension/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Release History

## 0.26.0 (2024-11-22)

Compatible with compiler 0.62.

- Supported `enable-subclient` emitter option.
- Supported `@clientNamespace` from "@azure-tools/typespec-client-generator-core".

## 0.25.0 (2024-11-14)

Compatible with compiler 0.62.
Expand Down
20 changes: 10 additions & 10 deletions typespec-extension/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions typespec-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure-tools/typespec-java",
"version": "0.25.0",
"version": "0.26.0",
"description": "TypeSpec library for emitting Java client from the TypeSpec REST protocol binding",
"keywords": [
"TypeSpec"
Expand Down Expand Up @@ -49,7 +49,7 @@
"@azure-tools/typespec-azure-resource-manager": ">=0.48.0 <1.0.0",
"@azure-tools/typespec-autorest": ">=0.48.0 <1.0.0",
"@azure-tools/typespec-azure-rulesets": ">=0.48.0 <1.0.0",
"@azure-tools/typespec-client-generator-core": ">=0.48.0 <1.0.0",
"@azure-tools/typespec-client-generator-core": ">=0.48.2 <1.0.0",
"@typespec/compiler": ">=0.62.0 <1.0.0",
"@typespec/http": ">=0.62.0 <1.0.0",
"@typespec/openapi": ">=0.62.0 <1.0.0",
Expand All @@ -67,7 +67,7 @@
"@azure-tools/typespec-azure-resource-manager": "0.48.0",
"@azure-tools/typespec-autorest": "0.48.0",
"@azure-tools/typespec-azure-rulesets": "0.48.0",
"@azure-tools/typespec-client-generator-core": "0.48.1",
"@azure-tools/typespec-client-generator-core": "0.48.2",
"@types/js-yaml": "~4.0.9",
"@types/lodash": "~4.17.13",
"@types/mocha": "~10.0.9",
Expand Down
8 changes: 0 additions & 8 deletions typespec-extension/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,9 @@ options:
emitter-output-dir: "{project-root}/azure-ai-language-authoring"
namespace: "com.azure.ai.language.authoring"
service-name: "Authoring"
service-versions:
- "2022-05-15-preview"
enable-sync-stack: true
stream-style-serialization: true
generate-samples: true
generate-tests: true
examples-dir: "{project-root}/examples"
partial-update: false
models-subpackage: "models"
custom-types-subpackage: "implementation.models"
custom-types: InternalModel1,InternalModel2
api-version: "2023-11-01"
```
Expand Down
4 changes: 2 additions & 2 deletions typespec-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"testserver-run": "npx cadl-ranch serve ./node_modules/@azure-tools/cadl-ranch-specs/http --coverageFile ./cadl-ranch-coverage-java.json"
},
"dependencies": {
"@azure-tools/cadl-ranch-specs": "0.39.0",
"@azure-tools/typespec-java": "file:/../typespec-extension/azure-tools-typespec-java-0.25.0.tgz"
"@azure-tools/cadl-ranch-specs": "0.39.4",
"@azure-tools/typespec-java": "file:/../typespec-extension/azure-tools-typespec-java-0.26.0.tgz"
},
"devDependencies": {
"@typespec/prettier-plugin-typespec": "~0.62.0",
Expand Down
6 changes: 3 additions & 3 deletions typespec-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-identity</artifactId>
<version>1.14.1</version>
<version>1.14.2</version>
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-management</artifactId>
<version>1.15.5</version>
<version>1.15.6</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down Expand Up @@ -69,7 +69,7 @@
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-test</artifactId>
<version>1.27.0-beta.3</version>
<version>1.27.0-beta.4</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
package _specs_.azure.clientgenerator.core.access;

import _specs_.azure.clientgenerator.core.access.implementation.InternalOperationsImpl;
import _specs_.azure.clientgenerator.core.access.implementation.models.InternalDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.implementation.models.NoDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.models.PublicDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.internaloperation.implementation.models.InternalDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.internaloperation.implementation.models.NoDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.internaloperation.models.PublicDecoratorModelInInternal;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
package _specs_.azure.clientgenerator.core.access;

import _specs_.azure.clientgenerator.core.access.implementation.InternalOperationsImpl;
import _specs_.azure.clientgenerator.core.access.implementation.models.InternalDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.implementation.models.NoDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.models.PublicDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.internaloperation.implementation.models.InternalDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.internaloperation.implementation.models.NoDecoratorModelInInternal;
import _specs_.azure.clientgenerator.core.access.internaloperation.models.PublicDecoratorModelInInternal;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
package _specs_.azure.clientgenerator.core.access;

import _specs_.azure.clientgenerator.core.access.implementation.PublicOperationsImpl;
import _specs_.azure.clientgenerator.core.access.models.NoDecoratorModelInPublic;
import _specs_.azure.clientgenerator.core.access.models.PublicDecoratorModelInPublic;
import _specs_.azure.clientgenerator.core.access.publicoperation.models.NoDecoratorModelInPublic;
import _specs_.azure.clientgenerator.core.access.publicoperation.models.PublicDecoratorModelInPublic;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
package _specs_.azure.clientgenerator.core.access;

import _specs_.azure.clientgenerator.core.access.implementation.PublicOperationsImpl;
import _specs_.azure.clientgenerator.core.access.models.NoDecoratorModelInPublic;
import _specs_.azure.clientgenerator.core.access.models.PublicDecoratorModelInPublic;
import _specs_.azure.clientgenerator.core.access.publicoperation.models.NoDecoratorModelInPublic;
import _specs_.azure.clientgenerator.core.access.publicoperation.models.PublicDecoratorModelInPublic;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
package _specs_.azure.clientgenerator.core.access;

import _specs_.azure.clientgenerator.core.access.implementation.RelativeModelInOperationsImpl;
import _specs_.azure.clientgenerator.core.access.implementation.models.AbstractModel;
import _specs_.azure.clientgenerator.core.access.implementation.models.OuterModel;
import _specs_.azure.clientgenerator.core.access.relativemodelinoperation.implementation.models.AbstractModel;
import _specs_.azure.clientgenerator.core.access.relativemodelinoperation.implementation.models.OuterModel;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
package _specs_.azure.clientgenerator.core.access;

import _specs_.azure.clientgenerator.core.access.implementation.RelativeModelInOperationsImpl;
import _specs_.azure.clientgenerator.core.access.implementation.models.AbstractModel;
import _specs_.azure.clientgenerator.core.access.implementation.models.OuterModel;
import _specs_.azure.clientgenerator.core.access.relativemodelinoperation.implementation.models.AbstractModel;
import _specs_.azure.clientgenerator.core.access.relativemodelinoperation.implementation.models.OuterModel;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package _specs_.azure.clientgenerator.core.access;

import _specs_.azure.clientgenerator.core.access.implementation.SharedModelInOperationsImpl;
import _specs_.azure.clientgenerator.core.access.models.SharedModel;
import _specs_.azure.clientgenerator.core.access.sharedmodelinoperation.models.SharedModel;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package _specs_.azure.clientgenerator.core.access;

import _specs_.azure.clientgenerator.core.access.implementation.SharedModelInOperationsImpl;
import _specs_.azure.clientgenerator.core.access.models.SharedModel;
import _specs_.azure.clientgenerator.core.access.sharedmodelinoperation.models.SharedModel;
import com.azure.core.annotation.Generated;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.
// Code generated by Microsoft (R) TypeSpec Code Generator.

package _specs_.azure.clientgenerator.core.access.implementation.models;
package _specs_.azure.clientgenerator.core.access.internaloperation.implementation.models;

import com.azure.core.annotation.Generated;
import com.azure.core.annotation.Immutable;
Expand Down
Loading

0 comments on commit ef83b1b

Please sign in to comment.