-
Notifications
You must be signed in to change notification settings - Fork 82
/
core.diff
75 lines (67 loc) · 4.04 KB
/
core.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
diff --git a/packages/http-client-java/emitter/src/code-model-builder.ts b/packages/http-client-java/emitter/src/code-model-builder.ts
index 5375778e0..917a4a957 100644
--- a/packages/http-client-java/emitter/src/code-model-builder.ts
+++ b/packages/http-client-java/emitter/src/code-model-builder.ts
@@ -241,7 +241,7 @@ export class CodeModelBuilder {
}
public async build(): Promise<CodeModel> {
- this.sdkContext = await createSdkContext(this.emitterContext, "@typespec/http-client-java", {
+ this.sdkContext = await createSdkContext(this.emitterContext, "@azure-tools/typespec-java", {
versioning: { previewStringRegex: /$/ },
}); // include all versions and do the filter by ourselves
diff --git a/packages/http-client-java/emitter/src/emitter.ts b/packages/http-client-java/emitter/src/emitter.ts
index 317e746d2..848b46275 100644
--- a/packages/http-client-java/emitter/src/emitter.ts
+++ b/packages/http-client-java/emitter/src/emitter.ts
@@ -98,7 +98,7 @@ const EmitterOptionsSchema: JSONSchemaType<EmitterOptions> = {
};
export const $lib = createTypeSpecLibrary({
- name: "@typespec/http-client-java",
+ name: "@azure-tools/typespec-java",
diagnostics: {},
emitter: {
options: EmitterOptionsSchema,
diff --git a/packages/http-client-java/generator/http-client-generator-core/pom.xml b/packages/http-client-java/generator/http-client-generator-core/pom.xml
index afa83e5c4..db70c748e 100644
--- a/packages/http-client-java/generator/http-client-generator-core/pom.xml
+++ b/packages/http-client-java/generator/http-client-generator-core/pom.xml
@@ -21,6 +21,11 @@
</properties>
<dependencies>
+ <dependency>
+ <groupId>com.azure.tools</groupId>
+ <artifactId>azure-autorest-customization</artifactId>
+ <version>1.0.0-beta.8</version>
+ </dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core</artifactId>
diff --git a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/postprocessor/Postprocessor.java b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/postprocessor/Postprocessor.java
index d44ce8ec4..7953870bc 100644
--- a/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/postprocessor/Postprocessor.java
+++ b/packages/http-client-java/generator/http-client-generator-core/src/main/java/com/microsoft/typespec/http/client/generator/core/postprocessor/Postprocessor.java
@@ -3,9 +3,9 @@
package com.microsoft.typespec.http.client.generator.core.postprocessor;
+import com.azure.autorest.customization.Customization;
+import com.azure.autorest.customization.implementation.Utils;
import com.azure.json.JsonReader;
-import com.microsoft.typespec.http.client.generator.core.customization.Customization;
-import com.microsoft.typespec.http.client.generator.core.customization.implementation.Utils;
import com.microsoft.typespec.http.client.generator.core.extension.base.util.FileUtils;
import com.microsoft.typespec.http.client.generator.core.extension.plugin.JavaSettings;
import com.microsoft.typespec.http.client.generator.core.extension.plugin.NewPlugin;
diff --git a/packages/http-client-java/generator/http-client-generator/src/main/resources/readme/pom.xml b/packages/http-client-java/generator/http-client-generator/src/main/resources/readme/pom.xml
index c99896650..358938595 100644
--- a/packages/http-client-java/generator/http-client-generator/src/main/resources/readme/pom.xml
+++ b/packages/http-client-java/generator/http-client-generator/src/main/resources/readme/pom.xml
@@ -16,9 +16,9 @@
<dependencies>
<dependency>
- <groupId>com.microsoft.typespec</groupId>
- <artifactId>http-client-generator-core</artifactId>
- <version>1.0.0-beta.1</version>
+ <groupId>com.azure.tools</groupId>
+ <artifactId>azure-autorest-customization</artifactId>
+ <version>1.0.0-beta.8</version>
</dependency>
</dependencies>