From 1fc15ccc513c473b68b428b878ec11245927aa26 Mon Sep 17 00:00:00 2001 From: ripark Date: Tue, 7 Jan 2025 10:27:49 -0800 Subject: [PATCH 1/5] test go --- specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml b/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml index 4b4aa05b58e0..f61c6899d236 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml +++ b/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml @@ -52,6 +52,7 @@ options: packageDetails: name: "@azure/eventgrid" flavor: azure + "@azure-tools/typespec-go": module: "github.com/Azure/azure-sdk-for-go/sdk/messaging/eventgrid/aznamespaces" module-version: "0.0.1" From 22037115aa9018436c7c5f5529fd7e28b0561823 Mon Sep 17 00:00:00 2001 From: Richard Park <51494936+richardpark-msft@users.noreply.github.com> Date: Tue, 7 Jan 2025 13:05:27 -0800 Subject: [PATCH 2/5] Update tspconfig.yaml for EventGrid package configuration --- specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml b/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml index f61c6899d236..4b4aa05b58e0 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml +++ b/specification/eventgrid/Azure.Messaging.EventGrid/tspconfig.yaml @@ -52,7 +52,6 @@ options: packageDetails: name: "@azure/eventgrid" flavor: azure - "@azure-tools/typespec-go": module: "github.com/Azure/azure-sdk-for-go/sdk/messaging/eventgrid/aznamespaces" module-version: "0.0.1" From 63b60f66e2d28cb69bce31ad44ace2c32d7f3eef Mon Sep 17 00:00:00 2001 From: ripark Date: Fri, 10 Jan 2025 14:43:17 -0800 Subject: [PATCH 3/5] Updating with required attributes --- .../Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml index 2982f8f18666..2c5a6f285e0c 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml @@ -40,6 +40,8 @@ options: name: "@azure/eventgrid-system-events" flavor: azure "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/messaging/eventgrid/azsystemevents" + package-dir: "azsystemevents" module: "github.com/Azure/azure-sdk-for-go/sdk/messaging/eventgrid/azsystemevents" module-version: "0.0.1" emitter-output-dir: "{project-root}" From b71615d684d9eed8660edc4ef222724148e75162 Mon Sep 17 00:00:00 2001 From: ripark Date: Tue, 14 Jan 2025 22:35:11 +0000 Subject: [PATCH 4/5] Syncing again with what's required. --- .../Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml index 2c5a6f285e0c..185c58446abb 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml @@ -46,3 +46,6 @@ options: module-version: "0.0.1" emitter-output-dir: "{project-root}" slice-elements-byval: true + generate-fakes: true + inject-spans: true + single-client: true From f862fb8e4ca6d11cbb223e741b376c913cd5d5ee Mon Sep 17 00:00:00 2001 From: ripark Date: Tue, 14 Jan 2025 23:01:25 +0000 Subject: [PATCH 5/5] Oops, we're not an ARM package. --- .../Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml index 185c58446abb..8babdbf72f20 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml @@ -40,7 +40,7 @@ options: name: "@azure/eventgrid-system-events" flavor: azure "@azure-tools/typespec-go": - service-dir: "sdk/resourcemanager/messaging/eventgrid/azsystemevents" + service-dir: "sdk/messaging/eventgrid/azsystemevents" package-dir: "azsystemevents" module: "github.com/Azure/azure-sdk-for-go/sdk/messaging/eventgrid/azsystemevents" module-version: "0.0.1"