diff --git a/.gitignore b/.gitignore index 6e53b4c6..8a091187 100644 --- a/.gitignore +++ b/.gitignore @@ -50,6 +50,7 @@ Thumbs.db README.local.md **/tempo-data/ **/nats-jetstream-data/ +**/data/ *.key diff --git a/apps/clients/public/cli/v2alpha/oeco/cmd/cli.go b/apps/clients/public/cli/v2alpha/oeco/cmd/cli.go index bf620e1f..5a403a3a 100644 --- a/apps/clients/public/cli/v2alpha/oeco/cmd/cli.go +++ b/apps/clients/public/cli/v2alpha/oeco/cmd/cli.go @@ -16,7 +16,6 @@ import ( charmbraceletloggerv1 "github.com/openecosystems/ecosystem/libs/partner/go/charmbracelet" nebulav1ca "github.com/openecosystems/ecosystem/libs/partner/go/nebula/ca" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" cmdv2alphapbcmd "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha/gen/platform/cmd" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) @@ -42,7 +41,7 @@ var ( quiet bool logToFile bool - configuration *cliv2alphalib.Configuration + configuration *sdkv2alphalib.CLIConfiguration ) // compileTimeVersion stores the version set at the time of compilation. @@ -81,7 +80,7 @@ var RootCmd = &cobra.Command{ Version: Version, SilenceUsage: true, PersistentPreRun: func(cmd *cobra.Command, _ []string) { - override := cliv2alphalib.Configuration{ + override := sdkv2alphalib.CLIConfiguration{ App: specv2pb.App{ Debug: debug, Verbose: verbose, @@ -114,10 +113,10 @@ func Execute() { &nebulav1ca.Binding{}, } - c := cliv2alphalib.NewCLI( + c := sdkv2alphalib.NewCLI( context.Background(), - cliv2alphalib.WithBounds(bounds), - cliv2alphalib.WithConfigurationProvider(&cliv2alphalib.Configuration{}), + sdkv2alphalib.WithCLIBounds(bounds), + sdkv2alphalib.WithCLIConfigurationProvider(&sdkv2alphalib.CLIConfiguration{}), ) defer c.GracefulShutdown() @@ -141,7 +140,7 @@ func Execute() { } // AddCommands registers and adds commands to the RootCmd based on the provided SpecSettings. -func AddCommands(settings *cliv2alphalib.Configuration) { +func AddCommands(settings *sdkv2alphalib.CLIConfiguration) { cmdv2alphapbcmd.CommandRegistry.RegisterCommands() if settings != nil && settings.Systems != nil { diff --git a/apps/clients/public/cli/v2alpha/oeco/internal/api/iam/v2alpha/create_account.pb.go b/apps/clients/public/cli/v2alpha/oeco/internal/api/iam/v2alpha/create_account.pb.go index 7fa94fb8..fc568840 100644 --- a/apps/clients/public/cli/v2alpha/oeco/internal/api/iam/v2alpha/create_account.pb.go +++ b/apps/clients/public/cli/v2alpha/oeco/internal/api/iam/v2alpha/create_account.pb.go @@ -13,10 +13,10 @@ import ( "google.golang.org/protobuf/encoding/protojson" nebulav1ca "github.com/openecosystems/ecosystem/libs/partner/go/nebula/ca" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - iamv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" - iamv2alphapbconnect "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha/iamv2alphapbconnect" + iamv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" + iamv2alphapbconnect "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect" + "github.com/openecosystems/ecosystem/apps/clients/public/cli/v2alpha/oeco/internal" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) @@ -39,7 +39,7 @@ var CreateAccountV2AlphaCmd = &cobra.Command{ Facilitates creating a PKI certificate and getting it signed by an Ecosystem Account Authority ]`, Run: func(cmd *cobra.Command, _ []string) { log.Debug("Calling createAccount account") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -74,7 +74,7 @@ Facilitates creating a PKI certificate and getting it signed by an Ecosystem Acc url = "http://" + settings.Platform.Endpoint } - client := iamv2alphapbconnect.NewAccountServiceClient(httpClient, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := iamv2alphapbconnect.NewAccountServiceClient(httpClient, url, connect.WithInterceptors(internal.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err4 := client.CreateAccount(context.Background(), request) if err4 != nil { diff --git a/apps/clients/public/cli/v2alpha/oeco/internal/api/iam/v2alpha/create_account_authority.pb.go b/apps/clients/public/cli/v2alpha/oeco/internal/api/iam/v2alpha/create_account_authority.pb.go index 5cae1587..65922b46 100644 --- a/apps/clients/public/cli/v2alpha/oeco/internal/api/iam/v2alpha/create_account_authority.pb.go +++ b/apps/clients/public/cli/v2alpha/oeco/internal/api/iam/v2alpha/create_account_authority.pb.go @@ -6,7 +6,7 @@ import ( "fmt" "os" - iamv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" + iamv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" nebulav1ca "github.com/openecosystems/ecosystem/libs/partner/go/nebula/ca" diff --git a/apps/clients/public/cli/v2alpha/oeco/internal/ecosytem/v2alpha/ecosystem_create.cmd.go b/apps/clients/public/cli/v2alpha/oeco/internal/ecosytem/v2alpha/ecosystem_create.cmd.go index 27145031..56ae9387 100644 --- a/apps/clients/public/cli/v2alpha/oeco/internal/ecosytem/v2alpha/ecosystem_create.cmd.go +++ b/apps/clients/public/cli/v2alpha/oeco/internal/ecosytem/v2alpha/ecosystem_create.cmd.go @@ -10,7 +10,6 @@ import ( context "github.com/openecosystems/ecosystem/apps/clients/public/cli/v2alpha/oeco/internal/tui/context" ecosystemcreate "github.com/openecosystems/ecosystem/apps/clients/public/cli/v2alpha/oeco/internal/tui/sections/ecosystem_create" theme "github.com/openecosystems/ecosystem/apps/clients/public/cli/v2alpha/oeco/internal/tui/theme" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) @@ -24,7 +23,7 @@ var Cmd = &cobra.Command{ // createModel initializes an ecosystem model and optionally sets up logging based on the provided command flags. func createModel(cmd *cobra.Command) *ecosystemcreate.Model { - settings := cmd.Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) logger := cmd.Context().Value(sdkv2alphalib.LoggerContextKey).(*log.Logger) // c := config.Config{} diff --git a/apps/clients/public/cli/v2alpha/oeco/internal/spec_interceptor.go b/apps/clients/public/cli/v2alpha/oeco/internal/spec_interceptor.go new file mode 100644 index 00000000..94e9ca6b --- /dev/null +++ b/apps/clients/public/cli/v2alpha/oeco/internal/spec_interceptor.go @@ -0,0 +1,11 @@ +package internal + +import ( + "context" + "strconv" + + "connectrpc.com/connect" + "google.golang.org/protobuf/types/known/timestamppb" + + sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" +) diff --git a/apps/clients/public/cli/v2alpha/oeco/internal/tui/components/form/ecosystem_create_form/ecosystem_create_form.go b/apps/clients/public/cli/v2alpha/oeco/internal/tui/components/form/ecosystem_create_form/ecosystem_create_form.go index db0561f5..698061d9 100644 --- a/apps/clients/public/cli/v2alpha/oeco/internal/tui/components/form/ecosystem_create_form/ecosystem_create_form.go +++ b/apps/clients/public/cli/v2alpha/oeco/internal/tui/components/form/ecosystem_create_form/ecosystem_create_form.go @@ -18,7 +18,7 @@ import ( tasks "github.com/openecosystems/ecosystem/apps/clients/public/cli/v2alpha/oeco/internal/tui/tasks" ecosystem "github.com/openecosystems/ecosystem/apps/clients/public/cli/v2alpha/oeco/internal/tui/tasks/ecosystem" theme "github.com/openecosystems/ecosystem/apps/clients/public/cli/v2alpha/oeco/internal/tui/theme" - ecosystemv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha" + ecosystemv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha" ) // maxWidth defines the maximum allowed width for the application elements, ensuring consistent layout and readability. diff --git a/apps/clients/public/cli/v2alpha/oeco/internal/tui/context/context.go b/apps/clients/public/cli/v2alpha/oeco/internal/tui/context/context.go index 694daafa..9a323c18 100644 --- a/apps/clients/public/cli/v2alpha/oeco/internal/tui/context/context.go +++ b/apps/clients/public/cli/v2alpha/oeco/internal/tui/context/context.go @@ -6,7 +6,7 @@ import ( config "github.com/openecosystems/ecosystem/apps/clients/public/cli/v2alpha/oeco/internal/tui/config" theme "github.com/openecosystems/ecosystem/apps/clients/public/cli/v2alpha/oeco/internal/tui/theme" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" + cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) // ProgramContext encapsulates the application UI's state, configuration, and behavior for rendering and interaction. @@ -31,7 +31,7 @@ type ProgramContext struct { // Configurable Section config.SectionType Page config.PageType - Settings *cliv2alphalib.Configuration + Settings *cliv2alphalib.CLIConfiguration Config *config.Config Error error diff --git a/apps/clients/public/cli/v2alpha/oeco/internal/tui/sections/section.go b/apps/clients/public/cli/v2alpha/oeco/internal/tui/sections/section.go index 9225addc..6f4e4b24 100644 --- a/apps/clients/public/cli/v2alpha/oeco/internal/tui/sections/section.go +++ b/apps/clients/public/cli/v2alpha/oeco/internal/tui/sections/section.go @@ -22,7 +22,7 @@ import ( theme "github.com/openecosystems/ecosystem/apps/clients/public/cli/v2alpha/oeco/internal/tui/theme" utils "github.com/openecosystems/ecosystem/apps/clients/public/cli/v2alpha/oeco/internal/tui/utils" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" + cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) var once sync.Once @@ -47,7 +47,7 @@ type NewBaseOptions struct { Plural string Pages []contract.Page CurrentPageID int - Settings *cliv2alphalib.Configuration + Settings *cliv2alphalib.CLIConfiguration } // NewBaseModel creates and initializes a new BaseModel instance with the provided context and options. diff --git a/apps/clients/public/cli/v2alpha/oeco/internal/tui/tasks/account_authority/local_account_authority.go b/apps/clients/public/cli/v2alpha/oeco/internal/tui/tasks/account_authority/local_account_authority.go index d5343c79..8da28f79 100644 --- a/apps/clients/public/cli/v2alpha/oeco/internal/tui/tasks/account_authority/local_account_authority.go +++ b/apps/clients/public/cli/v2alpha/oeco/internal/tui/tasks/account_authority/local_account_authority.go @@ -8,7 +8,7 @@ import ( pcontext "github.com/openecosystems/ecosystem/apps/clients/public/cli/v2alpha/oeco/internal/tui/context" nebulav1ca "github.com/openecosystems/ecosystem/libs/partner/go/nebula/ca" - iamv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" + iamv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) diff --git a/apps/clients/public/cli/v2alpha/oeco/internal/tui/tasks/ecosystem/create_ecosytem.go b/apps/clients/public/cli/v2alpha/oeco/internal/tui/tasks/ecosystem/create_ecosytem.go index 12d2e1a2..0d1077d3 100644 --- a/apps/clients/public/cli/v2alpha/oeco/internal/tui/tasks/ecosystem/create_ecosytem.go +++ b/apps/clients/public/cli/v2alpha/oeco/internal/tui/tasks/ecosystem/create_ecosytem.go @@ -11,7 +11,7 @@ import ( accountauthority "github.com/openecosystems/ecosystem/apps/clients/public/cli/v2alpha/oeco/internal/tui/tasks/account_authority" account "github.com/openecosystems/ecosystem/apps/clients/public/cli/v2alpha/oeco/internal/tui/tasks/local_account" typev2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/type/v2" - ecosystemv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha" + ecosystemv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha" ) // CreateEcosystemMsg represents a command message used for communication or signaling within a program or system. diff --git a/apps/clients/public/cli/v2alpha/oeco/internal/tui/tasks/local_account/local_account.go b/apps/clients/public/cli/v2alpha/oeco/internal/tui/tasks/local_account/local_account.go index 7f2bb9e2..4d631af2 100644 --- a/apps/clients/public/cli/v2alpha/oeco/internal/tui/tasks/local_account/local_account.go +++ b/apps/clients/public/cli/v2alpha/oeco/internal/tui/tasks/local_account/local_account.go @@ -9,7 +9,7 @@ import ( pcontext "github.com/openecosystems/ecosystem/apps/clients/public/cli/v2alpha/oeco/internal/tui/context" nebulav1ca "github.com/openecosystems/ecosystem/libs/partner/go/nebula/ca" typev2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/type/v2" - iamv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" + iamv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) diff --git a/apps/connectors/poc/network-account/v1alpha/go.mod b/apps/connectors/poc/network-account/v1alpha/go.mod index 8537b5a0..e0bab807 100644 --- a/apps/connectors/poc/network-account/v1alpha/go.mod +++ b/apps/connectors/poc/network-account/v1alpha/go.mod @@ -65,10 +65,6 @@ require ( github.com/nbrownus/go-metrics-prometheus v0.0.0-20210712211119-974a6260965f // indirect github.com/oapi-codegen/oapi-codegen/v2 v2.3.0 // indirect github.com/oapi-codegen/runtime v1.1.1 // indirect - github.com/openecosystems/ecosystem/libs/poc/go/protobuf v0.0.0-20250314114941-6105506b389b // indirect - github.com/openecosystems/ecosystem/libs/private/go/protobuf v0.0.0-20250314114941-6105506b389b // indirect - github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf v0.0.0-20250314114941-6105506b389b // indirect - github.com/openecosystems/ecosystem/libs/public/go/protobuf v0.0.0-20250314114941-6105506b389b // indirect github.com/pelletier/go-toml/v2 v2.2.2 // indirect github.com/perimeterx/marshmallow v1.1.5 // indirect github.com/pkg/errors v0.9.1 // indirect diff --git a/apps/connectors/poc/network-account/v1alpha/listeners/create.go b/apps/connectors/poc/network-account/v1alpha/listeners/create.go index c627700b..c328ddb2 100644 --- a/apps/connectors/poc/network-account/v1alpha/listeners/create.go +++ b/apps/connectors/poc/network-account/v1alpha/listeners/create.go @@ -9,13 +9,13 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/timestamppb" + configurationv2alphalib "github.com/openecosystems/ecosystem/libs/partner/go/configuration/v2alpha" natsnodev1 "github.com/openecosystems/ecosystem/libs/partner/go/nats" zaploggerv1 "github.com/openecosystems/ecosystem/libs/partner/go/zap" - configurationv2alphalib "github.com/openecosystems/ecosystem/libs/private/go/configuration/v2alpha" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" typev2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/type/v2" ecosystemv2alphapbmodel "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/ecosystem/v2alpha" - ecosystemv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha" + ecosystemv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) diff --git a/apps/connectors/poc/network-account/v1alpha/main.go b/apps/connectors/poc/network-account/v1alpha/main.go index d2af4b33..b4f40358 100644 --- a/apps/connectors/poc/network-account/v1alpha/main.go +++ b/apps/connectors/poc/network-account/v1alpha/main.go @@ -5,10 +5,10 @@ import ( internal "github.com/openecosystems/ecosystem/apps/connectors/poc/network-account/v1alpha/internal" listeners "github.com/openecosystems/ecosystem/apps/connectors/poc/network-account/v1alpha/listeners" + configurationv2alphalib "github.com/openecosystems/ecosystem/libs/partner/go/configuration/v2alpha" natsnodev1 "github.com/openecosystems/ecosystem/libs/partner/go/nats" nebulav1 "github.com/openecosystems/ecosystem/libs/partner/go/nebula" zaploggerv1 "github.com/openecosystems/ecosystem/libs/partner/go/zap" - configurationv2alphalib "github.com/openecosystems/ecosystem/libs/private/go/configuration/v2alpha" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) diff --git a/apps/workloads/poc/communications/v1alpha/preference-center/main.go b/apps/workloads/poc/communications/v1alpha/preference-center/main.go index 0b2a9ba2..94632578 100644 --- a/apps/workloads/poc/communications/v1alpha/preference-center/main.go +++ b/apps/workloads/poc/communications/v1alpha/preference-center/main.go @@ -3,10 +3,10 @@ package main import ( "context" + configurationv2alphalib "github.com/openecosystems/ecosystem/libs/partner/go/configuration/v2alpha" natsnodev1 "github.com/openecosystems/ecosystem/libs/partner/go/nats" nebulav1 "github.com/openecosystems/ecosystem/libs/partner/go/nebula" zaploggerv1 "github.com/openecosystems/ecosystem/libs/partner/go/zap" - configurationv2alphalib "github.com/openecosystems/ecosystem/libs/private/go/configuration/v2alpha" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) diff --git a/apps/workloads/public/dns/v2alpha/dynamic-dns/main.go b/apps/workloads/public/dns/v2alpha/dynamic-dns/main.go index 42603a43..2349fb66 100644 --- a/apps/workloads/public/dns/v2alpha/dynamic-dns/main.go +++ b/apps/workloads/public/dns/v2alpha/dynamic-dns/main.go @@ -5,7 +5,7 @@ import ( "fmt" nebulav1 "github.com/openecosystems/ecosystem/libs/partner/go/nebula" - cryptographyv2alphapbconnect "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect" + cryptographyv2alphapbconnect "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" cryptographyv2alphasrv "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha/platform/cryptography/v2alpha" ) diff --git a/apps/workloads/public/ecosystem/v2alpha/ecosystem/account-authority/create.go b/apps/workloads/public/ecosystem/v2alpha/ecosystem/account-authority/create.go index e1a6fd2f..2f6d4ce9 100644 --- a/apps/workloads/public/ecosystem/v2alpha/ecosystem/account-authority/create.go +++ b/apps/workloads/public/ecosystem/v2alpha/ecosystem/account-authority/create.go @@ -12,7 +12,7 @@ package accountauthority // specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" // typev2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/type/v2" // iamv2alphapbmodel "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/iam/v2alpha" -// iamv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" +// iamv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" // sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" //) // diff --git a/apps/workloads/public/ecosystem/v2alpha/ecosystem/certificate/sign.go b/apps/workloads/public/ecosystem/v2alpha/ecosystem/certificate/sign.go index e3397968..8dbd35af 100644 --- a/apps/workloads/public/ecosystem/v2alpha/ecosystem/certificate/sign.go +++ b/apps/workloads/public/ecosystem/v2alpha/ecosystem/certificate/sign.go @@ -9,8 +9,7 @@ import ( zaploggerv1 "github.com/openecosystems/ecosystem/libs/partner/go/zap" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" typev2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/type/v2" - cryptographyv2alphapbmodel "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/cryptography/v2alpha" - cryptographyv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/cryptography/v2alpha" + cryptographyv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cryptography/v2alpha" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) @@ -19,13 +18,13 @@ type SignCertificateListener struct{} // GetConfiguration provides the listener configuration for SignCertificateListener, including subject, queue, and jetstream settings. func (l *SignCertificateListener) GetConfiguration() *natsnodev1.ListenerConfiguration { - entity := &cryptographyv2alphapbmodel.CertificateSpecEntity{} + entity := &cryptographyv2alphapb.CertificateSpecEntity{} streamType := natsnodev1.InboundStream{} subject := natsnodev1.GetMultiplexedRequestSubjectName(streamType.StreamPrefix(), entity.CommandTopic()) queue := natsnodev1.GetQueueGroupName(streamType.StreamPrefix(), entity.TypeName()) return &natsnodev1.ListenerConfiguration{ - Entity: &cryptographyv2alphapbmodel.CertificateSpecEntity{}, + Entity: &cryptographyv2alphapb.CertificateSpecEntity{}, Subject: subject, Queue: queue, StreamType: &natsnodev1.InboundStream{}, diff --git a/apps/workloads/public/ecosystem/v2alpha/ecosystem/configuration/create.go b/apps/workloads/public/ecosystem/v2alpha/ecosystem/configuration/create.go index c83067ac..83aa21b0 100644 --- a/apps/workloads/public/ecosystem/v2alpha/ecosystem/configuration/create.go +++ b/apps/workloads/public/ecosystem/v2alpha/ecosystem/configuration/create.go @@ -11,14 +11,14 @@ import ( natsnodev1 "github.com/openecosystems/ecosystem/libs/partner/go/nats" zaploggerv1 "github.com/openecosystems/ecosystem/libs/partner/go/zap" - configurationv2alphalib "github.com/openecosystems/ecosystem/libs/private/go/configuration/v2alpha" - configurationdefaultsv2alphalib "github.com/openecosystems/ecosystem/libs/private/go/configuration/v2alpha/defaults" - ontologydefaultsv2alphalib "github.com/openecosystems/ecosystem/libs/private/go/ontology/v2alpha/defaults" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" typev2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/type/v2" - configurationv2alphapbmodel "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/configuration/v2alpha" - configurationv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha" + + configurationv2alphalib "github.com/openecosystems/ecosystem/libs/partner/go/configuration/v2alpha" + configurationdefaultsv2alphalib "github.com/openecosystems/ecosystem/libs/partner/go/configuration/v2alpha/defaults" + configurationv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" + ontologydefaultsv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha/ontology" ) // CreateConfigurationListener is a struct that listens for create configuration events and processes them. @@ -26,13 +26,13 @@ type CreateConfigurationListener struct{} // GetConfiguration returns the ListenerConfiguration for CreateConfigurationListener, defining subject, queue, entity, and stream settings. func (l *CreateConfigurationListener) GetConfiguration() *natsnodev1.ListenerConfiguration { - entity := &configurationv2alphapbmodel.ConfigurationSpecEntity{} + entity := &configurationv2alphapb.ConfigurationSpecEntity{} streamType := natsnodev1.InboundStream{} subject := natsnodev1.GetMultiplexedRequestSubjectName(streamType.StreamPrefix(), entity.CommandTopic()) queue := natsnodev1.GetQueueGroupName(streamType.StreamPrefix(), entity.TypeName()) return &natsnodev1.ListenerConfiguration{ - Entity: &configurationv2alphapbmodel.ConfigurationSpecEntity{}, + Entity: &configurationv2alphapb.ConfigurationSpecEntity{}, Subject: subject, Queue: queue, StreamType: &natsnodev1.InboundStream{}, diff --git a/apps/workloads/public/ecosystem/v2alpha/ecosystem/configuration/get.go b/apps/workloads/public/ecosystem/v2alpha/ecosystem/configuration/get.go index 35f0a0f4..de1b1945 100644 --- a/apps/workloads/public/ecosystem/v2alpha/ecosystem/configuration/get.go +++ b/apps/workloads/public/ecosystem/v2alpha/ecosystem/configuration/get.go @@ -6,13 +6,12 @@ import ( "github.com/nats-io/nats.go/jetstream" "go.uber.org/zap" + configurationv2alphalib "github.com/openecosystems/ecosystem/libs/partner/go/configuration/v2alpha" natsnodev1 "github.com/openecosystems/ecosystem/libs/partner/go/nats" zaploggerv1 "github.com/openecosystems/ecosystem/libs/partner/go/zap" - configurationv2alphalib "github.com/openecosystems/ecosystem/libs/private/go/configuration/v2alpha" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" typev2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/type/v2" - configurationv2alphapbmodel "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/configuration/v2alpha" - configurationv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha" + configurationv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) @@ -21,13 +20,13 @@ type GetConfigurationListener struct{} // GetConfiguration creates and returns a ListenerConfiguration for the GetConfigurationListener. func (l *GetConfigurationListener) GetConfiguration() *natsnodev1.ListenerConfiguration { - entity := &configurationv2alphapbmodel.ConfigurationSpecEntity{} + entity := &configurationv2alphapb.ConfigurationSpecEntity{} streamType := natsnodev1.InboundStream{} subject := natsnodev1.GetMultiplexedRequestSubjectName(streamType.StreamPrefix(), entity.EventTopic()) queue := natsnodev1.GetQueueGroupName(streamType.StreamPrefix(), entity.TypeName()) return &natsnodev1.ListenerConfiguration{ - Entity: &configurationv2alphapbmodel.ConfigurationSpecEntity{}, + Entity: &configurationv2alphapb.ConfigurationSpecEntity{}, Subject: subject, Queue: queue, StreamType: &natsnodev1.InboundStream{}, diff --git a/apps/workloads/public/ecosystem/v2alpha/ecosystem/ecosystem/create.go b/apps/workloads/public/ecosystem/v2alpha/ecosystem/ecosystem/create.go index 9e6e8bd8..95898036 100644 --- a/apps/workloads/public/ecosystem/v2alpha/ecosystem/ecosystem/create.go +++ b/apps/workloads/public/ecosystem/v2alpha/ecosystem/ecosystem/create.go @@ -9,13 +9,12 @@ import ( "google.golang.org/protobuf/proto" "google.golang.org/protobuf/types/known/timestamppb" + configurationv2alphalib "github.com/openecosystems/ecosystem/libs/partner/go/configuration/v2alpha" natsnodev1 "github.com/openecosystems/ecosystem/libs/partner/go/nats" zaploggerv1 "github.com/openecosystems/ecosystem/libs/partner/go/zap" - configurationv2alphalib "github.com/openecosystems/ecosystem/libs/private/go/configuration/v2alpha" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" typev2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/type/v2" - ecosystemv2alphapbmodel "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/ecosystem/v2alpha" - ecosystemv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha" + ecosystemv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) @@ -24,13 +23,13 @@ type CreateEcosystemListener struct{} // GetConfiguration returns the listener configuration for the CreateEcosystemListener, including entity, subject, and queue details. func (l *CreateEcosystemListener) GetConfiguration() *natsnodev1.ListenerConfiguration { - entity := &ecosystemv2alphapbmodel.EcosystemSpecEntity{} + entity := &ecosystemv2alphapb.EcosystemSpecEntity{} streamType := natsnodev1.InboundStream{} subject := natsnodev1.GetMultiplexedRequestSubjectName(streamType.StreamPrefix(), entity.CommandTopic()) queue := natsnodev1.GetQueueGroupName(streamType.StreamPrefix(), entity.TypeName()) return &natsnodev1.ListenerConfiguration{ - Entity: &ecosystemv2alphapbmodel.EcosystemSpecEntity{}, + Entity: &ecosystemv2alphapb.EcosystemSpecEntity{}, Subject: subject, Queue: queue, StreamType: &natsnodev1.InboundStream{}, diff --git a/apps/workloads/public/ecosystem/v2alpha/ecosystem/iam/create.go b/apps/workloads/public/ecosystem/v2alpha/ecosystem/iam/create.go index ddc0c217..c776219e 100644 --- a/apps/workloads/public/ecosystem/v2alpha/ecosystem/iam/create.go +++ b/apps/workloads/public/ecosystem/v2alpha/ecosystem/iam/create.go @@ -13,8 +13,7 @@ import ( zaploggerv1 "github.com/openecosystems/ecosystem/libs/partner/go/zap" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" typev2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/type/v2" - iamv2alphapbmodel "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/iam/v2alpha" - iamv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" + iamv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) @@ -23,13 +22,13 @@ type CreateAccountListener struct{} // GetConfiguration returns the listener configuration for the CreateAccountListener, including entity, subject, and queue details. func (l *CreateAccountListener) GetConfiguration() *natsnodev1.ListenerConfiguration { - entity := &iamv2alphapbmodel.AccountSpecEntity{} + entity := &iamv2alphapb.AccountSpecEntity{} streamType := natsnodev1.InboundStream{} subject := natsnodev1.GetMultiplexedRequestSubjectName(streamType.StreamPrefix(), entity.CommandTopic()) queue := natsnodev1.GetQueueGroupName(streamType.StreamPrefix(), entity.TypeName()) return &natsnodev1.ListenerConfiguration{ - Entity: &iamv2alphapbmodel.AccountSpecEntity{}, + Entity: &iamv2alphapb.AccountSpecEntity{}, Subject: subject, Queue: queue, StreamType: &natsnodev1.InboundStream{}, diff --git a/apps/workloads/public/ecosystem/v2alpha/ecosystem/main.go b/apps/workloads/public/ecosystem/v2alpha/ecosystem/main.go index 06d9138c..c64b8952 100644 --- a/apps/workloads/public/ecosystem/v2alpha/ecosystem/main.go +++ b/apps/workloads/public/ecosystem/v2alpha/ecosystem/main.go @@ -7,26 +7,24 @@ import ( "connectrpc.com/otelconnect" "connectrpc.com/vanguard" - certificate "github.com/openecosystems/ecosystem/apps/workloads/public/ecosystem/v2alpha/ecosystem/certificate" - configuration "github.com/openecosystems/ecosystem/apps/workloads/public/ecosystem/v2alpha/ecosystem/configuration" - iam "github.com/openecosystems/ecosystem/apps/workloads/public/ecosystem/v2alpha/ecosystem/iam" + "github.com/openecosystems/ecosystem/apps/workloads/public/ecosystem/v2alpha/ecosystem/configuration" + "github.com/openecosystems/ecosystem/apps/workloads/public/ecosystem/v2alpha/ecosystem/ecosystem" + "github.com/openecosystems/ecosystem/apps/workloads/public/ecosystem/v2alpha/ecosystem/iam" internal "github.com/openecosystems/ecosystem/apps/workloads/public/ecosystem/v2alpha/ecosystem/internal" + configurationv2alphalib "github.com/openecosystems/ecosystem/libs/partner/go/configuration/v2alpha" natsnodev1 "github.com/openecosystems/ecosystem/libs/partner/go/nats" nebulav1 "github.com/openecosystems/ecosystem/libs/partner/go/nebula" nebulav1ca "github.com/openecosystems/ecosystem/libs/partner/go/nebula/ca" opentelemetryv1 "github.com/openecosystems/ecosystem/libs/partner/go/opentelemetry" - advertisementv1pbconnect "github.com/openecosystems/ecosystem/libs/partner/go/protobuf/gen/kevel/advertisement/v1/advertisementv1pbconnect" protovalidatev0 "github.com/openecosystems/ecosystem/libs/partner/go/protovalidate" - advertisementv1pbsrv "github.com/openecosystems/ecosystem/libs/partner/go/server/v2alpha/gen/kevel/advertisement/v1" zaploggerv1 "github.com/openecosystems/ecosystem/libs/partner/go/zap" - configurationv2alphalib "github.com/openecosystems/ecosystem/libs/private/go/configuration/v2alpha" - configurationv2alphapbconnect "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha/configurationv2alphapbconnect" - ecosystemv2alphapbconnect "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbconnect" - iamv2alphapbconnect "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha/iamv2alphapbconnect" + configurationv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbconnect" + ecosystemv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha" + ecosystemv2alphapbconnect "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbconnect" + iamv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" - configurationv2alphapbsrv "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha/gen/platform/configuration/v2alpha" - ecosystemv2alphapbsrv "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha/gen/platform/ecosystem/v2alpha" - iamv2alphapbsrv "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha/gen/platform/iam/v2alpha" ) func main() { @@ -37,11 +35,11 @@ func main() { &nebulav1ca.Binding{}, &nebulav1.Binding{}, &natsnodev1.Binding{SpecEventListeners: []natsnodev1.SpecEventListener{ - //&ecosystem.CreateEcosystemListener{}, + &ecosystem.CreateEcosystemListener{}, &configuration.CreateConfigurationListener{}, &configuration.GetConfigurationListener{}, //&accountauthority.CreateAccountAuthorityListener{}, - &certificate.SignCertificateListener{}, + //&certificate.SignCertificateListener{}, &iam.CreateAccountListener{}, }}, &configurationv2alphalib.Binding{}, @@ -61,13 +59,12 @@ func main() { interceptors := connect.WithInterceptors(sdkv2alphalib.NewSpecInterceptor(), telemetry) var publicServices []*vanguard.Service - publicServices = append(publicServices, vanguard.NewService(iamv2alphapbconnect.NewAccountServiceHandler(&iamv2alphapbsrv.AccountServiceHandler{}, interceptors))) + publicServices = append(publicServices, vanguard.NewService(iamv2alphapbconnect.NewAccountServiceHandler(&iamv2alphapb.AccountServiceHandler{}, interceptors))) var meshServices []*vanguard.Service - meshServices = append(meshServices, vanguard.NewService(ecosystemv2alphapbconnect.NewEcosystemServiceHandler(&ecosystemv2alphapbsrv.EcosystemServiceHandler{}, interceptors))) - meshServices = append(meshServices, vanguard.NewService(configurationv2alphapbconnect.NewConfigurationServiceHandler(&configurationv2alphapbsrv.ConfigurationServiceHandler{}, interceptors))) - meshServices = append(meshServices, vanguard.NewService(iamv2alphapbconnect.NewAccountServiceHandler(&iamv2alphapbsrv.AccountServiceHandler{}, interceptors))) - meshServices = append(meshServices, vanguard.NewService(advertisementv1pbconnect.NewDecisionServiceHandler(&advertisementv1pbsrv.DecisionServiceHandler{}, interceptors))) + meshServices = append(meshServices, vanguard.NewService(ecosystemv2alphapbconnect.NewEcosystemServiceHandler(&ecosystemv2alphapb.EcosystemServiceHandler{}, interceptors))) + meshServices = append(meshServices, vanguard.NewService(configurationv2alphapbconnect.NewConfigurationServiceHandler(&configurationv2alphapb.ConfigurationServiceHandler{}, interceptors))) + meshServices = append(meshServices, vanguard.NewService(iamv2alphapbconnect.NewAccountServiceHandler(&iamv2alphapb.AccountServiceHandler{}, interceptors))) c := &internal.Configuration{} //_, err := c.ResolveConfiguration() diff --git a/go.work b/go.work index c6289c37..485d3d96 100644 --- a/go.work +++ b/go.work @@ -32,17 +32,16 @@ use ( // Partner libraries // =================================== + ./libs/partner/go/configuration/v2alpha ./libs/partner/go/charmbracelet ./libs/partner/go/github ./libs/partner/go/model ./libs/partner/go/nats ./libs/partner/go/nebula ./libs/partner/go/opentelemetry - ./libs/partner/go/protobuf ./libs/partner/go/protovalidate ./libs/partner/go/pushpin ./libs/partner/go/sendgrid - ./libs/partner/go/server/v2alpha ./libs/partner/go/temporal ./libs/partner/go/tink ./libs/partner/go/zap @@ -51,22 +50,17 @@ use ( // =================================== ./libs/plugins/gnostic-gen-platform ./libs/plugins/protoc-gen-platform - ./libs/poc/go/model // Proof of Concept libraries // =================================== - ./libs/poc/go/protobuf - ./libs/poc/go/sdk/gen/reference/v2alpha - ./libs/private/go/configuration/v2alpha - ./libs/private/go/infrastructure/v2alpha - ./libs/private/go/model - ./libs/private/go/ontology/v2alpha - ./libs/private/go/protobuf - ./libs/private/go/sdk/gen/audit/v2alpha + ./libs/poc/go/sdk/gen/platform/reference/v2alpha + ./libs/poc/go/model // Private libraries // =================================== - ./libs/private/go/server/v2alpha + ./libs/private/go/sdk/gen/platform/audit/v2alpha + ./libs/private/go/sdk/gen/platform/edge/v2alpha + ./libs/private/go/model // Protobuf libraries // =================================== @@ -74,19 +68,21 @@ use ( // Public libraries // =================================== - ./libs/public/go/cli/v2alpha - ./libs/public/go/model - ./libs/public/go/protobuf + ./libs/public/go/sdk/v2alpha // SDKs // =================================== - ./libs/public/go/sdk/gen/communication/v1alpha - ./libs/public/go/sdk/gen/communication/v1beta - ./libs/public/go/sdk/gen/configuration/v2alpha - ./libs/public/go/sdk/gen/cryptography/v2alpha - ./libs/public/go/sdk/gen/ecosystem/v2alpha - ./libs/public/go/sdk/gen/iam/v2alpha - ./libs/public/go/sdk/gen/system/v2alpha - ./libs/public/go/sdk/v2alpha + ./libs/public/go/sdk/gen/platform/cli/v2alpha + ./libs/public/go/sdk/gen/platform/communication/v1alpha + ./libs/public/go/sdk/gen/platform/communication/v1beta + ./libs/public/go/sdk/gen/platform/configuration/v2alpha + ./libs/public/go/sdk/gen/platform/cryptography/v2alpha + ./libs/public/go/sdk/gen/platform/dns/v2alpha + ./libs/public/go/sdk/gen/platform/ecosystem/v2alpha + ./libs/public/go/sdk/gen/platform/iam/v2alpha + ./libs/public/go/sdk/gen/platform/mesh/v2alpha + ./libs/public/go/sdk/gen/platform/ontology/v2alpha + ./libs/public/go/sdk/gen/platform/system/v2alpha + ) diff --git a/go.work.sum b/go.work.sum index d78bf6eb..82886bde 100644 --- a/go.work.sum +++ b/go.work.sum @@ -1051,6 +1051,7 @@ cloud.google.com/go/workflows v1.12.10 h1:EGJeZmwgE71jxFOI5s9iKST2Bivif3DSzlqVbi cloud.google.com/go/workflows v1.12.10/go.mod h1:RcKqCiOmKs8wFUEf3EwWZPH5eHc7Oq0kamIyOUCk0IE= cloud.google.com/go/workflows v1.13.1 h1:DkxrZ4HyXvjQLZWsYAUOV1w7d2a43XscM9dmkIGmrDc= cloud.google.com/go/workflows v1.13.1/go.mod h1:xNdYtD6Sjoug+khNCAtBMK/rdh8qkjyL6aBas2XlkNc= +connectrpc.com/connect v1.16.2/go.mod h1:n2kgwskMHXC+lVqb18wngEpF95ldBHXjZYJussz5FRc= connectrpc.com/grpchealth v1.3.0 h1:FA3OIwAvuMokQIXQrY5LbIy8IenftksTP/lG4PbYN+E= connectrpc.com/grpchealth v1.3.0/go.mod h1:3vpqmX25/ir0gVgW6RdnCPPZRcR6HvqtXX5RNPmDXHM= connectrpc.com/grpcreflect v1.2.0 h1:Q6og1S7HinmtbEuBvARLNwYmTbhEGRpHDhqrPNlmK+U= @@ -2580,6 +2581,7 @@ github.com/opencontainers/selinux v1.8.0/go.mod h1:RScLhm78qiWa2gbVCcGkC7tCGdgk3 github.com/opencontainers/selinux v1.9.1/go.mod h1:2i0OySw99QjzBBQByd1Gr9gSjvuho1lHsJxIJ3gGbJI= github.com/opencontainers/selinux v1.11.0 h1:+5Zbo97w3Lbmb3PeqQtpmTkMwsW5nRI3YaLpt7tQ7oU= github.com/opencontainers/selinux v1.11.0/go.mod h1:E5dMC3VPuVvVHDYmi78qvhJp8+M586T4DlDRYpFkyec= +github.com/openecosystems/ecosystem/libs/public/go/model v0.0.0-20250314114941-6105506b389b h1:BohVddzQWN1FQ0lC7VhcOCgfODGQ7N6L4ALMIrjsUDI= github.com/openecosystems/ecosystem/libs/public/go/model v0.0.0-20250314114941-6105506b389b/go.mod h1:bHtTG219JhZ0VMRfzL9asZbLgJ2M87a9G4O2Rh0kuX8= github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU= github.com/openzipkin/zipkin-go v0.2.5 h1:UwtQQx2pyPIgWYHRg+epgdx1/HnBQTgN3/oIYEJTQzU= @@ -3188,6 +3190,7 @@ golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= +golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/net v0.24.0/go.mod h1:2Q7sJY5mzlzWjKtYUEXSlBWCdyaioyXzRB2RtU8KVE8= golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE= golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4= @@ -3296,6 +3299,7 @@ golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= diff --git a/infrastructure/apps/workloads/private/edge/v2alpha/edge-router/main.go b/infrastructure/apps/workloads/private/edge/v2alpha/edge-router/main.go index 80c819aa..62a5ed23 100644 --- a/infrastructure/apps/workloads/private/edge/v2alpha/edge-router/main.go +++ b/infrastructure/apps/workloads/private/edge/v2alpha/edge-router/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/openecosystems/ecosystem/libs/private/go/infrastructure/v2alpha" + "context" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" @@ -12,10 +12,9 @@ import ( func main() { bounds := []sdkv2alphalib.Binding{} - infrastructure := infrastructurev2alphalib.NewInfrastructure(bounds) + infrastructure := sdkv2alphalib.NewInfrastructure(context.Background(), sdkv2alphalib.WithInfrastructureBounds(bounds)) - // cnf := infrastructure.Config - // name := infrastructurev2alphalib.ShortenString(cnf.App.EnvironmentName+"-"+cnf.App.Name, 63) + // name := sdkv2alphalib.ShortenString(cnf.App.EnvironmentName+"-"+cnf.App.Name, 63) // Create Config Store // Create DNS Records diff --git a/infrastructure/apps/workloads/private/event/v2alpha/event-multiplexer/cloud-init.go b/infrastructure/apps/workloads/private/event/v2alpha/event-multiplexer/cloud-init.go index be7dbaef..43dce9a1 100644 --- a/infrastructure/apps/workloads/private/event/v2alpha/event-multiplexer/cloud-init.go +++ b/infrastructure/apps/workloads/private/event/v2alpha/event-multiplexer/cloud-init.go @@ -3,7 +3,7 @@ package main import ( "fmt" - infrastructurev2alphalib "github.com/openecosystems/ecosystem/libs/private/go/infrastructure/v2alpha" + infrastructurev2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) func cloudinit(key, caCrt, hostCrt, hostKey, version string) string { diff --git a/infrastructure/apps/workloads/private/event/v2alpha/event-multiplexer/main.go b/infrastructure/apps/workloads/private/event/v2alpha/event-multiplexer/main.go index 6276a549..26f9d436 100644 --- a/infrastructure/apps/workloads/private/event/v2alpha/event-multiplexer/main.go +++ b/infrastructure/apps/workloads/private/event/v2alpha/event-multiplexer/main.go @@ -1,10 +1,9 @@ package main import ( + "context" "encoding/base64" - infrastructurev2alphalib "github.com/openecosystems/ecosystem/libs/private/go/infrastructure/v2alpha" - sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/dirien/pulumi-vultr/sdk/v2/go/vultr" @@ -15,10 +14,10 @@ import ( func main() { bounds := []sdkv2alphalib.Binding{} - infrastructure := infrastructurev2alphalib.NewInfrastructure(bounds) + infrastructure := sdkv2alphalib.NewInfrastructure(context.Background(), sdkv2alphalib.WithInfrastructureBounds(bounds)) cnf := infrastructure.Config - name := infrastructurev2alphalib.ShortenString(cnf.App.EnvironmentName+"-"+cnf.App.Name, 63) + name := sdkv2alphalib.ShortenString(cnf.App.EnvironmentName+"-"+cnf.App.Name, 63) infrastructure.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") diff --git a/infrastructure/apps/workloads/public/analytics/v1alpha/trino/Dockerfile b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/Dockerfile new file mode 100644 index 00000000..b3039c1f --- /dev/null +++ b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/Dockerfile @@ -0,0 +1,5 @@ +FROM trinodb/trino +EXPOSE 8080 + + +# Include vanilla TCP connector that allows Trino to connect to the Mesh network diff --git a/infrastructure/apps/workloads/public/analytics/v1alpha/trino/README.md b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/README.md new file mode 100644 index 00000000..482e478a --- /dev/null +++ b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/README.md @@ -0,0 +1,8 @@ +# Trino + +Build container + +nx run apps-workloads-public-analytics-v1alpha-trino:build +nx run apps-workloads-public-analytics-v1alpha-trino:container +docker run -d -e JAVA_TOOL_OPTIONS="-XX:UseSVE=0" --name trino -p 8081:8080 -v ./etc:/etc 'workloads/public/analytics/v1alpha/trino' +docker run -d -e JAVA_TOOL_OPTIONS="-XX:UseSVE=0" --name trino -p 8081:8080 -v ./etc:/etc -v ./data:/data 'workloads/public/analytics/v1alpha/trino' \ No newline at end of file diff --git a/libs/private/go/ontology/v2alpha/go.sum b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/hostname old mode 100644 new mode 100755 similarity index 100% rename from libs/private/go/ontology/v2alpha/go.sum rename to infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/hostname diff --git a/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/hosts b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/hosts new file mode 100755 index 00000000..e69de29b diff --git a/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/resolv.conf b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/resolv.conf new file mode 100755 index 00000000..e69de29b diff --git a/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/jmx.properties b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/jmx.properties new file mode 100644 index 00000000..b6e0372b --- /dev/null +++ b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/jmx.properties @@ -0,0 +1 @@ +connector.name=jmx diff --git a/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/memory.properties b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/memory.properties new file mode 100644 index 00000000..833abd3f --- /dev/null +++ b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/memory.properties @@ -0,0 +1 @@ +connector.name=memory diff --git a/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/opensearch.properties.notused b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/opensearch.properties.notused new file mode 100644 index 00000000..9cfcc2f4 --- /dev/null +++ b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/opensearch.properties.notused @@ -0,0 +1,4 @@ +connector.name=opensearch +opensearch.host=localhost +opensearch.port=9200 +opensearch.default-schema-name=default \ No newline at end of file diff --git a/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/postgresql.properties b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/postgresql.properties new file mode 100644 index 00000000..5ab90d56 --- /dev/null +++ b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/postgresql.properties @@ -0,0 +1,4 @@ +connector.name=postgresql +connection-url=jdbc:postgresql://localhost:5432/temporal +connection-user=temporal +connection-password=temporal \ No newline at end of file diff --git a/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/tpcds.properties b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/tpcds.properties new file mode 100644 index 00000000..366f0a59 --- /dev/null +++ b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/tpcds.properties @@ -0,0 +1,2 @@ +connector.name=tpcds +tpcds.splits-per-node=4 diff --git a/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/tpch.properties b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/tpch.properties new file mode 100644 index 00000000..599f5ec6 --- /dev/null +++ b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/catalog/tpch.properties @@ -0,0 +1,2 @@ +connector.name=tpch +tpch.splits-per-node=4 diff --git a/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/config.properties b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/config.properties new file mode 100644 index 00000000..559b9a37 --- /dev/null +++ b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/config.properties @@ -0,0 +1,6 @@ +#single node install config +coordinator=true +node-scheduler.include-coordinator=true +http-server.http.port=8080 +discovery.uri=http://localhost:8080 +catalog.management=${ENV:CATALOG_MANAGEMENT} diff --git a/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/jvm.config b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/jvm.config new file mode 100644 index 00000000..ee95425e --- /dev/null +++ b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/jvm.config @@ -0,0 +1,20 @@ +-server +-agentpath:/usr/lib/trino/bin/libjvmkill.so +-XX:InitialRAMPercentage=80 +-XX:MaxRAMPercentage=80 +-XX:G1HeapRegionSize=32M +-XX:+ExplicitGCInvokesConcurrent +-XX:+HeapDumpOnOutOfMemoryError +-XX:+ExitOnOutOfMemoryError +-XX:-OmitStackTraceInFastThrow +-XX:ReservedCodeCacheSize=256M +-XX:PerMethodRecompilationCutoff=10000 +-XX:PerBytecodeRecompilationCutoff=10000 +-Djdk.attach.allowAttachSelf=true +-Djdk.nio.maxCachedBufferSize=2000000 +-Dfile.encoding=UTF-8 +# Allow loading dynamic agent used by JOL +-XX:+EnableDynamicAgentLoading +# https://bugs.openjdk.org/browse/JDK-8327134 +-Djava.security.manager=allow + diff --git a/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/log.properties b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/log.properties new file mode 100644 index 00000000..abee45eb --- /dev/null +++ b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/log.properties @@ -0,0 +1,2 @@ +# Enable verbose logging from Trino +#io.trino=DEBUG diff --git a/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/node.properties b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/node.properties new file mode 100644 index 00000000..5b02ff7f --- /dev/null +++ b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/etc/trino/node.properties @@ -0,0 +1,2 @@ +node.environment=docker +node.data-dir=/data/trino diff --git a/infrastructure/apps/workloads/public/analytics/v1alpha/trino/package.json b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/package.json new file mode 100644 index 00000000..41b8a165 --- /dev/null +++ b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/package.json @@ -0,0 +1,7 @@ +{ + "name": "analytics-v1alpha-trino", + "version": "0.32.0", + "description": "Trino Analytics Service", + "private": true, + "license": "Apache-2.0" +} diff --git a/infrastructure/apps/workloads/public/analytics/v1alpha/trino/project.json b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/project.json new file mode 100644 index 00000000..90493030 --- /dev/null +++ b/infrastructure/apps/workloads/public/analytics/v1alpha/trino/project.json @@ -0,0 +1,72 @@ +{ + "name": "apps-workloads-public-analytics-v1alpha-trino", + "$schema": "../../../../../../../node_modules/nx/schemas/project-schema.json", + "projectType": "application", + "sourceRoot": "infrastructure/apps/workloads/public/analytics/v1alpha/trino", + "targets": { + "build": { + "executor": "nx:run-commands", + "defaultConfiguration": "production", + "options": { + "command": "echo 'Trino'", + "cwd": "infrastructure/apps/workloads/public/analytics/v1alpha/trino" + }, + "configurations": { + "production": { + "command": "echo 'Trino'" + } + }, + "dependsOn": ["pre-build"] + }, + "pre-build": { + "executor": "nx:run-commands", + "outputs": [ + "{workspaceRoot}/dist/infrastructure/apps/workloads/public/analytics/v1alpha/trino/package.json" + ], + "options": { + "commands": [ + "mkdir -p ../../../../../../dist/infrastructure/apps/workloads/public/analytics/v1alpha/trino", + "cp package.json ../../../../../../dist/infrastructure/apps/workloads/public/analytics/v1alpha/trino" + ], + "parallel": false, + "cwd": "infrastructure/apps/workloads/public/analytics/v1alpha/trino" + } + }, + "container": { + "executor": "@nx-tools/nx-container:build", + "options": { + "context": "dist/infrastructure/apps/workloads/public/analytics/v1alpha/trino", + "platforms": ["linux/amd64","linux/arm64"], + "tags": ["workloads/public/analytics/v1alpha/trino"] + } + }, + "publish": { + "executor": "@platform/nx-container:push", + "options": { + "image": "workloads/public/analytics/v1alpha/trino", + "version": { + "path": "infrastructure/apps/workloads/public/analytics/v1alpha/trino/package.json", + "key": "version" + }, + "registries": ["openecosystems.registry.cpln.io", "ghcr.io/openecosystems"] + } + }, + "local": { + "executor": "nx:run-commands", + "options": { + "command": "docker-compose --profile system-analytics-v1alpha-trino up -d", + "cwd": "." + }, + "dependsOn": ["container"] + } + }, + "tags": [ + "type:app", + "type:workload", + "cycle:public", + "system:analytics", + "version:v1alpha", + "exposure:external", + "language:java" + ] +} diff --git a/infrastructure/apps/workloads/public/cryptography/v2alpha/account-authority/cloud-init.go b/infrastructure/apps/workloads/public/cryptography/v2alpha/account-authority/cloud-init.go index 26a2ece6..3d1c5785 100644 --- a/infrastructure/apps/workloads/public/cryptography/v2alpha/account-authority/cloud-init.go +++ b/infrastructure/apps/workloads/public/cryptography/v2alpha/account-authority/cloud-init.go @@ -3,7 +3,7 @@ package main import ( "fmt" - infrastructurev2alphalib "github.com/openecosystems/ecosystem/libs/private/go/infrastructure/v2alpha" + infrastructurev2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) func cloudinit(key, caCrt, hostCrt, hostKey, version string) string { diff --git a/infrastructure/apps/workloads/public/cryptography/v2alpha/account-authority/main.go b/infrastructure/apps/workloads/public/cryptography/v2alpha/account-authority/main.go index 3f3a511c..86fc6339 100644 --- a/infrastructure/apps/workloads/public/cryptography/v2alpha/account-authority/main.go +++ b/infrastructure/apps/workloads/public/cryptography/v2alpha/account-authority/main.go @@ -1,10 +1,9 @@ package main import ( + "context" "encoding/base64" - "github.com/openecosystems/ecosystem/libs/private/go/infrastructure/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/dirien/pulumi-vultr/sdk/v2/go/vultr" @@ -15,10 +14,9 @@ import ( func main() { bounds := []sdkv2alphalib.Binding{} - infrastructure := infrastructurev2alphalib.NewInfrastructure(bounds) - + infrastructure := sdkv2alphalib.NewInfrastructure(context.Background(), sdkv2alphalib.WithInfrastructureBounds(bounds)) cnf := infrastructure.Config - name := infrastructurev2alphalib.ShortenString(cnf.App.EnvironmentName+"-"+cnf.App.Name, 63) + name := sdkv2alphalib.infrastructurev2alphalib.ShortenString(cnf.App.EnvironmentName+"-"+cnf.App.Name, 63) infrastructure.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") diff --git a/infrastructure/apps/workloads/public/ecosystem/v2alpha/ecosystem/cloud-init.go b/infrastructure/apps/workloads/public/ecosystem/v2alpha/ecosystem/cloud-init.go index b64f5dea..be242868 100644 --- a/infrastructure/apps/workloads/public/ecosystem/v2alpha/ecosystem/cloud-init.go +++ b/infrastructure/apps/workloads/public/ecosystem/v2alpha/ecosystem/cloud-init.go @@ -3,7 +3,7 @@ package main import ( "fmt" - infrastructurev2alphalib "github.com/openecosystems/ecosystem/libs/private/go/infrastructure/v2alpha" + infrastructurev2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) func cloudinit(key, caCrt, hostCrt, hostKey, version string) string { diff --git a/infrastructure/apps/workloads/public/ecosystem/v2alpha/ecosystem/main.go b/infrastructure/apps/workloads/public/ecosystem/v2alpha/ecosystem/main.go index 32f88e4f..5b0d0793 100644 --- a/infrastructure/apps/workloads/public/ecosystem/v2alpha/ecosystem/main.go +++ b/infrastructure/apps/workloads/public/ecosystem/v2alpha/ecosystem/main.go @@ -1,10 +1,9 @@ package main import ( + "context" "encoding/base64" - infrastructurev2alphalib "github.com/openecosystems/ecosystem/libs/private/go/infrastructure/v2alpha" - sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/dirien/pulumi-vultr/sdk/v2/go/vultr" @@ -15,10 +14,10 @@ import ( func main() { bounds := []sdkv2alphalib.Binding{} - infrastructure := infrastructurev2alphalib.NewInfrastructure(bounds) + infrastructure := sdkv2alphalib.NewInfrastructure(context.Background(), sdkv2alphalib.WithInfrastructureBounds(bounds)) cnf := infrastructure.Config - name := infrastructurev2alphalib.ShortenString(cnf.App.EnvironmentName+"-"+cnf.App.Name, 63) + name := sdkv2alphalib.ShortenString(cnf.App.EnvironmentName+"-"+cnf.App.Name, 63) infrastructure.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") diff --git a/infrastructure/apps/workloads/public/mesh/v2alpha/lighthouse/cloud-init.go b/infrastructure/apps/workloads/public/mesh/v2alpha/lighthouse/cloud-init.go index 178f2b3e..514a6357 100644 --- a/infrastructure/apps/workloads/public/mesh/v2alpha/lighthouse/cloud-init.go +++ b/infrastructure/apps/workloads/public/mesh/v2alpha/lighthouse/cloud-init.go @@ -3,7 +3,7 @@ package main import ( "fmt" - infrastructurev2alphalib "github.com/openecosystems/ecosystem/libs/private/go/infrastructure/v2alpha" + infrastructurev2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" ) func cloudinit(key, caCrt, hostCrt, hostKey, version string) string { diff --git a/infrastructure/apps/workloads/public/mesh/v2alpha/lighthouse/main.go b/infrastructure/apps/workloads/public/mesh/v2alpha/lighthouse/main.go index cb6ad25b..114d21dc 100644 --- a/infrastructure/apps/workloads/public/mesh/v2alpha/lighthouse/main.go +++ b/infrastructure/apps/workloads/public/mesh/v2alpha/lighthouse/main.go @@ -1,10 +1,9 @@ package main import ( + "context" "encoding/base64" - "github.com/openecosystems/ecosystem/libs/private/go/infrastructure/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/dirien/pulumi-vultr/sdk/v2/go/vultr" @@ -15,10 +14,10 @@ import ( func main() { bounds := []sdkv2alphalib.Binding{} - infrastructure := infrastructurev2alphalib.NewInfrastructure(bounds) + infrastructure := sdkv2alphalib.NewInfrastructure(context.Background(), sdkv2alphalib.WithInfrastructureBounds(bounds)) cnf := infrastructure.Config - name := infrastructurev2alphalib.ShortenString(cnf.App.EnvironmentName+"-"+cnf.App.Name, 63) + name := sdkv2alphalib.ShortenString(cnf.App.EnvironmentName+"-"+cnf.App.Name, 63) infrastructure.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") diff --git a/libs/private/go/configuration/v2alpha/adaptive_configuration_control.go b/libs/partner/go/configuration/v2alpha/adaptive_configuration_control.go similarity index 98% rename from libs/private/go/configuration/v2alpha/adaptive_configuration_control.go rename to libs/partner/go/configuration/v2alpha/adaptive_configuration_control.go index a6edfc1f..8b2822ee 100644 --- a/libs/private/go/configuration/v2alpha/adaptive_configuration_control.go +++ b/libs/partner/go/configuration/v2alpha/adaptive_configuration_control.go @@ -6,7 +6,7 @@ import ( "fmt" "strings" - configurationv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha" + configurationv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" diff --git a/libs/private/go/configuration/v2alpha/configurer.go b/libs/partner/go/configuration/v2alpha/configurer.go similarity index 100% rename from libs/private/go/configuration/v2alpha/configurer.go rename to libs/partner/go/configuration/v2alpha/configurer.go diff --git a/libs/private/go/configuration/v2alpha/defaults/enterprise.go b/libs/partner/go/configuration/v2alpha/defaults/enterprise.go similarity index 79% rename from libs/private/go/configuration/v2alpha/defaults/enterprise.go rename to libs/partner/go/configuration/v2alpha/defaults/enterprise.go index bd91c40a..ad4ef6bb 100644 --- a/libs/private/go/configuration/v2alpha/defaults/enterprise.go +++ b/libs/partner/go/configuration/v2alpha/defaults/enterprise.go @@ -1,14 +1,14 @@ package configurationdefaultsv2alphalib import ( - referencev2alphapb "github.com/openecosystems/ecosystem/libs/poc/go/protobuf/gen/platform/reference/v2alpha" - auditv2alphapb "github.com/openecosystems/ecosystem/libs/private/go/protobuf/gen/platform/audit/v2alpha" - edgev2alphapb "github.com/openecosystems/ecosystem/libs/private/go/protobuf/gen/platform/edge/v2alpha" - communicationv1alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1alpha" - v1beta "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1beta" - configurationv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha" - cryptographyv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/cryptography/v2alpha" - systemv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/system/v2alpha" + referencev2alphapb "github.com/openecosystems/ecosystem/libs/poc/go/sdk/gen/platform/reference/v2alpha" + auditv2alphapb "github.com/openecosystems/ecosystem/libs/private/go/sdk/gen/platform/audit/v2alpha" + edgev2alphapb "github.com/openecosystems/ecosystem/libs/private/go/sdk/gen/platform/edge/v2alpha" + communicationv1alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1alpha" + v1beta "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1beta" + configurationv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" + cryptographyv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cryptography/v2alpha" + systemv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/system/v2alpha" ) // DefaultEnterpriseConfiguration defines the default enterprise platform configuration with multiple sub-configurations. diff --git a/libs/private/go/configuration/v2alpha/go.mod b/libs/partner/go/configuration/v2alpha/go.mod similarity index 87% rename from libs/private/go/configuration/v2alpha/go.mod rename to libs/partner/go/configuration/v2alpha/go.mod index 60f5048b..047e32dc 100644 --- a/libs/private/go/configuration/v2alpha/go.mod +++ b/libs/partner/go/configuration/v2alpha/go.mod @@ -1,4 +1,4 @@ -module github.com/openecosystems/ecosystem/libs/private/go/configuration/v2alpha +module github.com/openecosystems/ecosystem/libs/partner/go/configuration/v2alpha go 1.23.4 diff --git a/libs/private/go/configuration/v2alpha/go.sum b/libs/partner/go/configuration/v2alpha/go.sum similarity index 100% rename from libs/private/go/configuration/v2alpha/go.sum rename to libs/partner/go/configuration/v2alpha/go.sum diff --git a/libs/private/go/configuration/v2alpha/main.go b/libs/partner/go/configuration/v2alpha/main.go similarity index 100% rename from libs/private/go/configuration/v2alpha/main.go rename to libs/partner/go/configuration/v2alpha/main.go diff --git a/libs/private/go/configuration/v2alpha/project.json b/libs/partner/go/configuration/v2alpha/project.json similarity index 67% rename from libs/private/go/configuration/v2alpha/project.json rename to libs/partner/go/configuration/v2alpha/project.json index 1b4b1b14..50fbabac 100644 --- a/libs/private/go/configuration/v2alpha/project.json +++ b/libs/partner/go/configuration/v2alpha/project.json @@ -1,15 +1,14 @@ { - "name": "libs-private-go-configuration-v2alpha", + "name": "libs-partner-go-configuration-v2alpha", "$schema": "../../../../../node_modules/nx/schemas/project-schema.json", "projectType": "library", - "sourceRoot": "libs/private/go/configuration/v2alpha", - "implicitDependencies": ["proto", "protoc-gen-platform"], + "sourceRoot": "libs/partner/go/configuration/v2alpha", "targets": { "test": { "executor": "nx:run-commands", "options": { "command": "go test -v ./... -cover -race", - "cwd": "libs/private/go/configuration/v2alpha" + "cwd": "libs/partner/go/configuration/v2alpha" } }, "lint": { @@ -17,7 +16,7 @@ "options": { "commands": ["golangci-lint run ./... --timeout=5m"], "parallel": false, - "cwd": "libs/private/go/configuration/v2alpha" + "cwd": "libs/partner/go/configuration/v2alpha" } }, "format": { @@ -25,13 +24,13 @@ "options": { "commands": ["go mod tidy", "gofumpt -l -w .", "golangci-lint run ./... --timeout=5m --fix"], "parallel": false, - "cwd": "libs/private/go/configuration/v2alpha" + "cwd": "libs/partner/go/configuration/v2alpha" } } }, "tags": [ "type:lib", - "visibility:private", + "visibility:partner", "exposure:internal", "language:golang" ] diff --git a/libs/partner/go/model/buf.gen.yaml b/libs/partner/go/model/buf.gen.yaml deleted file mode 100644 index 459b71fe..00000000 --- a/libs/partner/go/model/buf.gen.yaml +++ /dev/null @@ -1,26 +0,0 @@ -version: v2 -inputs: - - directory: ../../../../proto/partner -plugins: - - local: protoc-gen-platform - out: ./gen - opt: - - paths=source_relative - - language=go - - type=entity-unspecified - - prefix=partner - - local: protoc-gen-platform - out: ./gen - opt: - - paths=source_relative - - language=go - - type=spec - - prefix=partner - - local: protoc-gen-platform - out: ./gen - opt: - - paths=source_relative - - language=go - - type=spec-entities - - prefix=partner - strategy: all diff --git a/libs/partner/go/model/buf.gen.yaml.notused b/libs/partner/go/model/buf.gen.yaml.notused new file mode 100644 index 00000000..cf7af76c --- /dev/null +++ b/libs/partner/go/model/buf.gen.yaml.notused @@ -0,0 +1,26 @@ +version: v2 +inputs: + - directory: ../../../../proto/partner +plugins: +# - local: protoc-gen-platform +# out: ./gen +# opt: +# - paths=source_relative +# - language=go +# - type=entity-unspecified +# - prefix=partner +# - local: protoc-gen-platform +# out: ./gen +# opt: +# - paths=source_relative +# - language=go +# - type=spec +# - prefix=partner +# - local: protoc-gen-platform +# out: ./gen +# opt: +# - paths=source_relative +# - language=go +# - type=spec-entities +# - prefix=partner +# strategy: all diff --git a/libs/partner/go/model/gen/kevel/advertisement/v1/decision.pb.entity.go b/libs/partner/go/model/gen/kevel/advertisement/v1/decision.pb.entity.go deleted file mode 100644 index 18fadbde..00000000 --- a/libs/partner/go/model/gen/kevel/advertisement/v1/decision.pb.entity.go +++ /dev/null @@ -1,127 +0,0 @@ -// Code generated by protoc-gen-platform go/entity-unspecified. DO NOT EDIT. -// source: kevel/advertisement/v1/decision.proto - -package advertisementv1pbmodel - -import ( - "context" - "encoding/json" - - "errors" - "github.com/openecosystems/ecosystem/libs/partner/go/protobuf/gen/kevel/advertisement/v1" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" - "google.golang.org/protobuf/types/known/anypb" - - specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" -) - -type DecisionSpecEntity struct { - Decision *advertisementv1pb.Decision -} - -func NewDecisionSpecEntity(specContext *specv2pb.SpecContext) (*DecisionSpecEntity, error) { - - return &DecisionSpecEntity{ - Decision: &advertisementv1pb.Decision{}, - }, nil - -} - -func NewDecisionSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*DecisionSpecEntity, error) { - data := &advertisementv1pb.Decision{} - err := sdkv2alphalib.GetDataFromSpec[*advertisementv1pb.Decision](ctx, s, data) - if err != nil { - return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(err) - } - - return &DecisionSpecEntity{ - Decision: data, - }, nil -} - -func (entity *DecisionSpecEntity) ToProto() (*advertisementv1pb.Decision, error) { - - return entity.Decision, nil - -} - -func (entity *DecisionSpecEntity) ToEvent() (*string, error) { - - bytes, err := json.Marshal(entity) - if err != nil { - return nil, err - } - - event := string(bytes) - - return &event, nil - -} - -func (entity *DecisionSpecEntity) FromEvent(event *string) (*DecisionSpecEntity, error) { - - bytes := []byte(*event) - err := json.Unmarshal(bytes, entity) - if err != nil { - return nil, err - } - - return entity, nil - -} - -func (entity *DecisionSpecEntity) MarshalEntity() (*anypb.Any, error) { - - d, err := anypb.New(entity.Decision) - if err != nil { - return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(errors.New("failed to marshall entity"), err) - } - - return d, nil - -} - -func (entity *DecisionSpecEntity) MarshalProto() (*anypb.Any, error) { - - proto, err := entity.ToProto() - if err != nil { - return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(errors.New("failed to convert entity to proto"), err) - } - - d, err := anypb.New(proto) - if err != nil { - return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(errors.New("failed to marshall proto"), err) - } - - return d, nil - -} - -func (entity *DecisionSpecEntity) TypeName() string { - return "decision" -} - -func (entity *DecisionSpecEntity) CommandTopic() string { - return CommandDataDecisionTopic -} - -func (entity *DecisionSpecEntity) EventTopic() string { - return EventDataDecisionTopic -} - -func (entity *DecisionSpecEntity) RoutineTopic() string { - return RoutineDataDecisionTopic -} - -func (entity *DecisionSpecEntity) TopicWildcard() string { - return DecisionTypeNameEventPrefix + ">" -} - -func (entity *DecisionSpecEntity) SystemName() string { - return "advertisement" -} - -func (entity *DecisionSpecEntity) internal() { - - var _ *advertisementv1pb.PricingData -} diff --git a/libs/partner/go/model/gen/kevel/advertisement/v1/decision.pb.spec.go b/libs/partner/go/model/gen/kevel/advertisement/v1/decision.pb.spec.go deleted file mode 100644 index 53ce520d..00000000 --- a/libs/partner/go/model/gen/kevel/advertisement/v1/decision.pb.spec.go +++ /dev/null @@ -1,124 +0,0 @@ -// Code generated by protoc-gen-platform go/spec. DO NOT EDIT. -// source: kevel/advertisement/v1/decision.proto - -package advertisementv1pbmodel - -type DecisionCommand int -type DecisionEvent int - -const ( - DecisionTypeName string = "decision" - DecisionTypeNamePlural string = "decisions" - DecisionTypeNameScreamingCamelCase string = "DECISION" - DecisionTypeNamePluralScreamingCamelCase string = "DECISIONS" - DecisionTypeNameEventPrefix string = "decision." -) - -const ( - DecisionCommandsUnspecified DecisionCommand = iota - DecisionCommandsOptOut DecisionCommand = iota - UnrecognizedDecisionCommand DecisionCommand = -1 -) - -const ( - DecisionEventsUnspecified DecisionEvent = iota - DecisionEventsOptedOut DecisionEvent = iota - UnrecognizedDecisionEvent DecisionEvent = -1 -) - -const ( - CommandDataDecisionTopic string = "decision.data.command" - EventDataDecisionTopic string = "decision.data.event" - RoutineDataDecisionTopic string = "decision.data.routine" - UnrecognizedDecisionTopic string = "unrecognized" -) - -func (c DecisionCommand) CommandName() string { - - switch c { - - case DecisionCommandsUnspecified: - return "DecisionCommandsUnspecified" - case DecisionCommandsOptOut: - return "DecisionCommandsOptOut" - default: - return "UnrecognizedDecisionCommand" - } - -} - -func (e DecisionEvent) EventName() string { - - switch e { - - case DecisionEventsUnspecified: - return "DecisionEventsUnspecified" - case DecisionEventsOptedOut: - return "DecisionEventsOptedOut" - default: - return "UnrecognizedDecisionEvent" - } - -} - -func (c DecisionCommand) CommandTopic() string { - - switch c { - - case DecisionCommandsUnspecified: - return CommandDataDecisionTopic - case DecisionCommandsOptOut: - return CommandDataDecisionTopic - default: - return UnrecognizedDecisionTopic - } - -} - -func (e DecisionEvent) EventTopic() string { - - switch e { - - case DecisionEventsUnspecified: - return EventDataDecisionTopic - case DecisionEventsOptedOut: - return EventDataDecisionTopic - default: - return UnrecognizedDecisionTopic - } - -} - -func (c DecisionCommand) CommandTopicWildcard() string { - return DecisionTypeNameEventPrefix + ">" -} - -func (e DecisionEvent) EventTopicWildcard() string { - return DecisionTypeNameEventPrefix + ">" -} - -func GetDecisionCommand(command string) DecisionCommand { - - switch command { - - case "DecisionCommandsUnspecified": - return DecisionCommandsUnspecified - case "DecisionCommandsOptOut": - return DecisionCommandsOptOut - default: - return UnrecognizedDecisionCommand - } -} - -func GetDecisionEvent(event string) DecisionEvent { - - switch event { - - case "DecisionEventsUnspecified": - return DecisionEventsUnspecified - case "DecisionEventsOptedOut": - return DecisionEventsOptedOut - default: - return UnrecognizedDecisionEvent - } -} diff --git a/libs/partner/go/model/gen/platform/spec/v1/entities.pb.entities.go b/libs/partner/go/model/gen/platform/spec/v1/entities.pb.entities.go deleted file mode 100644 index 17f64f0f..00000000 --- a/libs/partner/go/model/gen/platform/spec/v1/entities.pb.entities.go +++ /dev/null @@ -1,14 +0,0 @@ -// Code generated by protoc-gen-platform go/spec-entities. DO NOT EDIT. -// source: Generated from all proto files - -package specentities -import ( - - decision "github.com/openecosystems/ecosystem/libs/partner/go/model/gen/platform/advertisement/v1" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" -) - -var Registry = []sdkv2alphalib.Entity{ - - &decision.DecisionSpecEntity{}, -} diff --git a/libs/partner/go/model/project.json b/libs/partner/go/model/project.json index 4c6fa9e7..05b12965 100644 --- a/libs/partner/go/model/project.json +++ b/libs/partner/go/model/project.json @@ -7,13 +7,7 @@ "proto" ], "targets": { - "generate": { - "executor": "nx:run-commands", - "options": { - "command": "buf generate", - "cwd": "libs/partner/go/model" - } - } + }, "tags": [ "type:lib", diff --git a/libs/partner/go/nebula/ca/ca.go b/libs/partner/go/nebula/ca/ca.go index 1eaa2bc7..6364ebe9 100644 --- a/libs/partner/go/nebula/ca/ca.go +++ b/libs/partner/go/nebula/ca/ca.go @@ -16,7 +16,7 @@ import ( "github.com/segmentio/ksuid" "google.golang.org/protobuf/types/known/timestamppb" - iamv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" + iamv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" typev2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/type/v2" diff --git a/libs/partner/go/protobuf/buf.gen.yaml b/libs/partner/go/protobuf/buf.gen.yaml deleted file mode 100644 index 80fee3fe..00000000 --- a/libs/partner/go/protobuf/buf.gen.yaml +++ /dev/null @@ -1,13 +0,0 @@ -version: v2 -inputs: - - directory: ../../../../proto/partner -plugins: - - remote: buf.build/protocolbuffers/go - out: ./gen - opt: paths=source_relative - - remote: buf.build/grpc/go - out: ./gen - opt: paths=source_relative - - remote: buf.build/connectrpc/go - out: ./gen - opt: paths=source_relative diff --git a/libs/partner/go/protobuf/gen/kevel/advertisement/v1/advertisementv1pbconnect/decision.connect.go b/libs/partner/go/protobuf/gen/kevel/advertisement/v1/advertisementv1pbconnect/decision.connect.go deleted file mode 100644 index 06c3c148..00000000 --- a/libs/partner/go/protobuf/gen/kevel/advertisement/v1/advertisementv1pbconnect/decision.connect.go +++ /dev/null @@ -1,368 +0,0 @@ -// Code generated by protoc-gen-connect-go. DO NOT EDIT. -// -// Source: kevel/advertisement/v1/decision.proto - -package advertisementv1pbconnect - -import ( - connect "connectrpc.com/connect" - context "context" - errors "errors" - v1 "github.com/openecosystems/ecosystem/libs/partner/go/protobuf/gen/kevel/advertisement/v1" - http "net/http" - strings "strings" -) - -// This is a compile-time assertion to ensure that this generated file and the connect package are -// compatible. If you get a compiler error that this constant is not defined, this code was -// generated with a version of connect newer than the one compiled into your binary. You can fix the -// problem by either regenerating this code with an older version of connect or updating the connect -// version compiled into your binary. -const _ = connect.IsAtLeastVersion1_13_0 - -const ( - // DecisionServiceName is the fully-qualified name of the DecisionService service. - DecisionServiceName = "kevel.advertisement.v1.DecisionService" -) - -// These constants are the fully-qualified names of the RPCs defined in this package. They're -// exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route. -// -// Note that these are different from the fully-qualified method names used by -// google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to -// reflection-formatted method names, remove the leading slash and convert the remaining slash to a -// period. -const ( - // DecisionServiceGetDecisionsProcedure is the fully-qualified name of the DecisionService's - // GetDecisions RPC. - DecisionServiceGetDecisionsProcedure = "/kevel.advertisement.v1.DecisionService/GetDecisions" - // DecisionServiceAddCustomPropertiesProcedure is the fully-qualified name of the DecisionService's - // AddCustomProperties RPC. - DecisionServiceAddCustomPropertiesProcedure = "/kevel.advertisement.v1.DecisionService/AddCustomProperties" - // DecisionServiceAddInterestsProcedure is the fully-qualified name of the DecisionService's - // AddInterests RPC. - DecisionServiceAddInterestsProcedure = "/kevel.advertisement.v1.DecisionService/AddInterests" - // DecisionServiceAddRetargetingSegmentProcedure is the fully-qualified name of the - // DecisionService's AddRetargetingSegment RPC. - DecisionServiceAddRetargetingSegmentProcedure = "/kevel.advertisement.v1.DecisionService/AddRetargetingSegment" - // DecisionServiceOptOutProcedure is the fully-qualified name of the DecisionService's OptOut RPC. - DecisionServiceOptOutProcedure = "/kevel.advertisement.v1.DecisionService/OptOut" - // DecisionServiceReadProcedure is the fully-qualified name of the DecisionService's Read RPC. - DecisionServiceReadProcedure = "/kevel.advertisement.v1.DecisionService/Read" - // DecisionServiceIpOverrideProcedure is the fully-qualified name of the DecisionService's - // IpOverride RPC. - DecisionServiceIpOverrideProcedure = "/kevel.advertisement.v1.DecisionService/IpOverride" - // DecisionServiceForgetProcedure is the fully-qualified name of the DecisionService's Forget RPC. - DecisionServiceForgetProcedure = "/kevel.advertisement.v1.DecisionService/Forget" - // DecisionServiceGdprConsentProcedure is the fully-qualified name of the DecisionService's - // GdprConsent RPC. - DecisionServiceGdprConsentProcedure = "/kevel.advertisement.v1.DecisionService/GdprConsent" - // DecisionServiceMatchUserProcedure is the fully-qualified name of the DecisionService's MatchUser - // RPC. - DecisionServiceMatchUserProcedure = "/kevel.advertisement.v1.DecisionService/MatchUser" -) - -// DecisionServiceClient is a client for the kevel.advertisement.v1.DecisionService service. -type DecisionServiceClient interface { - GetDecisions(context.Context, *connect.Request[v1.GetDecisionsRequest]) (*connect.Response[v1.GetDecisionsResponse], error) - AddCustomProperties(context.Context, *connect.Request[v1.AddCustomPropertiesRequest]) (*connect.Response[v1.AddCustomPropertiesResponse], error) - AddInterests(context.Context, *connect.Request[v1.AddInterestsRequest]) (*connect.Response[v1.AddInterestsResponse], error) - AddRetargetingSegment(context.Context, *connect.Request[v1.AddRetargetingSegmentRequest]) (*connect.Response[v1.AddRetargetingSegmentResponse], error) - OptOut(context.Context, *connect.Request[v1.OptOutRequest]) (*connect.Response[v1.OptOutResponse], error) - Read(context.Context, *connect.Request[v1.ReadRequest]) (*connect.Response[v1.ReadResponse], error) - IpOverride(context.Context, *connect.Request[v1.IpOverrideRequest]) (*connect.Response[v1.IpOverrideResponse], error) - Forget(context.Context, *connect.Request[v1.ForgetRequest]) (*connect.Response[v1.ForgetResponse], error) - GdprConsent(context.Context, *connect.Request[v1.GdprConsentRequest]) (*connect.Response[v1.GdprConsentResponse], error) - MatchUser(context.Context, *connect.Request[v1.MatchUserRequest]) (*connect.Response[v1.MatchUserResponse], error) -} - -// NewDecisionServiceClient constructs a client for the kevel.advertisement.v1.DecisionService -// service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for -// gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply -// the connect.WithGRPC() or connect.WithGRPCWeb() options. -// -// The URL supplied here should be the base URL for the Connect or gRPC server (for example, -// http://api.acme.com or https://acme.com/grpc). -func NewDecisionServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) DecisionServiceClient { - baseURL = strings.TrimRight(baseURL, "/") - decisionServiceMethods := v1.File_kevel_advertisement_v1_decision_proto.Services().ByName("DecisionService").Methods() - return &decisionServiceClient{ - getDecisions: connect.NewClient[v1.GetDecisionsRequest, v1.GetDecisionsResponse]( - httpClient, - baseURL+DecisionServiceGetDecisionsProcedure, - connect.WithSchema(decisionServiceMethods.ByName("GetDecisions")), - connect.WithClientOptions(opts...), - ), - addCustomProperties: connect.NewClient[v1.AddCustomPropertiesRequest, v1.AddCustomPropertiesResponse]( - httpClient, - baseURL+DecisionServiceAddCustomPropertiesProcedure, - connect.WithSchema(decisionServiceMethods.ByName("AddCustomProperties")), - connect.WithClientOptions(opts...), - ), - addInterests: connect.NewClient[v1.AddInterestsRequest, v1.AddInterestsResponse]( - httpClient, - baseURL+DecisionServiceAddInterestsProcedure, - connect.WithSchema(decisionServiceMethods.ByName("AddInterests")), - connect.WithClientOptions(opts...), - ), - addRetargetingSegment: connect.NewClient[v1.AddRetargetingSegmentRequest, v1.AddRetargetingSegmentResponse]( - httpClient, - baseURL+DecisionServiceAddRetargetingSegmentProcedure, - connect.WithSchema(decisionServiceMethods.ByName("AddRetargetingSegment")), - connect.WithClientOptions(opts...), - ), - optOut: connect.NewClient[v1.OptOutRequest, v1.OptOutResponse]( - httpClient, - baseURL+DecisionServiceOptOutProcedure, - connect.WithSchema(decisionServiceMethods.ByName("OptOut")), - connect.WithClientOptions(opts...), - ), - read: connect.NewClient[v1.ReadRequest, v1.ReadResponse]( - httpClient, - baseURL+DecisionServiceReadProcedure, - connect.WithSchema(decisionServiceMethods.ByName("Read")), - connect.WithClientOptions(opts...), - ), - ipOverride: connect.NewClient[v1.IpOverrideRequest, v1.IpOverrideResponse]( - httpClient, - baseURL+DecisionServiceIpOverrideProcedure, - connect.WithSchema(decisionServiceMethods.ByName("IpOverride")), - connect.WithClientOptions(opts...), - ), - forget: connect.NewClient[v1.ForgetRequest, v1.ForgetResponse]( - httpClient, - baseURL+DecisionServiceForgetProcedure, - connect.WithSchema(decisionServiceMethods.ByName("Forget")), - connect.WithClientOptions(opts...), - ), - gdprConsent: connect.NewClient[v1.GdprConsentRequest, v1.GdprConsentResponse]( - httpClient, - baseURL+DecisionServiceGdprConsentProcedure, - connect.WithSchema(decisionServiceMethods.ByName("GdprConsent")), - connect.WithClientOptions(opts...), - ), - matchUser: connect.NewClient[v1.MatchUserRequest, v1.MatchUserResponse]( - httpClient, - baseURL+DecisionServiceMatchUserProcedure, - connect.WithSchema(decisionServiceMethods.ByName("MatchUser")), - connect.WithClientOptions(opts...), - ), - } -} - -// decisionServiceClient implements DecisionServiceClient. -type decisionServiceClient struct { - getDecisions *connect.Client[v1.GetDecisionsRequest, v1.GetDecisionsResponse] - addCustomProperties *connect.Client[v1.AddCustomPropertiesRequest, v1.AddCustomPropertiesResponse] - addInterests *connect.Client[v1.AddInterestsRequest, v1.AddInterestsResponse] - addRetargetingSegment *connect.Client[v1.AddRetargetingSegmentRequest, v1.AddRetargetingSegmentResponse] - optOut *connect.Client[v1.OptOutRequest, v1.OptOutResponse] - read *connect.Client[v1.ReadRequest, v1.ReadResponse] - ipOverride *connect.Client[v1.IpOverrideRequest, v1.IpOverrideResponse] - forget *connect.Client[v1.ForgetRequest, v1.ForgetResponse] - gdprConsent *connect.Client[v1.GdprConsentRequest, v1.GdprConsentResponse] - matchUser *connect.Client[v1.MatchUserRequest, v1.MatchUserResponse] -} - -// GetDecisions calls kevel.advertisement.v1.DecisionService.GetDecisions. -func (c *decisionServiceClient) GetDecisions(ctx context.Context, req *connect.Request[v1.GetDecisionsRequest]) (*connect.Response[v1.GetDecisionsResponse], error) { - return c.getDecisions.CallUnary(ctx, req) -} - -// AddCustomProperties calls kevel.advertisement.v1.DecisionService.AddCustomProperties. -func (c *decisionServiceClient) AddCustomProperties(ctx context.Context, req *connect.Request[v1.AddCustomPropertiesRequest]) (*connect.Response[v1.AddCustomPropertiesResponse], error) { - return c.addCustomProperties.CallUnary(ctx, req) -} - -// AddInterests calls kevel.advertisement.v1.DecisionService.AddInterests. -func (c *decisionServiceClient) AddInterests(ctx context.Context, req *connect.Request[v1.AddInterestsRequest]) (*connect.Response[v1.AddInterestsResponse], error) { - return c.addInterests.CallUnary(ctx, req) -} - -// AddRetargetingSegment calls kevel.advertisement.v1.DecisionService.AddRetargetingSegment. -func (c *decisionServiceClient) AddRetargetingSegment(ctx context.Context, req *connect.Request[v1.AddRetargetingSegmentRequest]) (*connect.Response[v1.AddRetargetingSegmentResponse], error) { - return c.addRetargetingSegment.CallUnary(ctx, req) -} - -// OptOut calls kevel.advertisement.v1.DecisionService.OptOut. -func (c *decisionServiceClient) OptOut(ctx context.Context, req *connect.Request[v1.OptOutRequest]) (*connect.Response[v1.OptOutResponse], error) { - return c.optOut.CallUnary(ctx, req) -} - -// Read calls kevel.advertisement.v1.DecisionService.Read. -func (c *decisionServiceClient) Read(ctx context.Context, req *connect.Request[v1.ReadRequest]) (*connect.Response[v1.ReadResponse], error) { - return c.read.CallUnary(ctx, req) -} - -// IpOverride calls kevel.advertisement.v1.DecisionService.IpOverride. -func (c *decisionServiceClient) IpOverride(ctx context.Context, req *connect.Request[v1.IpOverrideRequest]) (*connect.Response[v1.IpOverrideResponse], error) { - return c.ipOverride.CallUnary(ctx, req) -} - -// Forget calls kevel.advertisement.v1.DecisionService.Forget. -func (c *decisionServiceClient) Forget(ctx context.Context, req *connect.Request[v1.ForgetRequest]) (*connect.Response[v1.ForgetResponse], error) { - return c.forget.CallUnary(ctx, req) -} - -// GdprConsent calls kevel.advertisement.v1.DecisionService.GdprConsent. -func (c *decisionServiceClient) GdprConsent(ctx context.Context, req *connect.Request[v1.GdprConsentRequest]) (*connect.Response[v1.GdprConsentResponse], error) { - return c.gdprConsent.CallUnary(ctx, req) -} - -// MatchUser calls kevel.advertisement.v1.DecisionService.MatchUser. -func (c *decisionServiceClient) MatchUser(ctx context.Context, req *connect.Request[v1.MatchUserRequest]) (*connect.Response[v1.MatchUserResponse], error) { - return c.matchUser.CallUnary(ctx, req) -} - -// DecisionServiceHandler is an implementation of the kevel.advertisement.v1.DecisionService -// service. -type DecisionServiceHandler interface { - GetDecisions(context.Context, *connect.Request[v1.GetDecisionsRequest]) (*connect.Response[v1.GetDecisionsResponse], error) - AddCustomProperties(context.Context, *connect.Request[v1.AddCustomPropertiesRequest]) (*connect.Response[v1.AddCustomPropertiesResponse], error) - AddInterests(context.Context, *connect.Request[v1.AddInterestsRequest]) (*connect.Response[v1.AddInterestsResponse], error) - AddRetargetingSegment(context.Context, *connect.Request[v1.AddRetargetingSegmentRequest]) (*connect.Response[v1.AddRetargetingSegmentResponse], error) - OptOut(context.Context, *connect.Request[v1.OptOutRequest]) (*connect.Response[v1.OptOutResponse], error) - Read(context.Context, *connect.Request[v1.ReadRequest]) (*connect.Response[v1.ReadResponse], error) - IpOverride(context.Context, *connect.Request[v1.IpOverrideRequest]) (*connect.Response[v1.IpOverrideResponse], error) - Forget(context.Context, *connect.Request[v1.ForgetRequest]) (*connect.Response[v1.ForgetResponse], error) - GdprConsent(context.Context, *connect.Request[v1.GdprConsentRequest]) (*connect.Response[v1.GdprConsentResponse], error) - MatchUser(context.Context, *connect.Request[v1.MatchUserRequest]) (*connect.Response[v1.MatchUserResponse], error) -} - -// NewDecisionServiceHandler builds an HTTP handler from the service implementation. It returns the -// path on which to mount the handler and the handler itself. -// -// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf -// and JSON codecs. They also support gzip compression. -func NewDecisionServiceHandler(svc DecisionServiceHandler, opts ...connect.HandlerOption) (string, http.Handler) { - decisionServiceMethods := v1.File_kevel_advertisement_v1_decision_proto.Services().ByName("DecisionService").Methods() - decisionServiceGetDecisionsHandler := connect.NewUnaryHandler( - DecisionServiceGetDecisionsProcedure, - svc.GetDecisions, - connect.WithSchema(decisionServiceMethods.ByName("GetDecisions")), - connect.WithHandlerOptions(opts...), - ) - decisionServiceAddCustomPropertiesHandler := connect.NewUnaryHandler( - DecisionServiceAddCustomPropertiesProcedure, - svc.AddCustomProperties, - connect.WithSchema(decisionServiceMethods.ByName("AddCustomProperties")), - connect.WithHandlerOptions(opts...), - ) - decisionServiceAddInterestsHandler := connect.NewUnaryHandler( - DecisionServiceAddInterestsProcedure, - svc.AddInterests, - connect.WithSchema(decisionServiceMethods.ByName("AddInterests")), - connect.WithHandlerOptions(opts...), - ) - decisionServiceAddRetargetingSegmentHandler := connect.NewUnaryHandler( - DecisionServiceAddRetargetingSegmentProcedure, - svc.AddRetargetingSegment, - connect.WithSchema(decisionServiceMethods.ByName("AddRetargetingSegment")), - connect.WithHandlerOptions(opts...), - ) - decisionServiceOptOutHandler := connect.NewUnaryHandler( - DecisionServiceOptOutProcedure, - svc.OptOut, - connect.WithSchema(decisionServiceMethods.ByName("OptOut")), - connect.WithHandlerOptions(opts...), - ) - decisionServiceReadHandler := connect.NewUnaryHandler( - DecisionServiceReadProcedure, - svc.Read, - connect.WithSchema(decisionServiceMethods.ByName("Read")), - connect.WithHandlerOptions(opts...), - ) - decisionServiceIpOverrideHandler := connect.NewUnaryHandler( - DecisionServiceIpOverrideProcedure, - svc.IpOverride, - connect.WithSchema(decisionServiceMethods.ByName("IpOverride")), - connect.WithHandlerOptions(opts...), - ) - decisionServiceForgetHandler := connect.NewUnaryHandler( - DecisionServiceForgetProcedure, - svc.Forget, - connect.WithSchema(decisionServiceMethods.ByName("Forget")), - connect.WithHandlerOptions(opts...), - ) - decisionServiceGdprConsentHandler := connect.NewUnaryHandler( - DecisionServiceGdprConsentProcedure, - svc.GdprConsent, - connect.WithSchema(decisionServiceMethods.ByName("GdprConsent")), - connect.WithHandlerOptions(opts...), - ) - decisionServiceMatchUserHandler := connect.NewUnaryHandler( - DecisionServiceMatchUserProcedure, - svc.MatchUser, - connect.WithSchema(decisionServiceMethods.ByName("MatchUser")), - connect.WithHandlerOptions(opts...), - ) - return "/kevel.advertisement.v1.DecisionService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - switch r.URL.Path { - case DecisionServiceGetDecisionsProcedure: - decisionServiceGetDecisionsHandler.ServeHTTP(w, r) - case DecisionServiceAddCustomPropertiesProcedure: - decisionServiceAddCustomPropertiesHandler.ServeHTTP(w, r) - case DecisionServiceAddInterestsProcedure: - decisionServiceAddInterestsHandler.ServeHTTP(w, r) - case DecisionServiceAddRetargetingSegmentProcedure: - decisionServiceAddRetargetingSegmentHandler.ServeHTTP(w, r) - case DecisionServiceOptOutProcedure: - decisionServiceOptOutHandler.ServeHTTP(w, r) - case DecisionServiceReadProcedure: - decisionServiceReadHandler.ServeHTTP(w, r) - case DecisionServiceIpOverrideProcedure: - decisionServiceIpOverrideHandler.ServeHTTP(w, r) - case DecisionServiceForgetProcedure: - decisionServiceForgetHandler.ServeHTTP(w, r) - case DecisionServiceGdprConsentProcedure: - decisionServiceGdprConsentHandler.ServeHTTP(w, r) - case DecisionServiceMatchUserProcedure: - decisionServiceMatchUserHandler.ServeHTTP(w, r) - default: - http.NotFound(w, r) - } - }) -} - -// UnimplementedDecisionServiceHandler returns CodeUnimplemented from all methods. -type UnimplementedDecisionServiceHandler struct{} - -func (UnimplementedDecisionServiceHandler) GetDecisions(context.Context, *connect.Request[v1.GetDecisionsRequest]) (*connect.Response[v1.GetDecisionsResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("kevel.advertisement.v1.DecisionService.GetDecisions is not implemented")) -} - -func (UnimplementedDecisionServiceHandler) AddCustomProperties(context.Context, *connect.Request[v1.AddCustomPropertiesRequest]) (*connect.Response[v1.AddCustomPropertiesResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("kevel.advertisement.v1.DecisionService.AddCustomProperties is not implemented")) -} - -func (UnimplementedDecisionServiceHandler) AddInterests(context.Context, *connect.Request[v1.AddInterestsRequest]) (*connect.Response[v1.AddInterestsResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("kevel.advertisement.v1.DecisionService.AddInterests is not implemented")) -} - -func (UnimplementedDecisionServiceHandler) AddRetargetingSegment(context.Context, *connect.Request[v1.AddRetargetingSegmentRequest]) (*connect.Response[v1.AddRetargetingSegmentResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("kevel.advertisement.v1.DecisionService.AddRetargetingSegment is not implemented")) -} - -func (UnimplementedDecisionServiceHandler) OptOut(context.Context, *connect.Request[v1.OptOutRequest]) (*connect.Response[v1.OptOutResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("kevel.advertisement.v1.DecisionService.OptOut is not implemented")) -} - -func (UnimplementedDecisionServiceHandler) Read(context.Context, *connect.Request[v1.ReadRequest]) (*connect.Response[v1.ReadResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("kevel.advertisement.v1.DecisionService.Read is not implemented")) -} - -func (UnimplementedDecisionServiceHandler) IpOverride(context.Context, *connect.Request[v1.IpOverrideRequest]) (*connect.Response[v1.IpOverrideResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("kevel.advertisement.v1.DecisionService.IpOverride is not implemented")) -} - -func (UnimplementedDecisionServiceHandler) Forget(context.Context, *connect.Request[v1.ForgetRequest]) (*connect.Response[v1.ForgetResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("kevel.advertisement.v1.DecisionService.Forget is not implemented")) -} - -func (UnimplementedDecisionServiceHandler) GdprConsent(context.Context, *connect.Request[v1.GdprConsentRequest]) (*connect.Response[v1.GdprConsentResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("kevel.advertisement.v1.DecisionService.GdprConsent is not implemented")) -} - -func (UnimplementedDecisionServiceHandler) MatchUser(context.Context, *connect.Request[v1.MatchUserRequest]) (*connect.Response[v1.MatchUserResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("kevel.advertisement.v1.DecisionService.MatchUser is not implemented")) -} diff --git a/libs/partner/go/protobuf/gen/kevel/advertisement/v1/decision.pb.go b/libs/partner/go/protobuf/gen/kevel/advertisement/v1/decision.pb.go deleted file mode 100644 index d6f6a97c..00000000 --- a/libs/partner/go/protobuf/gen/kevel/advertisement/v1/decision.pb.go +++ /dev/null @@ -1,3252 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.36.5 -// protoc (unknown) -// source: kevel/advertisement/v1/decision.proto - -package advertisementv1pb - -import ( - _ "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/options/v2" - v2 "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" - _ "google.golang.org/genproto/googleapis/api/annotations" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - _ "google.golang.org/protobuf/types/descriptorpb" - reflect "reflect" - sync "sync" - unsafe "unsafe" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type DecisionCommands int32 - -const ( - DecisionCommands_DECISION_COMMANDS_UNSPECIFIED DecisionCommands = 0 - DecisionCommands_DECISION_COMMANDS_OPT_OUT DecisionCommands = 1 -) - -// Enum value maps for DecisionCommands. -var ( - DecisionCommands_name = map[int32]string{ - 0: "DECISION_COMMANDS_UNSPECIFIED", - 1: "DECISION_COMMANDS_OPT_OUT", - } - DecisionCommands_value = map[string]int32{ - "DECISION_COMMANDS_UNSPECIFIED": 0, - "DECISION_COMMANDS_OPT_OUT": 1, - } -) - -func (x DecisionCommands) Enum() *DecisionCommands { - p := new(DecisionCommands) - *p = x - return p -} - -func (x DecisionCommands) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DecisionCommands) Descriptor() protoreflect.EnumDescriptor { - return file_kevel_advertisement_v1_decision_proto_enumTypes[0].Descriptor() -} - -func (DecisionCommands) Type() protoreflect.EnumType { - return &file_kevel_advertisement_v1_decision_proto_enumTypes[0] -} - -func (x DecisionCommands) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DecisionCommands.Descriptor instead. -func (DecisionCommands) EnumDescriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{0} -} - -type DecisionEvents int32 - -const ( - DecisionEvents_DECISION_EVENTS_UNSPECIFIED DecisionEvents = 0 - DecisionEvents_DECISION_EVENTS_OPTED_OUT DecisionEvents = 1 -) - -// Enum value maps for DecisionEvents. -var ( - DecisionEvents_name = map[int32]string{ - 0: "DECISION_EVENTS_UNSPECIFIED", - 1: "DECISION_EVENTS_OPTED_OUT", - } - DecisionEvents_value = map[string]int32{ - "DECISION_EVENTS_UNSPECIFIED": 0, - "DECISION_EVENTS_OPTED_OUT": 1, - } -) - -func (x DecisionEvents) Enum() *DecisionEvents { - p := new(DecisionEvents) - *p = x - return p -} - -func (x DecisionEvents) String() string { - return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) -} - -func (DecisionEvents) Descriptor() protoreflect.EnumDescriptor { - return file_kevel_advertisement_v1_decision_proto_enumTypes[1].Descriptor() -} - -func (DecisionEvents) Type() protoreflect.EnumType { - return &file_kevel_advertisement_v1_decision_proto_enumTypes[1] -} - -func (x DecisionEvents) Number() protoreflect.EnumNumber { - return protoreflect.EnumNumber(x) -} - -// Deprecated: Use DecisionEvents.Descriptor instead. -func (DecisionEvents) EnumDescriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{1} -} - -type Consent struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Consent) Reset() { - *x = Consent{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Consent) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Consent) ProtoMessage() {} - -func (x *Consent) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Consent.ProtoReflect.Descriptor instead. -func (*Consent) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{0} -} - -type DecisionRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - Placements []*Placement `protobuf:"bytes,1,rep,name=placements,proto3" json:"placements,omitempty"` - User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - Keywords []string `protobuf:"bytes,3,rep,name=keywords,proto3" json:"keywords,omitempty"` - Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` - Referrer string `protobuf:"bytes,5,opt,name=referrer,proto3" json:"referrer,omitempty"` - Ip string `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"` - BlockedCreatives []int64 `protobuf:"varint,7,rep,packed,name=blocked_creatives,json=blockedCreatives,proto3" json:"blocked_creatives,omitempty"` - IsMobile bool `protobuf:"varint,8,opt,name=is_mobile,json=isMobile,proto3" json:"is_mobile,omitempty"` - IncludePricingData bool `protobuf:"varint,9,opt,name=include_pricing_data,json=includePricingData,proto3" json:"include_pricing_data,omitempty"` - Notrack bool `protobuf:"varint,10,opt,name=notrack,proto3" json:"notrack,omitempty"` - EnableBotFiltering bool `protobuf:"varint,11,opt,name=enable_bot_filtering,json=enableBotFiltering,proto3" json:"enable_bot_filtering,omitempty"` - EnableUserDbip bool `protobuf:"varint,12,opt,name=enable_user_dbip,json=enableUserDbip,proto3" json:"enable_user_dbip,omitempty"` - Consent *Consent `protobuf:"bytes,13,opt,name=consent,proto3" json:"consent,omitempty"` - DeviceId string `protobuf:"bytes,14,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` - Parallel bool `protobuf:"varint,15,opt,name=parallel,proto3" json:"parallel,omitempty"` - IntendedLatitude float32 `protobuf:"fixed32,16,opt,name=intended_latitude,json=intendedLatitude,proto3" json:"intended_latitude,omitempty"` - IntendedLongitude float32 `protobuf:"fixed32,17,opt,name=intended_longitude,json=intendedLongitude,proto3" json:"intended_longitude,omitempty"` - Radius float32 `protobuf:"fixed32,18,opt,name=radius,proto3" json:"radius,omitempty"` - IncludeMatchedPoints bool `protobuf:"varint,19,opt,name=include_matched_points,json=includeMatchedPoints,proto3" json:"include_matched_points,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DecisionRequest) Reset() { - *x = DecisionRequest{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DecisionRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DecisionRequest) ProtoMessage() {} - -func (x *DecisionRequest) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DecisionRequest.ProtoReflect.Descriptor instead. -func (*DecisionRequest) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{1} -} - -func (x *DecisionRequest) GetPlacements() []*Placement { - if x != nil { - return x.Placements - } - return nil -} - -func (x *DecisionRequest) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -func (x *DecisionRequest) GetKeywords() []string { - if x != nil { - return x.Keywords - } - return nil -} - -func (x *DecisionRequest) GetUrl() string { - if x != nil { - return x.Url - } - return "" -} - -func (x *DecisionRequest) GetReferrer() string { - if x != nil { - return x.Referrer - } - return "" -} - -func (x *DecisionRequest) GetIp() string { - if x != nil { - return x.Ip - } - return "" -} - -func (x *DecisionRequest) GetBlockedCreatives() []int64 { - if x != nil { - return x.BlockedCreatives - } - return nil -} - -func (x *DecisionRequest) GetIsMobile() bool { - if x != nil { - return x.IsMobile - } - return false -} - -func (x *DecisionRequest) GetIncludePricingData() bool { - if x != nil { - return x.IncludePricingData - } - return false -} - -func (x *DecisionRequest) GetNotrack() bool { - if x != nil { - return x.Notrack - } - return false -} - -func (x *DecisionRequest) GetEnableBotFiltering() bool { - if x != nil { - return x.EnableBotFiltering - } - return false -} - -func (x *DecisionRequest) GetEnableUserDbip() bool { - if x != nil { - return x.EnableUserDbip - } - return false -} - -func (x *DecisionRequest) GetConsent() *Consent { - if x != nil { - return x.Consent - } - return nil -} - -func (x *DecisionRequest) GetDeviceId() string { - if x != nil { - return x.DeviceId - } - return "" -} - -func (x *DecisionRequest) GetParallel() bool { - if x != nil { - return x.Parallel - } - return false -} - -func (x *DecisionRequest) GetIntendedLatitude() float32 { - if x != nil { - return x.IntendedLatitude - } - return 0 -} - -func (x *DecisionRequest) GetIntendedLongitude() float32 { - if x != nil { - return x.IntendedLongitude - } - return 0 -} - -func (x *DecisionRequest) GetRadius() float32 { - if x != nil { - return x.Radius - } - return 0 -} - -func (x *DecisionRequest) GetIncludeMatchedPoints() bool { - if x != nil { - return x.IncludeMatchedPoints - } - return false -} - -type Properties struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Properties) Reset() { - *x = Properties{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Properties) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Properties) ProtoMessage() {} - -func (x *Properties) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Properties.ProtoReflect.Descriptor instead. -func (*Properties) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{2} -} - -type Overrides struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Overrides) Reset() { - *x = Overrides{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Overrides) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Overrides) ProtoMessage() {} - -func (x *Overrides) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Overrides.ProtoReflect.Descriptor instead. -func (*Overrides) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{3} -} - -type ContentKeys struct { - state protoimpl.MessageState `protogen:"open.v1"` - AdditionalProperties map[string]string `protobuf:"bytes,1,rep,name=additional_properties,json=additionalProperties,proto3" json:"additional_properties,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ContentKeys) Reset() { - *x = ContentKeys{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ContentKeys) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ContentKeys) ProtoMessage() {} - -func (x *ContentKeys) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ContentKeys.ProtoReflect.Descriptor instead. -func (*ContentKeys) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{4} -} - -func (x *ContentKeys) GetAdditionalProperties() map[string]string { - if x != nil { - return x.AdditionalProperties - } - return nil -} - -type AdQuery struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *AdQuery) Reset() { - *x = AdQuery{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *AdQuery) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AdQuery) ProtoMessage() {} - -func (x *AdQuery) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AdQuery.ProtoReflect.Descriptor instead. -func (*AdQuery) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{5} -} - -type Placement struct { - state protoimpl.MessageState `protogen:"open.v1"` - DivName string `protobuf:"bytes,1,opt,name=div_name,json=divName,proto3" json:"div_name,omitempty"` - NetworkId int32 `protobuf:"varint,2,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` - SiteId int32 `protobuf:"varint,3,opt,name=site_id,json=siteId,proto3" json:"site_id,omitempty"` - AdTypes []int64 `protobuf:"varint,4,rep,packed,name=ad_types,json=adTypes,proto3" json:"ad_types,omitempty"` - ZoneIds []int64 `protobuf:"varint,5,rep,packed,name=zone_ids,json=zoneIds,proto3" json:"zone_ids,omitempty"` - CampaignId int32 `protobuf:"varint,6,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` - FlightId int32 `protobuf:"varint,7,opt,name=flight_id,json=flightId,proto3" json:"flight_id,omitempty"` - AdId int32 `protobuf:"varint,8,opt,name=ad_id,json=adId,proto3" json:"ad_id,omitempty"` - ClickUrl string `protobuf:"bytes,9,opt,name=click_url,json=clickUrl,proto3" json:"click_url,omitempty"` - Properties *Properties `protobuf:"bytes,10,opt,name=properties,proto3" json:"properties,omitempty"` - EventIds []int64 `protobuf:"varint,11,rep,packed,name=event_ids,json=eventIds,proto3" json:"event_ids,omitempty"` - Overrides *Overrides `protobuf:"bytes,12,opt,name=overrides,proto3" json:"overrides,omitempty"` - ContentKeys *ContentKeys `protobuf:"bytes,13,opt,name=content_keys,json=contentKeys,proto3" json:"content_keys,omitempty"` - Count int32 `protobuf:"varint,14,opt,name=count,proto3" json:"count,omitempty"` - Proportionality bool `protobuf:"varint,15,opt,name=proportionality,proto3" json:"proportionality,omitempty"` - EcpmPartition string `protobuf:"bytes,16,opt,name=ecpm_partition,json=ecpmPartition,proto3" json:"ecpm_partition,omitempty"` - EcpmPartitions []string `protobuf:"bytes,17,rep,name=ecpm_partitions,json=ecpmPartitions,proto3" json:"ecpm_partitions,omitempty"` - EventMultiplier int32 `protobuf:"varint,18,opt,name=event_multiplier,json=eventMultiplier,proto3" json:"event_multiplier,omitempty"` - SkipSelection bool `protobuf:"varint,19,opt,name=skip_selection,json=skipSelection,proto3" json:"skip_selection,omitempty"` - AdQuery *AdQuery `protobuf:"bytes,20,opt,name=ad_query,json=adQuery,proto3" json:"ad_query,omitempty"` - FloorPrice float32 `protobuf:"fixed32,21,opt,name=floor_price,json=floorPrice,proto3" json:"floor_price,omitempty"` - FloorCpc float32 `protobuf:"fixed32,22,opt,name=floor_cpc,json=floorCpc,proto3" json:"floor_cpc,omitempty"` - SkipFilters *SkipFilters `protobuf:"bytes,23,opt,name=skip_filters,json=skipFilters,proto3" json:"skip_filters,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Placement) Reset() { - *x = Placement{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Placement) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Placement) ProtoMessage() {} - -func (x *Placement) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Placement.ProtoReflect.Descriptor instead. -func (*Placement) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{6} -} - -func (x *Placement) GetDivName() string { - if x != nil { - return x.DivName - } - return "" -} - -func (x *Placement) GetNetworkId() int32 { - if x != nil { - return x.NetworkId - } - return 0 -} - -func (x *Placement) GetSiteId() int32 { - if x != nil { - return x.SiteId - } - return 0 -} - -func (x *Placement) GetAdTypes() []int64 { - if x != nil { - return x.AdTypes - } - return nil -} - -func (x *Placement) GetZoneIds() []int64 { - if x != nil { - return x.ZoneIds - } - return nil -} - -func (x *Placement) GetCampaignId() int32 { - if x != nil { - return x.CampaignId - } - return 0 -} - -func (x *Placement) GetFlightId() int32 { - if x != nil { - return x.FlightId - } - return 0 -} - -func (x *Placement) GetAdId() int32 { - if x != nil { - return x.AdId - } - return 0 -} - -func (x *Placement) GetClickUrl() string { - if x != nil { - return x.ClickUrl - } - return "" -} - -func (x *Placement) GetProperties() *Properties { - if x != nil { - return x.Properties - } - return nil -} - -func (x *Placement) GetEventIds() []int64 { - if x != nil { - return x.EventIds - } - return nil -} - -func (x *Placement) GetOverrides() *Overrides { - if x != nil { - return x.Overrides - } - return nil -} - -func (x *Placement) GetContentKeys() *ContentKeys { - if x != nil { - return x.ContentKeys - } - return nil -} - -func (x *Placement) GetCount() int32 { - if x != nil { - return x.Count - } - return 0 -} - -func (x *Placement) GetProportionality() bool { - if x != nil { - return x.Proportionality - } - return false -} - -func (x *Placement) GetEcpmPartition() string { - if x != nil { - return x.EcpmPartition - } - return "" -} - -func (x *Placement) GetEcpmPartitions() []string { - if x != nil { - return x.EcpmPartitions - } - return nil -} - -func (x *Placement) GetEventMultiplier() int32 { - if x != nil { - return x.EventMultiplier - } - return 0 -} - -func (x *Placement) GetSkipSelection() bool { - if x != nil { - return x.SkipSelection - } - return false -} - -func (x *Placement) GetAdQuery() *AdQuery { - if x != nil { - return x.AdQuery - } - return nil -} - -func (x *Placement) GetFloorPrice() float32 { - if x != nil { - return x.FloorPrice - } - return 0 -} - -func (x *Placement) GetFloorCpc() float32 { - if x != nil { - return x.FloorCpc - } - return 0 -} - -func (x *Placement) GetSkipFilters() *SkipFilters { - if x != nil { - return x.SkipFilters - } - return nil -} - -type User struct { - state protoimpl.MessageState `protogen:"open.v1"` - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *User) Reset() { - *x = User{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *User) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*User) ProtoMessage() {} - -func (x *User) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[7] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use User.ProtoReflect.Descriptor instead. -func (*User) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{7} -} - -func (x *User) GetKey() string { - if x != nil { - return x.Key - } - return "" -} - -type Decision struct { - state protoimpl.MessageState `protogen:"open.v1"` - AdId int64 `protobuf:"varint,1,opt,name=ad_id,json=adId,proto3" json:"ad_id,omitempty"` - AdvertiserId int64 `protobuf:"varint,2,opt,name=advertiser_id,json=advertiserId,proto3" json:"advertiser_id,omitempty"` - CreativeId int64 `protobuf:"varint,3,opt,name=creative_id,json=creativeId,proto3" json:"creative_id,omitempty"` - FlightId int64 `protobuf:"varint,4,opt,name=flight_id,json=flightId,proto3" json:"flight_id,omitempty"` - CampaignId int64 `protobuf:"varint,5,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"` - PriorityId int64 `protobuf:"varint,6,opt,name=priority_id,json=priorityId,proto3" json:"priority_id,omitempty"` - ClickUrl string `protobuf:"bytes,7,opt,name=click_url,json=clickUrl,proto3" json:"click_url,omitempty"` - Contents []*Content `protobuf:"bytes,8,rep,name=contents,proto3" json:"contents,omitempty"` - ImpressionUrl string `protobuf:"bytes,9,opt,name=impression_url,json=impressionUrl,proto3" json:"impression_url,omitempty"` - Events []*Event `protobuf:"bytes,10,rep,name=events,proto3" json:"events,omitempty"` - MatchedPoints []*MatchedPoint `protobuf:"bytes,11,rep,name=matched_points,json=matchedPoints,proto3" json:"matched_points,omitempty"` - Pricing *PricingData `protobuf:"bytes,12,opt,name=pricing,proto3" json:"pricing,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Decision) Reset() { - *x = Decision{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Decision) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Decision) ProtoMessage() {} - -func (x *Decision) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[8] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Decision.ProtoReflect.Descriptor instead. -func (*Decision) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{8} -} - -func (x *Decision) GetAdId() int64 { - if x != nil { - return x.AdId - } - return 0 -} - -func (x *Decision) GetAdvertiserId() int64 { - if x != nil { - return x.AdvertiserId - } - return 0 -} - -func (x *Decision) GetCreativeId() int64 { - if x != nil { - return x.CreativeId - } - return 0 -} - -func (x *Decision) GetFlightId() int64 { - if x != nil { - return x.FlightId - } - return 0 -} - -func (x *Decision) GetCampaignId() int64 { - if x != nil { - return x.CampaignId - } - return 0 -} - -func (x *Decision) GetPriorityId() int64 { - if x != nil { - return x.PriorityId - } - return 0 -} - -func (x *Decision) GetClickUrl() string { - if x != nil { - return x.ClickUrl - } - return "" -} - -func (x *Decision) GetContents() []*Content { - if x != nil { - return x.Contents - } - return nil -} - -func (x *Decision) GetImpressionUrl() string { - if x != nil { - return x.ImpressionUrl - } - return "" -} - -func (x *Decision) GetEvents() []*Event { - if x != nil { - return x.Events - } - return nil -} - -func (x *Decision) GetMatchedPoints() []*MatchedPoint { - if x != nil { - return x.MatchedPoints - } - return nil -} - -func (x *Decision) GetPricing() *PricingData { - if x != nil { - return x.Pricing - } - return nil -} - -type Event struct { - state protoimpl.MessageState `protogen:"open.v1"` - Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Event) Reset() { - *x = Event{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Event) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Event) ProtoMessage() {} - -func (x *Event) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[9] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Event.ProtoReflect.Descriptor instead. -func (*Event) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{9} -} - -func (x *Event) GetId() int32 { - if x != nil { - return x.Id - } - return 0 -} - -func (x *Event) GetUrl() string { - if x != nil { - return x.Url - } - return "" -} - -type Data struct { - state protoimpl.MessageState `protogen:"open.v1"` - Height int32 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` - Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` - ImageUrl string `protobuf:"bytes,3,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` - FileName string `protobuf:"bytes,4,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Data) Reset() { - *x = Data{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Data) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Data) ProtoMessage() {} - -func (x *Data) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[10] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Data.ProtoReflect.Descriptor instead. -func (*Data) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{10} -} - -func (x *Data) GetHeight() int32 { - if x != nil { - return x.Height - } - return 0 -} - -func (x *Data) GetWidth() int32 { - if x != nil { - return x.Width - } - return 0 -} - -func (x *Data) GetImageUrl() string { - if x != nil { - return x.ImageUrl - } - return "" -} - -func (x *Data) GetFileName() string { - if x != nil { - return x.FileName - } - return "" -} - -type Content struct { - state protoimpl.MessageState `protogen:"open.v1"` - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` - Template string `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"` - CustomTemplate string `protobuf:"bytes,3,opt,name=custom_template,json=customTemplate,proto3" json:"custom_template,omitempty"` - Data *Data `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` - Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Content) Reset() { - *x = Content{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Content) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Content) ProtoMessage() {} - -func (x *Content) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[11] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Content.ProtoReflect.Descriptor instead. -func (*Content) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{11} -} - -func (x *Content) GetType() string { - if x != nil { - return x.Type - } - return "" -} - -func (x *Content) GetTemplate() string { - if x != nil { - return x.Template - } - return "" -} - -func (x *Content) GetCustomTemplate() string { - if x != nil { - return x.CustomTemplate - } - return "" -} - -func (x *Content) GetData() *Data { - if x != nil { - return x.Data - } - return nil -} - -func (x *Content) GetBody() string { - if x != nil { - return x.Body - } - return "" -} - -type PricingData struct { - state protoimpl.MessageState `protogen:"open.v1"` - Price float32 `protobuf:"fixed32,1,opt,name=price,proto3" json:"price,omitempty"` - ClearPrice float32 `protobuf:"fixed32,2,opt,name=clear_price,json=clearPrice,proto3" json:"clear_price,omitempty"` - Revenue float32 `protobuf:"fixed32,3,opt,name=revenue,proto3" json:"revenue,omitempty"` - RateType int64 `protobuf:"varint,4,opt,name=rate_type,json=rateType,proto3" json:"rate_type,omitempty"` - ECpm float32 `protobuf:"fixed32,5,opt,name=e_cpm,json=eCpm,proto3" json:"e_cpm,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *PricingData) Reset() { - *x = PricingData{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *PricingData) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*PricingData) ProtoMessage() {} - -func (x *PricingData) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[12] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use PricingData.ProtoReflect.Descriptor instead. -func (*PricingData) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{12} -} - -func (x *PricingData) GetPrice() float32 { - if x != nil { - return x.Price - } - return 0 -} - -func (x *PricingData) GetClearPrice() float32 { - if x != nil { - return x.ClearPrice - } - return 0 -} - -func (x *PricingData) GetRevenue() float32 { - if x != nil { - return x.Revenue - } - return 0 -} - -func (x *PricingData) GetRateType() int64 { - if x != nil { - return x.RateType - } - return 0 -} - -func (x *PricingData) GetECpm() float32 { - if x != nil { - return x.ECpm - } - return 0 -} - -type Decisions struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Decisions) Reset() { - *x = Decisions{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Decisions) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Decisions) ProtoMessage() {} - -func (x *Decisions) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[13] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Decisions.ProtoReflect.Descriptor instead. -func (*Decisions) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{13} -} - -type Explain struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Explain) Reset() { - *x = Explain{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Explain) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Explain) ProtoMessage() {} - -func (x *Explain) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[14] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Explain.ProtoReflect.Descriptor instead. -func (*Explain) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{14} -} - -type GetDecisionsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - // The response context - SpecContext *v2.SpecResponseContext `protobuf:"bytes,1,opt,name=spec_context,json=specContext,proto3" json:"spec_context,omitempty"` - User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - // repeated Decision decisions = 3; - Decision *Decision `protobuf:"bytes,3,opt,name=decision,proto3" json:"decision,omitempty"` - Explain *Explain `protobuf:"bytes,4,opt,name=explain,proto3" json:"explain,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetDecisionsResponse) Reset() { - *x = GetDecisionsResponse{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetDecisionsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDecisionsResponse) ProtoMessage() {} - -func (x *GetDecisionsResponse) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[15] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetDecisionsResponse.ProtoReflect.Descriptor instead. -func (*GetDecisionsResponse) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{15} -} - -func (x *GetDecisionsResponse) GetSpecContext() *v2.SpecResponseContext { - if x != nil { - return x.SpecContext - } - return nil -} - -func (x *GetDecisionsResponse) GetUser() *User { - if x != nil { - return x.User - } - return nil -} - -func (x *GetDecisionsResponse) GetDecision() *Decision { - if x != nil { - return x.Decision - } - return nil -} - -func (x *GetDecisionsResponse) GetExplain() *Explain { - if x != nil { - return x.Explain - } - return nil -} - -type ConsentRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - UserKey string `protobuf:"bytes,1,opt,name=user_key,json=userKey,proto3" json:"user_key,omitempty"` - Consent *Consent `protobuf:"bytes,2,opt,name=consent,proto3" json:"consent,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ConsentRequest) Reset() { - *x = ConsentRequest{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ConsentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConsentRequest) ProtoMessage() {} - -func (x *ConsentRequest) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[16] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ConsentRequest.ProtoReflect.Descriptor instead. -func (*ConsentRequest) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{16} -} - -func (x *ConsentRequest) GetUserKey() string { - if x != nil { - return x.UserKey - } - return "" -} - -func (x *ConsentRequest) GetConsent() *Consent { - if x != nil { - return x.Consent - } - return nil -} - -type MatchedPoint struct { - state protoimpl.MessageState `protogen:"open.v1"` - Lat string `protobuf:"bytes,1,opt,name=lat,proto3" json:"lat,omitempty"` - Lon string `protobuf:"bytes,2,opt,name=lon,proto3" json:"lon,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *MatchedPoint) Reset() { - *x = MatchedPoint{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MatchedPoint) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MatchedPoint) ProtoMessage() {} - -func (x *MatchedPoint) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[17] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MatchedPoint.ProtoReflect.Descriptor instead. -func (*MatchedPoint) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{17} -} - -func (x *MatchedPoint) GetLat() string { - if x != nil { - return x.Lat - } - return "" -} - -func (x *MatchedPoint) GetLon() string { - if x != nil { - return x.Lon - } - return "" -} - -type GeoDistanceSkipFilter struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GeoDistanceSkipFilter) Reset() { - *x = GeoDistanceSkipFilter{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GeoDistanceSkipFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GeoDistanceSkipFilter) ProtoMessage() {} - -func (x *GeoDistanceSkipFilter) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[18] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GeoDistanceSkipFilter.ProtoReflect.Descriptor instead. -func (*GeoDistanceSkipFilter) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{18} -} - -func (x *GeoDistanceSkipFilter) GetValue() bool { - if x != nil { - return x.Value - } - return false -} - -type GeoLocationSkipFilter struct { - state protoimpl.MessageState `protogen:"open.v1"` - Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GeoLocationSkipFilter) Reset() { - *x = GeoLocationSkipFilter{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GeoLocationSkipFilter) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GeoLocationSkipFilter) ProtoMessage() {} - -func (x *GeoLocationSkipFilter) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[19] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GeoLocationSkipFilter.ProtoReflect.Descriptor instead. -func (*GeoLocationSkipFilter) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{19} -} - -func (x *GeoLocationSkipFilter) GetValue() bool { - if x != nil { - return x.Value - } - return false -} - -type SkipFilters struct { - state protoimpl.MessageState `protogen:"open.v1"` - Distance *GeoDistanceSkipFilter `protobuf:"bytes,1,opt,name=distance,proto3" json:"distance,omitempty"` - Facet bool `protobuf:"varint,2,opt,name=facet,proto3" json:"facet,omitempty"` - Geodistance *GeoDistanceSkipFilter `protobuf:"bytes,3,opt,name=geodistance,proto3" json:"geodistance,omitempty"` - Geolocation *GeoLocationSkipFilter `protobuf:"bytes,4,opt,name=geolocation,proto3" json:"geolocation,omitempty"` - Keyword bool `protobuf:"varint,5,opt,name=keyword,proto3" json:"keyword,omitempty"` - Location *GeoLocationSkipFilter `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"` - PlacementLimit bool `protobuf:"varint,7,opt,name=placement_limit,json=placementLimit,proto3" json:"placement_limit,omitempty"` - SiteZone bool `protobuf:"varint,8,opt,name=site_zone,json=siteZone,proto3" json:"site_zone,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *SkipFilters) Reset() { - *x = SkipFilters{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *SkipFilters) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*SkipFilters) ProtoMessage() {} - -func (x *SkipFilters) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[20] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use SkipFilters.ProtoReflect.Descriptor instead. -func (*SkipFilters) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{20} -} - -func (x *SkipFilters) GetDistance() *GeoDistanceSkipFilter { - if x != nil { - return x.Distance - } - return nil -} - -func (x *SkipFilters) GetFacet() bool { - if x != nil { - return x.Facet - } - return false -} - -func (x *SkipFilters) GetGeodistance() *GeoDistanceSkipFilter { - if x != nil { - return x.Geodistance - } - return nil -} - -func (x *SkipFilters) GetGeolocation() *GeoLocationSkipFilter { - if x != nil { - return x.Geolocation - } - return nil -} - -func (x *SkipFilters) GetKeyword() bool { - if x != nil { - return x.Keyword - } - return false -} - -func (x *SkipFilters) GetLocation() *GeoLocationSkipFilter { - if x != nil { - return x.Location - } - return nil -} - -func (x *SkipFilters) GetPlacementLimit() bool { - if x != nil { - return x.PlacementLimit - } - return false -} - -func (x *SkipFilters) GetSiteZone() bool { - if x != nil { - return x.SiteZone - } - return false -} - -// GetDecisionsParameters holds parameters to GetDecisions -type GetDecisionsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - DecisionRequest *DecisionRequest `protobuf:"bytes,1,opt,name=decision_request,json=decisionRequest,proto3" json:"decision_request,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GetDecisionsRequest) Reset() { - *x = GetDecisionsRequest{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GetDecisionsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetDecisionsRequest) ProtoMessage() {} - -func (x *GetDecisionsRequest) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[21] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetDecisionsRequest.ProtoReflect.Descriptor instead. -func (*GetDecisionsRequest) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{21} -} - -func (x *GetDecisionsRequest) GetDecisionRequest() *DecisionRequest { - if x != nil { - return x.DecisionRequest - } - return nil -} - -type AddCustomPropertiesRequestBody struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *AddCustomPropertiesRequestBody) Reset() { - *x = AddCustomPropertiesRequestBody{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *AddCustomPropertiesRequestBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddCustomPropertiesRequestBody) ProtoMessage() {} - -func (x *AddCustomPropertiesRequestBody) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[22] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddCustomPropertiesRequestBody.ProtoReflect.Descriptor instead. -func (*AddCustomPropertiesRequestBody) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{22} -} - -// AddCustomPropertiesParameters holds parameters to AddCustomProperties -type AddCustomPropertiesRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - NetworkId int32 `protobuf:"varint,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` - UserKey string `protobuf:"bytes,2,opt,name=user_key,json=userKey,proto3" json:"user_key,omitempty"` - AddCustomPropertiesRequestBody *AddCustomPropertiesRequestBody `protobuf:"bytes,3,opt,name=add_custom_properties_request_body,json=addCustomPropertiesRequestBody,proto3" json:"add_custom_properties_request_body,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *AddCustomPropertiesRequest) Reset() { - *x = AddCustomPropertiesRequest{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *AddCustomPropertiesRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddCustomPropertiesRequest) ProtoMessage() {} - -func (x *AddCustomPropertiesRequest) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[23] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddCustomPropertiesRequest.ProtoReflect.Descriptor instead. -func (*AddCustomPropertiesRequest) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{23} -} - -func (x *AddCustomPropertiesRequest) GetNetworkId() int32 { - if x != nil { - return x.NetworkId - } - return 0 -} - -func (x *AddCustomPropertiesRequest) GetUserKey() string { - if x != nil { - return x.UserKey - } - return "" -} - -func (x *AddCustomPropertiesRequest) GetAddCustomPropertiesRequestBody() *AddCustomPropertiesRequestBody { - if x != nil { - return x.AddCustomPropertiesRequestBody - } - return nil -} - -type AddCustomPropertiesResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - SpecContext *v2.SpecResponseContext `protobuf:"bytes,1,opt,name=spec_context,json=specContext,proto3" json:"spec_context,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *AddCustomPropertiesResponse) Reset() { - *x = AddCustomPropertiesResponse{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *AddCustomPropertiesResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddCustomPropertiesResponse) ProtoMessage() {} - -func (x *AddCustomPropertiesResponse) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[24] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddCustomPropertiesResponse.ProtoReflect.Descriptor instead. -func (*AddCustomPropertiesResponse) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{24} -} - -func (x *AddCustomPropertiesResponse) GetSpecContext() *v2.SpecResponseContext { - if x != nil { - return x.SpecContext - } - return nil -} - -// AddInterestsParameters holds parameters to AddInterests -type AddInterestsRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - NetworkId int32 `protobuf:"varint,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` - UserKey string `protobuf:"bytes,2,opt,name=user_key,json=userKey,proto3" json:"user_key,omitempty"` - Interest string `protobuf:"bytes,3,opt,name=interest,proto3" json:"interest,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *AddInterestsRequest) Reset() { - *x = AddInterestsRequest{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *AddInterestsRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddInterestsRequest) ProtoMessage() {} - -func (x *AddInterestsRequest) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[25] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddInterestsRequest.ProtoReflect.Descriptor instead. -func (*AddInterestsRequest) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{25} -} - -func (x *AddInterestsRequest) GetNetworkId() int32 { - if x != nil { - return x.NetworkId - } - return 0 -} - -func (x *AddInterestsRequest) GetUserKey() string { - if x != nil { - return x.UserKey - } - return "" -} - -func (x *AddInterestsRequest) GetInterest() string { - if x != nil { - return x.Interest - } - return "" -} - -type AddInterestsResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - SpecContext *v2.SpecResponseContext `protobuf:"bytes,1,opt,name=spec_context,json=specContext,proto3" json:"spec_context,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *AddInterestsResponse) Reset() { - *x = AddInterestsResponse{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *AddInterestsResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddInterestsResponse) ProtoMessage() {} - -func (x *AddInterestsResponse) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[26] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddInterestsResponse.ProtoReflect.Descriptor instead. -func (*AddInterestsResponse) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{26} -} - -func (x *AddInterestsResponse) GetSpecContext() *v2.SpecResponseContext { - if x != nil { - return x.SpecContext - } - return nil -} - -// AddRetargetingSegmentParameters holds parameters to AddRetargetingSegment -type AddRetargetingSegmentRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - NetworkId int32 `protobuf:"varint,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` - AdvertiserId int32 `protobuf:"varint,2,opt,name=advertiser_id,json=advertiserId,proto3" json:"advertiser_id,omitempty"` - RetargetingSegmentId int32 `protobuf:"varint,3,opt,name=retargeting_segment_id,json=retargetingSegmentId,proto3" json:"retargeting_segment_id,omitempty"` - UserKey string `protobuf:"bytes,4,opt,name=user_key,json=userKey,proto3" json:"user_key,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *AddRetargetingSegmentRequest) Reset() { - *x = AddRetargetingSegmentRequest{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *AddRetargetingSegmentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddRetargetingSegmentRequest) ProtoMessage() {} - -func (x *AddRetargetingSegmentRequest) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[27] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddRetargetingSegmentRequest.ProtoReflect.Descriptor instead. -func (*AddRetargetingSegmentRequest) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{27} -} - -func (x *AddRetargetingSegmentRequest) GetNetworkId() int32 { - if x != nil { - return x.NetworkId - } - return 0 -} - -func (x *AddRetargetingSegmentRequest) GetAdvertiserId() int32 { - if x != nil { - return x.AdvertiserId - } - return 0 -} - -func (x *AddRetargetingSegmentRequest) GetRetargetingSegmentId() int32 { - if x != nil { - return x.RetargetingSegmentId - } - return 0 -} - -func (x *AddRetargetingSegmentRequest) GetUserKey() string { - if x != nil { - return x.UserKey - } - return "" -} - -type AddRetargetingSegmentResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - SpecContext *v2.SpecResponseContext `protobuf:"bytes,1,opt,name=spec_context,json=specContext,proto3" json:"spec_context,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *AddRetargetingSegmentResponse) Reset() { - *x = AddRetargetingSegmentResponse{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *AddRetargetingSegmentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*AddRetargetingSegmentResponse) ProtoMessage() {} - -func (x *AddRetargetingSegmentResponse) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[28] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use AddRetargetingSegmentResponse.ProtoReflect.Descriptor instead. -func (*AddRetargetingSegmentResponse) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{28} -} - -func (x *AddRetargetingSegmentResponse) GetSpecContext() *v2.SpecResponseContext { - if x != nil { - return x.SpecContext - } - return nil -} - -// OptOutParameters holds parameters to OptOut -type OptOutRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - NetworkId int32 `protobuf:"varint,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` - UserKey string `protobuf:"bytes,2,opt,name=user_key,json=userKey,proto3" json:"user_key,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *OptOutRequest) Reset() { - *x = OptOutRequest{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *OptOutRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OptOutRequest) ProtoMessage() {} - -func (x *OptOutRequest) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[29] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OptOutRequest.ProtoReflect.Descriptor instead. -func (*OptOutRequest) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{29} -} - -func (x *OptOutRequest) GetNetworkId() int32 { - if x != nil { - return x.NetworkId - } - return 0 -} - -func (x *OptOutRequest) GetUserKey() string { - if x != nil { - return x.UserKey - } - return "" -} - -type OptOutResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *OptOutResponse) Reset() { - *x = OptOutResponse{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *OptOutResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OptOutResponse) ProtoMessage() {} - -func (x *OptOutResponse) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[30] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OptOutResponse.ProtoReflect.Descriptor instead. -func (*OptOutResponse) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{30} -} - -// ReadParameters holds parameters to Read -type ReadRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - NetworkId int32 `protobuf:"varint,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` - UserKey string `protobuf:"bytes,2,opt,name=user_key,json=userKey,proto3" json:"user_key,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ReadRequest) Reset() { - *x = ReadRequest{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ReadRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReadRequest) ProtoMessage() {} - -func (x *ReadRequest) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[31] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead. -func (*ReadRequest) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{31} -} - -func (x *ReadRequest) GetNetworkId() int32 { - if x != nil { - return x.NetworkId - } - return 0 -} - -func (x *ReadRequest) GetUserKey() string { - if x != nil { - return x.UserKey - } - return "" -} - -type ReadResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - SpecContext *v2.SpecResponseContext `protobuf:"bytes,1,opt,name=spec_context,json=specContext,proto3" json:"spec_context,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ReadResponse) Reset() { - *x = ReadResponse{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ReadResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ReadResponse) ProtoMessage() {} - -func (x *ReadResponse) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[32] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ReadResponse.ProtoReflect.Descriptor instead. -func (*ReadResponse) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{32} -} - -func (x *ReadResponse) GetSpecContext() *v2.SpecResponseContext { - if x != nil { - return x.SpecContext - } - return nil -} - -// IpOverrideParameters holds parameters to IpOverride -type IpOverrideRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - NetworkId int32 `protobuf:"varint,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` - UserKey string `protobuf:"bytes,2,opt,name=user_key,json=userKey,proto3" json:"user_key,omitempty"` - Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *IpOverrideRequest) Reset() { - *x = IpOverrideRequest{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *IpOverrideRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IpOverrideRequest) ProtoMessage() {} - -func (x *IpOverrideRequest) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[33] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IpOverrideRequest.ProtoReflect.Descriptor instead. -func (*IpOverrideRequest) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{33} -} - -func (x *IpOverrideRequest) GetNetworkId() int32 { - if x != nil { - return x.NetworkId - } - return 0 -} - -func (x *IpOverrideRequest) GetUserKey() string { - if x != nil { - return x.UserKey - } - return "" -} - -func (x *IpOverrideRequest) GetIp() string { - if x != nil { - return x.Ip - } - return "" -} - -type IpOverrideResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - SpecContext *v2.SpecResponseContext `protobuf:"bytes,1,opt,name=spec_context,json=specContext,proto3" json:"spec_context,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *IpOverrideResponse) Reset() { - *x = IpOverrideResponse{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *IpOverrideResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*IpOverrideResponse) ProtoMessage() {} - -func (x *IpOverrideResponse) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[34] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use IpOverrideResponse.ProtoReflect.Descriptor instead. -func (*IpOverrideResponse) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{34} -} - -func (x *IpOverrideResponse) GetSpecContext() *v2.SpecResponseContext { - if x != nil { - return x.SpecContext - } - return nil -} - -// ForgetParameters holds parameters to Forget -type ForgetRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - NetworkId int32 `protobuf:"varint,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` - UserKey string `protobuf:"bytes,2,opt,name=user_key,json=userKey,proto3" json:"user_key,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ForgetRequest) Reset() { - *x = ForgetRequest{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ForgetRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ForgetRequest) ProtoMessage() {} - -func (x *ForgetRequest) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[35] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ForgetRequest.ProtoReflect.Descriptor instead. -func (*ForgetRequest) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{35} -} - -func (x *ForgetRequest) GetNetworkId() int32 { - if x != nil { - return x.NetworkId - } - return 0 -} - -func (x *ForgetRequest) GetUserKey() string { - if x != nil { - return x.UserKey - } - return "" -} - -type ForgetResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *ForgetResponse) Reset() { - *x = ForgetResponse{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *ForgetResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ForgetResponse) ProtoMessage() {} - -func (x *ForgetResponse) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[36] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ForgetResponse.ProtoReflect.Descriptor instead. -func (*ForgetResponse) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{36} -} - -// GdprConsentParameters holds parameters to GdprConsent -type GdprConsentRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - NetworkId int32 `protobuf:"varint,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` - ConsentRequest *ConsentRequest `protobuf:"bytes,2,opt,name=consent_request,json=consentRequest,proto3" json:"consent_request,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GdprConsentRequest) Reset() { - *x = GdprConsentRequest{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GdprConsentRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GdprConsentRequest) ProtoMessage() {} - -func (x *GdprConsentRequest) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[37] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GdprConsentRequest.ProtoReflect.Descriptor instead. -func (*GdprConsentRequest) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{37} -} - -func (x *GdprConsentRequest) GetNetworkId() int32 { - if x != nil { - return x.NetworkId - } - return 0 -} - -func (x *GdprConsentRequest) GetConsentRequest() *ConsentRequest { - if x != nil { - return x.ConsentRequest - } - return nil -} - -type GdprConsentResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - SpecContext *v2.SpecResponseContext `protobuf:"bytes,1,opt,name=spec_context,json=specContext,proto3" json:"spec_context,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *GdprConsentResponse) Reset() { - *x = GdprConsentResponse{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *GdprConsentResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GdprConsentResponse) ProtoMessage() {} - -func (x *GdprConsentResponse) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[38] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GdprConsentResponse.ProtoReflect.Descriptor instead. -func (*GdprConsentResponse) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{38} -} - -func (x *GdprConsentResponse) GetSpecContext() *v2.SpecResponseContext { - if x != nil { - return x.SpecContext - } - return nil -} - -// MatchUserParameters holds parameters to MatchUser -type MatchUserRequest struct { - state protoimpl.MessageState `protogen:"open.v1"` - NetworkId int32 `protobuf:"varint,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` - UserKey string `protobuf:"bytes,2,opt,name=user_key,json=userKey,proto3" json:"user_key,omitempty"` - PartnerId int32 `protobuf:"varint,3,opt,name=partner_id,json=partnerId,proto3" json:"partner_id,omitempty"` - UserId int32 `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *MatchUserRequest) Reset() { - *x = MatchUserRequest{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MatchUserRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MatchUserRequest) ProtoMessage() {} - -func (x *MatchUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[39] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MatchUserRequest.ProtoReflect.Descriptor instead. -func (*MatchUserRequest) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{39} -} - -func (x *MatchUserRequest) GetNetworkId() int32 { - if x != nil { - return x.NetworkId - } - return 0 -} - -func (x *MatchUserRequest) GetUserKey() string { - if x != nil { - return x.UserKey - } - return "" -} - -func (x *MatchUserRequest) GetPartnerId() int32 { - if x != nil { - return x.PartnerId - } - return 0 -} - -func (x *MatchUserRequest) GetUserId() int32 { - if x != nil { - return x.UserId - } - return 0 -} - -type MatchUserResponse struct { - state protoimpl.MessageState `protogen:"open.v1"` - SpecContext *v2.SpecResponseContext `protobuf:"bytes,1,opt,name=spec_context,json=specContext,proto3" json:"spec_context,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *MatchUserResponse) Reset() { - *x = MatchUserResponse{} - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *MatchUserResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MatchUserResponse) ProtoMessage() {} - -func (x *MatchUserResponse) ProtoReflect() protoreflect.Message { - mi := &file_kevel_advertisement_v1_decision_proto_msgTypes[40] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use MatchUserResponse.ProtoReflect.Descriptor instead. -func (*MatchUserResponse) Descriptor() ([]byte, []int) { - return file_kevel_advertisement_v1_decision_proto_rawDescGZIP(), []int{40} -} - -func (x *MatchUserResponse) GetSpecContext() *v2.SpecResponseContext { - if x != nil { - return x.SpecContext - } - return nil -} - -var File_kevel_advertisement_v1_decision_proto protoreflect.FileDescriptor - -var file_kevel_advertisement_v1_decision_proto_rawDesc = string([]byte{ - 0x0a, 0x25, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2f, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, - 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x1a, - 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x70, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, - 0x76, 0x32, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0x09, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x22, 0xf0, - 0x05, 0x0a, 0x0f, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x41, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, - 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x70, 0x6c, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, - 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, - 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, - 0x72, 0x64, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, - 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x66, 0x65, 0x72, 0x72, 0x65, - 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, - 0x70, 0x12, 0x2b, 0x0a, 0x11, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x69, 0x76, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x03, 0x52, 0x10, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x76, 0x65, 0x73, 0x12, 0x1b, - 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x6d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x08, 0x69, 0x73, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x69, - 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x64, - 0x61, 0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x69, 0x6e, 0x63, 0x6c, 0x75, - 0x64, 0x65, 0x50, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, - 0x07, 0x6e, 0x6f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, - 0x6e, 0x6f, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x12, 0x30, 0x0a, 0x14, 0x65, 0x6e, 0x61, 0x62, 0x6c, - 0x65, 0x5f, 0x62, 0x6f, 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x6f, 0x74, - 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x28, 0x0a, 0x10, 0x65, 0x6e, 0x61, - 0x62, 0x6c, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x64, 0x62, 0x69, 0x70, 0x18, 0x0c, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0e, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x55, 0x73, 0x65, 0x72, 0x44, - 0x62, 0x69, 0x70, 0x12, 0x39, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x0d, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, - 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, - 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x12, 0x1b, - 0x0a, 0x09, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, - 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x70, - 0x61, 0x72, 0x61, 0x6c, 0x6c, 0x65, 0x6c, 0x12, 0x2b, 0x0a, 0x11, 0x69, 0x6e, 0x74, 0x65, 0x6e, - 0x64, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x10, 0x20, 0x01, - 0x28, 0x02, 0x52, 0x10, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x4c, 0x61, 0x74, 0x69, - 0x74, 0x75, 0x64, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, - 0x5f, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x02, - 0x52, 0x11, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x4c, 0x6f, 0x6e, 0x67, 0x69, 0x74, - 0x75, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x18, 0x12, 0x20, - 0x01, 0x28, 0x02, 0x52, 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x69, - 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x70, - 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x6e, 0x63, - 0x6c, 0x75, 0x64, 0x65, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, - 0x73, 0x22, 0x0c, 0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, - 0x0b, 0x0a, 0x09, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x22, 0xca, 0x01, 0x0a, - 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x72, 0x0a, 0x15, - 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x6b, 0x65, - 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x73, - 0x2e, 0x41, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x14, 0x61, 0x64, 0x64, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, - 0x1a, 0x47, 0x0a, 0x19, 0x41, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x50, 0x72, - 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x09, 0x0a, 0x07, 0x41, 0x64, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x22, 0x92, 0x07, 0x0a, 0x09, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, - 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x69, 0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x69, 0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, - 0x0a, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x09, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, - 0x73, 0x69, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, - 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x61, 0x64, 0x54, 0x79, 0x70, 0x65, 0x73, - 0x12, 0x19, 0x0a, 0x08, 0x7a, 0x6f, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, - 0x28, 0x03, 0x52, 0x07, 0x7a, 0x6f, 0x6e, 0x65, 0x49, 0x64, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x63, - 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0a, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, - 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x08, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x49, 0x64, 0x12, 0x13, 0x0a, 0x05, 0x61, 0x64, 0x5f, - 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x61, 0x64, 0x49, 0x64, 0x12, 0x1b, - 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x55, 0x72, 0x6c, 0x12, 0x42, 0x0a, 0x0a, 0x70, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x22, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, - 0x69, 0x65, 0x73, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, - 0x1b, 0x0a, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0b, 0x20, 0x03, - 0x28, 0x03, 0x52, 0x08, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x3f, 0x0a, 0x09, - 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x21, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, - 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, - 0x65, 0x73, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x12, 0x46, 0x0a, - 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0d, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, - 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, - 0x74, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0e, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x70, - 0x72, 0x6f, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x0f, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6f, 0x6e, - 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x63, 0x70, 0x6d, 0x5f, 0x70, 0x61, - 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, - 0x63, 0x70, 0x6d, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, - 0x65, 0x63, 0x70, 0x6d, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x11, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x63, 0x70, 0x6d, 0x50, 0x61, 0x72, 0x74, 0x69, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6d, - 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x18, 0x12, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x0f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x69, 0x65, 0x72, - 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x6b, 0x69, 0x70, 0x53, 0x65, - 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x08, 0x61, 0x64, 0x5f, 0x71, 0x75, - 0x65, 0x72, 0x79, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6b, 0x65, 0x76, 0x65, - 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x64, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x07, 0x61, 0x64, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x5f, 0x70, 0x72, 0x69, - 0x63, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x50, - 0x72, 0x69, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x5f, 0x63, 0x70, - 0x63, 0x18, 0x16, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x66, 0x6c, 0x6f, 0x6f, 0x72, 0x43, 0x70, - 0x63, 0x12, 0x46, 0x0a, 0x0c, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, - 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, - 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x53, 0x6b, 0x69, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x52, 0x0b, 0x73, 0x6b, - 0x69, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x22, 0x18, 0x0a, 0x04, 0x55, 0x73, 0x65, - 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, - 0x6b, 0x65, 0x79, 0x22, 0x90, 0x04, 0x0a, 0x08, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x12, 0x1b, 0x0a, 0x05, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42, - 0x06, 0xca, 0xb7, 0x18, 0x02, 0x08, 0x01, 0x52, 0x04, 0x61, 0x64, 0x49, 0x64, 0x12, 0x23, 0x0a, - 0x0d, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x72, - 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x76, - 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x69, 0x64, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x49, 0x64, - 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x5f, 0x69, 0x64, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x49, - 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, - 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x5f, 0x75, 0x72, 0x6c, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x55, 0x72, 0x6c, 0x12, - 0x3b, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x1f, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, - 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x25, 0x0a, 0x0e, - 0x69, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x55, 0x72, 0x6c, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0a, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, - 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, - 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x4b, 0x0a, 0x0e, 0x6d, 0x61, - 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, - 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, - 0x68, 0x65, 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, - 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x3d, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x63, 0x69, - 0x6e, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, - 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x52, 0x07, 0x70, - 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x22, 0x29, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, - 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, - 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, - 0x6c, 0x22, 0x6e, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, - 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, - 0x74, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, - 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x55, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x22, 0xa8, 0x01, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x27, 0x0a, - 0x0f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, - 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, - 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x90, 0x01, 0x0a, - 0x0b, 0x50, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x44, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, - 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x70, 0x72, 0x69, - 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x5f, 0x70, 0x72, 0x69, 0x63, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x6c, 0x65, 0x61, 0x72, 0x50, 0x72, - 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x12, 0x1b, 0x0a, - 0x09, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x08, 0x72, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x05, 0x65, 0x5f, - 0x63, 0x70, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x04, 0x65, 0x43, 0x70, 0x6d, 0x22, - 0x0b, 0x0a, 0x09, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x09, 0x0a, 0x07, - 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x22, 0x8b, 0x02, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, - 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x48, 0x0a, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0b, 0x73, - 0x70, 0x65, 0x63, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x30, 0x0a, 0x04, 0x75, 0x73, - 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, - 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x3c, 0x0a, 0x08, - 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, - 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x52, 0x08, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x07, 0x65, 0x78, - 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6b, 0x65, - 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x52, 0x07, 0x65, 0x78, - 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x22, 0x66, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x4b, - 0x65, 0x79, 0x12, 0x39, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, - 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, - 0x73, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x22, 0x32, 0x0a, - 0x0c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x10, 0x0a, - 0x03, 0x6c, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x61, 0x74, 0x12, - 0x10, 0x0a, 0x03, 0x6c, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x6f, - 0x6e, 0x22, 0x2d, 0x0a, 0x15, 0x47, 0x65, 0x6f, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, - 0x53, 0x6b, 0x69, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x22, 0x2d, 0x0a, 0x15, 0x47, 0x65, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, - 0x6b, 0x69, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, - 0xbb, 0x03, 0x0a, 0x0b, 0x53, 0x6b, 0x69, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x12, - 0x49, 0x0a, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2d, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, - 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x44, 0x69, - 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x6b, 0x69, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, - 0x52, 0x08, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x61, - 0x63, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x61, 0x63, 0x65, 0x74, - 0x12, 0x4f, 0x0a, 0x0b, 0x67, 0x65, 0x6f, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, - 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x6f, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x6b, 0x69, 0x70, 0x46, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x67, 0x65, 0x6f, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, - 0x65, 0x12, 0x4f, 0x0a, 0x0b, 0x67, 0x65, 0x6f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, - 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x47, 0x65, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6b, 0x69, 0x70, 0x46, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x67, 0x65, 0x6f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x49, 0x0a, 0x08, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, - 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x53, 0x6b, 0x69, 0x70, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x08, 0x6c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x6c, 0x61, 0x63, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, - 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x69, 0x74, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 0x65, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x69, 0x74, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x22, 0x69, 0x0a, - 0x13, 0x47, 0x65, 0x74, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x52, 0x0a, 0x10, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, - 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0f, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x20, 0x0a, 0x1e, 0x41, 0x64, 0x64, 0x43, - 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x22, 0xdb, 0x01, 0x0a, 0x1a, 0x41, - 0x64, 0x64, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, - 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x65, 0x74, - 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6e, - 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, - 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, - 0x4b, 0x65, 0x79, 0x12, 0x82, 0x01, 0x0a, 0x22, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x75, 0x73, 0x74, - 0x6f, 0x6d, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x36, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, - 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x75, 0x73, - 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x1e, 0x61, 0x64, 0x64, 0x43, 0x75, 0x73, - 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x22, 0x67, 0x0a, 0x1b, 0x41, 0x64, 0x64, 0x43, - 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x5f, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, - 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x76, 0x32, - 0x2e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x52, 0x0b, 0x73, 0x70, 0x65, 0x63, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x22, 0x6b, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x65, 0x73, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x65, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6e, 0x65, - 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, - 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x4b, - 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x65, 0x73, 0x74, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x65, 0x73, 0x74, 0x22, 0x60, - 0x0a, 0x14, 0x41, 0x64, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x65, 0x73, 0x74, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x63, - 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x76, 0x32, 0x2e, - 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x52, 0x0b, 0x73, 0x70, 0x65, 0x63, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x22, 0xb3, 0x01, 0x0a, 0x1c, 0x41, 0x64, 0x64, 0x52, 0x65, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, - 0x69, 0x6e, 0x67, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, - 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x72, 0x5f, 0x69, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, - 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x16, 0x72, 0x65, 0x74, 0x61, 0x72, 0x67, 0x65, - 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x14, 0x72, 0x65, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x69, - 0x6e, 0x67, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x75, - 0x73, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, - 0x73, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x22, 0x69, 0x0a, 0x1d, 0x41, 0x64, 0x64, 0x52, 0x65, 0x74, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x5f, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, - 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x76, 0x32, - 0x2e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x52, 0x0b, 0x73, 0x70, 0x65, 0x63, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x22, 0x49, 0x0a, 0x0d, 0x4f, 0x70, 0x74, 0x4f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, - 0x64, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x22, 0x10, 0x0a, 0x0e, - 0x4f, 0x70, 0x74, 0x4f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x47, - 0x0a, 0x0b, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, - 0x0a, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x09, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, - 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, - 0x75, 0x73, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x22, 0x58, 0x0a, 0x0c, 0x52, 0x65, 0x61, 0x64, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x5f, - 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, - 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x76, 0x32, - 0x2e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6e, - 0x74, 0x65, 0x78, 0x74, 0x52, 0x0b, 0x73, 0x70, 0x65, 0x63, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x22, 0x5d, 0x0a, 0x11, 0x49, 0x70, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, - 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6e, 0x65, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6b, 0x65, - 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x4b, 0x65, 0x79, - 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, - 0x22, 0x5e, 0x0a, 0x12, 0x49, 0x70, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x63, - 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x76, 0x32, 0x2e, - 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x52, 0x0b, 0x73, 0x70, 0x65, 0x63, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x22, 0x49, 0x0a, 0x0d, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, - 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x22, 0x10, 0x0a, 0x0e, 0x46, - 0x6f, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x84, 0x01, - 0x0a, 0x12, 0x47, 0x64, 0x70, 0x72, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, - 0x6b, 0x49, 0x64, 0x12, 0x4f, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x5f, 0x72, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6b, - 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, - 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x22, 0x5f, 0x0a, 0x13, 0x47, 0x64, 0x70, 0x72, 0x43, 0x6f, 0x6e, 0x73, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0c, 0x73, - 0x70, 0x65, 0x63, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x73, 0x70, 0x65, - 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0b, 0x73, 0x70, 0x65, 0x63, 0x43, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x84, 0x01, 0x0a, 0x10, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x65, - 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, - 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x73, 0x65, - 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75, 0x73, 0x65, - 0x72, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x5f, - 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, - 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x5d, 0x0a, 0x11, - 0x4d, 0x61, 0x74, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x48, 0x0a, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, - 0x72, 0x6d, 0x2e, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0b, - 0x73, 0x70, 0x65, 0x63, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2a, 0x5c, 0x0a, 0x10, 0x44, - 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x12, - 0x21, 0x0a, 0x1d, 0x44, 0x45, 0x43, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, - 0x41, 0x4e, 0x44, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x44, 0x45, 0x43, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x43, - 0x4f, 0x4d, 0x4d, 0x41, 0x4e, 0x44, 0x53, 0x5f, 0x4f, 0x50, 0x54, 0x5f, 0x4f, 0x55, 0x54, 0x10, - 0x01, 0x1a, 0x06, 0x92, 0xb8, 0x18, 0x02, 0x08, 0x03, 0x2a, 0x58, 0x0a, 0x0e, 0x44, 0x65, 0x63, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x1b, 0x44, - 0x45, 0x43, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x53, 0x5f, 0x55, - 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, - 0x44, 0x45, 0x43, 0x49, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x53, 0x5f, - 0x4f, 0x50, 0x54, 0x45, 0x44, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x01, 0x1a, 0x06, 0x92, 0xb8, 0x18, - 0x02, 0x08, 0x04, 0x32, 0x8c, 0x0d, 0x0a, 0x0f, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, - 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9c, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x44, - 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, - 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, - 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x44, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x31, 0xa2, 0xb6, 0x18, 0x06, 0x08, 0x02, 0x10, 0x01, 0x18, 0x02, 0xaa, - 0xb6, 0x18, 0x02, 0x08, 0x03, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x3a, 0x10, 0x64, 0x65, 0x63, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x07, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x12, 0xd4, 0x01, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x43, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x32, - 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x75, 0x73, 0x74, 0x6f, - 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, - 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x43, - 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x54, 0xa2, 0xb6, 0x18, 0x06, 0x08, 0x02, 0x10, - 0x01, 0x18, 0x02, 0xaa, 0xb6, 0x18, 0x02, 0x08, 0x03, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x3a, - 0x22, 0x61, 0x64, 0x64, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x70, 0x72, 0x6f, 0x70, - 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x62, - 0x6f, 0x64, 0x79, 0x22, 0x18, 0x2f, 0x75, 0x64, 0x62, 0x2f, 0x7b, 0x6e, 0x65, 0x74, 0x77, 0x6f, - 0x72, 0x6b, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x12, 0xa3, 0x01, - 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x65, 0x73, 0x74, 0x73, 0x12, 0x2b, - 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, - 0x65, 0x73, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x6b, 0x65, - 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x65, 0x73, 0x74, - 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0xa2, 0xb6, 0x18, 0x06, 0x08, - 0x02, 0x10, 0x01, 0x18, 0x02, 0xaa, 0xb6, 0x18, 0x02, 0x08, 0x0a, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x22, 0x12, 0x20, 0x2f, 0x75, 0x64, 0x62, 0x2f, 0x7b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, - 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x65, 0x73, 0x74, 0x2f, 0x69, 0x2e, - 0x67, 0x69, 0x66, 0x12, 0xe1, 0x01, 0x0a, 0x15, 0x41, 0x64, 0x64, 0x52, 0x65, 0x74, 0x61, 0x72, - 0x67, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x2e, - 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, - 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x52, 0x65, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, - 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, - 0x52, 0x65, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x67, 0x6d, 0x65, - 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5b, 0xa2, 0xb6, 0x18, 0x06, - 0x08, 0x02, 0x10, 0x01, 0x18, 0x02, 0xaa, 0xb6, 0x18, 0x02, 0x08, 0x0a, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x45, 0x12, 0x43, 0x2f, 0x75, 0x64, 0x62, 0x2f, 0x7b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, - 0x6b, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x72, 0x74, 0x2f, 0x7b, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, - 0x69, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x72, 0x65, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, - 0x7d, 0x2f, 0x69, 0x2e, 0x67, 0x69, 0x66, 0x12, 0x8f, 0x01, 0x0a, 0x06, 0x4f, 0x70, 0x74, 0x4f, - 0x75, 0x74, 0x12, 0x25, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, - 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x4f, - 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6b, 0x65, 0x76, 0x65, - 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, - 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x4f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x36, 0xa2, 0xb6, 0x18, 0x06, 0x08, 0x02, 0x10, 0x01, 0x18, 0x02, 0xaa, 0xb6, 0x18, - 0x02, 0x08, 0x0a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x75, 0x64, 0x62, 0x2f, - 0x7b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x6f, 0x70, 0x74, - 0x6f, 0x75, 0x74, 0x2f, 0x69, 0x2e, 0x67, 0x69, 0x66, 0x12, 0x81, 0x01, 0x0a, 0x04, 0x52, 0x65, - 0x61, 0x64, 0x12, 0x23, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, - 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x64, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, - 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2e, 0xa2, - 0xb6, 0x18, 0x06, 0x08, 0x02, 0x10, 0x01, 0x18, 0x02, 0xaa, 0xb6, 0x18, 0x02, 0x08, 0x0a, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, 0x75, 0x64, 0x62, 0x2f, 0x7b, 0x6e, 0x65, 0x74, - 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x72, 0x65, 0x61, 0x64, 0x12, 0x97, 0x01, - 0x0a, 0x0a, 0x49, 0x70, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x29, 0x2e, 0x6b, - 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, - 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x70, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, - 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x49, 0x70, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x32, 0xa2, 0xb6, 0x18, 0x06, 0x08, 0x02, 0x10, 0x01, 0x18, 0x02, 0xaa, - 0xb6, 0x18, 0x02, 0x08, 0x0a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x75, 0x64, - 0x62, 0x2f, 0x7b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x69, - 0x70, 0x2f, 0x69, 0x2e, 0x67, 0x69, 0x66, 0x12, 0x82, 0x01, 0x0a, 0x06, 0x46, 0x6f, 0x72, 0x67, - 0x65, 0x74, 0x12, 0x25, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, - 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x67, - 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6b, 0x65, 0x76, 0x65, - 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, - 0x76, 0x31, 0x2e, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x29, 0xa2, 0xb6, 0x18, 0x06, 0x08, 0x02, 0x10, 0x01, 0x18, 0x02, 0xaa, 0xb6, 0x18, - 0x02, 0x08, 0x04, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x2a, 0x11, 0x2f, 0x75, 0x64, 0x62, 0x2f, - 0x7b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, 0x7d, 0x12, 0xaa, 0x01, 0x0a, - 0x0b, 0x47, 0x64, 0x70, 0x72, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x2e, 0x6b, - 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, - 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x64, 0x70, 0x72, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, - 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x47, 0x64, 0x70, 0x72, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0xa2, 0xb6, 0x18, 0x06, 0x08, 0x02, 0x10, 0x01, 0x18, - 0x02, 0xaa, 0xb6, 0x18, 0x02, 0x08, 0x03, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x3a, 0x0f, 0x63, - 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x19, - 0x2f, 0x75, 0x64, 0x62, 0x2f, 0x7b, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, - 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x12, 0x96, 0x01, 0x0a, 0x09, 0x4d, 0x61, - 0x74, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x12, 0x28, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, - 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x29, 0x2e, 0x6b, 0x65, 0x76, 0x65, 0x6c, 0x2e, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, - 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x34, 0xa2, 0xb6, - 0x18, 0x06, 0x08, 0x02, 0x10, 0x01, 0x18, 0x02, 0xaa, 0xb6, 0x18, 0x02, 0x08, 0x0a, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x75, 0x64, 0x62, 0x2f, 0x7b, 0x6e, 0x65, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x2f, 0x69, 0x2e, 0x67, - 0x69, 0x66, 0x42, 0xaf, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, 0x82, 0xb5, 0x18, 0x06, 0x08, - 0x02, 0x10, 0x01, 0x18, 0x02, 0x8a, 0xb5, 0x18, 0x1e, 0x0a, 0x08, 0x64, 0x65, 0x63, 0x69, 0x73, - 0x69, 0x6f, 0x6e, 0x12, 0x09, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x03, - 0x6a, 0x61, 0x6e, 0x28, 0x02, 0x38, 0x01, 0x92, 0xb5, 0x18, 0x04, 0x0a, 0x02, 0x03, 0x06, 0x9a, - 0xb5, 0x18, 0x02, 0x08, 0x01, 0xa2, 0xb5, 0x18, 0x00, 0x5a, 0x69, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6c, - 0x69, 0x62, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x67, 0x6f, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x6b, 0x65, 0x76, 0x65, - 0x6c, 0x2f, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, - 0x76, 0x31, 0x3b, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, - 0x76, 0x31, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -}) - -var ( - file_kevel_advertisement_v1_decision_proto_rawDescOnce sync.Once - file_kevel_advertisement_v1_decision_proto_rawDescData []byte -) - -func file_kevel_advertisement_v1_decision_proto_rawDescGZIP() []byte { - file_kevel_advertisement_v1_decision_proto_rawDescOnce.Do(func() { - file_kevel_advertisement_v1_decision_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_kevel_advertisement_v1_decision_proto_rawDesc), len(file_kevel_advertisement_v1_decision_proto_rawDesc))) - }) - return file_kevel_advertisement_v1_decision_proto_rawDescData -} - -var file_kevel_advertisement_v1_decision_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_kevel_advertisement_v1_decision_proto_msgTypes = make([]protoimpl.MessageInfo, 42) -var file_kevel_advertisement_v1_decision_proto_goTypes = []any{ - (DecisionCommands)(0), // 0: kevel.advertisement.v1.DecisionCommands - (DecisionEvents)(0), // 1: kevel.advertisement.v1.DecisionEvents - (*Consent)(nil), // 2: kevel.advertisement.v1.Consent - (*DecisionRequest)(nil), // 3: kevel.advertisement.v1.DecisionRequest - (*Properties)(nil), // 4: kevel.advertisement.v1.Properties - (*Overrides)(nil), // 5: kevel.advertisement.v1.Overrides - (*ContentKeys)(nil), // 6: kevel.advertisement.v1.ContentKeys - (*AdQuery)(nil), // 7: kevel.advertisement.v1.AdQuery - (*Placement)(nil), // 8: kevel.advertisement.v1.Placement - (*User)(nil), // 9: kevel.advertisement.v1.User - (*Decision)(nil), // 10: kevel.advertisement.v1.Decision - (*Event)(nil), // 11: kevel.advertisement.v1.Event - (*Data)(nil), // 12: kevel.advertisement.v1.Data - (*Content)(nil), // 13: kevel.advertisement.v1.Content - (*PricingData)(nil), // 14: kevel.advertisement.v1.PricingData - (*Decisions)(nil), // 15: kevel.advertisement.v1.Decisions - (*Explain)(nil), // 16: kevel.advertisement.v1.Explain - (*GetDecisionsResponse)(nil), // 17: kevel.advertisement.v1.GetDecisionsResponse - (*ConsentRequest)(nil), // 18: kevel.advertisement.v1.ConsentRequest - (*MatchedPoint)(nil), // 19: kevel.advertisement.v1.MatchedPoint - (*GeoDistanceSkipFilter)(nil), // 20: kevel.advertisement.v1.GeoDistanceSkipFilter - (*GeoLocationSkipFilter)(nil), // 21: kevel.advertisement.v1.GeoLocationSkipFilter - (*SkipFilters)(nil), // 22: kevel.advertisement.v1.SkipFilters - (*GetDecisionsRequest)(nil), // 23: kevel.advertisement.v1.GetDecisionsRequest - (*AddCustomPropertiesRequestBody)(nil), // 24: kevel.advertisement.v1.AddCustomPropertiesRequestBody - (*AddCustomPropertiesRequest)(nil), // 25: kevel.advertisement.v1.AddCustomPropertiesRequest - (*AddCustomPropertiesResponse)(nil), // 26: kevel.advertisement.v1.AddCustomPropertiesResponse - (*AddInterestsRequest)(nil), // 27: kevel.advertisement.v1.AddInterestsRequest - (*AddInterestsResponse)(nil), // 28: kevel.advertisement.v1.AddInterestsResponse - (*AddRetargetingSegmentRequest)(nil), // 29: kevel.advertisement.v1.AddRetargetingSegmentRequest - (*AddRetargetingSegmentResponse)(nil), // 30: kevel.advertisement.v1.AddRetargetingSegmentResponse - (*OptOutRequest)(nil), // 31: kevel.advertisement.v1.OptOutRequest - (*OptOutResponse)(nil), // 32: kevel.advertisement.v1.OptOutResponse - (*ReadRequest)(nil), // 33: kevel.advertisement.v1.ReadRequest - (*ReadResponse)(nil), // 34: kevel.advertisement.v1.ReadResponse - (*IpOverrideRequest)(nil), // 35: kevel.advertisement.v1.IpOverrideRequest - (*IpOverrideResponse)(nil), // 36: kevel.advertisement.v1.IpOverrideResponse - (*ForgetRequest)(nil), // 37: kevel.advertisement.v1.ForgetRequest - (*ForgetResponse)(nil), // 38: kevel.advertisement.v1.ForgetResponse - (*GdprConsentRequest)(nil), // 39: kevel.advertisement.v1.GdprConsentRequest - (*GdprConsentResponse)(nil), // 40: kevel.advertisement.v1.GdprConsentResponse - (*MatchUserRequest)(nil), // 41: kevel.advertisement.v1.MatchUserRequest - (*MatchUserResponse)(nil), // 42: kevel.advertisement.v1.MatchUserResponse - nil, // 43: kevel.advertisement.v1.ContentKeys.AdditionalPropertiesEntry - (*v2.SpecResponseContext)(nil), // 44: platform.spec.v2.SpecResponseContext -} -var file_kevel_advertisement_v1_decision_proto_depIdxs = []int32{ - 8, // 0: kevel.advertisement.v1.DecisionRequest.placements:type_name -> kevel.advertisement.v1.Placement - 9, // 1: kevel.advertisement.v1.DecisionRequest.user:type_name -> kevel.advertisement.v1.User - 2, // 2: kevel.advertisement.v1.DecisionRequest.consent:type_name -> kevel.advertisement.v1.Consent - 43, // 3: kevel.advertisement.v1.ContentKeys.additional_properties:type_name -> kevel.advertisement.v1.ContentKeys.AdditionalPropertiesEntry - 4, // 4: kevel.advertisement.v1.Placement.properties:type_name -> kevel.advertisement.v1.Properties - 5, // 5: kevel.advertisement.v1.Placement.overrides:type_name -> kevel.advertisement.v1.Overrides - 6, // 6: kevel.advertisement.v1.Placement.content_keys:type_name -> kevel.advertisement.v1.ContentKeys - 7, // 7: kevel.advertisement.v1.Placement.ad_query:type_name -> kevel.advertisement.v1.AdQuery - 22, // 8: kevel.advertisement.v1.Placement.skip_filters:type_name -> kevel.advertisement.v1.SkipFilters - 13, // 9: kevel.advertisement.v1.Decision.contents:type_name -> kevel.advertisement.v1.Content - 11, // 10: kevel.advertisement.v1.Decision.events:type_name -> kevel.advertisement.v1.Event - 19, // 11: kevel.advertisement.v1.Decision.matched_points:type_name -> kevel.advertisement.v1.MatchedPoint - 14, // 12: kevel.advertisement.v1.Decision.pricing:type_name -> kevel.advertisement.v1.PricingData - 12, // 13: kevel.advertisement.v1.Content.data:type_name -> kevel.advertisement.v1.Data - 44, // 14: kevel.advertisement.v1.GetDecisionsResponse.spec_context:type_name -> platform.spec.v2.SpecResponseContext - 9, // 15: kevel.advertisement.v1.GetDecisionsResponse.user:type_name -> kevel.advertisement.v1.User - 10, // 16: kevel.advertisement.v1.GetDecisionsResponse.decision:type_name -> kevel.advertisement.v1.Decision - 16, // 17: kevel.advertisement.v1.GetDecisionsResponse.explain:type_name -> kevel.advertisement.v1.Explain - 2, // 18: kevel.advertisement.v1.ConsentRequest.consent:type_name -> kevel.advertisement.v1.Consent - 20, // 19: kevel.advertisement.v1.SkipFilters.distance:type_name -> kevel.advertisement.v1.GeoDistanceSkipFilter - 20, // 20: kevel.advertisement.v1.SkipFilters.geodistance:type_name -> kevel.advertisement.v1.GeoDistanceSkipFilter - 21, // 21: kevel.advertisement.v1.SkipFilters.geolocation:type_name -> kevel.advertisement.v1.GeoLocationSkipFilter - 21, // 22: kevel.advertisement.v1.SkipFilters.location:type_name -> kevel.advertisement.v1.GeoLocationSkipFilter - 3, // 23: kevel.advertisement.v1.GetDecisionsRequest.decision_request:type_name -> kevel.advertisement.v1.DecisionRequest - 24, // 24: kevel.advertisement.v1.AddCustomPropertiesRequest.add_custom_properties_request_body:type_name -> kevel.advertisement.v1.AddCustomPropertiesRequestBody - 44, // 25: kevel.advertisement.v1.AddCustomPropertiesResponse.spec_context:type_name -> platform.spec.v2.SpecResponseContext - 44, // 26: kevel.advertisement.v1.AddInterestsResponse.spec_context:type_name -> platform.spec.v2.SpecResponseContext - 44, // 27: kevel.advertisement.v1.AddRetargetingSegmentResponse.spec_context:type_name -> platform.spec.v2.SpecResponseContext - 44, // 28: kevel.advertisement.v1.ReadResponse.spec_context:type_name -> platform.spec.v2.SpecResponseContext - 44, // 29: kevel.advertisement.v1.IpOverrideResponse.spec_context:type_name -> platform.spec.v2.SpecResponseContext - 18, // 30: kevel.advertisement.v1.GdprConsentRequest.consent_request:type_name -> kevel.advertisement.v1.ConsentRequest - 44, // 31: kevel.advertisement.v1.GdprConsentResponse.spec_context:type_name -> platform.spec.v2.SpecResponseContext - 44, // 32: kevel.advertisement.v1.MatchUserResponse.spec_context:type_name -> platform.spec.v2.SpecResponseContext - 23, // 33: kevel.advertisement.v1.DecisionService.GetDecisions:input_type -> kevel.advertisement.v1.GetDecisionsRequest - 25, // 34: kevel.advertisement.v1.DecisionService.AddCustomProperties:input_type -> kevel.advertisement.v1.AddCustomPropertiesRequest - 27, // 35: kevel.advertisement.v1.DecisionService.AddInterests:input_type -> kevel.advertisement.v1.AddInterestsRequest - 29, // 36: kevel.advertisement.v1.DecisionService.AddRetargetingSegment:input_type -> kevel.advertisement.v1.AddRetargetingSegmentRequest - 31, // 37: kevel.advertisement.v1.DecisionService.OptOut:input_type -> kevel.advertisement.v1.OptOutRequest - 33, // 38: kevel.advertisement.v1.DecisionService.Read:input_type -> kevel.advertisement.v1.ReadRequest - 35, // 39: kevel.advertisement.v1.DecisionService.IpOverride:input_type -> kevel.advertisement.v1.IpOverrideRequest - 37, // 40: kevel.advertisement.v1.DecisionService.Forget:input_type -> kevel.advertisement.v1.ForgetRequest - 39, // 41: kevel.advertisement.v1.DecisionService.GdprConsent:input_type -> kevel.advertisement.v1.GdprConsentRequest - 41, // 42: kevel.advertisement.v1.DecisionService.MatchUser:input_type -> kevel.advertisement.v1.MatchUserRequest - 17, // 43: kevel.advertisement.v1.DecisionService.GetDecisions:output_type -> kevel.advertisement.v1.GetDecisionsResponse - 26, // 44: kevel.advertisement.v1.DecisionService.AddCustomProperties:output_type -> kevel.advertisement.v1.AddCustomPropertiesResponse - 28, // 45: kevel.advertisement.v1.DecisionService.AddInterests:output_type -> kevel.advertisement.v1.AddInterestsResponse - 30, // 46: kevel.advertisement.v1.DecisionService.AddRetargetingSegment:output_type -> kevel.advertisement.v1.AddRetargetingSegmentResponse - 32, // 47: kevel.advertisement.v1.DecisionService.OptOut:output_type -> kevel.advertisement.v1.OptOutResponse - 34, // 48: kevel.advertisement.v1.DecisionService.Read:output_type -> kevel.advertisement.v1.ReadResponse - 36, // 49: kevel.advertisement.v1.DecisionService.IpOverride:output_type -> kevel.advertisement.v1.IpOverrideResponse - 38, // 50: kevel.advertisement.v1.DecisionService.Forget:output_type -> kevel.advertisement.v1.ForgetResponse - 40, // 51: kevel.advertisement.v1.DecisionService.GdprConsent:output_type -> kevel.advertisement.v1.GdprConsentResponse - 42, // 52: kevel.advertisement.v1.DecisionService.MatchUser:output_type -> kevel.advertisement.v1.MatchUserResponse - 43, // [43:53] is the sub-list for method output_type - 33, // [33:43] is the sub-list for method input_type - 33, // [33:33] is the sub-list for extension type_name - 33, // [33:33] is the sub-list for extension extendee - 0, // [0:33] is the sub-list for field type_name -} - -func init() { file_kevel_advertisement_v1_decision_proto_init() } -func file_kevel_advertisement_v1_decision_proto_init() { - if File_kevel_advertisement_v1_decision_proto != nil { - return - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: unsafe.Slice(unsafe.StringData(file_kevel_advertisement_v1_decision_proto_rawDesc), len(file_kevel_advertisement_v1_decision_proto_rawDesc)), - NumEnums: 2, - NumMessages: 42, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_kevel_advertisement_v1_decision_proto_goTypes, - DependencyIndexes: file_kevel_advertisement_v1_decision_proto_depIdxs, - EnumInfos: file_kevel_advertisement_v1_decision_proto_enumTypes, - MessageInfos: file_kevel_advertisement_v1_decision_proto_msgTypes, - }.Build() - File_kevel_advertisement_v1_decision_proto = out.File - file_kevel_advertisement_v1_decision_proto_goTypes = nil - file_kevel_advertisement_v1_decision_proto_depIdxs = nil -} diff --git a/libs/partner/go/protobuf/gen/kevel/advertisement/v1/decision_grpc.pb.go b/libs/partner/go/protobuf/gen/kevel/advertisement/v1/decision_grpc.pb.go deleted file mode 100644 index b60abdda..00000000 --- a/libs/partner/go/protobuf/gen/kevel/advertisement/v1/decision_grpc.pb.go +++ /dev/null @@ -1,463 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.5.1 -// - protoc (unknown) -// source: kevel/advertisement/v1/decision.proto - -package advertisementv1pb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.64.0 or later. -const _ = grpc.SupportPackageIsVersion9 - -const ( - DecisionService_GetDecisions_FullMethodName = "/kevel.advertisement.v1.DecisionService/GetDecisions" - DecisionService_AddCustomProperties_FullMethodName = "/kevel.advertisement.v1.DecisionService/AddCustomProperties" - DecisionService_AddInterests_FullMethodName = "/kevel.advertisement.v1.DecisionService/AddInterests" - DecisionService_AddRetargetingSegment_FullMethodName = "/kevel.advertisement.v1.DecisionService/AddRetargetingSegment" - DecisionService_OptOut_FullMethodName = "/kevel.advertisement.v1.DecisionService/OptOut" - DecisionService_Read_FullMethodName = "/kevel.advertisement.v1.DecisionService/Read" - DecisionService_IpOverride_FullMethodName = "/kevel.advertisement.v1.DecisionService/IpOverride" - DecisionService_Forget_FullMethodName = "/kevel.advertisement.v1.DecisionService/Forget" - DecisionService_GdprConsent_FullMethodName = "/kevel.advertisement.v1.DecisionService/GdprConsent" - DecisionService_MatchUser_FullMethodName = "/kevel.advertisement.v1.DecisionService/MatchUser" -) - -// DecisionServiceClient is the client API for DecisionService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type DecisionServiceClient interface { - GetDecisions(ctx context.Context, in *GetDecisionsRequest, opts ...grpc.CallOption) (*GetDecisionsResponse, error) - AddCustomProperties(ctx context.Context, in *AddCustomPropertiesRequest, opts ...grpc.CallOption) (*AddCustomPropertiesResponse, error) - AddInterests(ctx context.Context, in *AddInterestsRequest, opts ...grpc.CallOption) (*AddInterestsResponse, error) - AddRetargetingSegment(ctx context.Context, in *AddRetargetingSegmentRequest, opts ...grpc.CallOption) (*AddRetargetingSegmentResponse, error) - OptOut(ctx context.Context, in *OptOutRequest, opts ...grpc.CallOption) (*OptOutResponse, error) - Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ReadResponse, error) - IpOverride(ctx context.Context, in *IpOverrideRequest, opts ...grpc.CallOption) (*IpOverrideResponse, error) - Forget(ctx context.Context, in *ForgetRequest, opts ...grpc.CallOption) (*ForgetResponse, error) - GdprConsent(ctx context.Context, in *GdprConsentRequest, opts ...grpc.CallOption) (*GdprConsentResponse, error) - MatchUser(ctx context.Context, in *MatchUserRequest, opts ...grpc.CallOption) (*MatchUserResponse, error) -} - -type decisionServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewDecisionServiceClient(cc grpc.ClientConnInterface) DecisionServiceClient { - return &decisionServiceClient{cc} -} - -func (c *decisionServiceClient) GetDecisions(ctx context.Context, in *GetDecisionsRequest, opts ...grpc.CallOption) (*GetDecisionsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GetDecisionsResponse) - err := c.cc.Invoke(ctx, DecisionService_GetDecisions_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *decisionServiceClient) AddCustomProperties(ctx context.Context, in *AddCustomPropertiesRequest, opts ...grpc.CallOption) (*AddCustomPropertiesResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(AddCustomPropertiesResponse) - err := c.cc.Invoke(ctx, DecisionService_AddCustomProperties_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *decisionServiceClient) AddInterests(ctx context.Context, in *AddInterestsRequest, opts ...grpc.CallOption) (*AddInterestsResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(AddInterestsResponse) - err := c.cc.Invoke(ctx, DecisionService_AddInterests_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *decisionServiceClient) AddRetargetingSegment(ctx context.Context, in *AddRetargetingSegmentRequest, opts ...grpc.CallOption) (*AddRetargetingSegmentResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(AddRetargetingSegmentResponse) - err := c.cc.Invoke(ctx, DecisionService_AddRetargetingSegment_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *decisionServiceClient) OptOut(ctx context.Context, in *OptOutRequest, opts ...grpc.CallOption) (*OptOutResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(OptOutResponse) - err := c.cc.Invoke(ctx, DecisionService_OptOut_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *decisionServiceClient) Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ReadResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ReadResponse) - err := c.cc.Invoke(ctx, DecisionService_Read_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *decisionServiceClient) IpOverride(ctx context.Context, in *IpOverrideRequest, opts ...grpc.CallOption) (*IpOverrideResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(IpOverrideResponse) - err := c.cc.Invoke(ctx, DecisionService_IpOverride_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *decisionServiceClient) Forget(ctx context.Context, in *ForgetRequest, opts ...grpc.CallOption) (*ForgetResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(ForgetResponse) - err := c.cc.Invoke(ctx, DecisionService_Forget_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *decisionServiceClient) GdprConsent(ctx context.Context, in *GdprConsentRequest, opts ...grpc.CallOption) (*GdprConsentResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(GdprConsentResponse) - err := c.cc.Invoke(ctx, DecisionService_GdprConsent_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *decisionServiceClient) MatchUser(ctx context.Context, in *MatchUserRequest, opts ...grpc.CallOption) (*MatchUserResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(MatchUserResponse) - err := c.cc.Invoke(ctx, DecisionService_MatchUser_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -// DecisionServiceServer is the server API for DecisionService service. -// All implementations must embed UnimplementedDecisionServiceServer -// for forward compatibility. -type DecisionServiceServer interface { - GetDecisions(context.Context, *GetDecisionsRequest) (*GetDecisionsResponse, error) - AddCustomProperties(context.Context, *AddCustomPropertiesRequest) (*AddCustomPropertiesResponse, error) - AddInterests(context.Context, *AddInterestsRequest) (*AddInterestsResponse, error) - AddRetargetingSegment(context.Context, *AddRetargetingSegmentRequest) (*AddRetargetingSegmentResponse, error) - OptOut(context.Context, *OptOutRequest) (*OptOutResponse, error) - Read(context.Context, *ReadRequest) (*ReadResponse, error) - IpOverride(context.Context, *IpOverrideRequest) (*IpOverrideResponse, error) - Forget(context.Context, *ForgetRequest) (*ForgetResponse, error) - GdprConsent(context.Context, *GdprConsentRequest) (*GdprConsentResponse, error) - MatchUser(context.Context, *MatchUserRequest) (*MatchUserResponse, error) - mustEmbedUnimplementedDecisionServiceServer() -} - -// UnimplementedDecisionServiceServer must be embedded to have -// forward compatible implementations. -// -// NOTE: this should be embedded by value instead of pointer to avoid a nil -// pointer dereference when methods are called. -type UnimplementedDecisionServiceServer struct{} - -func (UnimplementedDecisionServiceServer) GetDecisions(context.Context, *GetDecisionsRequest) (*GetDecisionsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetDecisions not implemented") -} -func (UnimplementedDecisionServiceServer) AddCustomProperties(context.Context, *AddCustomPropertiesRequest) (*AddCustomPropertiesResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddCustomProperties not implemented") -} -func (UnimplementedDecisionServiceServer) AddInterests(context.Context, *AddInterestsRequest) (*AddInterestsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddInterests not implemented") -} -func (UnimplementedDecisionServiceServer) AddRetargetingSegment(context.Context, *AddRetargetingSegmentRequest) (*AddRetargetingSegmentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method AddRetargetingSegment not implemented") -} -func (UnimplementedDecisionServiceServer) OptOut(context.Context, *OptOutRequest) (*OptOutResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method OptOut not implemented") -} -func (UnimplementedDecisionServiceServer) Read(context.Context, *ReadRequest) (*ReadResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Read not implemented") -} -func (UnimplementedDecisionServiceServer) IpOverride(context.Context, *IpOverrideRequest) (*IpOverrideResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method IpOverride not implemented") -} -func (UnimplementedDecisionServiceServer) Forget(context.Context, *ForgetRequest) (*ForgetResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Forget not implemented") -} -func (UnimplementedDecisionServiceServer) GdprConsent(context.Context, *GdprConsentRequest) (*GdprConsentResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GdprConsent not implemented") -} -func (UnimplementedDecisionServiceServer) MatchUser(context.Context, *MatchUserRequest) (*MatchUserResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method MatchUser not implemented") -} -func (UnimplementedDecisionServiceServer) mustEmbedUnimplementedDecisionServiceServer() {} -func (UnimplementedDecisionServiceServer) testEmbeddedByValue() {} - -// UnsafeDecisionServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to DecisionServiceServer will -// result in compilation errors. -type UnsafeDecisionServiceServer interface { - mustEmbedUnimplementedDecisionServiceServer() -} - -func RegisterDecisionServiceServer(s grpc.ServiceRegistrar, srv DecisionServiceServer) { - // If the following call pancis, it indicates UnimplementedDecisionServiceServer was - // embedded by pointer and is nil. This will cause panics if an - // unimplemented method is ever invoked, so we test this at initialization - // time to prevent it from happening at runtime later due to I/O. - if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { - t.testEmbeddedByValue() - } - s.RegisterService(&DecisionService_ServiceDesc, srv) -} - -func _DecisionService_GetDecisions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetDecisionsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DecisionServiceServer).GetDecisions(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DecisionService_GetDecisions_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DecisionServiceServer).GetDecisions(ctx, req.(*GetDecisionsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DecisionService_AddCustomProperties_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddCustomPropertiesRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DecisionServiceServer).AddCustomProperties(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DecisionService_AddCustomProperties_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DecisionServiceServer).AddCustomProperties(ctx, req.(*AddCustomPropertiesRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DecisionService_AddInterests_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddInterestsRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DecisionServiceServer).AddInterests(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DecisionService_AddInterests_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DecisionServiceServer).AddInterests(ctx, req.(*AddInterestsRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DecisionService_AddRetargetingSegment_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AddRetargetingSegmentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DecisionServiceServer).AddRetargetingSegment(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DecisionService_AddRetargetingSegment_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DecisionServiceServer).AddRetargetingSegment(ctx, req.(*AddRetargetingSegmentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DecisionService_OptOut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(OptOutRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DecisionServiceServer).OptOut(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DecisionService_OptOut_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DecisionServiceServer).OptOut(ctx, req.(*OptOutRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DecisionService_Read_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ReadRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DecisionServiceServer).Read(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DecisionService_Read_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DecisionServiceServer).Read(ctx, req.(*ReadRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DecisionService_IpOverride_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(IpOverrideRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DecisionServiceServer).IpOverride(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DecisionService_IpOverride_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DecisionServiceServer).IpOverride(ctx, req.(*IpOverrideRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DecisionService_Forget_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ForgetRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DecisionServiceServer).Forget(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DecisionService_Forget_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DecisionServiceServer).Forget(ctx, req.(*ForgetRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DecisionService_GdprConsent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GdprConsentRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DecisionServiceServer).GdprConsent(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DecisionService_GdprConsent_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DecisionServiceServer).GdprConsent(ctx, req.(*GdprConsentRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _DecisionService_MatchUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MatchUserRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(DecisionServiceServer).MatchUser(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: DecisionService_MatchUser_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DecisionServiceServer).MatchUser(ctx, req.(*MatchUserRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// DecisionService_ServiceDesc is the grpc.ServiceDesc for DecisionService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var DecisionService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "kevel.advertisement.v1.DecisionService", - HandlerType: (*DecisionServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "GetDecisions", - Handler: _DecisionService_GetDecisions_Handler, - }, - { - MethodName: "AddCustomProperties", - Handler: _DecisionService_AddCustomProperties_Handler, - }, - { - MethodName: "AddInterests", - Handler: _DecisionService_AddInterests_Handler, - }, - { - MethodName: "AddRetargetingSegment", - Handler: _DecisionService_AddRetargetingSegment_Handler, - }, - { - MethodName: "OptOut", - Handler: _DecisionService_OptOut_Handler, - }, - { - MethodName: "Read", - Handler: _DecisionService_Read_Handler, - }, - { - MethodName: "IpOverride", - Handler: _DecisionService_IpOverride_Handler, - }, - { - MethodName: "Forget", - Handler: _DecisionService_Forget_Handler, - }, - { - MethodName: "GdprConsent", - Handler: _DecisionService_GdprConsent_Handler, - }, - { - MethodName: "MatchUser", - Handler: _DecisionService_MatchUser_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "kevel/advertisement/v1/decision.proto", -} diff --git a/libs/partner/go/protobuf/go.mod b/libs/partner/go/protobuf/go.mod deleted file mode 100644 index d09ac4bd..00000000 --- a/libs/partner/go/protobuf/go.mod +++ /dev/null @@ -1,17 +0,0 @@ -module github.com/openecosystems/ecosystem/libs/partner/go/protobuf - -go 1.23.4 - -require ( - connectrpc.com/connect v1.16.2 - google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 - google.golang.org/grpc v1.68.0 - google.golang.org/protobuf v1.36.1 -) - -require ( - golang.org/x/net v0.31.0 // indirect - golang.org/x/sys v0.27.0 // indirect - golang.org/x/text v0.20.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect -) diff --git a/libs/partner/go/protobuf/project.json b/libs/partner/go/protobuf/project.json deleted file mode 100644 index 647a1772..00000000 --- a/libs/partner/go/protobuf/project.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "libs-partner-go-protobuf-v2alpha", - "$schema": "../../../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "sourceRoot": "libs/partner/go/protobuf", - "implicitDependencies": [ - "proto" - ], - "targets": { - "generate": { - "executor": "nx:run-commands", - "options": { - "command": "buf generate", - "cwd": "libs/partner/go/protobuf" - } - } - }, - "tags": [ - "type:lib", - "cycle:partner", - "language:golang", - "type:protobuf", - "exposure:external" - ] -} diff --git a/libs/partner/go/server/v2alpha/buf.gen.yaml b/libs/partner/go/server/v2alpha/buf.gen.yaml deleted file mode 100644 index ce3d631a..00000000 --- a/libs/partner/go/server/v2alpha/buf.gen.yaml +++ /dev/null @@ -1,11 +0,0 @@ -version: v2 -inputs: - - directory: ../../../../../proto/partner -plugins: - - local: protoc-gen-platform - out: ./gen - opt: - - paths=source_relative - - language=go - - type=multiplexer - - prefix=public diff --git a/libs/partner/go/server/v2alpha/gen/kevel/advertisement/v1/decision.pb.multiplexer.go b/libs/partner/go/server/v2alpha/gen/kevel/advertisement/v1/decision.pb.multiplexer.go deleted file mode 100644 index 301b9212..00000000 --- a/libs/partner/go/server/v2alpha/gen/kevel/advertisement/v1/decision.pb.multiplexer.go +++ /dev/null @@ -1,598 +0,0 @@ -// Code generated by protoc-gen-platform go/multiplexer. DO NOT EDIT. -// source: kevel/advertisement/v1/decision.proto - -package advertisementv1pbsrv - -import ( - "context" - "errors" - - "connectrpc.com/connect" - - "github.com/openecosystems/ecosystem/libs/partner/go/model/gen/kevel/advertisement/v1" - "github.com/openecosystems/ecosystem/libs/partner/go/nats" - "github.com/openecosystems/ecosystem/libs/partner/go/opentelemetry" - "github.com/openecosystems/ecosystem/libs/partner/go/protobuf/gen/kevel/advertisement/v1" - "github.com/openecosystems/ecosystem/libs/partner/go/protovalidate" - "github.com/openecosystems/ecosystem/libs/partner/go/zap" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" - "go.opentelemetry.io/otel/trace" - "google.golang.org/protobuf/proto" - - "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" - - _ "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" -) - -// DecisionServiceHandler is the domain level implementation of the server API for mutations of the DecisionService service -type DecisionServiceHandler struct{} - -func (s *DecisionServiceHandler) GetDecisions(ctx context.Context, req *connect.Request[advertisementv1pb.GetDecisionsRequest]) (*connect.Response[advertisementv1pb.GetDecisionsResponse], error) { - tracer := *opentelemetryv1.Bound.Tracer - log := *zaploggerv1.Bound.Logger - - // Executes top level validation, no business domain validation - validationCtx, validationSpan := tracer.Start(ctx, "request-validation", trace.WithSpanKind(trace.SpanKindInternal)) - v := *protovalidatev0.Bound.Validator - if err := v.Validate(req.Msg); err != nil { - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(err) - } - validationSpan.End() - - // Spec Propagation - specCtx, specSpan := tracer.Start(validationCtx, "spec-propagation", trace.WithSpanKind(trace.SpanKindInternal)) - spec, ok := ctx.Value(sdkv2alphalib.SpecContextKey).(*specv2pb.Spec) - if !ok { - return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(errors.New("Cannot propagate spec to context")) - } - specSpan.End() - - // Validate field mask - if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { - spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&advertisementv1pb.GetDecisionsResponse{}) { - log.Error("Invalid field mask") - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) - } - } - - // Distributed Domain Handler - handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - - entity := advertisementv1pbmodel.DecisionSpecEntity{} - reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ - Request: req.Msg, - Stream: natsnodev1.NewInboundStream(), - CommandName: "", - CommandTopic: advertisementv1pbmodel.CommandDataDecisionTopic, - EntityTypeName: entity.TypeName(), - }) - if err2 != nil { - log.Error(err2.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - var dd advertisementv1pb.GetDecisionsResponse - err3 := proto.Unmarshal(reply.Data, &dd) - if err3 != nil { - log.Error(err3.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - handlerSpan.End() - - return connect.NewResponse(&dd), nil -} - -func (s *DecisionServiceHandler) AddCustomProperties(ctx context.Context, req *connect.Request[advertisementv1pb.AddCustomPropertiesRequest]) (*connect.Response[advertisementv1pb.AddCustomPropertiesResponse], error) { - tracer := *opentelemetryv1.Bound.Tracer - log := *zaploggerv1.Bound.Logger - - // Executes top level validation, no business domain validation - validationCtx, validationSpan := tracer.Start(ctx, "request-validation", trace.WithSpanKind(trace.SpanKindInternal)) - v := *protovalidatev0.Bound.Validator - if err := v.Validate(req.Msg); err != nil { - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(err) - } - validationSpan.End() - - // Spec Propagation - specCtx, specSpan := tracer.Start(validationCtx, "spec-propagation", trace.WithSpanKind(trace.SpanKindInternal)) - spec, ok := ctx.Value(sdkv2alphalib.SpecContextKey).(*specv2pb.Spec) - if !ok { - return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(errors.New("Cannot propagate spec to context")) - } - specSpan.End() - - // Validate field mask - if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { - spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&advertisementv1pb.AddCustomPropertiesResponse{}) { - log.Error("Invalid field mask") - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) - } - } - - // Distributed Domain Handler - handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - - entity := advertisementv1pbmodel.DecisionSpecEntity{} - reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ - Request: req.Msg, - Stream: natsnodev1.NewInboundStream(), - CommandName: "", - CommandTopic: advertisementv1pbmodel.CommandDataDecisionTopic, - EntityTypeName: entity.TypeName(), - }) - if err2 != nil { - log.Error(err2.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - var dd advertisementv1pb.AddCustomPropertiesResponse - err3 := proto.Unmarshal(reply.Data, &dd) - if err3 != nil { - log.Error(err3.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - handlerSpan.End() - - return connect.NewResponse(&dd), nil -} - -func (s *DecisionServiceHandler) Forget(ctx context.Context, req *connect.Request[advertisementv1pb.ForgetRequest]) (*connect.Response[advertisementv1pb.ForgetResponse], error) { - tracer := *opentelemetryv1.Bound.Tracer - log := *zaploggerv1.Bound.Logger - - // Executes top level validation, no business domain validation - validationCtx, validationSpan := tracer.Start(ctx, "request-validation", trace.WithSpanKind(trace.SpanKindInternal)) - v := *protovalidatev0.Bound.Validator - if err := v.Validate(req.Msg); err != nil { - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(err) - } - validationSpan.End() - - // Spec Propagation - specCtx, specSpan := tracer.Start(validationCtx, "spec-propagation", trace.WithSpanKind(trace.SpanKindInternal)) - spec, ok := ctx.Value(sdkv2alphalib.SpecContextKey).(*specv2pb.Spec) - if !ok { - return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(errors.New("Cannot propagate spec to context")) - } - specSpan.End() - - // Validate field mask - if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { - spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&advertisementv1pb.ForgetResponse{}) { - log.Error("Invalid field mask") - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) - } - } - - // Distributed Domain Handler - handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - - entity := advertisementv1pbmodel.DecisionSpecEntity{} - reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ - Request: req.Msg, - Stream: natsnodev1.NewInboundStream(), - CommandName: "", - CommandTopic: advertisementv1pbmodel.CommandDataDecisionTopic, - EntityTypeName: entity.TypeName(), - }) - if err2 != nil { - log.Error(err2.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - var dd advertisementv1pb.ForgetResponse - err3 := proto.Unmarshal(reply.Data, &dd) - if err3 != nil { - log.Error(err3.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - handlerSpan.End() - - return connect.NewResponse(&dd), nil -} - -func (s *DecisionServiceHandler) GdprConsent(ctx context.Context, req *connect.Request[advertisementv1pb.GdprConsentRequest]) (*connect.Response[advertisementv1pb.GdprConsentResponse], error) { - tracer := *opentelemetryv1.Bound.Tracer - log := *zaploggerv1.Bound.Logger - - // Executes top level validation, no business domain validation - validationCtx, validationSpan := tracer.Start(ctx, "request-validation", trace.WithSpanKind(trace.SpanKindInternal)) - v := *protovalidatev0.Bound.Validator - if err := v.Validate(req.Msg); err != nil { - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(err) - } - validationSpan.End() - - // Spec Propagation - specCtx, specSpan := tracer.Start(validationCtx, "spec-propagation", trace.WithSpanKind(trace.SpanKindInternal)) - spec, ok := ctx.Value(sdkv2alphalib.SpecContextKey).(*specv2pb.Spec) - if !ok { - return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(errors.New("Cannot propagate spec to context")) - } - specSpan.End() - - // Validate field mask - if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { - spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&advertisementv1pb.GdprConsentResponse{}) { - log.Error("Invalid field mask") - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) - } - } - - // Distributed Domain Handler - handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - - entity := advertisementv1pbmodel.DecisionSpecEntity{} - reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ - Request: req.Msg, - Stream: natsnodev1.NewInboundStream(), - CommandName: "", - CommandTopic: advertisementv1pbmodel.CommandDataDecisionTopic, - EntityTypeName: entity.TypeName(), - }) - if err2 != nil { - log.Error(err2.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - var dd advertisementv1pb.GdprConsentResponse - err3 := proto.Unmarshal(reply.Data, &dd) - if err3 != nil { - log.Error(err3.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - handlerSpan.End() - - return connect.NewResponse(&dd), nil -} - -func (s *DecisionServiceHandler) AddInterests(ctx context.Context, req *connect.Request[advertisementv1pb.AddInterestsRequest]) (*connect.Response[advertisementv1pb.AddInterestsResponse], error) { - tracer := *opentelemetryv1.Bound.Tracer - log := *zaploggerv1.Bound.Logger - - // Executes top level validation, no business domain validation - validationCtx, validationSpan := tracer.Start(ctx, "request-validation", trace.WithSpanKind(trace.SpanKindInternal)) - v := *protovalidatev0.Bound.Validator - if err := v.Validate(req.Msg); err != nil { - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(err) - } - validationSpan.End() - - // Spec Propagation - specCtx, specSpan := tracer.Start(validationCtx, "spec-propagation", trace.WithSpanKind(trace.SpanKindInternal)) - spec, ok := ctx.Value(sdkv2alphalib.SpecContextKey).(*specv2pb.Spec) - if !ok { - return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(errors.New("Cannot propagate spec to context")) - } - specSpan.End() - - // Validate field mask - if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { - spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&advertisementv1pb.AddInterestsResponse{}) { - log.Error("Invalid field mask") - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) - } - } - - // Distributed Domain Handler - handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - - entity := advertisementv1pbmodel.DecisionSpecEntity{} - reply, err2 := natsnodev1.Bound.MultiplexEventSync(handlerCtx, spec, &natsnodev1.SpecEvent{ - Request: req.Msg, - Stream: natsnodev1.NewInboundStream(), - EventName: "", - EventTopic: advertisementv1pbmodel.EventDataDecisionTopic, - EntityTypeName: entity.TypeName(), - }) - if err2 != nil { - log.Error(err2.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - var dd advertisementv1pb.AddInterestsResponse - err3 := proto.Unmarshal(reply.Data, &dd) - if err3 != nil { - log.Error(err3.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - handlerSpan.End() - - return connect.NewResponse(&dd), nil -} - -func (s *DecisionServiceHandler) AddRetargetingSegment(ctx context.Context, req *connect.Request[advertisementv1pb.AddRetargetingSegmentRequest]) (*connect.Response[advertisementv1pb.AddRetargetingSegmentResponse], error) { - tracer := *opentelemetryv1.Bound.Tracer - log := *zaploggerv1.Bound.Logger - - // Executes top level validation, no business domain validation - validationCtx, validationSpan := tracer.Start(ctx, "request-validation", trace.WithSpanKind(trace.SpanKindInternal)) - v := *protovalidatev0.Bound.Validator - if err := v.Validate(req.Msg); err != nil { - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(err) - } - validationSpan.End() - - // Spec Propagation - specCtx, specSpan := tracer.Start(validationCtx, "spec-propagation", trace.WithSpanKind(trace.SpanKindInternal)) - spec, ok := ctx.Value(sdkv2alphalib.SpecContextKey).(*specv2pb.Spec) - if !ok { - return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(errors.New("Cannot propagate spec to context")) - } - specSpan.End() - - // Validate field mask - if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { - spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&advertisementv1pb.AddRetargetingSegmentResponse{}) { - log.Error("Invalid field mask") - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) - } - } - - // Distributed Domain Handler - handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - - entity := advertisementv1pbmodel.DecisionSpecEntity{} - reply, err2 := natsnodev1.Bound.MultiplexEventSync(handlerCtx, spec, &natsnodev1.SpecEvent{ - Request: req.Msg, - Stream: natsnodev1.NewInboundStream(), - EventName: "", - EventTopic: advertisementv1pbmodel.EventDataDecisionTopic, - EntityTypeName: entity.TypeName(), - }) - if err2 != nil { - log.Error(err2.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - var dd advertisementv1pb.AddRetargetingSegmentResponse - err3 := proto.Unmarshal(reply.Data, &dd) - if err3 != nil { - log.Error(err3.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - handlerSpan.End() - - return connect.NewResponse(&dd), nil -} - -func (s *DecisionServiceHandler) OptOut(ctx context.Context, req *connect.Request[advertisementv1pb.OptOutRequest]) (*connect.Response[advertisementv1pb.OptOutResponse], error) { - tracer := *opentelemetryv1.Bound.Tracer - log := *zaploggerv1.Bound.Logger - - // Executes top level validation, no business domain validation - validationCtx, validationSpan := tracer.Start(ctx, "request-validation", trace.WithSpanKind(trace.SpanKindInternal)) - v := *protovalidatev0.Bound.Validator - if err := v.Validate(req.Msg); err != nil { - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(err) - } - validationSpan.End() - - // Spec Propagation - specCtx, specSpan := tracer.Start(validationCtx, "spec-propagation", trace.WithSpanKind(trace.SpanKindInternal)) - spec, ok := ctx.Value(sdkv2alphalib.SpecContextKey).(*specv2pb.Spec) - if !ok { - return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(errors.New("Cannot propagate spec to context")) - } - specSpan.End() - - // Validate field mask - if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { - spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&advertisementv1pb.OptOutResponse{}) { - log.Error("Invalid field mask") - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) - } - } - - // Distributed Domain Handler - handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - - entity := advertisementv1pbmodel.DecisionSpecEntity{} - reply, err2 := natsnodev1.Bound.MultiplexEventSync(handlerCtx, spec, &natsnodev1.SpecEvent{ - Request: req.Msg, - Stream: natsnodev1.NewInboundStream(), - EventName: "", - EventTopic: advertisementv1pbmodel.EventDataDecisionTopic, - EntityTypeName: entity.TypeName(), - }) - if err2 != nil { - log.Error(err2.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - var dd advertisementv1pb.OptOutResponse - err3 := proto.Unmarshal(reply.Data, &dd) - if err3 != nil { - log.Error(err3.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - handlerSpan.End() - - return connect.NewResponse(&dd), nil -} - -func (s *DecisionServiceHandler) Read(ctx context.Context, req *connect.Request[advertisementv1pb.ReadRequest]) (*connect.Response[advertisementv1pb.ReadResponse], error) { - tracer := *opentelemetryv1.Bound.Tracer - log := *zaploggerv1.Bound.Logger - - // Executes top level validation, no business domain validation - validationCtx, validationSpan := tracer.Start(ctx, "request-validation", trace.WithSpanKind(trace.SpanKindInternal)) - v := *protovalidatev0.Bound.Validator - if err := v.Validate(req.Msg); err != nil { - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(err) - } - validationSpan.End() - - // Spec Propagation - specCtx, specSpan := tracer.Start(validationCtx, "spec-propagation", trace.WithSpanKind(trace.SpanKindInternal)) - spec, ok := ctx.Value(sdkv2alphalib.SpecContextKey).(*specv2pb.Spec) - if !ok { - return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(errors.New("Cannot propagate spec to context")) - } - specSpan.End() - - // Validate field mask - if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { - spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&advertisementv1pb.ReadResponse{}) { - log.Error("Invalid field mask") - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) - } - } - - // Distributed Domain Handler - handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - - entity := advertisementv1pbmodel.DecisionSpecEntity{} - reply, err2 := natsnodev1.Bound.MultiplexEventSync(handlerCtx, spec, &natsnodev1.SpecEvent{ - Request: req.Msg, - Stream: natsnodev1.NewInboundStream(), - EventName: "", - EventTopic: advertisementv1pbmodel.EventDataDecisionTopic, - EntityTypeName: entity.TypeName(), - }) - if err2 != nil { - log.Error(err2.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - var dd advertisementv1pb.ReadResponse - err3 := proto.Unmarshal(reply.Data, &dd) - if err3 != nil { - log.Error(err3.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - handlerSpan.End() - - return connect.NewResponse(&dd), nil -} - -func (s *DecisionServiceHandler) IpOverride(ctx context.Context, req *connect.Request[advertisementv1pb.IpOverrideRequest]) (*connect.Response[advertisementv1pb.IpOverrideResponse], error) { - tracer := *opentelemetryv1.Bound.Tracer - log := *zaploggerv1.Bound.Logger - - // Executes top level validation, no business domain validation - validationCtx, validationSpan := tracer.Start(ctx, "request-validation", trace.WithSpanKind(trace.SpanKindInternal)) - v := *protovalidatev0.Bound.Validator - if err := v.Validate(req.Msg); err != nil { - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(err) - } - validationSpan.End() - - // Spec Propagation - specCtx, specSpan := tracer.Start(validationCtx, "spec-propagation", trace.WithSpanKind(trace.SpanKindInternal)) - spec, ok := ctx.Value(sdkv2alphalib.SpecContextKey).(*specv2pb.Spec) - if !ok { - return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(errors.New("Cannot propagate spec to context")) - } - specSpan.End() - - // Validate field mask - if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { - spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&advertisementv1pb.IpOverrideResponse{}) { - log.Error("Invalid field mask") - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) - } - } - - // Distributed Domain Handler - handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - - entity := advertisementv1pbmodel.DecisionSpecEntity{} - reply, err2 := natsnodev1.Bound.MultiplexEventSync(handlerCtx, spec, &natsnodev1.SpecEvent{ - Request: req.Msg, - Stream: natsnodev1.NewInboundStream(), - EventName: "", - EventTopic: advertisementv1pbmodel.EventDataDecisionTopic, - EntityTypeName: entity.TypeName(), - }) - if err2 != nil { - log.Error(err2.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - var dd advertisementv1pb.IpOverrideResponse - err3 := proto.Unmarshal(reply.Data, &dd) - if err3 != nil { - log.Error(err3.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - handlerSpan.End() - - return connect.NewResponse(&dd), nil -} - -func (s *DecisionServiceHandler) MatchUser(ctx context.Context, req *connect.Request[advertisementv1pb.MatchUserRequest]) (*connect.Response[advertisementv1pb.MatchUserResponse], error) { - tracer := *opentelemetryv1.Bound.Tracer - log := *zaploggerv1.Bound.Logger - - // Executes top level validation, no business domain validation - validationCtx, validationSpan := tracer.Start(ctx, "request-validation", trace.WithSpanKind(trace.SpanKindInternal)) - v := *protovalidatev0.Bound.Validator - if err := v.Validate(req.Msg); err != nil { - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(err) - } - validationSpan.End() - - // Spec Propagation - specCtx, specSpan := tracer.Start(validationCtx, "spec-propagation", trace.WithSpanKind(trace.SpanKindInternal)) - spec, ok := ctx.Value(sdkv2alphalib.SpecContextKey).(*specv2pb.Spec) - if !ok { - return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(errors.New("Cannot propagate spec to context")) - } - specSpan.End() - - // Validate field mask - if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { - spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&advertisementv1pb.MatchUserResponse{}) { - log.Error("Invalid field mask") - return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) - } - } - - // Distributed Domain Handler - handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - - entity := advertisementv1pbmodel.DecisionSpecEntity{} - reply, err2 := natsnodev1.Bound.MultiplexEventSync(handlerCtx, spec, &natsnodev1.SpecEvent{ - Request: req.Msg, - Stream: natsnodev1.NewInboundStream(), - EventName: "", - EventTopic: advertisementv1pbmodel.EventDataDecisionTopic, - EntityTypeName: entity.TypeName(), - }) - if err2 != nil { - log.Error(err2.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - var dd advertisementv1pb.MatchUserResponse - err3 := proto.Unmarshal(reply.Data, &dd) - if err3 != nil { - log.Error(err3.Error()) - return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - } - - handlerSpan.End() - - return connect.NewResponse(&dd), nil -} diff --git a/libs/partner/go/server/v2alpha/go.mod b/libs/partner/go/server/v2alpha/go.mod deleted file mode 100644 index 6259a689..00000000 --- a/libs/partner/go/server/v2alpha/go.mod +++ /dev/null @@ -1,19 +0,0 @@ -module github.com/openecosystems/ecosystem/libs/partner/go/server/v2alpha - -go 1.23.4 - -require ( - connectrpc.com/connect v1.16.2 - connectrpc.com/vanguard v0.3.0 - go.opentelemetry.io/otel/trace v1.33.0 - golang.org/x/net v0.33.0 - google.golang.org/protobuf v1.33.0 -) - -require ( - go.opentelemetry.io/otel v1.32.0 // indirect - golang.org/x/text v0.20.0 // indirect - google.golang.org/genproto v0.0.0-20230807174057-1744710a1577 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20230807174057-1744710a1577 // indirect -) diff --git a/libs/partner/go/server/v2alpha/package.json b/libs/partner/go/server/v2alpha/package.json deleted file mode 100644 index e639f55f..00000000 --- a/libs/partner/go/server/v2alpha/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "sdk-server-partner-v2alpha", - "version": "0.6.0", - "description": "Server SDK version v2alpha", - "license": "Apache-2.0" -} diff --git a/libs/partner/go/server/v2alpha/project.json b/libs/partner/go/server/v2alpha/project.json deleted file mode 100644 index 3a0bacd9..00000000 --- a/libs/partner/go/server/v2alpha/project.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "name": "libs-partner-go-server-v2alpha", - "$schema": "../../../../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "sourceRoot": "libs/partner/go/server/v2alpha", - "implicitDependencies": [ - "proto" - ], - "targets": { - "generate": { - "executor": "nx:run-commands", - "options": { - "command": "buf generate", - "cwd": "libs/partner/go/server/v2alpha" - } - } - }, - "tags": [ - "type:lib", - "cycle:partner", - "language:golang", - "type:server", - "type:sdk", - "version:v2alpha", - "exposure:external" - ] -} diff --git a/libs/partner/typescript/model/buf.gen.yaml b/libs/partner/typescript/model/buf.gen.yaml deleted file mode 100644 index e90afe2c..00000000 --- a/libs/partner/typescript/model/buf.gen.yaml +++ /dev/null @@ -1,20 +0,0 @@ -version: v2 -inputs: - - directory: ../../../../proto/partner -plugins: - - local: protoc-gen-platform - out: ./src/gen - opt: - - paths=source_relative - - language=typescript - - type=spec - - prefix=partner - strategy: all - - local: protoc-gen-platform - out: ./src/gen - opt: - - paths=source_relative - - language=typescript - - type=spec-index - - prefix=partner - strategy: all diff --git a/libs/partner/typescript/model/buf.gen.yaml.notused b/libs/partner/typescript/model/buf.gen.yaml.notused new file mode 100644 index 00000000..5efaa557 --- /dev/null +++ b/libs/partner/typescript/model/buf.gen.yaml.notused @@ -0,0 +1,20 @@ +version: v2 +inputs: + - directory: ../../../../proto/partner +plugins: +# - local: protoc-gen-platform +# out: ./src/gen +# opt: +# - paths=source_relative +# - language=typescript +# - type=spec +# - prefix=partner +# strategy: all +# - local: protoc-gen-platform +# out: ./src/gen +# opt: +# - paths=source_relative +# - language=typescript +# - type=spec-index +# - prefix=partner +# strategy: all diff --git a/libs/partner/typescript/model/project.json b/libs/partner/typescript/model/project.json index 3a04f496..a557de1a 100644 --- a/libs/partner/typescript/model/project.json +++ b/libs/partner/typescript/model/project.json @@ -14,13 +14,7 @@ } }, "targets": { - "generate": { - "executor": "nx:run-commands", - "options": { - "command": "buf generate", - "cwd": "libs/partner/typescript/model" - } - }, + "build": { "executor": "@nx/js:tsc", "outputs": ["{options.outputPath}"], diff --git a/libs/partner/typescript/model/src/gen/index.ts b/libs/partner/typescript/model/src/gen/index.ts deleted file mode 100644 index 245282ef..00000000 --- a/libs/partner/typescript/model/src/gen/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -// Code generated by protoc-gen-platform typescript/spec-index. DO NOT EDIT. -export * as DecisionV1 from './kevel/advertisement/v1/decision.pb.spec' diff --git a/libs/partner/typescript/model/src/gen/kevel/advertisement/v1/decision.pb.spec.ts b/libs/partner/typescript/model/src/gen/kevel/advertisement/v1/decision.pb.spec.ts deleted file mode 100644 index 6676ce26..00000000 --- a/libs/partner/typescript/model/src/gen/kevel/advertisement/v1/decision.pb.spec.ts +++ /dev/null @@ -1,113 +0,0 @@ -// Code generated by protoc-gen-platform typescript/spec. DO NOT EDIT. -// source: kevel/advertisement/v1/decision.proto - -export type DecisionCommand = number; -export type DecisionEvent = number; - -// Constants for Decision Type Names -export const DecisionTypeName = "decision"; -export const DecisionTypeNamePlural = "decisions"; -export const DecisionTypeNameScreamingCamelCase = "DECISION"; -export const DecisionTypeNamePluralScreamingCamelCase = "DECISIONS"; -export const DecisionTypeNameEventPrefix = "decision."; - -// Enums for DecisionCommands -export enum DecisionCommands { - - DecisionCommandsUnspecified = 0, - DecisionCommandsOptOut = 1, - UnrecognizedDecisionCommand = -1, -} - -// Enums for Decision Events -export enum DecisionEvents { - - DecisionEventsUnspecified = 0, - DecisionEventsOptedOut = 1, - UnrecognizedDecisionEvent = -1, -} - -// Topics -export const CommandDataDecisionTopic = "decision.data.command"; -export const EventDataDecisionTopic = "decision.data.event"; -export const RoutineDataDecisionTopic = "decision.data.routine"; -export const UnrecognizedDecisionTopic = "unrecognized"; - -// Command Methods -export class DecisionCommandHelper { - static commandName(command: DecisionCommands): string { - switch (command) { - case DecisionCommands.DecisionCommandsUnspecified: - return "DecisionCommandsUnspecified" - case DecisionCommands.DecisionCommandsOptOut: - return "DecisionCommandsOptOut" - default: - return "UnrecognizedDecisionCommand" - } - } - - static commandTopic(command: DecisionCommands): string { - switch (command) { - case DecisionCommands.DecisionCommandsUnspecified: - case DecisionCommands.DecisionCommandsOptOut: - return CommandDataDecisionTopic; - default: - return UnrecognizedDecisionTopic; - } - } - - static commandTopicWildcard(): string { - return DecisionTypeNameEventPrefix + ">"; - } - - static getDecisionCommand(command: string): DecisionCommands { - switch (command) { - case "DecisionCommandsUnspecified": - return DecisionCommands.DecisionCommandsUnspecified; - case "DecisionCommandsOptOut": - return DecisionCommands.DecisionCommandsOptOut; - default: - return DecisionCommands.UnrecognizedDecisionCommand; - } - } -} - -// Event Methods -export class DecisionEventHelper { - static eventName(event: DecisionEvents): string { - switch (event) { - case DecisionEvents.DecisionEventsUnspecified: - return "DecisionEventsUnspecified"; - case DecisionEvents.DecisionEventsOptedOut: - return "DecisionEventsOptedOut"; - default: - return "UnrecognizedDecisionEvent"; - } - } - - static eventTopic(event: DecisionEvents): string { - switch (event) { - case DecisionEvents.DecisionEventsUnspecified: - case DecisionEvents.DecisionEventsOptedOut: - return EventDataDecisionTopic; - default: - return UnrecognizedDecisionTopic; - } - } - - static eventTopicWildcard(): string { - return DecisionTypeNameEventPrefix + ">"; - } - - static getDecisionEvent(event: string): DecisionEvents { - switch (event) { - case "DecisionEventsUnspecified": - return DecisionEvents.DecisionEventsUnspecified; - case "DecisionEventsOptedOut": - return DecisionEvents.DecisionEventsOptedOut; - default: - return DecisionEvents.UnrecognizedDecisionEvent; - } - } -} - diff --git a/libs/partner/typescript/model/src/index.ts b/libs/partner/typescript/model/src/index.ts index 8dfed38c..c5de1621 100644 --- a/libs/partner/typescript/model/src/index.ts +++ b/libs/partner/typescript/model/src/index.ts @@ -1 +1 @@ -export * from './gen'; +//export * from './gen'; diff --git a/libs/partner/typescript/protobuf/buf.gen.yaml b/libs/partner/typescript/protobuf/buf.gen.yaml deleted file mode 100644 index 1470623d..00000000 --- a/libs/partner/typescript/protobuf/buf.gen.yaml +++ /dev/null @@ -1,15 +0,0 @@ -version: v2 -inputs: - - directory: ../../../../proto/partner -plugins: - - remote: buf.build/bufbuild/es:v2.2.3 - out: ./src/gen - include_imports: true - - local: protoc-gen-platform - out: ./src/gen - opt: - - paths=source_relative - - language=typescript - - type=protobuf-index - - prefix=partner - strategy: all diff --git a/libs/partner/typescript/protobuf/buf.gen.yaml.notused b/libs/partner/typescript/protobuf/buf.gen.yaml.notused new file mode 100644 index 00000000..135f2fea --- /dev/null +++ b/libs/partner/typescript/protobuf/buf.gen.yaml.notused @@ -0,0 +1,15 @@ +version: v2 +inputs: + - directory: ../../../../proto/partner +plugins: +# - remote: buf.build/bufbuild/es:v2.2.3 +# out: ./src/gen +# include_imports: true +# - local: protoc-gen-platform +# out: ./src/gen +# opt: +# - paths=source_relative +# - language=typescript +# - type=protobuf-index +# - prefix=partner +# strategy: all diff --git a/libs/partner/typescript/protobuf/project.json b/libs/partner/typescript/protobuf/project.json index a9371948..367f77e8 100644 --- a/libs/partner/typescript/protobuf/project.json +++ b/libs/partner/typescript/protobuf/project.json @@ -15,13 +15,7 @@ } }, "targets": { - "generate": { - "executor": "nx:run-commands", - "options": { - "command": "buf generate", - "cwd": "libs/partner/typescript/protobuf" - } - }, + "build": { "executor": "@nx/js:tsc", "outputs": ["{options.outputPath}"], diff --git a/libs/partner/typescript/protobuf/src/gen/google/api/annotations_pb.d.ts b/libs/partner/typescript/protobuf/src/gen/google/api/annotations_pb.d.ts deleted file mode 100644 index 8e2bd94d..00000000 --- a/libs/partner/typescript/protobuf/src/gen/google/api/annotations_pb.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2024 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v2.2.3 -// @generated from file google/api/annotations.proto (package google.api, syntax proto3) -/* eslint-disable */ - -import type { GenExtension, GenFile } from "@bufbuild/protobuf/codegenv1"; -import type { MethodOptions } from "@bufbuild/protobuf/wkt"; -import type { HttpRule } from "./http_pb"; - -/** - * Describes the file google/api/annotations.proto. - */ -export declare const file_google_api_annotations: GenFile; - -/** - * See `HttpRule`. - * - * @generated from extension: google.api.HttpRule http = 72295728; - */ -export declare const http: GenExtension; - diff --git a/libs/partner/typescript/protobuf/src/gen/google/api/annotations_pb.js b/libs/partner/typescript/protobuf/src/gen/google/api/annotations_pb.js deleted file mode 100644 index b1cdeff5..00000000 --- a/libs/partner/typescript/protobuf/src/gen/google/api/annotations_pb.js +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright 2024 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v2.2.3 -// @generated from file google/api/annotations.proto (package google.api, syntax proto3) -/* eslint-disable */ - -import { extDesc, fileDesc } from "@bufbuild/protobuf/codegenv1"; -import { file_google_api_http } from "./http_pb"; -import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt"; - -/** - * Describes the file google/api/annotations.proto. - */ -export const file_google_api_annotations = /*@__PURE__*/ - fileDesc("Chxnb29nbGUvYXBpL2Fubm90YXRpb25zLnByb3RvEgpnb29nbGUuYXBpOksKBGh0dHASHi5nb29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxiwyrwiIAEoCzIULmdvb2dsZS5hcGkuSHR0cFJ1bGVSBGh0dHBCbgoOY29tLmdvb2dsZS5hcGlCEEFubm90YXRpb25zUHJvdG9QAVpBZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvYW5ub3RhdGlvbnM7YW5ub3RhdGlvbnOiAgRHQVBJYgZwcm90bzM", [file_google_api_http, file_google_protobuf_descriptor]); - -/** - * See `HttpRule`. - * - * @generated from extension: google.api.HttpRule http = 72295728; - */ -export const http = /*@__PURE__*/ - extDesc(file_google_api_annotations, 0); - diff --git a/libs/partner/typescript/protobuf/src/gen/google/api/http_pb.d.ts b/libs/partner/typescript/protobuf/src/gen/google/api/http_pb.d.ts deleted file mode 100644 index 1ff966d1..00000000 --- a/libs/partner/typescript/protobuf/src/gen/google/api/http_pb.d.ts +++ /dev/null @@ -1,469 +0,0 @@ -// Copyright 2024 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v2.2.3 -// @generated from file google/api/http.proto (package google.api, syntax proto3) -/* eslint-disable */ - -import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; -import type { Message } from "@bufbuild/protobuf"; - -/** - * Describes the file google/api/http.proto. - */ -export declare const file_google_api_http: GenFile; - -/** - * Defines the HTTP configuration for an API service. It contains a list of - * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method - * to one or more HTTP REST API methods. - * - * @generated from message google.api.Http - */ -export declare type Http = Message<"google.api.Http"> & { - /** - * A list of HTTP configuration rules that apply to individual API methods. - * - * **NOTE:** All service configuration rules follow "last one wins" order. - * - * @generated from field: repeated google.api.HttpRule rules = 1; - */ - rules: HttpRule[]; - - /** - * When set to true, URL path parameters will be fully URI-decoded except in - * cases of single segment matches in reserved expansion, where "%2F" will be - * left encoded. - * - * The default behavior is to not decode RFC 6570 reserved characters in multi - * segment matches. - * - * @generated from field: bool fully_decode_reserved_expansion = 2; - */ - fullyDecodeReservedExpansion: boolean; -}; - -/** - * Describes the message google.api.Http. - * Use `create(HttpSchema)` to create a new message. - */ -export declare const HttpSchema: GenMessage; - -/** - * gRPC Transcoding - * - * gRPC Transcoding is a feature for mapping between a gRPC method and one or - * more HTTP REST endpoints. It allows developers to build a single API service - * that supports both gRPC APIs and REST APIs. Many systems, including [Google - * APIs](https://github.com/googleapis/googleapis), - * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC - * Gateway](https://github.com/grpc-ecosystem/grpc-gateway), - * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature - * and use it for large scale production services. - * - * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies - * how different portions of the gRPC request message are mapped to the URL - * path, URL query parameters, and HTTP request body. It also controls how the - * gRPC response message is mapped to the HTTP response body. `HttpRule` is - * typically specified as an `google.api.http` annotation on the gRPC method. - * - * Each mapping specifies a URL path template and an HTTP method. The path - * template may refer to one or more fields in the gRPC request message, as long - * as each field is a non-repeated field with a primitive (non-message) type. - * The path template controls how fields of the request message are mapped to - * the URL path. - * - * Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/{name=messages/*}" - * }; - * } - * } - * message GetMessageRequest { - * string name = 1; // Mapped to URL path. - * } - * message Message { - * string text = 1; // The resource content. - * } - * - * This enables an HTTP REST to gRPC mapping as below: - * - * - HTTP: `GET /v1/messages/123456` - * - gRPC: `GetMessage(name: "messages/123456")` - * - * Any fields in the request message which are not bound by the path template - * automatically become HTTP query parameters if there is no HTTP request body. - * For example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get:"/v1/messages/{message_id}" - * }; - * } - * } - * message GetMessageRequest { - * message SubMessage { - * string subfield = 1; - * } - * string message_id = 1; // Mapped to URL path. - * int64 revision = 2; // Mapped to URL query parameter `revision`. - * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. - * } - * - * This enables a HTTP JSON to RPC mapping as below: - * - * - HTTP: `GET /v1/messages/123456?revision=2&sub.subfield=foo` - * - gRPC: `GetMessage(message_id: "123456" revision: 2 sub: - * SubMessage(subfield: "foo"))` - * - * Note that fields which are mapped to URL query parameters must have a - * primitive type or a repeated primitive type or a non-repeated message type. - * In the case of a repeated type, the parameter can be repeated in the URL - * as `...?param=A¶m=B`. In the case of a message type, each field of the - * message is mapped to a separate parameter, such as - * `...?foo.a=A&foo.b=B&foo.c=C`. - * - * For HTTP methods that allow a request body, the `body` field - * specifies the mapping. Consider a REST update method on the - * message resource collection: - * - * service Messaging { - * rpc UpdateMessage(UpdateMessageRequest) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "message" - * }; - * } - * } - * message UpdateMessageRequest { - * string message_id = 1; // mapped to the URL - * Message message = 2; // mapped to the body - * } - * - * The following HTTP JSON to RPC mapping is enabled, where the - * representation of the JSON in the request body is determined by - * protos JSON encoding: - * - * - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }` - * - gRPC: `UpdateMessage(message_id: "123456" message { text: "Hi!" })` - * - * The special name `*` can be used in the body mapping to define that - * every field not bound by the path template should be mapped to the - * request body. This enables the following alternative definition of - * the update method: - * - * service Messaging { - * rpc UpdateMessage(Message) returns (Message) { - * option (google.api.http) = { - * patch: "/v1/messages/{message_id}" - * body: "*" - * }; - * } - * } - * message Message { - * string message_id = 1; - * string text = 2; - * } - * - * - * The following HTTP JSON to RPC mapping is enabled: - * - * - HTTP: `PATCH /v1/messages/123456 { "text": "Hi!" }` - * - gRPC: `UpdateMessage(message_id: "123456" text: "Hi!")` - * - * Note that when using `*` in the body mapping, it is not possible to - * have HTTP parameters, as all fields not bound by the path end in - * the body. This makes this option more rarely used in practice when - * defining REST APIs. The common usage of `*` is in custom methods - * which don't use the URL at all for transferring data. - * - * It is possible to define multiple HTTP methods for one RPC by using - * the `additional_bindings` option. Example: - * - * service Messaging { - * rpc GetMessage(GetMessageRequest) returns (Message) { - * option (google.api.http) = { - * get: "/v1/messages/{message_id}" - * additional_bindings { - * get: "/v1/users/{user_id}/messages/{message_id}" - * } - * }; - * } - * } - * message GetMessageRequest { - * string message_id = 1; - * string user_id = 2; - * } - * - * This enables the following two alternative HTTP JSON to RPC mappings: - * - * - HTTP: `GET /v1/messages/123456` - * - gRPC: `GetMessage(message_id: "123456")` - * - * - HTTP: `GET /v1/users/me/messages/123456` - * - gRPC: `GetMessage(user_id: "me" message_id: "123456")` - * - * Rules for HTTP mapping - * - * 1. Leaf request fields (recursive expansion nested messages in the request - * message) are classified into three categories: - * - Fields referred by the path template. They are passed via the URL path. - * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They - * are passed via the HTTP - * request body. - * - All other fields are passed via the URL query parameters, and the - * parameter name is the field path in the request message. A repeated - * field can be represented as multiple query parameters under the same - * name. - * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL - * query parameter, all fields - * are passed via URL path and HTTP request body. - * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP - * request body, all - * fields are passed via URL path and URL query parameters. - * - * Path template syntax - * - * Template = "/" Segments [ Verb ] ; - * Segments = Segment { "/" Segment } ; - * Segment = "*" | "**" | LITERAL | Variable ; - * Variable = "{" FieldPath [ "=" Segments ] "}" ; - * FieldPath = IDENT { "." IDENT } ; - * Verb = ":" LITERAL ; - * - * The syntax `*` matches a single URL path segment. The syntax `**` matches - * zero or more URL path segments, which must be the last part of the URL path - * except the `Verb`. - * - * The syntax `Variable` matches part of the URL path as specified by its - * template. A variable template must not contain other variables. If a variable - * matches a single path segment, its template may be omitted, e.g. `{var}` - * is equivalent to `{var=*}`. - * - * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` - * contains any reserved character, such characters should be percent-encoded - * before the matching. - * - * If a variable contains exactly one path segment, such as `"{var}"` or - * `"{var=*}"`, when such a variable is expanded into a URL path on the client - * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The - * server side does the reverse decoding. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{var}`. - * - * If a variable contains multiple path segments, such as `"{var=foo/*}"` - * or `"{var=**}"`, when such a variable is expanded into a URL path on the - * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. - * The server side does the reverse decoding, except "%2F" and "%2f" are left - * unchanged. Such variables show up in the - * [Discovery - * Document](https://developers.google.com/discovery/v1/reference/apis) as - * `{+var}`. - * - * Using gRPC API Service Configuration - * - * gRPC API Service Configuration (service config) is a configuration language - * for configuring a gRPC service to become a user-facing product. The - * service config is simply the YAML representation of the `google.api.Service` - * proto message. - * - * As an alternative to annotating your proto file, you can configure gRPC - * transcoding in your service config YAML files. You do this by specifying a - * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same - * effect as the proto annotation. This can be particularly useful if you - * have a proto that is reused in multiple services. Note that any transcoding - * specified in the service config will override any matching transcoding - * configuration in the proto. - * - * The following example selects a gRPC method and applies an `HttpRule` to it: - * - * http: - * rules: - * - selector: example.v1.Messaging.GetMessage - * get: /v1/messages/{message_id}/{sub.subfield} - * - * Special notes - * - * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the - * proto to JSON conversion must follow the [proto3 - * specification](https://developers.google.com/protocol-buffers/docs/proto3#json). - * - * While the single segment variable follows the semantics of - * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String - * Expansion, the multi segment variable **does not** follow RFC 6570 Section - * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion - * does not expand special characters like `?` and `#`, which would lead - * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding - * for multi segment variables. - * - * The path variables **must not** refer to any repeated or mapped field, - * because client libraries are not capable of handling such variable expansion. - * - * The path variables **must not** capture the leading "/" character. The reason - * is that the most common use case "{var}" does not capture the leading "/" - * character. For consistency, all path variables must share the same behavior. - * - * Repeated message fields must not be mapped to URL query parameters, because - * no client library can support such complicated mapping. - * - * If an API needs to use a JSON array for request or response body, it can map - * the request or response body to a repeated field. However, some gRPC - * Transcoding implementations may not support this feature. - * - * @generated from message google.api.HttpRule - */ -export declare type HttpRule = Message<"google.api.HttpRule"> & { - /** - * Selects a method to which this rule applies. - * - * Refer to [selector][google.api.DocumentationRule.selector] for syntax - * details. - * - * @generated from field: string selector = 1; - */ - selector: string; - - /** - * Determines the URL pattern is matched by this rules. This pattern can be - * used with any of the {get|put|post|delete|patch} methods. A custom method - * can be defined using the 'custom' field. - * - * @generated from oneof google.api.HttpRule.pattern - */ - pattern: { - /** - * Maps to HTTP GET. Used for listing and getting information about - * resources. - * - * @generated from field: string get = 2; - */ - value: string; - case: "get"; - } | { - /** - * Maps to HTTP PUT. Used for replacing a resource. - * - * @generated from field: string put = 3; - */ - value: string; - case: "put"; - } | { - /** - * Maps to HTTP POST. Used for creating a resource or performing an action. - * - * @generated from field: string post = 4; - */ - value: string; - case: "post"; - } | { - /** - * Maps to HTTP DELETE. Used for deleting a resource. - * - * @generated from field: string delete = 5; - */ - value: string; - case: "delete"; - } | { - /** - * Maps to HTTP PATCH. Used for updating a resource. - * - * @generated from field: string patch = 6; - */ - value: string; - case: "patch"; - } | { - /** - * The custom pattern is used for specifying an HTTP method that is not - * included in the `pattern` field, such as HEAD, or "*" to leave the - * HTTP method unspecified for this rule. The wild-card rule is useful - * for services that provide content to Web (HTML) clients. - * - * @generated from field: google.api.CustomHttpPattern custom = 8; - */ - value: CustomHttpPattern; - case: "custom"; - } | { case: undefined; value?: undefined }; - - /** - * The name of the request field whose value is mapped to the HTTP request - * body, or `*` for mapping all request fields not captured by the path - * pattern to the HTTP body, or omitted for not having any HTTP request body. - * - * NOTE: the referred field must be present at the top-level of the request - * message type. - * - * @generated from field: string body = 7; - */ - body: string; - - /** - * Optional. The name of the response field whose value is mapped to the HTTP - * response body. When omitted, the entire response message will be used - * as the HTTP response body. - * - * NOTE: The referred field must be present at the top-level of the response - * message type. - * - * @generated from field: string response_body = 12; - */ - responseBody: string; - - /** - * Additional HTTP bindings for the selector. Nested bindings must - * not contain an `additional_bindings` field themselves (that is, - * the nesting may only be one level deep). - * - * @generated from field: repeated google.api.HttpRule additional_bindings = 11; - */ - additionalBindings: HttpRule[]; -}; - -/** - * Describes the message google.api.HttpRule. - * Use `create(HttpRuleSchema)` to create a new message. - */ -export declare const HttpRuleSchema: GenMessage; - -/** - * A custom pattern is used for defining custom HTTP verb. - * - * @generated from message google.api.CustomHttpPattern - */ -export declare type CustomHttpPattern = Message<"google.api.CustomHttpPattern"> & { - /** - * The name of this custom HTTP verb. - * - * @generated from field: string kind = 1; - */ - kind: string; - - /** - * The path matched by this custom verb. - * - * @generated from field: string path = 2; - */ - path: string; -}; - -/** - * Describes the message google.api.CustomHttpPattern. - * Use `create(CustomHttpPatternSchema)` to create a new message. - */ -export declare const CustomHttpPatternSchema: GenMessage; - diff --git a/libs/partner/typescript/protobuf/src/gen/google/api/http_pb.js b/libs/partner/typescript/protobuf/src/gen/google/api/http_pb.js deleted file mode 100644 index 034872f6..00000000 --- a/libs/partner/typescript/protobuf/src/gen/google/api/http_pb.js +++ /dev/null @@ -1,47 +0,0 @@ -// Copyright 2024 Google LLC -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -// @generated by protoc-gen-es v2.2.3 -// @generated from file google/api/http.proto (package google.api, syntax proto3) -/* eslint-disable */ - -import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1"; - -/** - * Describes the file google/api/http.proto. - */ -export const file_google_api_http = /*@__PURE__*/ - fileDesc("ChVnb29nbGUvYXBpL2h0dHAucHJvdG8SCmdvb2dsZS5hcGkiVAoESHR0cBIjCgVydWxlcxgBIAMoCzIULmdvb2dsZS5hcGkuSHR0cFJ1bGUSJwofZnVsbHlfZGVjb2RlX3Jlc2VydmVkX2V4cGFuc2lvbhgCIAEoCCKBAgoISHR0cFJ1bGUSEAoIc2VsZWN0b3IYASABKAkSDQoDZ2V0GAIgASgJSAASDQoDcHV0GAMgASgJSAASDgoEcG9zdBgEIAEoCUgAEhAKBmRlbGV0ZRgFIAEoCUgAEg8KBXBhdGNoGAYgASgJSAASLwoGY3VzdG9tGAggASgLMh0uZ29vZ2xlLmFwaS5DdXN0b21IdHRwUGF0dGVybkgAEgwKBGJvZHkYByABKAkSFQoNcmVzcG9uc2VfYm9keRgMIAEoCRIxChNhZGRpdGlvbmFsX2JpbmRpbmdzGAsgAygLMhQuZ29vZ2xlLmFwaS5IdHRwUnVsZUIJCgdwYXR0ZXJuIi8KEUN1c3RvbUh0dHBQYXR0ZXJuEgwKBGtpbmQYASABKAkSDAoEcGF0aBgCIAEoCUJqCg5jb20uZ29vZ2xlLmFwaUIJSHR0cFByb3RvUAFaQWdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL2Fubm90YXRpb25zO2Fubm90YXRpb25z+AEBogIER0FQSWIGcHJvdG8z"); - -/** - * Describes the message google.api.Http. - * Use `create(HttpSchema)` to create a new message. - */ -export const HttpSchema = /*@__PURE__*/ - messageDesc(file_google_api_http, 0); - -/** - * Describes the message google.api.HttpRule. - * Use `create(HttpRuleSchema)` to create a new message. - */ -export const HttpRuleSchema = /*@__PURE__*/ - messageDesc(file_google_api_http, 1); - -/** - * Describes the message google.api.CustomHttpPattern. - * Use `create(CustomHttpPatternSchema)` to create a new message. - */ -export const CustomHttpPatternSchema = /*@__PURE__*/ - messageDesc(file_google_api_http, 2); - diff --git a/libs/partner/typescript/protobuf/src/gen/index.ts b/libs/partner/typescript/protobuf/src/gen/index.ts deleted file mode 100644 index 73527162..00000000 --- a/libs/partner/typescript/protobuf/src/gen/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -// Code generated by protoc-gen-platform typescript/protobuf-index. DO NOT EDIT. -export * as DecisionV1 from './kevel/advertisement/v1/decision_pb' diff --git a/libs/partner/typescript/protobuf/src/gen/kevel/advertisement/v1/decision_pb.d.ts b/libs/partner/typescript/protobuf/src/gen/kevel/advertisement/v1/decision_pb.d.ts deleted file mode 100644 index c010e0a8..00000000 --- a/libs/partner/typescript/protobuf/src/gen/kevel/advertisement/v1/decision_pb.d.ts +++ /dev/null @@ -1,1238 +0,0 @@ -// @generated by protoc-gen-es v2.2.3 -// @generated from file kevel/advertisement/v1/decision.proto (package kevel.advertisement.v1, syntax proto3) -/* eslint-disable */ - -import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1"; -import type { Message } from "@bufbuild/protobuf"; -import type { SpecResponseContext } from "../../../platform/spec/v2/spec_pb"; - -/** - * Describes the file kevel/advertisement/v1/decision.proto. - */ -export declare const file_kevel_advertisement_v1_decision: GenFile; - -/** - * @generated from message kevel.advertisement.v1.Consent - */ -export declare type Consent = Message<"kevel.advertisement.v1.Consent"> & { -}; - -/** - * Describes the message kevel.advertisement.v1.Consent. - * Use `create(ConsentSchema)` to create a new message. - */ -export declare const ConsentSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.DecisionRequest - */ -export declare type DecisionRequest = Message<"kevel.advertisement.v1.DecisionRequest"> & { - /** - * @generated from field: repeated kevel.advertisement.v1.Placement placements = 1; - */ - placements: Placement[]; - - /** - * @generated from field: kevel.advertisement.v1.User user = 2; - */ - user?: User; - - /** - * @generated from field: repeated string keywords = 3; - */ - keywords: string[]; - - /** - * @generated from field: string url = 4; - */ - url: string; - - /** - * @generated from field: string referrer = 5; - */ - referrer: string; - - /** - * @generated from field: string ip = 6; - */ - ip: string; - - /** - * @generated from field: repeated int64 blocked_creatives = 7; - */ - blockedCreatives: bigint[]; - - /** - * @generated from field: bool is_mobile = 8; - */ - isMobile: boolean; - - /** - * @generated from field: bool include_pricing_data = 9; - */ - includePricingData: boolean; - - /** - * @generated from field: bool notrack = 10; - */ - notrack: boolean; - - /** - * @generated from field: bool enable_bot_filtering = 11; - */ - enableBotFiltering: boolean; - - /** - * @generated from field: bool enable_user_dbip = 12; - */ - enableUserDbip: boolean; - - /** - * @generated from field: kevel.advertisement.v1.Consent consent = 13; - */ - consent?: Consent; - - /** - * @generated from field: string device_id = 14; - */ - deviceId: string; - - /** - * @generated from field: bool parallel = 15; - */ - parallel: boolean; - - /** - * @generated from field: float intended_latitude = 16; - */ - intendedLatitude: number; - - /** - * @generated from field: float intended_longitude = 17; - */ - intendedLongitude: number; - - /** - * @generated from field: float radius = 18; - */ - radius: number; - - /** - * @generated from field: bool include_matched_points = 19; - */ - includeMatchedPoints: boolean; -}; - -/** - * Describes the message kevel.advertisement.v1.DecisionRequest. - * Use `create(DecisionRequestSchema)` to create a new message. - */ -export declare const DecisionRequestSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.Properties - */ -export declare type Properties = Message<"kevel.advertisement.v1.Properties"> & { -}; - -/** - * Describes the message kevel.advertisement.v1.Properties. - * Use `create(PropertiesSchema)` to create a new message. - */ -export declare const PropertiesSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.Overrides - */ -export declare type Overrides = Message<"kevel.advertisement.v1.Overrides"> & { -}; - -/** - * Describes the message kevel.advertisement.v1.Overrides. - * Use `create(OverridesSchema)` to create a new message. - */ -export declare const OverridesSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.ContentKeys - */ -export declare type ContentKeys = Message<"kevel.advertisement.v1.ContentKeys"> & { - /** - * @generated from field: map additional_properties = 1; - */ - additionalProperties: { [key: string]: string }; -}; - -/** - * Describes the message kevel.advertisement.v1.ContentKeys. - * Use `create(ContentKeysSchema)` to create a new message. - */ -export declare const ContentKeysSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.AdQuery - */ -export declare type AdQuery = Message<"kevel.advertisement.v1.AdQuery"> & { -}; - -/** - * Describes the message kevel.advertisement.v1.AdQuery. - * Use `create(AdQuerySchema)` to create a new message. - */ -export declare const AdQuerySchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.Placement - */ -export declare type Placement = Message<"kevel.advertisement.v1.Placement"> & { - /** - * @generated from field: string div_name = 1; - */ - divName: string; - - /** - * @generated from field: int32 network_id = 2; - */ - networkId: number; - - /** - * @generated from field: int32 site_id = 3; - */ - siteId: number; - - /** - * @generated from field: repeated int64 ad_types = 4; - */ - adTypes: bigint[]; - - /** - * @generated from field: repeated int64 zone_ids = 5; - */ - zoneIds: bigint[]; - - /** - * @generated from field: int32 campaign_id = 6; - */ - campaignId: number; - - /** - * @generated from field: int32 flight_id = 7; - */ - flightId: number; - - /** - * @generated from field: int32 ad_id = 8; - */ - adId: number; - - /** - * @generated from field: string click_url = 9; - */ - clickUrl: string; - - /** - * @generated from field: kevel.advertisement.v1.Properties properties = 10; - */ - properties?: Properties; - - /** - * @generated from field: repeated int64 event_ids = 11; - */ - eventIds: bigint[]; - - /** - * @generated from field: kevel.advertisement.v1.Overrides overrides = 12; - */ - overrides?: Overrides; - - /** - * @generated from field: kevel.advertisement.v1.ContentKeys content_keys = 13; - */ - contentKeys?: ContentKeys; - - /** - * @generated from field: int32 count = 14; - */ - count: number; - - /** - * @generated from field: bool proportionality = 15; - */ - proportionality: boolean; - - /** - * @generated from field: string ecpm_partition = 16; - */ - ecpmPartition: string; - - /** - * @generated from field: repeated string ecpm_partitions = 17; - */ - ecpmPartitions: string[]; - - /** - * @generated from field: int32 event_multiplier = 18; - */ - eventMultiplier: number; - - /** - * @generated from field: bool skip_selection = 19; - */ - skipSelection: boolean; - - /** - * @generated from field: kevel.advertisement.v1.AdQuery ad_query = 20; - */ - adQuery?: AdQuery; - - /** - * @generated from field: float floor_price = 21; - */ - floorPrice: number; - - /** - * @generated from field: float floor_cpc = 22; - */ - floorCpc: number; - - /** - * @generated from field: kevel.advertisement.v1.SkipFilters skip_filters = 23; - */ - skipFilters?: SkipFilters; -}; - -/** - * Describes the message kevel.advertisement.v1.Placement. - * Use `create(PlacementSchema)` to create a new message. - */ -export declare const PlacementSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.User - */ -export declare type User = Message<"kevel.advertisement.v1.User"> & { - /** - * @generated from field: string key = 1; - */ - key: string; -}; - -/** - * Describes the message kevel.advertisement.v1.User. - * Use `create(UserSchema)` to create a new message. - */ -export declare const UserSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.Decision - */ -export declare type Decision = Message<"kevel.advertisement.v1.Decision"> & { - /** - * @generated from field: int64 ad_id = 1; - */ - adId: bigint; - - /** - * @generated from field: int64 advertiser_id = 2; - */ - advertiserId: bigint; - - /** - * @generated from field: int64 creative_id = 3; - */ - creativeId: bigint; - - /** - * @generated from field: int64 flight_id = 4; - */ - flightId: bigint; - - /** - * @generated from field: int64 campaign_id = 5; - */ - campaignId: bigint; - - /** - * @generated from field: int64 priority_id = 6; - */ - priorityId: bigint; - - /** - * @generated from field: string click_url = 7; - */ - clickUrl: string; - - /** - * @generated from field: repeated kevel.advertisement.v1.Content contents = 8; - */ - contents: Content[]; - - /** - * @generated from field: string impression_url = 9; - */ - impressionUrl: string; - - /** - * @generated from field: repeated kevel.advertisement.v1.Event events = 10; - */ - events: Event[]; - - /** - * @generated from field: repeated kevel.advertisement.v1.MatchedPoint matched_points = 11; - */ - matchedPoints: MatchedPoint[]; - - /** - * @generated from field: kevel.advertisement.v1.PricingData pricing = 12; - */ - pricing?: PricingData; -}; - -/** - * Describes the message kevel.advertisement.v1.Decision. - * Use `create(DecisionSchema)` to create a new message. - */ -export declare const DecisionSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.Event - */ -export declare type Event = Message<"kevel.advertisement.v1.Event"> & { - /** - * @generated from field: int32 id = 1; - */ - id: number; - - /** - * @generated from field: string url = 2; - */ - url: string; -}; - -/** - * Describes the message kevel.advertisement.v1.Event. - * Use `create(EventSchema)` to create a new message. - */ -export declare const EventSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.Data - */ -export declare type Data = Message<"kevel.advertisement.v1.Data"> & { - /** - * @generated from field: int32 height = 1; - */ - height: number; - - /** - * @generated from field: int32 width = 2; - */ - width: number; - - /** - * @generated from field: string image_url = 3; - */ - imageUrl: string; - - /** - * @generated from field: string file_name = 4; - */ - fileName: string; -}; - -/** - * Describes the message kevel.advertisement.v1.Data. - * Use `create(DataSchema)` to create a new message. - */ -export declare const DataSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.Content - */ -export declare type Content = Message<"kevel.advertisement.v1.Content"> & { - /** - * @generated from field: string type = 1; - */ - type: string; - - /** - * @generated from field: string template = 2; - */ - template: string; - - /** - * @generated from field: string custom_template = 3; - */ - customTemplate: string; - - /** - * @generated from field: kevel.advertisement.v1.Data data = 4; - */ - data?: Data; - - /** - * @generated from field: string body = 5; - */ - body: string; -}; - -/** - * Describes the message kevel.advertisement.v1.Content. - * Use `create(ContentSchema)` to create a new message. - */ -export declare const ContentSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.PricingData - */ -export declare type PricingData = Message<"kevel.advertisement.v1.PricingData"> & { - /** - * @generated from field: float price = 1; - */ - price: number; - - /** - * @generated from field: float clear_price = 2; - */ - clearPrice: number; - - /** - * @generated from field: float revenue = 3; - */ - revenue: number; - - /** - * @generated from field: int64 rate_type = 4; - */ - rateType: bigint; - - /** - * @generated from field: float e_cpm = 5; - */ - eCpm: number; -}; - -/** - * Describes the message kevel.advertisement.v1.PricingData. - * Use `create(PricingDataSchema)` to create a new message. - */ -export declare const PricingDataSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.Decisions - */ -export declare type Decisions = Message<"kevel.advertisement.v1.Decisions"> & { -}; - -/** - * Describes the message kevel.advertisement.v1.Decisions. - * Use `create(DecisionsSchema)` to create a new message. - */ -export declare const DecisionsSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.Explain - */ -export declare type Explain = Message<"kevel.advertisement.v1.Explain"> & { -}; - -/** - * Describes the message kevel.advertisement.v1.Explain. - * Use `create(ExplainSchema)` to create a new message. - */ -export declare const ExplainSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.GetDecisionsResponse - */ -export declare type GetDecisionsResponse = Message<"kevel.advertisement.v1.GetDecisionsResponse"> & { - /** - * The response context - * - * @generated from field: platform.spec.v2.SpecResponseContext spec_context = 1; - */ - specContext?: SpecResponseContext; - - /** - * @generated from field: kevel.advertisement.v1.User user = 2; - */ - user?: User; - - /** - * repeated Decision decisions = 3; - * - * @generated from field: kevel.advertisement.v1.Decision decision = 3; - */ - decision?: Decision; - - /** - * @generated from field: kevel.advertisement.v1.Explain explain = 4; - */ - explain?: Explain; -}; - -/** - * Describes the message kevel.advertisement.v1.GetDecisionsResponse. - * Use `create(GetDecisionsResponseSchema)` to create a new message. - */ -export declare const GetDecisionsResponseSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.ConsentRequest - */ -export declare type ConsentRequest = Message<"kevel.advertisement.v1.ConsentRequest"> & { - /** - * @generated from field: string user_key = 1; - */ - userKey: string; - - /** - * @generated from field: kevel.advertisement.v1.Consent consent = 2; - */ - consent?: Consent; -}; - -/** - * Describes the message kevel.advertisement.v1.ConsentRequest. - * Use `create(ConsentRequestSchema)` to create a new message. - */ -export declare const ConsentRequestSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.MatchedPoint - */ -export declare type MatchedPoint = Message<"kevel.advertisement.v1.MatchedPoint"> & { - /** - * @generated from field: string lat = 1; - */ - lat: string; - - /** - * @generated from field: string lon = 2; - */ - lon: string; -}; - -/** - * Describes the message kevel.advertisement.v1.MatchedPoint. - * Use `create(MatchedPointSchema)` to create a new message. - */ -export declare const MatchedPointSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.GeoDistanceSkipFilter - */ -export declare type GeoDistanceSkipFilter = Message<"kevel.advertisement.v1.GeoDistanceSkipFilter"> & { - /** - * @generated from field: bool value = 1; - */ - value: boolean; -}; - -/** - * Describes the message kevel.advertisement.v1.GeoDistanceSkipFilter. - * Use `create(GeoDistanceSkipFilterSchema)` to create a new message. - */ -export declare const GeoDistanceSkipFilterSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.GeoLocationSkipFilter - */ -export declare type GeoLocationSkipFilter = Message<"kevel.advertisement.v1.GeoLocationSkipFilter"> & { - /** - * @generated from field: bool value = 1; - */ - value: boolean; -}; - -/** - * Describes the message kevel.advertisement.v1.GeoLocationSkipFilter. - * Use `create(GeoLocationSkipFilterSchema)` to create a new message. - */ -export declare const GeoLocationSkipFilterSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.SkipFilters - */ -export declare type SkipFilters = Message<"kevel.advertisement.v1.SkipFilters"> & { - /** - * @generated from field: kevel.advertisement.v1.GeoDistanceSkipFilter distance = 1; - */ - distance?: GeoDistanceSkipFilter; - - /** - * @generated from field: bool facet = 2; - */ - facet: boolean; - - /** - * @generated from field: kevel.advertisement.v1.GeoDistanceSkipFilter geodistance = 3; - */ - geodistance?: GeoDistanceSkipFilter; - - /** - * @generated from field: kevel.advertisement.v1.GeoLocationSkipFilter geolocation = 4; - */ - geolocation?: GeoLocationSkipFilter; - - /** - * @generated from field: bool keyword = 5; - */ - keyword: boolean; - - /** - * @generated from field: kevel.advertisement.v1.GeoLocationSkipFilter location = 6; - */ - location?: GeoLocationSkipFilter; - - /** - * @generated from field: bool placement_limit = 7; - */ - placementLimit: boolean; - - /** - * @generated from field: bool site_zone = 8; - */ - siteZone: boolean; -}; - -/** - * Describes the message kevel.advertisement.v1.SkipFilters. - * Use `create(SkipFiltersSchema)` to create a new message. - */ -export declare const SkipFiltersSchema: GenMessage; - -/** - * GetDecisionsParameters holds parameters to GetDecisions - * - * @generated from message kevel.advertisement.v1.GetDecisionsRequest - */ -export declare type GetDecisionsRequest = Message<"kevel.advertisement.v1.GetDecisionsRequest"> & { - /** - * @generated from field: kevel.advertisement.v1.DecisionRequest decision_request = 1; - */ - decisionRequest?: DecisionRequest; -}; - -/** - * Describes the message kevel.advertisement.v1.GetDecisionsRequest. - * Use `create(GetDecisionsRequestSchema)` to create a new message. - */ -export declare const GetDecisionsRequestSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.AddCustomPropertiesRequestBody - */ -export declare type AddCustomPropertiesRequestBody = Message<"kevel.advertisement.v1.AddCustomPropertiesRequestBody"> & { -}; - -/** - * Describes the message kevel.advertisement.v1.AddCustomPropertiesRequestBody. - * Use `create(AddCustomPropertiesRequestBodySchema)` to create a new message. - */ -export declare const AddCustomPropertiesRequestBodySchema: GenMessage; - -/** - * AddCustomPropertiesParameters holds parameters to AddCustomProperties - * - * @generated from message kevel.advertisement.v1.AddCustomPropertiesRequest - */ -export declare type AddCustomPropertiesRequest = Message<"kevel.advertisement.v1.AddCustomPropertiesRequest"> & { - /** - * @generated from field: int32 network_id = 1; - */ - networkId: number; - - /** - * @generated from field: string user_key = 2; - */ - userKey: string; - - /** - * @generated from field: kevel.advertisement.v1.AddCustomPropertiesRequestBody add_custom_properties_request_body = 3; - */ - addCustomPropertiesRequestBody?: AddCustomPropertiesRequestBody; -}; - -/** - * Describes the message kevel.advertisement.v1.AddCustomPropertiesRequest. - * Use `create(AddCustomPropertiesRequestSchema)` to create a new message. - */ -export declare const AddCustomPropertiesRequestSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.AddCustomPropertiesResponse - */ -export declare type AddCustomPropertiesResponse = Message<"kevel.advertisement.v1.AddCustomPropertiesResponse"> & { - /** - * @generated from field: platform.spec.v2.SpecResponseContext spec_context = 1; - */ - specContext?: SpecResponseContext; -}; - -/** - * Describes the message kevel.advertisement.v1.AddCustomPropertiesResponse. - * Use `create(AddCustomPropertiesResponseSchema)` to create a new message. - */ -export declare const AddCustomPropertiesResponseSchema: GenMessage; - -/** - * AddInterestsParameters holds parameters to AddInterests - * - * @generated from message kevel.advertisement.v1.AddInterestsRequest - */ -export declare type AddInterestsRequest = Message<"kevel.advertisement.v1.AddInterestsRequest"> & { - /** - * @generated from field: int32 network_id = 1; - */ - networkId: number; - - /** - * @generated from field: string user_key = 2; - */ - userKey: string; - - /** - * @generated from field: string interest = 3; - */ - interest: string; -}; - -/** - * Describes the message kevel.advertisement.v1.AddInterestsRequest. - * Use `create(AddInterestsRequestSchema)` to create a new message. - */ -export declare const AddInterestsRequestSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.AddInterestsResponse - */ -export declare type AddInterestsResponse = Message<"kevel.advertisement.v1.AddInterestsResponse"> & { - /** - * @generated from field: platform.spec.v2.SpecResponseContext spec_context = 1; - */ - specContext?: SpecResponseContext; -}; - -/** - * Describes the message kevel.advertisement.v1.AddInterestsResponse. - * Use `create(AddInterestsResponseSchema)` to create a new message. - */ -export declare const AddInterestsResponseSchema: GenMessage; - -/** - * AddRetargetingSegmentParameters holds parameters to AddRetargetingSegment - * - * @generated from message kevel.advertisement.v1.AddRetargetingSegmentRequest - */ -export declare type AddRetargetingSegmentRequest = Message<"kevel.advertisement.v1.AddRetargetingSegmentRequest"> & { - /** - * @generated from field: int32 network_id = 1; - */ - networkId: number; - - /** - * @generated from field: int32 advertiser_id = 2; - */ - advertiserId: number; - - /** - * @generated from field: int32 retargeting_segment_id = 3; - */ - retargetingSegmentId: number; - - /** - * @generated from field: string user_key = 4; - */ - userKey: string; -}; - -/** - * Describes the message kevel.advertisement.v1.AddRetargetingSegmentRequest. - * Use `create(AddRetargetingSegmentRequestSchema)` to create a new message. - */ -export declare const AddRetargetingSegmentRequestSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.AddRetargetingSegmentResponse - */ -export declare type AddRetargetingSegmentResponse = Message<"kevel.advertisement.v1.AddRetargetingSegmentResponse"> & { - /** - * @generated from field: platform.spec.v2.SpecResponseContext spec_context = 1; - */ - specContext?: SpecResponseContext; -}; - -/** - * Describes the message kevel.advertisement.v1.AddRetargetingSegmentResponse. - * Use `create(AddRetargetingSegmentResponseSchema)` to create a new message. - */ -export declare const AddRetargetingSegmentResponseSchema: GenMessage; - -/** - * OptOutParameters holds parameters to OptOut - * - * @generated from message kevel.advertisement.v1.OptOutRequest - */ -export declare type OptOutRequest = Message<"kevel.advertisement.v1.OptOutRequest"> & { - /** - * @generated from field: int32 network_id = 1; - */ - networkId: number; - - /** - * @generated from field: string user_key = 2; - */ - userKey: string; -}; - -/** - * Describes the message kevel.advertisement.v1.OptOutRequest. - * Use `create(OptOutRequestSchema)` to create a new message. - */ -export declare const OptOutRequestSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.OptOutResponse - */ -export declare type OptOutResponse = Message<"kevel.advertisement.v1.OptOutResponse"> & { -}; - -/** - * Describes the message kevel.advertisement.v1.OptOutResponse. - * Use `create(OptOutResponseSchema)` to create a new message. - */ -export declare const OptOutResponseSchema: GenMessage; - -/** - * ReadParameters holds parameters to Read - * - * @generated from message kevel.advertisement.v1.ReadRequest - */ -export declare type ReadRequest = Message<"kevel.advertisement.v1.ReadRequest"> & { - /** - * @generated from field: int32 network_id = 1; - */ - networkId: number; - - /** - * @generated from field: string user_key = 2; - */ - userKey: string; -}; - -/** - * Describes the message kevel.advertisement.v1.ReadRequest. - * Use `create(ReadRequestSchema)` to create a new message. - */ -export declare const ReadRequestSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.ReadResponse - */ -export declare type ReadResponse = Message<"kevel.advertisement.v1.ReadResponse"> & { - /** - * @generated from field: platform.spec.v2.SpecResponseContext spec_context = 1; - */ - specContext?: SpecResponseContext; -}; - -/** - * Describes the message kevel.advertisement.v1.ReadResponse. - * Use `create(ReadResponseSchema)` to create a new message. - */ -export declare const ReadResponseSchema: GenMessage; - -/** - * IpOverrideParameters holds parameters to IpOverride - * - * @generated from message kevel.advertisement.v1.IpOverrideRequest - */ -export declare type IpOverrideRequest = Message<"kevel.advertisement.v1.IpOverrideRequest"> & { - /** - * @generated from field: int32 network_id = 1; - */ - networkId: number; - - /** - * @generated from field: string user_key = 2; - */ - userKey: string; - - /** - * @generated from field: string ip = 3; - */ - ip: string; -}; - -/** - * Describes the message kevel.advertisement.v1.IpOverrideRequest. - * Use `create(IpOverrideRequestSchema)` to create a new message. - */ -export declare const IpOverrideRequestSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.IpOverrideResponse - */ -export declare type IpOverrideResponse = Message<"kevel.advertisement.v1.IpOverrideResponse"> & { - /** - * @generated from field: platform.spec.v2.SpecResponseContext spec_context = 1; - */ - specContext?: SpecResponseContext; -}; - -/** - * Describes the message kevel.advertisement.v1.IpOverrideResponse. - * Use `create(IpOverrideResponseSchema)` to create a new message. - */ -export declare const IpOverrideResponseSchema: GenMessage; - -/** - * ForgetParameters holds parameters to Forget - * - * @generated from message kevel.advertisement.v1.ForgetRequest - */ -export declare type ForgetRequest = Message<"kevel.advertisement.v1.ForgetRequest"> & { - /** - * @generated from field: int32 network_id = 1; - */ - networkId: number; - - /** - * @generated from field: string user_key = 2; - */ - userKey: string; -}; - -/** - * Describes the message kevel.advertisement.v1.ForgetRequest. - * Use `create(ForgetRequestSchema)` to create a new message. - */ -export declare const ForgetRequestSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.ForgetResponse - */ -export declare type ForgetResponse = Message<"kevel.advertisement.v1.ForgetResponse"> & { -}; - -/** - * Describes the message kevel.advertisement.v1.ForgetResponse. - * Use `create(ForgetResponseSchema)` to create a new message. - */ -export declare const ForgetResponseSchema: GenMessage; - -/** - * GdprConsentParameters holds parameters to GdprConsent - * - * @generated from message kevel.advertisement.v1.GdprConsentRequest - */ -export declare type GdprConsentRequest = Message<"kevel.advertisement.v1.GdprConsentRequest"> & { - /** - * @generated from field: int32 network_id = 1; - */ - networkId: number; - - /** - * @generated from field: kevel.advertisement.v1.ConsentRequest consent_request = 2; - */ - consentRequest?: ConsentRequest; -}; - -/** - * Describes the message kevel.advertisement.v1.GdprConsentRequest. - * Use `create(GdprConsentRequestSchema)` to create a new message. - */ -export declare const GdprConsentRequestSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.GdprConsentResponse - */ -export declare type GdprConsentResponse = Message<"kevel.advertisement.v1.GdprConsentResponse"> & { - /** - * @generated from field: platform.spec.v2.SpecResponseContext spec_context = 1; - */ - specContext?: SpecResponseContext; -}; - -/** - * Describes the message kevel.advertisement.v1.GdprConsentResponse. - * Use `create(GdprConsentResponseSchema)` to create a new message. - */ -export declare const GdprConsentResponseSchema: GenMessage; - -/** - * MatchUserParameters holds parameters to MatchUser - * - * @generated from message kevel.advertisement.v1.MatchUserRequest - */ -export declare type MatchUserRequest = Message<"kevel.advertisement.v1.MatchUserRequest"> & { - /** - * @generated from field: int32 network_id = 1; - */ - networkId: number; - - /** - * @generated from field: string user_key = 2; - */ - userKey: string; - - /** - * @generated from field: int32 partner_id = 3; - */ - partnerId: number; - - /** - * @generated from field: int32 user_id = 4; - */ - userId: number; -}; - -/** - * Describes the message kevel.advertisement.v1.MatchUserRequest. - * Use `create(MatchUserRequestSchema)` to create a new message. - */ -export declare const MatchUserRequestSchema: GenMessage; - -/** - * @generated from message kevel.advertisement.v1.MatchUserResponse - */ -export declare type MatchUserResponse = Message<"kevel.advertisement.v1.MatchUserResponse"> & { - /** - * @generated from field: platform.spec.v2.SpecResponseContext spec_context = 1; - */ - specContext?: SpecResponseContext; -}; - -/** - * Describes the message kevel.advertisement.v1.MatchUserResponse. - * Use `create(MatchUserResponseSchema)` to create a new message. - */ -export declare const MatchUserResponseSchema: GenMessage; - -/** - * @generated from enum kevel.advertisement.v1.DecisionCommands - */ -export enum DecisionCommands { - /** - * @generated from enum value: DECISION_COMMANDS_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: DECISION_COMMANDS_OPT_OUT = 1; - */ - OPT_OUT = 1, -} - -/** - * Describes the enum kevel.advertisement.v1.DecisionCommands. - */ -export declare const DecisionCommandsSchema: GenEnum; - -/** - * @generated from enum kevel.advertisement.v1.DecisionEvents - */ -export enum DecisionEvents { - /** - * @generated from enum value: DECISION_EVENTS_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: DECISION_EVENTS_OPTED_OUT = 1; - */ - OPTED_OUT = 1, -} - -/** - * Describes the enum kevel.advertisement.v1.DecisionEvents. - */ -export declare const DecisionEventsSchema: GenEnum; - -/** - * @generated from service kevel.advertisement.v1.DecisionService - */ -export declare const DecisionService: GenService<{ - /** - * @generated from rpc kevel.advertisement.v1.DecisionService.GetDecisions - */ - getDecisions: { - methodKind: "unary"; - input: typeof GetDecisionsRequestSchema; - output: typeof GetDecisionsResponseSchema; - }, - /** - * @generated from rpc kevel.advertisement.v1.DecisionService.AddCustomProperties - */ - addCustomProperties: { - methodKind: "unary"; - input: typeof AddCustomPropertiesRequestSchema; - output: typeof AddCustomPropertiesResponseSchema; - }, - /** - * @generated from rpc kevel.advertisement.v1.DecisionService.AddInterests - */ - addInterests: { - methodKind: "unary"; - input: typeof AddInterestsRequestSchema; - output: typeof AddInterestsResponseSchema; - }, - /** - * @generated from rpc kevel.advertisement.v1.DecisionService.AddRetargetingSegment - */ - addRetargetingSegment: { - methodKind: "unary"; - input: typeof AddRetargetingSegmentRequestSchema; - output: typeof AddRetargetingSegmentResponseSchema; - }, - /** - * @generated from rpc kevel.advertisement.v1.DecisionService.OptOut - */ - optOut: { - methodKind: "unary"; - input: typeof OptOutRequestSchema; - output: typeof OptOutResponseSchema; - }, - /** - * @generated from rpc kevel.advertisement.v1.DecisionService.Read - */ - read: { - methodKind: "unary"; - input: typeof ReadRequestSchema; - output: typeof ReadResponseSchema; - }, - /** - * @generated from rpc kevel.advertisement.v1.DecisionService.IpOverride - */ - ipOverride: { - methodKind: "unary"; - input: typeof IpOverrideRequestSchema; - output: typeof IpOverrideResponseSchema; - }, - /** - * @generated from rpc kevel.advertisement.v1.DecisionService.Forget - */ - forget: { - methodKind: "unary"; - input: typeof ForgetRequestSchema; - output: typeof ForgetResponseSchema; - }, - /** - * @generated from rpc kevel.advertisement.v1.DecisionService.GdprConsent - */ - gdprConsent: { - methodKind: "unary"; - input: typeof GdprConsentRequestSchema; - output: typeof GdprConsentResponseSchema; - }, - /** - * @generated from rpc kevel.advertisement.v1.DecisionService.MatchUser - */ - matchUser: { - methodKind: "unary"; - input: typeof MatchUserRequestSchema; - output: typeof MatchUserResponseSchema; - }, -}>; - diff --git a/libs/partner/typescript/protobuf/src/gen/kevel/advertisement/v1/decision_pb.js b/libs/partner/typescript/protobuf/src/gen/kevel/advertisement/v1/decision_pb.js deleted file mode 100644 index 5f67c614..00000000 --- a/libs/partner/typescript/protobuf/src/gen/kevel/advertisement/v1/decision_pb.js +++ /dev/null @@ -1,333 +0,0 @@ -// @generated by protoc-gen-es v2.2.3 -// @generated from file kevel/advertisement/v1/decision.proto (package kevel.advertisement.v1, syntax proto3) -/* eslint-disable */ - -import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv1"; -import { file_google_api_annotations } from "../../../google/api/annotations_pb"; -import { file_platform_options_v2_annotations } from "../../../platform/options/v2/annotations_pb"; -import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt"; -import { file_platform_spec_v2_spec } from "../../../platform/spec/v2/spec_pb"; - -/** - * Describes the file kevel/advertisement/v1/decision.proto. - */ -export const file_kevel_advertisement_v1_decision = /*@__PURE__*/ - fileDesc("CiVrZXZlbC9hZHZlcnRpc2VtZW50L3YxL2RlY2lzaW9uLnByb3RvEhZrZXZlbC5hZHZlcnRpc2VtZW50LnYxIgkKB0NvbnNlbnQihAQKD0RlY2lzaW9uUmVxdWVzdBI1CgpwbGFjZW1lbnRzGAEgAygLMiEua2V2ZWwuYWR2ZXJ0aXNlbWVudC52MS5QbGFjZW1lbnQSKgoEdXNlchgCIAEoCzIcLmtldmVsLmFkdmVydGlzZW1lbnQudjEuVXNlchIQCghrZXl3b3JkcxgDIAMoCRILCgN1cmwYBCABKAkSEAoIcmVmZXJyZXIYBSABKAkSCgoCaXAYBiABKAkSGQoRYmxvY2tlZF9jcmVhdGl2ZXMYByADKAMSEQoJaXNfbW9iaWxlGAggASgIEhwKFGluY2x1ZGVfcHJpY2luZ19kYXRhGAkgASgIEg8KB25vdHJhY2sYCiABKAgSHAoUZW5hYmxlX2JvdF9maWx0ZXJpbmcYCyABKAgSGAoQZW5hYmxlX3VzZXJfZGJpcBgMIAEoCBIwCgdjb25zZW50GA0gASgLMh8ua2V2ZWwuYWR2ZXJ0aXNlbWVudC52MS5Db25zZW50EhEKCWRldmljZV9pZBgOIAEoCRIQCghwYXJhbGxlbBgPIAEoCBIZChFpbnRlbmRlZF9sYXRpdHVkZRgQIAEoAhIaChJpbnRlbmRlZF9sb25naXR1ZGUYESABKAISDgoGcmFkaXVzGBIgASgCEh4KFmluY2x1ZGVfbWF0Y2hlZF9wb2ludHMYEyABKAgiDAoKUHJvcGVydGllcyILCglPdmVycmlkZXMiqAEKC0NvbnRlbnRLZXlzElwKFW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ve25ldHdvcmtfaWR9L2NvbnNlbnQSlgEKCU1hdGNoVXNlchIoLmtldmVsLmFkdmVydGlzZW1lbnQudjEuTWF0Y2hVc2VyUmVxdWVzdBopLmtldmVsLmFkdmVydGlzZW1lbnQudjEuTWF0Y2hVc2VyUmVzcG9uc2UiNKK2GAYIAhABGAKqthgCCAqC0+STAh4SHC91ZGIve25ldHdvcmtfaWR9L3N5bmMvaS5naWZCrwFaaWdpdGh1Yi5jb20vb3BlbmVjb3N5c3RlbXMvZWNvc3lzdGVtL2xpYnMvcGFydG5lci9nby9wcm90b2J1Zi9nZW4va2V2ZWwvYWR2ZXJ0aXNlbWVudC92MTthZHZlcnRpc2VtZW50djFwYoLEEwIIAoK1GAYIAhABGAKKtRgeCghkZWNpc2lvbhIJZGVjaXNpb25zIgNqYW4oAjgBkrUYBAoCAwaatRgCCAGitRgAYgZwcm90bzM", [file_google_api_annotations, file_platform_options_v2_annotations, file_google_protobuf_descriptor, file_platform_spec_v2_spec]); - -/** - * Describes the message kevel.advertisement.v1.Consent. - * Use `create(ConsentSchema)` to create a new message. - */ -export const ConsentSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 0); - -/** - * Describes the message kevel.advertisement.v1.DecisionRequest. - * Use `create(DecisionRequestSchema)` to create a new message. - */ -export const DecisionRequestSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 1); - -/** - * Describes the message kevel.advertisement.v1.Properties. - * Use `create(PropertiesSchema)` to create a new message. - */ -export const PropertiesSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 2); - -/** - * Describes the message kevel.advertisement.v1.Overrides. - * Use `create(OverridesSchema)` to create a new message. - */ -export const OverridesSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 3); - -/** - * Describes the message kevel.advertisement.v1.ContentKeys. - * Use `create(ContentKeysSchema)` to create a new message. - */ -export const ContentKeysSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 4); - -/** - * Describes the message kevel.advertisement.v1.AdQuery. - * Use `create(AdQuerySchema)` to create a new message. - */ -export const AdQuerySchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 5); - -/** - * Describes the message kevel.advertisement.v1.Placement. - * Use `create(PlacementSchema)` to create a new message. - */ -export const PlacementSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 6); - -/** - * Describes the message kevel.advertisement.v1.User. - * Use `create(UserSchema)` to create a new message. - */ -export const UserSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 7); - -/** - * Describes the message kevel.advertisement.v1.Decision. - * Use `create(DecisionSchema)` to create a new message. - */ -export const DecisionSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 8); - -/** - * Describes the message kevel.advertisement.v1.Event. - * Use `create(EventSchema)` to create a new message. - */ -export const EventSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 9); - -/** - * Describes the message kevel.advertisement.v1.Data. - * Use `create(DataSchema)` to create a new message. - */ -export const DataSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 10); - -/** - * Describes the message kevel.advertisement.v1.Content. - * Use `create(ContentSchema)` to create a new message. - */ -export const ContentSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 11); - -/** - * Describes the message kevel.advertisement.v1.PricingData. - * Use `create(PricingDataSchema)` to create a new message. - */ -export const PricingDataSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 12); - -/** - * Describes the message kevel.advertisement.v1.Decisions. - * Use `create(DecisionsSchema)` to create a new message. - */ -export const DecisionsSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 13); - -/** - * Describes the message kevel.advertisement.v1.Explain. - * Use `create(ExplainSchema)` to create a new message. - */ -export const ExplainSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 14); - -/** - * Describes the message kevel.advertisement.v1.GetDecisionsResponse. - * Use `create(GetDecisionsResponseSchema)` to create a new message. - */ -export const GetDecisionsResponseSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 15); - -/** - * Describes the message kevel.advertisement.v1.ConsentRequest. - * Use `create(ConsentRequestSchema)` to create a new message. - */ -export const ConsentRequestSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 16); - -/** - * Describes the message kevel.advertisement.v1.MatchedPoint. - * Use `create(MatchedPointSchema)` to create a new message. - */ -export const MatchedPointSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 17); - -/** - * Describes the message kevel.advertisement.v1.GeoDistanceSkipFilter. - * Use `create(GeoDistanceSkipFilterSchema)` to create a new message. - */ -export const GeoDistanceSkipFilterSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 18); - -/** - * Describes the message kevel.advertisement.v1.GeoLocationSkipFilter. - * Use `create(GeoLocationSkipFilterSchema)` to create a new message. - */ -export const GeoLocationSkipFilterSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 19); - -/** - * Describes the message kevel.advertisement.v1.SkipFilters. - * Use `create(SkipFiltersSchema)` to create a new message. - */ -export const SkipFiltersSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 20); - -/** - * Describes the message kevel.advertisement.v1.GetDecisionsRequest. - * Use `create(GetDecisionsRequestSchema)` to create a new message. - */ -export const GetDecisionsRequestSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 21); - -/** - * Describes the message kevel.advertisement.v1.AddCustomPropertiesRequestBody. - * Use `create(AddCustomPropertiesRequestBodySchema)` to create a new message. - */ -export const AddCustomPropertiesRequestBodySchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 22); - -/** - * Describes the message kevel.advertisement.v1.AddCustomPropertiesRequest. - * Use `create(AddCustomPropertiesRequestSchema)` to create a new message. - */ -export const AddCustomPropertiesRequestSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 23); - -/** - * Describes the message kevel.advertisement.v1.AddCustomPropertiesResponse. - * Use `create(AddCustomPropertiesResponseSchema)` to create a new message. - */ -export const AddCustomPropertiesResponseSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 24); - -/** - * Describes the message kevel.advertisement.v1.AddInterestsRequest. - * Use `create(AddInterestsRequestSchema)` to create a new message. - */ -export const AddInterestsRequestSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 25); - -/** - * Describes the message kevel.advertisement.v1.AddInterestsResponse. - * Use `create(AddInterestsResponseSchema)` to create a new message. - */ -export const AddInterestsResponseSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 26); - -/** - * Describes the message kevel.advertisement.v1.AddRetargetingSegmentRequest. - * Use `create(AddRetargetingSegmentRequestSchema)` to create a new message. - */ -export const AddRetargetingSegmentRequestSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 27); - -/** - * Describes the message kevel.advertisement.v1.AddRetargetingSegmentResponse. - * Use `create(AddRetargetingSegmentResponseSchema)` to create a new message. - */ -export const AddRetargetingSegmentResponseSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 28); - -/** - * Describes the message kevel.advertisement.v1.OptOutRequest. - * Use `create(OptOutRequestSchema)` to create a new message. - */ -export const OptOutRequestSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 29); - -/** - * Describes the message kevel.advertisement.v1.OptOutResponse. - * Use `create(OptOutResponseSchema)` to create a new message. - */ -export const OptOutResponseSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 30); - -/** - * Describes the message kevel.advertisement.v1.ReadRequest. - * Use `create(ReadRequestSchema)` to create a new message. - */ -export const ReadRequestSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 31); - -/** - * Describes the message kevel.advertisement.v1.ReadResponse. - * Use `create(ReadResponseSchema)` to create a new message. - */ -export const ReadResponseSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 32); - -/** - * Describes the message kevel.advertisement.v1.IpOverrideRequest. - * Use `create(IpOverrideRequestSchema)` to create a new message. - */ -export const IpOverrideRequestSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 33); - -/** - * Describes the message kevel.advertisement.v1.IpOverrideResponse. - * Use `create(IpOverrideResponseSchema)` to create a new message. - */ -export const IpOverrideResponseSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 34); - -/** - * Describes the message kevel.advertisement.v1.ForgetRequest. - * Use `create(ForgetRequestSchema)` to create a new message. - */ -export const ForgetRequestSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 35); - -/** - * Describes the message kevel.advertisement.v1.ForgetResponse. - * Use `create(ForgetResponseSchema)` to create a new message. - */ -export const ForgetResponseSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 36); - -/** - * Describes the message kevel.advertisement.v1.GdprConsentRequest. - * Use `create(GdprConsentRequestSchema)` to create a new message. - */ -export const GdprConsentRequestSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 37); - -/** - * Describes the message kevel.advertisement.v1.GdprConsentResponse. - * Use `create(GdprConsentResponseSchema)` to create a new message. - */ -export const GdprConsentResponseSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 38); - -/** - * Describes the message kevel.advertisement.v1.MatchUserRequest. - * Use `create(MatchUserRequestSchema)` to create a new message. - */ -export const MatchUserRequestSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 39); - -/** - * Describes the message kevel.advertisement.v1.MatchUserResponse. - * Use `create(MatchUserResponseSchema)` to create a new message. - */ -export const MatchUserResponseSchema = /*@__PURE__*/ - messageDesc(file_kevel_advertisement_v1_decision, 40); - -/** - * Describes the enum kevel.advertisement.v1.DecisionCommands. - */ -export const DecisionCommandsSchema = /*@__PURE__*/ - enumDesc(file_kevel_advertisement_v1_decision, 0); - -/** - * @generated from enum kevel.advertisement.v1.DecisionCommands - */ -export const DecisionCommands = /*@__PURE__*/ - tsEnum(DecisionCommandsSchema); - -/** - * Describes the enum kevel.advertisement.v1.DecisionEvents. - */ -export const DecisionEventsSchema = /*@__PURE__*/ - enumDesc(file_kevel_advertisement_v1_decision, 1); - -/** - * @generated from enum kevel.advertisement.v1.DecisionEvents - */ -export const DecisionEvents = /*@__PURE__*/ - tsEnum(DecisionEventsSchema); - -/** - * @generated from service kevel.advertisement.v1.DecisionService - */ -export const DecisionService = /*@__PURE__*/ - serviceDesc(file_kevel_advertisement_v1_decision, 0); - diff --git a/libs/partner/typescript/protobuf/src/gen/platform/options/v2/annotations_pb.d.ts b/libs/partner/typescript/protobuf/src/gen/platform/options/v2/annotations_pb.d.ts deleted file mode 100644 index 205bde11..00000000 --- a/libs/partner/typescript/protobuf/src/gen/platform/options/v2/annotations_pb.d.ts +++ /dev/null @@ -1,1677 +0,0 @@ -// @generated by protoc-gen-es v2.2.3 -// @generated from file platform/options/v2/annotations.proto (package platform.options.v2, syntax proto3) -/* eslint-disable */ - -import type { GenEnum, GenExtension, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; -import type { Message } from "@bufbuild/protobuf"; -import type { EnumOptions, EnumValueOptions, FieldOptions, FileOptions, MessageOptions, MethodOptions, ServiceOptions } from "@bufbuild/protobuf/wkt"; - -/** - * Describes the file platform/options/v2/annotations.proto. - */ -export declare const file_platform_options_v2_annotations: GenFile; - -/** - * =========================================== - * google.protobuf.FileOptions - * =========================================== - * - * @generated from message platform.options.v2.NetworkOptions - */ -export declare type NetworkOptions = Message<"platform.options.v2.NetworkOptions"> & { - /** - * @generated from field: platform.options.v2.NetworkType type = 1; - */ - type: NetworkType; -}; - -/** - * Describes the message platform.options.v2.NetworkOptions. - * Use `create(NetworkOptionsSchema)` to create a new message. - */ -export declare const NetworkOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.ApiOptions - */ -export declare type ApiOptions = Message<"platform.options.v2.ApiOptions"> & { - /** - * @generated from field: platform.options.v2.ApiType type = 1; - */ - type: ApiType; - - /** - * @generated from field: platform.options.v2.ApiLifecycle cycle = 2; - */ - cycle: ApiLifecycle; - - /** - * @generated from field: platform.options.v2.ApiInterfaceType interface = 3; - */ - interface: ApiInterfaceType; - - /** - * @generated from field: platform.options.v2.NetworkType network = 4; - */ - network: NetworkType; - - /** - * @generated from field: string shortname = 5; - */ - shortname: string; -}; - -/** - * Describes the message platform.options.v2.ApiOptions. - * Use `create(ApiOptionsSchema)` to create a new message. - */ -export declare const ApiOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.EntityOptions - */ -export declare type EntityOptions = Message<"platform.options.v2.EntityOptions"> & { - /** - * @generated from field: string entity = 1; - */ - entity: string; - - /** - * @generated from field: string entity_plural = 2; - */ - entityPlural: string; - - /** - * @generated from field: platform.options.v2.EntityType type = 3; - */ - type: EntityType; - - /** - * @generated from field: string namespace = 4; - */ - namespace: string; - - /** - * @generated from field: platform.options.v2.EntityConsistency consistency = 5; - */ - consistency: EntityConsistency; - - /** - * @generated from field: platform.options.v2.EntityHierarchy hierarchy = 6; - */ - hierarchy: EntityHierarchy; - - /** - * @generated from field: bool versionable = 7; - */ - versionable: boolean; -}; - -/** - * Describes the message platform.options.v2.EntityOptions. - * Use `create(EntityOptionsSchema)` to create a new message. - */ -export declare const EntityOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.LanguageOptions - */ -export declare type LanguageOptions = Message<"platform.options.v2.LanguageOptions"> & { - /** - * @generated from field: repeated platform.options.v2.LanguageType languages = 1; - */ - languages: LanguageType[]; -}; - -/** - * Describes the message platform.options.v2.LanguageOptions. - * Use `create(LanguageOptionsSchema)` to create a new message. - */ -export declare const LanguageOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.GraphqlOptions - */ -export declare type GraphqlOptions = Message<"platform.options.v2.GraphqlOptions"> & { - /** - * @generated from field: bool enabled = 1; - */ - enabled: boolean; -}; - -/** - * Describes the message platform.options.v2.GraphqlOptions. - * Use `create(GraphqlOptionsSchema)` to create a new message. - */ -export declare const GraphqlOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.SpecServiceOptions - */ -export declare type SpecServiceOptions = Message<"platform.options.v2.SpecServiceOptions"> & { - /** - * @generated from field: int32 grpc_port = 1; - */ - grpcPort: number; - - /** - * @generated from field: int32 http_port = 2; - */ - httpPort: number; -}; - -/** - * Describes the message platform.options.v2.SpecServiceOptions. - * Use `create(SpecServiceOptionsSchema)` to create a new message. - */ -export declare const SpecServiceOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.RateLimitFilter - */ -export declare type RateLimitFilter = Message<"platform.options.v2.RateLimitFilter"> & { - /** - * @generated from field: bool enabled = 1; - */ - enabled: boolean; - - /** - * @generated from field: string metric = 2; - */ - metric: string; -}; - -/** - * Describes the message platform.options.v2.RateLimitFilter. - * Use `create(RateLimitFilterSchema)` to create a new message. - */ -export declare const RateLimitFilterSchema: GenMessage; - -/** - * @generated from message platform.options.v2.AuthorizationFilter - */ -export declare type AuthorizationFilter = Message<"platform.options.v2.AuthorizationFilter"> & { - /** - * @generated from field: bool enabled = 1; - */ - enabled: boolean; -}; - -/** - * Describes the message platform.options.v2.AuthorizationFilter. - * Use `create(AuthorizationFilterSchema)` to create a new message. - */ -export declare const AuthorizationFilterSchema: GenMessage; - -/** - * @generated from message platform.options.v2.ConsentFilter - */ -export declare type ConsentFilter = Message<"platform.options.v2.ConsentFilter"> & { - /** - * @generated from field: bool enabled = 1; - */ - enabled: boolean; -}; - -/** - * Describes the message platform.options.v2.ConsentFilter. - * Use `create(ConsentFilterSchema)` to create a new message. - */ -export declare const ConsentFilterSchema: GenMessage; - -/** - * @generated from message platform.options.v2.ProxyOptions - */ -export declare type ProxyOptions = Message<"platform.options.v2.ProxyOptions"> & { - /** - * @generated from field: platform.options.v2.AuthorizationFilter authorization = 1; - */ - authorization?: AuthorizationFilter; - - /** - * @generated from field: platform.options.v2.ConsentFilter consent = 2; - */ - consent?: ConsentFilter; - - /** - * @generated from field: platform.options.v2.RateLimitFilter rate_limit = 3; - */ - rateLimit?: RateLimitFilter; -}; - -/** - * Describes the message platform.options.v2.ProxyOptions. - * Use `create(ProxyOptionsSchema)` to create a new message. - */ -export declare const ProxyOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.ConnectorOptions - */ -export declare type ConnectorOptions = Message<"platform.options.v2.ConnectorOptions"> & { - /** - * @generated from field: platform.options.v2.ConnectorType type = 1; - */ - type: ConnectorType; -}; - -/** - * Describes the message platform.options.v2.ConnectorOptions. - * Use `create(ConnectorOptionsSchema)` to create a new message. - */ -export declare const ConnectorOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.CQRSOptions - */ -export declare type CQRSOptions = Message<"platform.options.v2.CQRSOptions"> & { - /** - * @generated from field: platform.options.v2.CQRSType type = 1; - */ - type: CQRSType; -}; - -/** - * Describes the message platform.options.v2.CQRSOptions. - * Use `create(CQRSOptionsSchema)` to create a new message. - */ -export declare const CQRSOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.RateLimitOptions - */ -export declare type RateLimitOptions = Message<"platform.options.v2.RateLimitOptions"> & { - /** - * @generated from field: bool limit = 1; - */ - limit: boolean; -}; - -/** - * Describes the message platform.options.v2.RateLimitOptions. - * Use `create(RateLimitOptionsSchema)` to create a new message. - */ -export declare const RateLimitOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.PermissionOptions - */ -export declare type PermissionOptions = Message<"platform.options.v2.PermissionOptions"> & { - /** - * @generated from field: string permission = 1; - */ - permission: string; - - /** - * @generated from field: repeated platform.options.v2.AuthRole roles = 2; - */ - roles: AuthRole[]; -}; - -/** - * Describes the message platform.options.v2.PermissionOptions. - * Use `create(PermissionOptionsSchema)` to create a new message. - */ -export declare const PermissionOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.GraphOptions - */ -export declare type GraphOptions = Message<"platform.options.v2.GraphOptions"> & { - /** - * @generated from field: platform.options.v2.GraphType type = 1; - */ - type: GraphType; -}; - -/** - * Describes the message platform.options.v2.GraphOptions. - * Use `create(GraphOptionsSchema)` to create a new message. - */ -export declare const GraphOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.EntityFieldOptions - */ -export declare type EntityFieldOptions = Message<"platform.options.v2.EntityFieldOptions"> & { - /** - * @generated from field: bool key = 1; - */ - key: boolean; - - /** - * @generated from field: repeated platform.options.v2.FieldBehavior behavior = 2; - */ - behavior: FieldBehavior[]; - - /** - * @generated from field: bool version_key = 3; - */ - versionKey: boolean; -}; - -/** - * Describes the message platform.options.v2.EntityFieldOptions. - * Use `create(EntityFieldOptionsSchema)` to create a new message. - */ -export declare const EntityFieldOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.SpecConfiguration - */ -export declare type SpecConfiguration = Message<"platform.options.v2.SpecConfiguration"> & { - /** - * The label key. - * - * @generated from field: string key = 1; - */ - key: string; - - /** - * The type of data that can be assigned to the label. - * - * @generated from field: platform.options.v2.SpecConfiguration.SpecConfigurationType type = 2; - */ - type: SpecConfiguration_SpecConfigurationType; - - /** - * A human-readable description for the label. - * - * @generated from field: string description = 3; - */ - description: string; - - /** - * Is this configuration overridable? - * - * @generated from field: bool overrideable = 4; - */ - overrideable: boolean; - - /** - * Allow for safe deprecation of configurations - * - * @generated from field: bool enabled = 5; - */ - enabled: boolean; -}; - -/** - * Describes the message platform.options.v2.SpecConfiguration. - * Use `create(SpecConfigurationSchema)` to create a new message. - */ -export declare const SpecConfigurationSchema: GenMessage; - -/** - * Value types that can be used as label values. - * - * @generated from enum platform.options.v2.SpecConfiguration.SpecConfigurationType - */ -export enum SpecConfiguration_SpecConfigurationType { - /** - * @generated from enum value: SPEC_CONFIGURATION_TYPE_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * A variable-length string. This is the default. - * - * @generated from enum value: SPEC_CONFIGURATION_TYPE_STRING = 1; - */ - STRING = 1, - - /** - * Boolean; true or false. - * - * @generated from enum value: SPEC_CONFIGURATION_TYPE_BOOL = 2; - */ - BOOL = 2, - - /** - * @generated from enum value: SPEC_CONFIGURATION_TYPE_INT = 3; - */ - INT = 3, - - /** - * @generated from enum value: SPEC_CONFIGURATION_TYPE_LIST = 4; - */ - LIST = 4, - - /** - * @generated from enum value: SPEC_CONFIGURATION_TYPE_MAP = 5; - */ - MAP = 5, -} - -/** - * Describes the enum platform.options.v2.SpecConfiguration.SpecConfigurationType. - */ -export declare const SpecConfiguration_SpecConfigurationTypeSchema: GenEnum; - -/** - * @generated from message platform.options.v2.ConfigurationOptions - */ -export declare type ConfigurationOptions = Message<"platform.options.v2.ConfigurationOptions"> & { - /** - * @generated from field: bool enabled = 1; - */ - enabled: boolean; - - /** - * @generated from field: int32 field_number = 2; - */ - fieldNumber: number; -}; - -/** - * Describes the message platform.options.v2.ConfigurationOptions. - * Use `create(ConfigurationOptionsSchema)` to create a new message. - */ -export declare const ConfigurationOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.ConfigurationFieldOptions - */ -export declare type ConfigurationFieldOptions = Message<"platform.options.v2.ConfigurationFieldOptions"> & { - /** - * @generated from field: platform.options.v2.SpecConfiguration configuration = 1; - */ - configuration?: SpecConfiguration; -}; - -/** - * Describes the message platform.options.v2.ConfigurationFieldOptions. - * Use `create(ConfigurationFieldOptionsSchema)` to create a new message. - */ -export declare const ConfigurationFieldOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.SyntheticOptions - */ -export declare type SyntheticOptions = Message<"platform.options.v2.SyntheticOptions"> & { - /** - * @generated from field: string dictionary_key = 1; - */ - dictionaryKey: string; - - /** - * @generated from field: platform.options.v2.SyntheticType type = 2; - */ - type: SyntheticType; -}; - -/** - * Describes the message platform.options.v2.SyntheticOptions. - * Use `create(SyntheticOptionsSchema)` to create a new message. - */ -export declare const SyntheticOptionsSchema: GenMessage; - -/** - * Data Classification - * - * @generated from message platform.options.v2.Classification - */ -export declare type Classification = Message<"platform.options.v2.Classification"> & { - /** - * Classification Type - * - * @generated from field: platform.options.v2.ClassificationType type = 1; - */ - type: ClassificationType; -}; - -/** - * Describes the message platform.options.v2.Classification. - * Use `create(ClassificationSchema)` to create a new message. - */ -export declare const ClassificationSchema: GenMessage; - -/** - * @generated from message platform.options.v2.SpecOptions - */ -export declare type SpecOptions = Message<"platform.options.v2.SpecOptions"> & { - /** - * @generated from field: platform.options.v2.SpecEnumType type = 1; - */ - type: SpecEnumType; -}; - -/** - * Describes the message platform.options.v2.SpecOptions. - * Use `create(SpecOptionsSchema)` to create a new message. - */ -export declare const SpecOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.BillingOptions - */ -export declare type BillingOptions = Message<"platform.options.v2.BillingOptions"> & { - /** - * @generated from field: bool billable = 1; - */ - billable: boolean; - - /** - * @generated from field: bool partner_billable = 2; - */ - partnerBillable: boolean; - - /** - * @generated from field: bool metered = 3; - */ - metered: boolean; -}; - -/** - * Describes the message platform.options.v2.BillingOptions. - * Use `create(BillingOptionsSchema)` to create a new message. - */ -export declare const BillingOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.EventScopeOptions - */ -export declare type EventScopeOptions = Message<"platform.options.v2.EventScopeOptions"> & { - /** - * @generated from field: repeated platform.options.v2.EventScope scopes = 1; - */ - scopes: EventScope[]; -}; - -/** - * Describes the message platform.options.v2.EventScopeOptions. - * Use `create(EventScopeOptionsSchema)` to create a new message. - */ -export declare const EventScopeOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.EventOptions - */ -export declare type EventOptions = Message<"platform.options.v2.EventOptions"> & { - /** - * @generated from field: bool versionable = 1; - */ - versionable: boolean; -}; - -/** - * Describes the message platform.options.v2.EventOptions. - * Use `create(EventOptionsSchema)` to create a new message. - */ -export declare const EventOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.AuthRoleOptions - */ -export declare type AuthRoleOptions = Message<"platform.options.v2.AuthRoleOptions"> & { - /** - * @generated from field: platform.options.v2.AuthRoleType role_type = 1; - */ - roleType: AuthRoleType; -}; - -/** - * Describes the message platform.options.v2.AuthRoleOptions. - * Use `create(AuthRoleOptionsSchema)` to create a new message. - */ -export declare const AuthRoleOptionsSchema: GenMessage; - -/** - * @generated from message platform.options.v2.RoutineOptions - */ -export declare type RoutineOptions = Message<"platform.options.v2.RoutineOptions"> & { - /** - * @generated from field: string listener = 1; - */ - listener: string; -}; - -/** - * Describes the message platform.options.v2.RoutineOptions. - * Use `create(RoutineOptionsSchema)` to create a new message. - */ -export declare const RoutineOptionsSchema: GenMessage; - -/** - * @generated from enum platform.options.v2.NetworkType - */ -export enum NetworkType { - /** - * @generated from enum value: NETWORK_TYPE_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * Loopbacks, UNIX Sockets, direct-point-to-point fabric - * - * @generated from enum value: NETWORK_TYPE_UNDERLAY = 1; - */ - UNDERLAY = 1, - - /** - * HTTPS public internet, externally managed proxies or VPNs - * - * @generated from enum value: NETWORK_TYPE_INTERNET = 2; - */ - INTERNET = 2, - - /** - * Mesh Overlay network, internally managed proxy and/or VPN - * - * @generated from enum value: NETWORK_TYPE_OVERLAY = 3; - */ - OVERLAY = 3, -} - -/** - * Describes the enum platform.options.v2.NetworkType. - */ -export declare const NetworkTypeSchema: GenEnum; - -/** - * @generated from enum platform.options.v2.ApiType - */ -export enum ApiType { - /** - * @generated from enum value: API_TYPE_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: API_TYPE_PRIVATE = 1; - */ - PRIVATE = 1, - - /** - * @generated from enum value: API_TYPE_PARTNER = 2; - */ - PARTNER = 2, - - /** - * @generated from enum value: API_TYPE_PUBLIC = 3; - */ - PUBLIC = 3, - - /** - * @generated from enum value: API_TYPE_POC = 4; - */ - POC = 4, -} - -/** - * Describes the enum platform.options.v2.ApiType. - */ -export declare const ApiTypeSchema: GenEnum; - -/** - * @generated from enum platform.options.v2.ApiInterfaceType - */ -export enum ApiInterfaceType { - /** - * @generated from enum value: API_INTERFACE_TYPE_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: API_INTERFACE_TYPE_META = 1; - */ - META = 1, - - /** - * @generated from enum value: API_INTERFACE_TYPE_OPERATIONAL = 2; - */ - OPERATIONAL = 2, - - /** - * @generated from enum value: API_INTERFACE_TYPE_CONTRIBUTION = 3; - */ - CONTRIBUTION = 3, - - /** - * @generated from enum value: API_INTERFACE_TYPE_ANALYTICAL = 4; - */ - ANALYTICAL = 4, - - /** - * @generated from enum value: API_INTERFACE_TYPE_OBSERVABLE = 5; - */ - OBSERVABLE = 5, - - /** - * @generated from enum value: API_INTERFACE_TYPE_DISCOVERABLE = 6; - */ - DISCOVERABLE = 6, -} - -/** - * Describes the enum platform.options.v2.ApiInterfaceType. - */ -export declare const ApiInterfaceTypeSchema: GenEnum; - -/** - * @generated from enum platform.options.v2.ApiLifecycle - */ -export enum ApiLifecycle { - /** - * @generated from enum value: API_LIFECYCLE_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: API_LIFECYCLE_ALPHA = 1; - */ - ALPHA = 1, - - /** - * @generated from enum value: API_LIFECYCLE_BETA = 2; - */ - BETA = 2, - - /** - * @generated from enum value: API_LIFECYCLE_LIMITED_AVAILABILITY = 3; - */ - LIMITED_AVAILABILITY = 3, - - /** - * @generated from enum value: API_LIFECYCLE_GENERAL_AVAILABILITY = 4; - */ - GENERAL_AVAILABILITY = 4, - - /** - * @generated from enum value: API_LIFECYCLE_DEPRECATED = 5; - */ - DEPRECATED = 5, - - /** - * @generated from enum value: API_LIFECYCLE_RETIRED = 6; - */ - RETIRED = 6, -} - -/** - * Describes the enum platform.options.v2.ApiLifecycle. - */ -export declare const ApiLifecycleSchema: GenEnum; - -/** - * @generated from enum platform.options.v2.EntityType - */ -export enum EntityType { - /** - * @generated from enum value: ENTITY_TYPE_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: ENTITY_TYPE_AEROSPIKE = 1; - */ - AEROSPIKE = 1, - - /** - * @generated from enum value: ENTITY_TYPE_DGRAPH = 2; - */ - DGRAPH = 2, - - /** - * @generated from enum value: ENTITY_TYPE_MONGODB = 3; - */ - MONGODB = 3, - - /** - * @generated from enum value: ENTITY_TYPE_BIGQUERY = 4; - */ - BIGQUERY = 4, - - /** - * @generated from enum value: ENTITY_TYPE_REDIS = 5; - */ - REDIS = 5, - - /** - * @generated from enum value: ENTITY_TYPE_ROCKSDB = 6; - */ - ROCKSDB = 6, - - /** - * @generated from enum value: ENTITY_TYPE_COUCHBASE = 7; - */ - COUCHBASE = 7, -} - -/** - * Describes the enum platform.options.v2.EntityType. - */ -export declare const EntityTypeSchema: GenEnum; - -/** - * @generated from enum platform.options.v2.EntityConsistency - */ -export enum EntityConsistency { - /** - * @generated from enum value: ENTITY_CONSISTENCY_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: ENTITY_CONSISTENCY_STRONG = 1; - */ - STRONG = 1, - - /** - * @generated from enum value: ENTITY_CONSISTENCY_EVENTUAL = 2; - */ - EVENTUAL = 2, -} - -/** - * Describes the enum platform.options.v2.EntityConsistency. - */ -export declare const EntityConsistencySchema: GenEnum; - -/** - * @generated from enum platform.options.v2.EntityHierarchy - */ -export enum EntityHierarchy { - /** - * @generated from enum value: ENTITY_HIERARCHY_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: ENTITY_HIERARCHY_PLATFORM = 1; - */ - PLATFORM = 1, - - /** - * @generated from enum value: ENTITY_HIERARCHY_ORGANIZATION = 2; - */ - ORGANIZATION = 2, - - /** - * @generated from enum value: ENTITY_HIERARCHY_WORKSPACE = 3; - */ - WORKSPACE = 3, -} - -/** - * Describes the enum platform.options.v2.EntityHierarchy. - */ -export declare const EntityHierarchySchema: GenEnum; - -/** - * @generated from enum platform.options.v2.LanguageType - */ -export enum LanguageType { - /** - * @generated from enum value: LANGUAGE_TYPE_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: LANGUAGE_TYPE_CPLUSPLUS = 1; - */ - CPLUSPLUS = 1, - - /** - * @generated from enum value: LANGUAGE_TYPE_RUST = 2; - */ - RUST = 2, - - /** - * @generated from enum value: LANGUAGE_TYPE_GOLANG = 3; - */ - GOLANG = 3, - - /** - * @generated from enum value: LANGUAGE_TYPE_JAVA = 4; - */ - JAVA = 4, - - /** - * @generated from enum value: LANGUAGE_TYPE_PYTHON = 5; - */ - PYTHON = 5, - - /** - * @generated from enum value: LANGUAGE_TYPE_TYPESCRIPT = 6; - */ - TYPESCRIPT = 6, - - /** - * @generated from enum value: LANGUAGE_TYPE_CSHARP = 7; - */ - CSHARP = 7, - - /** - * @generated from enum value: LANGUAGE_TYPE_SWIFT = 8; - */ - SWIFT = 8, - - /** - * @generated from enum value: LANGUAGE_TYPE_ANDROID = 9; - */ - ANDROID = 9, - - /** - * @generated from enum value: LANGUAGE_TYPE_GRAPHQL = 10; - */ - GRAPHQL = 10, - - /** - * @generated from enum value: LANGUAGE_TYPE_LUA = 11; - */ - LUA = 11, -} - -/** - * Describes the enum platform.options.v2.LanguageType. - */ -export declare const LanguageTypeSchema: GenEnum; - -/** - * @generated from enum platform.options.v2.ConnectorType - */ -export enum ConnectorType { - /** - * @generated from enum value: CONNECTOR_TYPE_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: CONNECTOR_TYPE_REFERENCE = 1; - */ - REFERENCE = 1, -} - -/** - * Describes the enum platform.options.v2.ConnectorType. - */ -export declare const ConnectorTypeSchema: GenEnum; - -/** - * @generated from enum platform.options.v2.AuthRoleType - */ -export enum AuthRoleType { - /** - * @generated from enum value: AUTH_ROLE_TYPE_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: AUTH_ROLE_TYPE_PLATFORM = 1; - */ - PLATFORM = 1, - - /** - * @generated from enum value: AUTH_ROLE_TYPE_ORGANIZATION = 2; - */ - ORGANIZATION = 2, - - /** - * @generated from enum value: AUTH_ROLE_TYPE_WORKSPACE = 3; - */ - WORKSPACE = 3, - - /** - * @generated from enum value: AUTH_ROLE_TYPE_CONNECTED_TEST = 4; - */ - CONNECTED_TEST = 4, -} - -/** - * Describes the enum platform.options.v2.AuthRoleType. - */ -export declare const AuthRoleTypeSchema: GenEnum; - -/** - * @generated from enum platform.options.v2.CQRSType - */ -export enum CQRSType { - /** - * @generated from enum value: CQRS_TYPE_UNSPECIFIED = 0; - */ - CQRS_TYPE_UNSPECIFIED = 0, - - /** - * @generated from enum value: CQRS_TYPE_NONE = 1; - */ - CQRS_TYPE_NONE = 1, - - /** - * @generated from enum value: CQRS_TYPE_MUTATION_CREATE = 2; - */ - CQRS_TYPE_MUTATION_CREATE = 2, - - /** - * @generated from enum value: CQRS_TYPE_MUTATION_UPDATE = 3; - */ - CQRS_TYPE_MUTATION_UPDATE = 3, - - /** - * @generated from enum value: CQRS_TYPE_MUTATION_DELETE = 4; - */ - CQRS_TYPE_MUTATION_DELETE = 4, - - /** - * @generated from enum value: CQRS_TYPE_MUTATION_CLIENT_STREAM = 5; - */ - CQRS_TYPE_MUTATION_CLIENT_STREAM = 5, - - /** - * @generated from enum value: CQRS_TYPE_MUTATION_SERVER_STREAM = 6; - */ - CQRS_TYPE_MUTATION_SERVER_STREAM = 6, - - /** - * @generated from enum value: CQRS_TYPE_MUTATION_BIDI_STREAM = 7; - */ - CQRS_TYPE_MUTATION_BIDI_STREAM = 7, - - /** - * @generated from enum value: CQRS_TYPE_QUERY_LIST = 8; - */ - CQRS_TYPE_QUERY_LIST = 8, - - /** - * @generated from enum value: CQRS_TYPE_QUERY_STREAM = 9; - */ - CQRS_TYPE_QUERY_STREAM = 9, - - /** - * @generated from enum value: CQRS_TYPE_QUERY_GET = 10; - */ - CQRS_TYPE_QUERY_GET = 10, - - /** - * @generated from enum value: CQRS_TYPE_QUERY_EVENT_STREAM = 11; - */ - CQRS_TYPE_QUERY_EVENT_STREAM = 11, - - /** - * @generated from enum value: CQRS_TYPE_QUERY_CLIENT_STREAM = 12; - */ - CQRS_TYPE_QUERY_CLIENT_STREAM = 12, - - /** - * @generated from enum value: CQRS_TYPE_QUERY_SERVER_STREAM = 13; - */ - CQRS_TYPE_QUERY_SERVER_STREAM = 13, - - /** - * @generated from enum value: CQRS_TYPE_QUERY_BIDI_STREAM = 14; - */ - CQRS_TYPE_QUERY_BIDI_STREAM = 14, - - /** - * @generated from enum value: CQRS_TYPE_QUERY_EXISTS = 15; - */ - CQRS_TYPE_QUERY_EXISTS = 15, -} - -/** - * Describes the enum platform.options.v2.CQRSType. - */ -export declare const CQRSTypeSchema: GenEnum; - -/** - * @generated from enum platform.options.v2.AuthRole - */ -export enum AuthRole { - /** - * @generated from enum value: AUTH_ROLE_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: AUTH_ROLE_PLATFORM_SUPER_ADMIN = 100; - */ - PLATFORM_SUPER_ADMIN = 100, - - /** - * @generated from enum value: AUTH_ROLE_PLATFORM_CLINICAL_ADMIN = 101; - */ - PLATFORM_CLINICAL_ADMIN = 101, - - /** - * @generated from enum value: AUTH_ROLE_PLATFORM_BILLING_ADMIN = 102; - */ - PLATFORM_BILLING_ADMIN = 102, - - /** - * @generated from enum value: AUTH_ROLE_PLATFORM_ADMIN = 103; - */ - PLATFORM_ADMIN = 103, - - /** - * @generated from enum value: AUTH_ROLE_PLATFORM_MANAGER = 104; - */ - PLATFORM_MANAGER = 104, - - /** - * @generated from enum value: AUTH_ROLE_PLATFORM_USER = 105; - */ - PLATFORM_USER = 105, - - /** - * @generated from enum value: AUTH_ROLE_PLATFORM_VIEWER = 106; - */ - PLATFORM_VIEWER = 106, - - /** - * @generated from enum value: AUTH_ROLE_ORGANIZATION_SUPER_ADMIN = 200; - */ - ORGANIZATION_SUPER_ADMIN = 200, - - /** - * @generated from enum value: AUTH_ROLE_ORGANIZATION_CLINICAL_ADMIN = 201; - */ - ORGANIZATION_CLINICAL_ADMIN = 201, - - /** - * @generated from enum value: AUTH_ROLE_ORGANIZATION_BILLING_ADMIN = 202; - */ - ORGANIZATION_BILLING_ADMIN = 202, - - /** - * @generated from enum value: AUTH_ROLE_ORGANIZATION_ADMIN = 203; - */ - ORGANIZATION_ADMIN = 203, - - /** - * @generated from enum value: AUTH_ROLE_ORGANIZATION_MANAGER = 204; - */ - ORGANIZATION_MANAGER = 204, - - /** - * @generated from enum value: AUTH_ROLE_ORGANIZATION_USER = 205; - */ - ORGANIZATION_USER = 205, - - /** - * @generated from enum value: AUTH_ROLE_ORGANIZATION_VIEWER = 206; - */ - ORGANIZATION_VIEWER = 206, - - /** - * @generated from enum value: AUTH_ROLE_WORKSPACE_SUPER_ADMIN = 300; - */ - WORKSPACE_SUPER_ADMIN = 300, - - /** - * @generated from enum value: AUTH_ROLE_WORKSPACE_CLINICAL_ADMIN = 301; - */ - WORKSPACE_CLINICAL_ADMIN = 301, - - /** - * @generated from enum value: AUTH_ROLE_WORKSPACE_BILLING_ADMIN = 302; - */ - WORKSPACE_BILLING_ADMIN = 302, - - /** - * @generated from enum value: AUTH_ROLE_WORKSPACE_ADMIN = 303; - */ - WORKSPACE_ADMIN = 303, - - /** - * @generated from enum value: AUTH_ROLE_WORKSPACE_MANAGER = 304; - */ - WORKSPACE_MANAGER = 304, - - /** - * @generated from enum value: AUTH_ROLE_WORKSPACE_USER = 305; - */ - WORKSPACE_USER = 305, - - /** - * @generated from enum value: AUTH_ROLE_WORKSPACE_VIEWER = 306; - */ - WORKSPACE_VIEWER = 306, - - /** - * @generated from enum value: AUTH_ROLE_CONNECTED_TEST_PATIENT = 15; - */ - CONNECTED_TEST_PATIENT = 15, - - /** - * @generated from enum value: AUTH_ROLE_CONNECTED_TEST_PROVIDER = 16; - */ - CONNECTED_TEST_PROVIDER = 16, - - /** - * Such as power of attorney - * - * @generated from enum value: AUTH_ROLE_CONNECTED_TEST_PROXY = 17; - */ - CONNECTED_TEST_PROXY = 17, - - /** - * @generated from enum value: AUTH_ROLE_CONNECTED_TEST_VIEWER = 18; - */ - CONNECTED_TEST_VIEWER = 18, -} - -/** - * Describes the enum platform.options.v2.AuthRole. - */ -export declare const AuthRoleSchema: GenEnum; - -/** - * @generated from enum platform.options.v2.GraphType - */ -export enum GraphType { - /** - * @generated from enum value: GRAPH_TYPE_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: GRAPH_TYPE_INPUT = 1; - */ - INPUT = 1, - - /** - * @generated from enum value: GRAPH_TYPE_OUTPUT = 2; - */ - OUTPUT = 2, -} - -/** - * Describes the enum platform.options.v2.GraphType. - */ -export declare const GraphTypeSchema: GenEnum; - -/** - * An indicator of the behavior of a given field (for example, that a field - * is required in requests, or given as output but ignored as input). - * This **does not** change the behavior in protocol buffers itself; it only - * denotes the behavior and may affect how API tooling handles the field. - * - * @generated from enum platform.options.v2.FieldBehavior - */ -export enum FieldBehavior { - /** - * Conventional default for enums. Do not use this. - * - * @generated from enum value: FIELD_BEHAVIOR_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * Specifically denotes a field as optional. - * While all fields in protocol buffers are optional, this may be specified - * for emphasis if appropriate. - * - * @generated from enum value: FIELD_BEHAVIOR_OPTIONAL = 1; - */ - OPTIONAL = 1, - - /** - * Denotes a field as required. - * This indicates that the field **must** be provided as part of the request, - * and failure to do so will cause an error (usually `INVALID_ARGUMENT`). - * - * @generated from enum value: FIELD_BEHAVIOR_REQUIRED = 2; - */ - REQUIRED = 2, - - /** - * Denotes a field as output only. - * This indicates that the field is provided in responses, but including the - * field in a request does nothing (the server *must* ignore it and - * *must not* throw an error as a result of the field's presence). - * - * @generated from enum value: FIELD_BEHAVIOR_OUTPUT_ONLY = 3; - */ - OUTPUT_ONLY = 3, - - /** - * Denotes a field as input only. - * This indicates that the field is provided in requests, and the - * corresponding field is not included in output. - * - * @generated from enum value: FIELD_BEHAVIOR_INPUT_ONLY = 4; - */ - INPUT_ONLY = 4, - - /** - * Denotes a field as immutable. - * This indicates that the field may be set once in a request to create a - * resource, but may not be changed thereafter. - * - * @generated from enum value: FIELD_BEHAVIOR_IMMUTABLE = 5; - */ - IMMUTABLE = 5, - - /** - * Denotes that a (repeated) field is an unordered list. - * This indicates that the service may provide the elements of the list - * in any arbitrary order, rather than the order the user originally - * provided. Additionally, the list's order may or may not be stable. - * - * @generated from enum value: FIELD_BEHAVIOR_UNORDERED_LIST = 6; - */ - UNORDERED_LIST = 6, - - /** - * Denotes that this field returns a non-empty default value if not set. - * This indicates that if the user provides the empty value in a request, - * a non-empty value will be returned. The user will not be aware of what - * non-empty value to expect. - * - * @generated from enum value: FIELD_BEHAVIOR_NON_EMPTY_DEFAULT = 7; - */ - NON_EMPTY_DEFAULT = 7, -} - -/** - * Describes the enum platform.options.v2.FieldBehavior. - */ -export declare const FieldBehaviorSchema: GenEnum; - -/** - * @generated from enum platform.options.v2.SyntheticType - */ -export enum SyntheticType { - /** - * @generated from enum value: SYNTHETIC_TYPE_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * faker.fakeValuesService().resolve("company.name", this, faker); - * - * @generated from enum value: SYNTHETIC_TYPE_DIRECT_FROM_DICTIONARY = 1; - */ - DIRECT_FROM_DICTIONARY = 1, - - /** - * List> buzzwordLists = (List>) faker.fakeValuesService().fetchObject("company.buzzwords"); - * List buzzwords = new ArrayList(); - * for (List buzzwordList : buzzwordLists) { - * buzzwords.addAll(buzzwordList); - * } - * return buzzwords.get(faker.random().nextInt(buzzwords.size())); - * - * @generated from enum value: SYNTHETIC_TYPE_SELECT_RANDOM_FROM_LIST = 2; - */ - SELECT_RANDOM_FROM_LIST = 2, - - /** - * List> catchPhraseLists = (List>) faker.fakeValuesService().fetchObject("company.buzzwords"); - * return joinSampleOfEachList(catchPhraseLists, " "); - * - * @generated from enum value: SYNTHETIC_TYPE_LIST_FROM_LIST = 3; - */ - LIST_FROM_LIST = 3, - - /** - * int number = faker.random().nextInt(13) + 1; - * return "https://pigment.github.io/fake-logos/logos/medium/color/" + number + ".png"; - * - * @generated from enum value: SYNTHETIC_TYPE_GENERATED_LOGO = 6; - */ - GENERATED_LOGO = 6, -} - -/** - * Describes the enum platform.options.v2.SyntheticType. - */ -export declare const SyntheticTypeSchema: GenEnum; - -/** - * Supported workspace type - * - * @generated from enum platform.options.v2.ClassificationType - */ -export enum ClassificationType { - /** - * @generated from enum value: CLASSIFICATION_TYPE_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: CLASSIFICATION_TYPE_DERIVATIVE_DATA = 1; - */ - DERIVATIVE_DATA = 1, - - /** - * @generated from enum value: CLASSIFICATION_TYPE_DE_IDENTIFIED = 2; - */ - DE_IDENTIFIED = 2, - - /** - * @generated from enum value: CLASSIFICATION_TYPE_PUBLIC = 3; - */ - PUBLIC = 3, - - /** - * @generated from enum value: CLASSIFICATION_TYPE_INTERNAL_USE = 4; - */ - INTERNAL_USE = 4, - - /** - * @generated from enum value: CLASSIFICATION_TYPE_CONFIDENTIAL = 5; - */ - CONFIDENTIAL = 5, - - /** - * @generated from enum value: CLASSIFICATION_TYPE_RESTRICTED = 6; - */ - RESTRICTED = 6, - - /** - * @generated from enum value: CLASSIFICATION_TYPE_HIGHLY_RESTRICTED = 7; - */ - HIGHLY_RESTRICTED = 7, -} - -/** - * Describes the enum platform.options.v2.ClassificationType. - */ -export declare const ClassificationTypeSchema: GenEnum; - -/** - * @generated from enum platform.options.v2.SpecEnumType - */ -export enum SpecEnumType { - /** - * @generated from enum value: SPEC_ENUM_TYPE_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: SPEC_ENUM_TYPE_NONE = 1; - */ - NONE = 1, - - /** - * @generated from enum value: SPEC_ENUM_TYPE_TOPICS = 2; - */ - TOPICS = 2, - - /** - * @generated from enum value: SPEC_ENUM_TYPE_COMMANDS = 3; - */ - COMMANDS = 3, - - /** - * @generated from enum value: SPEC_ENUM_TYPE_EVENTS = 4; - */ - EVENTS = 4, - - /** - * @generated from enum value: SPEC_ENUM_TYPE_ROUTINE_LISTENERS = 5; - */ - ROUTINE_LISTENERS = 5, -} - -/** - * Describes the enum platform.options.v2.SpecEnumType. - */ -export declare const SpecEnumTypeSchema: GenEnum; - -/** - * @generated from enum platform.options.v2.EventScope - */ -export enum EventScope { - /** - * @generated from enum value: EVENT_SCOPE_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: EVENT_SCOPE_USER = 1; - */ - USER = 1, - - /** - * @generated from enum value: EVENT_SCOPE_WORKSPACE = 2; - */ - WORKSPACE = 2, - - /** - * @generated from enum value: EVENT_SCOPE_ORGANIZATION = 3; - */ - ORGANIZATION = 3, -} - -/** - * Describes the enum platform.options.v2.EventScope. - */ -export declare const EventScopeSchema: GenEnum; - -/** - * @generated from extension: platform.options.v2.NetworkOptions network_file = 40000; - */ -export declare const network_file: GenExtension; - -/** - * @generated from extension: platform.options.v2.ApiOptions api_file = 50000; - */ -export declare const api_file: GenExtension; - -/** - * @generated from extension: platform.options.v2.EntityOptions entity = 50001; - */ -export declare const entity: GenExtension; - -/** - * @generated from extension: platform.options.v2.LanguageOptions language = 50002; - */ -export declare const language: GenExtension; - -/** - * @generated from extension: platform.options.v2.GraphqlOptions graphql = 50003; - */ -export declare const graphql: GenExtension; - -/** - * @generated from extension: platform.options.v2.ConfigurationOptions configuration = 50004; - */ -export declare const configuration: GenExtension; - -/** - * @generated from extension: bool has_multiple_implementations = 50005; - */ -export declare const has_multiple_implementations: GenExtension; - -/** - * @generated from extension: platform.options.v2.ApiOptions api_service = 50010; - */ -export declare const api_service: GenExtension; - -/** - * @generated from extension: platform.options.v2.SpecServiceOptions service = 50011; - */ -export declare const service: GenExtension; - -/** - * @generated from extension: platform.options.v2.ProxyOptions proxy = 50012; - */ -export declare const proxy: GenExtension; - -/** - * @generated from extension: platform.options.v2.ConnectorOptions connector = 50013; - */ -export declare const connector: GenExtension; - -/** - * @generated from extension: platform.options.v2.ApiOptions api_method = 50020; - */ -export declare const api_method: GenExtension; - -/** - * @generated from extension: platform.options.v2.CQRSOptions cqrs = 50021; - */ -export declare const cqrs: GenExtension; - -/** - * @generated from extension: platform.options.v2.PermissionOptions permission = 50022; - */ -export declare const permission: GenExtension; - -/** - * @generated from extension: platform.options.v2.RateLimitOptions rate = 50023; - */ -export declare const rate: GenExtension; - -/** - * @generated from extension: platform.options.v2.ApiOptions api_message = 50030; - */ -export declare const api_message: GenExtension; - -/** - * @generated from extension: platform.options.v2.GraphOptions graph = 50031; - */ -export declare const graph: GenExtension; - -/** - * @generated from extension: platform.options.v2.RoutineOptions routine = 50032; - */ -export declare const routine: GenExtension; - -/** - * @generated from extension: platform.options.v2.ApiOptions api_field = 50040; - */ -export declare const api_field: GenExtension; - -/** - * @generated from extension: platform.options.v2.EntityFieldOptions entity_field = 50041; - */ -export declare const entity_field: GenExtension; - -/** - * @generated from extension: platform.options.v2.ConfigurationFieldOptions configuration_field = 50042; - */ -export declare const configuration_field: GenExtension; - -/** - * @generated from extension: platform.options.v2.SyntheticOptions synthetic = 50043; - */ -export declare const synthetic: GenExtension; - -/** - * @generated from extension: platform.options.v2.SpecOptions spec = 50050; - */ -export declare const spec: GenExtension; - -/** - * @generated from extension: platform.options.v2.BillingOptions billing = 50060; - */ -export declare const billing: GenExtension; - -/** - * @generated from extension: platform.options.v2.EventScopeOptions event_scope = 50061; - */ -export declare const event_scope: GenExtension; - -/** - * @generated from extension: platform.options.v2.AuthRoleOptions auth_role = 50062; - */ -export declare const auth_role: GenExtension; - -/** - * @generated from extension: platform.options.v2.EventOptions event = 50063; - */ -export declare const event: GenExtension; - diff --git a/libs/partner/typescript/protobuf/src/gen/platform/options/v2/annotations_pb.js b/libs/partner/typescript/protobuf/src/gen/platform/options/v2/annotations_pb.js deleted file mode 100644 index dc56f961..00000000 --- a/libs/partner/typescript/protobuf/src/gen/platform/options/v2/annotations_pb.js +++ /dev/null @@ -1,601 +0,0 @@ -// @generated by protoc-gen-es v2.2.3 -// @generated from file platform/options/v2/annotations.proto (package platform.options.v2, syntax proto3) -/* eslint-disable */ - -import { enumDesc, extDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv1"; -import { file_google_protobuf_descriptor } from "@bufbuild/protobuf/wkt"; - -/** - * Describes the file platform/options/v2/annotations.proto. - */ -export const file_platform_options_v2_annotations = /*@__PURE__*/ - fileDesc("CiVwbGF0Zm9ybS9vcHRpb25zL3YyL2Fubm90YXRpb25zLnByb3RvEhNwbGF0Zm9ybS5vcHRpb25zLnYyIkAKDk5ldHdvcmtPcHRpb25zEi4KBHR5cGUYASABKA4yIC5wbGF0Zm9ybS5vcHRpb25zLnYyLk5ldHdvcmtUeXBlIuoBCgpBcGlPcHRpb25zEioKBHR5cGUYASABKA4yHC5wbGF0Zm9ybS5vcHRpb25zLnYyLkFwaVR5cGUSMAoFY3ljbGUYAiABKA4yIS5wbGF0Zm9ybS5vcHRpb25zLnYyLkFwaUxpZmVjeWNsZRI4CglpbnRlcmZhY2UYAyABKA4yJS5wbGF0Zm9ybS5vcHRpb25zLnYyLkFwaUludGVyZmFjZVR5cGUSMQoHbmV0d29yaxgEIAEoDjIgLnBsYXRmb3JtLm9wdGlvbnMudjIuTmV0d29ya1R5cGUSEQoJc2hvcnRuYW1lGAUgASgJIoMCCg1FbnRpdHlPcHRpb25zEg4KBmVudGl0eRgBIAEoCRIVCg1lbnRpdHlfcGx1cmFsGAIgASgJEi0KBHR5cGUYAyABKA4yHy5wbGF0Zm9ybS5vcHRpb25zLnYyLkVudGl0eVR5cGUSEQoJbmFtZXNwYWNlGAQgASgJEjsKC2NvbnNpc3RlbmN5GAUgASgOMiYucGxhdGZvcm0ub3B0aW9ucy52Mi5FbnRpdHlDb25zaXN0ZW5jeRI3CgloaWVyYXJjaHkYBiABKA4yJC5wbGF0Zm9ybS5vcHRpb25zLnYy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nbGUucHJvdG9idWYuRmllbGRPcHRpb25zGPuGAyABKAsyJS5wbGF0Zm9ybS5vcHRpb25zLnYyLlN5bnRoZXRpY09wdGlvbnNSCXN5bnRoZXRpYzpUCgRzcGVjEhwuZ29vZ2xlLnByb3RvYnVmLkVudW1PcHRpb25zGIKHAyABKAsyIC5wbGF0Zm9ybS5vcHRpb25zLnYyLlNwZWNPcHRpb25zUgRzcGVjOmIKB2JpbGxpbmcSIS5nb29nbGUucHJvdG9idWYuRW51bVZhbHVlT3B0aW9ucxiMhwMgASgLMiMucGxhdGZvcm0ub3B0aW9ucy52Mi5CaWxsaW5nT3B0aW9uc1IHYmlsbGluZzpsCgtldmVudF9zY29wZRIhLmdvb2dsZS5wcm90b2J1Zi5FbnVtVmFsdWVPcHRpb25zGI2HAyABKAsyJi5wbGF0Zm9ybS5vcHRpb25zLnYyLkV2ZW50U2NvcGVPcHRpb25zUgpldmVudFNjb3BlOmYKCWF1dGhfcm9sZRIhLmdvb2dsZS5wcm90b2J1Zi5FbnVtVmFsdWVPcHRpb25zGI6HAyABKAsyJC5wbGF0Zm9ybS5vcHRpb25zLnYyLkF1dGhSb2xlT3B0aW9uc1IIYXV0aFJvbGU6XAoFZXZlbnQSIS5nb29nbGUucHJvdG9idWYuRW51bVZhbHVlT3B0aW9ucxiPhwMgASgLMiEucGxhdGZvcm0ub3B0aW9ucy52Mi5FdmVudE9wdGlvbnNSBWV2ZW50QmJaYGdpdGh1Yi5jb20vb3BlbmVjb3N5c3RlbXMvZWNvc3lzdGVtL2xpYnMvcHJvdG9idWYvZ28vcHJvdG9idWYvZ2VuL3BsYXRmb3JtL29wdGlvbnMvdjI7b3B0aW9udjJwYmIGcHJvdG8z", [file_google_protobuf_descriptor]); - -/** - * Describes the message platform.options.v2.NetworkOptions. - * Use `create(NetworkOptionsSchema)` to create a new message. - */ -export const NetworkOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 0); - -/** - * Describes the message platform.options.v2.ApiOptions. - * Use `create(ApiOptionsSchema)` to create a new message. - */ -export const ApiOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 1); - -/** - * Describes the message platform.options.v2.EntityOptions. - * Use `create(EntityOptionsSchema)` to create a new message. - */ -export const EntityOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 2); - -/** - * Describes the message platform.options.v2.LanguageOptions. - * Use `create(LanguageOptionsSchema)` to create a new message. - */ -export const LanguageOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 3); - -/** - * Describes the message platform.options.v2.GraphqlOptions. - * Use `create(GraphqlOptionsSchema)` to create a new message. - */ -export const GraphqlOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 4); - -/** - * Describes the message platform.options.v2.SpecServiceOptions. - * Use `create(SpecServiceOptionsSchema)` to create a new message. - */ -export const SpecServiceOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 5); - -/** - * Describes the message platform.options.v2.RateLimitFilter. - * Use `create(RateLimitFilterSchema)` to create a new message. - */ -export const RateLimitFilterSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 6); - -/** - * Describes the message platform.options.v2.AuthorizationFilter. - * Use `create(AuthorizationFilterSchema)` to create a new message. - */ -export const AuthorizationFilterSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 7); - -/** - * Describes the message platform.options.v2.ConsentFilter. - * Use `create(ConsentFilterSchema)` to create a new message. - */ -export const ConsentFilterSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 8); - -/** - * Describes the message platform.options.v2.ProxyOptions. - * Use `create(ProxyOptionsSchema)` to create a new message. - */ -export const ProxyOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 9); - -/** - * Describes the message platform.options.v2.ConnectorOptions. - * Use `create(ConnectorOptionsSchema)` to create a new message. - */ -export const ConnectorOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 10); - -/** - * Describes the message platform.options.v2.CQRSOptions. - * Use `create(CQRSOptionsSchema)` to create a new message. - */ -export const CQRSOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 11); - -/** - * Describes the message platform.options.v2.RateLimitOptions. - * Use `create(RateLimitOptionsSchema)` to create a new message. - */ -export const RateLimitOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 12); - -/** - * Describes the message platform.options.v2.PermissionOptions. - * Use `create(PermissionOptionsSchema)` to create a new message. - */ -export const PermissionOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 13); - -/** - * Describes the message platform.options.v2.GraphOptions. - * Use `create(GraphOptionsSchema)` to create a new message. - */ -export const GraphOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 14); - -/** - * Describes the message platform.options.v2.EntityFieldOptions. - * Use `create(EntityFieldOptionsSchema)` to create a new message. - */ -export const EntityFieldOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 15); - -/** - * Describes the message platform.options.v2.SpecConfiguration. - * Use `create(SpecConfigurationSchema)` to create a new message. - */ -export const SpecConfigurationSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 16); - -/** - * Describes the enum platform.options.v2.SpecConfiguration.SpecConfigurationType. - */ -export const SpecConfiguration_SpecConfigurationTypeSchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 16, 0); - -/** - * Value types that can be used as label values. - * - * @generated from enum platform.options.v2.SpecConfiguration.SpecConfigurationType - */ -export const SpecConfiguration_SpecConfigurationType = /*@__PURE__*/ - tsEnum(SpecConfiguration_SpecConfigurationTypeSchema); - -/** - * Describes the message platform.options.v2.ConfigurationOptions. - * Use `create(ConfigurationOptionsSchema)` to create a new message. - */ -export const ConfigurationOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 17); - -/** - * Describes the message platform.options.v2.ConfigurationFieldOptions. - * Use `create(ConfigurationFieldOptionsSchema)` to create a new message. - */ -export const ConfigurationFieldOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 18); - -/** - * Describes the message platform.options.v2.SyntheticOptions. - * Use `create(SyntheticOptionsSchema)` to create a new message. - */ -export const SyntheticOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 19); - -/** - * Describes the message platform.options.v2.Classification. - * Use `create(ClassificationSchema)` to create a new message. - */ -export const ClassificationSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 20); - -/** - * Describes the message platform.options.v2.SpecOptions. - * Use `create(SpecOptionsSchema)` to create a new message. - */ -export const SpecOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 21); - -/** - * Describes the message platform.options.v2.BillingOptions. - * Use `create(BillingOptionsSchema)` to create a new message. - */ -export const BillingOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 22); - -/** - * Describes the message platform.options.v2.EventScopeOptions. - * Use `create(EventScopeOptionsSchema)` to create a new message. - */ -export const EventScopeOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 23); - -/** - * Describes the message platform.options.v2.EventOptions. - * Use `create(EventOptionsSchema)` to create a new message. - */ -export const EventOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 24); - -/** - * Describes the message platform.options.v2.AuthRoleOptions. - * Use `create(AuthRoleOptionsSchema)` to create a new message. - */ -export const AuthRoleOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 25); - -/** - * Describes the message platform.options.v2.RoutineOptions. - * Use `create(RoutineOptionsSchema)` to create a new message. - */ -export const RoutineOptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_options_v2_annotations, 26); - -/** - * Describes the enum platform.options.v2.NetworkType. - */ -export const NetworkTypeSchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 0); - -/** - * @generated from enum platform.options.v2.NetworkType - */ -export const NetworkType = /*@__PURE__*/ - tsEnum(NetworkTypeSchema); - -/** - * Describes the enum platform.options.v2.ApiType. - */ -export const ApiTypeSchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 1); - -/** - * @generated from enum platform.options.v2.ApiType - */ -export const ApiType = /*@__PURE__*/ - tsEnum(ApiTypeSchema); - -/** - * Describes the enum platform.options.v2.ApiInterfaceType. - */ -export const ApiInterfaceTypeSchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 2); - -/** - * @generated from enum platform.options.v2.ApiInterfaceType - */ -export const ApiInterfaceType = /*@__PURE__*/ - tsEnum(ApiInterfaceTypeSchema); - -/** - * Describes the enum platform.options.v2.ApiLifecycle. - */ -export const ApiLifecycleSchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 3); - -/** - * @generated from enum platform.options.v2.ApiLifecycle - */ -export const ApiLifecycle = /*@__PURE__*/ - tsEnum(ApiLifecycleSchema); - -/** - * Describes the enum platform.options.v2.EntityType. - */ -export const EntityTypeSchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 4); - -/** - * @generated from enum platform.options.v2.EntityType - */ -export const EntityType = /*@__PURE__*/ - tsEnum(EntityTypeSchema); - -/** - * Describes the enum platform.options.v2.EntityConsistency. - */ -export const EntityConsistencySchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 5); - -/** - * @generated from enum platform.options.v2.EntityConsistency - */ -export const EntityConsistency = /*@__PURE__*/ - tsEnum(EntityConsistencySchema); - -/** - * Describes the enum platform.options.v2.EntityHierarchy. - */ -export const EntityHierarchySchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 6); - -/** - * @generated from enum platform.options.v2.EntityHierarchy - */ -export const EntityHierarchy = /*@__PURE__*/ - tsEnum(EntityHierarchySchema); - -/** - * Describes the enum platform.options.v2.LanguageType. - */ -export const LanguageTypeSchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 7); - -/** - * @generated from enum platform.options.v2.LanguageType - */ -export const LanguageType = /*@__PURE__*/ - tsEnum(LanguageTypeSchema); - -/** - * Describes the enum platform.options.v2.ConnectorType. - */ -export const ConnectorTypeSchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 8); - -/** - * @generated from enum platform.options.v2.ConnectorType - */ -export const ConnectorType = /*@__PURE__*/ - tsEnum(ConnectorTypeSchema); - -/** - * Describes the enum platform.options.v2.AuthRoleType. - */ -export const AuthRoleTypeSchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 9); - -/** - * @generated from enum platform.options.v2.AuthRoleType - */ -export const AuthRoleType = /*@__PURE__*/ - tsEnum(AuthRoleTypeSchema); - -/** - * Describes the enum platform.options.v2.CQRSType. - */ -export const CQRSTypeSchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 10); - -/** - * @generated from enum platform.options.v2.CQRSType - */ -export const CQRSType = /*@__PURE__*/ - tsEnum(CQRSTypeSchema); - -/** - * Describes the enum platform.options.v2.AuthRole. - */ -export const AuthRoleSchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 11); - -/** - * @generated from enum platform.options.v2.AuthRole - */ -export const AuthRole = /*@__PURE__*/ - tsEnum(AuthRoleSchema); - -/** - * Describes the enum platform.options.v2.GraphType. - */ -export const GraphTypeSchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 12); - -/** - * @generated from enum platform.options.v2.GraphType - */ -export const GraphType = /*@__PURE__*/ - tsEnum(GraphTypeSchema); - -/** - * Describes the enum platform.options.v2.FieldBehavior. - */ -export const FieldBehaviorSchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 13); - -/** - * An indicator of the behavior of a given field (for example, that a field - * is required in requests, or given as output but ignored as input). - * This **does not** change the behavior in protocol buffers itself; it only - * denotes the behavior and may affect how API tooling handles the field. - * - * @generated from enum platform.options.v2.FieldBehavior - */ -export const FieldBehavior = /*@__PURE__*/ - tsEnum(FieldBehaviorSchema); - -/** - * Describes the enum platform.options.v2.SyntheticType. - */ -export const SyntheticTypeSchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 14); - -/** - * @generated from enum platform.options.v2.SyntheticType - */ -export const SyntheticType = /*@__PURE__*/ - tsEnum(SyntheticTypeSchema); - -/** - * Describes the enum platform.options.v2.ClassificationType. - */ -export const ClassificationTypeSchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 15); - -/** - * Supported workspace type - * - * @generated from enum platform.options.v2.ClassificationType - */ -export const ClassificationType = /*@__PURE__*/ - tsEnum(ClassificationTypeSchema); - -/** - * Describes the enum platform.options.v2.SpecEnumType. - */ -export const SpecEnumTypeSchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 16); - -/** - * @generated from enum platform.options.v2.SpecEnumType - */ -export const SpecEnumType = /*@__PURE__*/ - tsEnum(SpecEnumTypeSchema); - -/** - * Describes the enum platform.options.v2.EventScope. - */ -export const EventScopeSchema = /*@__PURE__*/ - enumDesc(file_platform_options_v2_annotations, 17); - -/** - * @generated from enum platform.options.v2.EventScope - */ -export const EventScope = /*@__PURE__*/ - tsEnum(EventScopeSchema); - -/** - * @generated from extension: platform.options.v2.NetworkOptions network_file = 40000; - */ -export const network_file = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 0); - -/** - * @generated from extension: platform.options.v2.ApiOptions api_file = 50000; - */ -export const api_file = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 1); - -/** - * @generated from extension: platform.options.v2.EntityOptions entity = 50001; - */ -export const entity = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 2); - -/** - * @generated from extension: platform.options.v2.LanguageOptions language = 50002; - */ -export const language = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 3); - -/** - * @generated from extension: platform.options.v2.GraphqlOptions graphql = 50003; - */ -export const graphql = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 4); - -/** - * @generated from extension: platform.options.v2.ConfigurationOptions configuration = 50004; - */ -export const configuration = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 5); - -/** - * @generated from extension: bool has_multiple_implementations = 50005; - */ -export const has_multiple_implementations = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 6); - -/** - * @generated from extension: platform.options.v2.ApiOptions api_service = 50010; - */ -export const api_service = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 7); - -/** - * @generated from extension: platform.options.v2.SpecServiceOptions service = 50011; - */ -export const service = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 8); - -/** - * @generated from extension: platform.options.v2.ProxyOptions proxy = 50012; - */ -export const proxy = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 9); - -/** - * @generated from extension: platform.options.v2.ConnectorOptions connector = 50013; - */ -export const connector = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 10); - -/** - * @generated from extension: platform.options.v2.ApiOptions api_method = 50020; - */ -export const api_method = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 11); - -/** - * @generated from extension: platform.options.v2.CQRSOptions cqrs = 50021; - */ -export const cqrs = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 12); - -/** - * @generated from extension: platform.options.v2.PermissionOptions permission = 50022; - */ -export const permission = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 13); - -/** - * @generated from extension: platform.options.v2.RateLimitOptions rate = 50023; - */ -export const rate = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 14); - -/** - * @generated from extension: platform.options.v2.ApiOptions api_message = 50030; - */ -export const api_message = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 15); - -/** - * @generated from extension: platform.options.v2.GraphOptions graph = 50031; - */ -export const graph = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 16); - -/** - * @generated from extension: platform.options.v2.RoutineOptions routine = 50032; - */ -export const routine = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 17); - -/** - * @generated from extension: platform.options.v2.ApiOptions api_field = 50040; - */ -export const api_field = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 18); - -/** - * @generated from extension: platform.options.v2.EntityFieldOptions entity_field = 50041; - */ -export const entity_field = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 19); - -/** - * @generated from extension: platform.options.v2.ConfigurationFieldOptions configuration_field = 50042; - */ -export const configuration_field = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 20); - -/** - * @generated from extension: platform.options.v2.SyntheticOptions synthetic = 50043; - */ -export const synthetic = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 21); - -/** - * @generated from extension: platform.options.v2.SpecOptions spec = 50050; - */ -export const spec = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 22); - -/** - * @generated from extension: platform.options.v2.BillingOptions billing = 50060; - */ -export const billing = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 23); - -/** - * @generated from extension: platform.options.v2.EventScopeOptions event_scope = 50061; - */ -export const event_scope = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 24); - -/** - * @generated from extension: platform.options.v2.AuthRoleOptions auth_role = 50062; - */ -export const auth_role = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 25); - -/** - * @generated from extension: platform.options.v2.EventOptions event = 50063; - */ -export const event = /*@__PURE__*/ - extDesc(file_platform_options_v2_annotations, 26); - diff --git a/libs/partner/typescript/protobuf/src/gen/platform/spec/v2/spec_pb.d.ts b/libs/partner/typescript/protobuf/src/gen/platform/spec/v2/spec_pb.d.ts deleted file mode 100644 index 09d295fd..00000000 --- a/libs/partner/typescript/protobuf/src/gen/platform/spec/v2/spec_pb.d.ts +++ /dev/null @@ -1,840 +0,0 @@ -// @generated by protoc-gen-es v2.2.3 -// @generated from file platform/spec/v2/spec.proto (package platform.spec.v2, syntax proto3) -/* eslint-disable */ - -import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; -import type { Message } from "@bufbuild/protobuf"; -import type { Jurisdiction } from "../../type/v2/jurisdiction_pb"; -import type { Any, FieldMask, Timestamp } from "@bufbuild/protobuf/wkt"; -import type { RequestValidation, ResponseValidation } from "../../type/v2/validation_pb"; -import type { ResponseMask } from "../../type/v2/mask_pb"; - -/** - * Describes the file platform/spec/v2/spec.proto. - */ -export declare const file_platform_spec_v2_spec: GenFile; - -/** - * @generated from message platform.spec.v2.SpecKey - */ -export declare type SpecKey = Message<"platform.spec.v2.SpecKey"> & { - /** - * The organization associated with this context - * - * @generated from field: string organization_slug = 2; - */ - organizationSlug: string; - - /** - * The workspace associated with this context - * - * @generated from field: string workspace_slug = 3; - */ - workspaceSlug: string; - - /** - * The workspace location associated with this context - * - * @generated from field: platform.type.v2.Jurisdiction workspace_jan = 4; - */ - workspaceJan: Jurisdiction; - - /** - * @generated from field: string spec_type = 5; - */ - specType: string; - - /** - * @generated from field: string id = 6; - */ - id: string; -}; - -/** - * Describes the message platform.spec.v2.SpecKey. - * Use `create(SpecKeySchema)` to create a new message. - */ -export declare const SpecKeySchema: GenMessage; - -/** - * @generated from message platform.spec.v2.Spec - */ -export declare type Spec = Message<"platform.spec.v2.Spec"> & { - /** - * - * Spec Version is captured by: - * - Channel (Producer) - * - * @generated from field: string spec_version = 1; - */ - specVersion: string; - - /** - * - * Spec message id is generated by: - * - Channel (Producer) - * - * @generated from field: string message_id = 2; - */ - messageId: string; - - /** - * - * Spec sent at is generated by: - * - Client - * - * @generated from field: google.protobuf.Timestamp sent_at = 3; - */ - sentAt?: Timestamp; - - /** - * @generated from field: google.protobuf.Timestamp received_at = 4; - */ - receivedAt?: Timestamp; - - /** - * @generated from field: google.protobuf.Timestamp completed_at = 5; - */ - completedAt?: Timestamp; - - /** - * @generated from field: string spec_type = 6; - */ - specType: string; - - /** - * @generated from field: platform.spec.v2.SpecEventType spec_event_type = 7; - */ - specEventType: SpecEventType; - - /** - * @generated from field: string spec_event = 8; - */ - specEvent: string; - - /** - * @generated from field: platform.spec.v2.SpecPrincipal principal = 9; - */ - principal?: SpecPrincipal; - - /** - * @generated from field: platform.spec.v2.SpanContext span_context = 10; - */ - spanContext?: SpanContext; - - /** - * @generated from field: platform.spec.v2.SpecContext context = 11; - */ - context?: SpecContext; - - /** - * @generated from field: platform.spec.v2.SpecRoutineContext routine_context = 12; - */ - routineContext?: SpecRoutineContext; - - /** - * @generated from field: google.protobuf.Any data = 13; - */ - data?: Any; - - /** - * @generated from field: platform.spec.v2.SpecData spec_data = 14; - */ - specData?: SpecData; -}; - -/** - * Describes the message platform.spec.v2.Spec. - * Use `create(SpecSchema)` to create a new message. - */ -export declare const SpecSchema: GenMessage; - -/** - * @generated from message platform.spec.v2.SpecPublic - */ -export declare type SpecPublic = Message<"platform.spec.v2.SpecPublic"> & { - /** - * @generated from field: string spec_version = 1; - */ - specVersion: string; - - /** - * @generated from field: string message_id = 2; - */ - messageId: string; - - /** - * @generated from field: google.protobuf.Timestamp sent_at = 3; - */ - sentAt?: Timestamp; - - /** - * @generated from field: google.protobuf.Timestamp received_at = 4; - */ - receivedAt?: Timestamp; - - /** - * @generated from field: google.protobuf.Timestamp completed_at = 5; - */ - completedAt?: Timestamp; - - /** - * @generated from field: string spec_type = 6; - */ - specType: string; - - /** - * @generated from field: platform.spec.v2.SpecEventType spec_event_type = 7; - */ - specEventType: SpecEventType; - - /** - * @generated from field: string spec_event = 8; - */ - specEvent: string; - - /** - * @generated from field: google.protobuf.Any data = 9; - */ - data?: Any; -}; - -/** - * Describes the message platform.spec.v2.SpecPublic. - * Use `create(SpecPublicSchema)` to create a new message. - */ -export declare const SpecPublicSchema: GenMessage; - -/** - * @generated from message platform.spec.v2.SpecContext - */ -export declare type SpecContext = Message<"platform.spec.v2.SpecContext"> & { - /** - * The ecosystem associated with this context. - * - * @generated from field: string ecosystem_slug = 1; - */ - ecosystemSlug: string; - - /** - * The organization associated with this context. - * - * @generated from field: string organization_slug = 50; - */ - organizationSlug: string; - - /** - * The workspace associated with this context. - * - * @generated from field: string workspace_slug = 51; - */ - workspaceSlug: string; - - /** - * The workspace jan associated with this context. - * Right now this is an enumeration with a finite number of items. - * That is incorrect. This should be a string instead. - * See `2023-09-14 - Docs Sync` in sf-docs-internal. - * - * @generated from field: platform.type.v2.Jurisdiction workspace_jan = 2; - */ - workspaceJan: Jurisdiction; - - /** - * The ip address of the requester. MUST meet RFC 791 or - * - * @generated from field: string ip = 5; - */ - ip: string; - - /** - * The locality that applies to values in the Spec Message. MUST meet [ISO 3166](https://www.iso.org/iso-3166-country-codes.html). - * - * @generated from field: string locale = 6; - */ - locale: string; - - /** - * The timezone where the transaction originated. MUST meet [ISO 8601 Time zone designator](https://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators) - * - * @generated from field: string timezone = 7; - */ - timezone: string; - - /** - * Similar to the `User-Agent` header of a HTTP request. See [User-Agent - HTTP](developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent) for guidance. - * - * @generated from field: string user_agent = 8; - */ - userAgent: string; - - /** - * @generated from field: platform.spec.v2.SpecValidation validation = 9; - */ - validation?: SpecValidation; - - /** - * @generated from field: platform.spec.v2.SpecProducer producer = 10; - */ - producer?: SpecProducer; - - /** - * @generated from field: platform.spec.v2.SpecDevice device = 11; - */ - device?: SpecDevice; - - /** - * @generated from field: platform.spec.v2.SpecLocation location = 12; - */ - location?: SpecLocation; - - /** - * @generated from field: platform.spec.v2.SpecNetwork network = 13; - */ - network?: SpecNetwork; - - /** - * The Operating System that was used to send the transaction. - * - * @generated from field: platform.spec.v2.SpecOS os = 14; - */ - os?: SpecOS; -}; - -/** - * Describes the message platform.spec.v2.SpecContext. - * Use `create(SpecContextSchema)` to create a new message. - */ -export declare const SpecContextSchema: GenMessage; - -/** - * @generated from message platform.spec.v2.SpanContext - */ -export declare type SpanContext = Message<"platform.spec.v2.SpanContext"> & { - /** - * @generated from field: string trace_id = 1; - */ - traceId: string; - - /** - * @generated from field: string span_id = 2; - */ - spanId: string; - - /** - * @generated from field: string parent_span_id = 3; - */ - parentSpanId: string; - - /** - * @generated from field: string trace_flags = 4; - */ - traceFlags: string; -}; - -/** - * Describes the message platform.spec.v2.SpanContext. - * Use `create(SpanContextSchema)` to create a new message. - */ -export declare const SpanContextSchema: GenMessage; - -/** - * @generated from message platform.spec.v2.SpecRoutineContext - */ -export declare type SpecRoutineContext = Message<"platform.spec.v2.SpecRoutineContext"> & { - /** - * The routine associated with this spec event - * - * @generated from field: string routine_id = 1; - */ - routineId: string; - - /** - * @generated from field: map routine_data = 2; - */ - routineData: { [key: string]: Any }; -}; - -/** - * Describes the message platform.spec.v2.SpecRoutineContext. - * Use `create(SpecRoutineContextSchema)` to create a new message. - */ -export declare const SpecRoutineContextSchema: GenMessage; - -/** - * @generated from message platform.spec.v2.SpecPrincipal - */ -export declare type SpecPrincipal = Message<"platform.spec.v2.SpecPrincipal"> & { - /** - * @generated from field: platform.spec.v2.SpecPrincipalType type = 1; - */ - type: SpecPrincipalType; - - /** - * @generated from field: string anonymous_id = 2; - */ - anonymousId: string; - - /** - * @generated from field: string principal_id = 3; - */ - principalId: string; - - /** - * The identity of a principal is an email address associated with a user, service account, or group; or a domain name - * - * @generated from field: string principal_email = 4; - */ - principalEmail: string; - - /** - * The connection id used to authenticate - * - * @generated from field: string connection_id = 5; - */ - connectionId: string; -}; - -/** - * Describes the message platform.spec.v2.SpecPrincipal. - * Use `create(SpecPrincipalSchema)` to create a new message. - */ -export declare const SpecPrincipalSchema: GenMessage; - -/** - * @generated from message platform.spec.v2.SpecValidation - */ -export declare type SpecValidation = Message<"platform.spec.v2.SpecValidation"> & { - /** - * @generated from field: bool validate_only = 1; - */ - validateOnly: boolean; -}; - -/** - * Describes the message platform.spec.v2.SpecValidation. - * Use `create(SpecValidationSchema)` to create a new message. - */ -export declare const SpecValidationSchema: GenMessage; - -/** - * @generated from message platform.spec.v2.SpecProducer - */ -export declare type SpecProducer = Message<"platform.spec.v2.SpecProducer"> & { - /** - * @generated from field: string name = 1; - */ - name: string; - - /** - * @generated from field: string version = 2; - */ - version: string; - - /** - * @generated from field: string build = 3; - */ - build: string; - - /** - * @generated from field: string namespace = 4; - */ - namespace: string; -}; - -/** - * Describes the message platform.spec.v2.SpecProducer. - * Use `create(SpecProducerSchema)` to create a new message. - */ -export declare const SpecProducerSchema: GenMessage; - -/** - * Describes the device that was used to initiate the transaction. - * - * @generated from message platform.spec.v2.SpecDevice - */ -export declare type SpecDevice = Message<"platform.spec.v2.SpecDevice"> & { - /** - * @generated from field: string id = 1; - */ - id: string; - - /** - * @generated from field: string type = 2; - */ - type: string; - - /** - * @generated from field: string advertising_id = 3; - */ - advertisingId: string; - - /** - * @generated from field: string manufacturer = 4; - */ - manufacturer: string; - - /** - * @generated from field: string model = 5; - */ - model: string; - - /** - * @generated from field: string name = 6; - */ - name: string; - - /** - * @generated from field: string token = 7; - */ - token: string; -}; - -/** - * Describes the message platform.spec.v2.SpecDevice. - * Use `create(SpecDeviceSchema)` to create a new message. - */ -export declare const SpecDeviceSchema: GenMessage; - -/** - * Describes the geographical location where the transaction was initiated. - * - * @generated from message platform.spec.v2.SpecLocation - */ -export declare type SpecLocation = Message<"platform.spec.v2.SpecLocation"> & { - /** - * @generated from field: string city = 1; - */ - city: string; - - /** - * The country where the transaction was initiated. - * - * @generated from field: string country = 2; - */ - country: string; - - /** - * The latitude part of the location's GPS coordinates. - * - * @generated from field: double latitude = 3; - */ - latitude: number; - - /** - * The longitude part of the location's GPS coordinates. - * - * @generated from field: double longitude = 4; - */ - longitude: number; - - /** - * Unknown. - * - * @generated from field: string speed = 5; - */ - speed: string; -}; - -/** - * Describes the message platform.spec.v2.SpecLocation. - * Use `create(SpecLocationSchema)` to create a new message. - */ -export declare const SpecLocationSchema: GenMessage; - -/** - * Contains information about which types of network were used to transport the Spec Message. - * - * @generated from message platform.spec.v2.SpecNetwork - */ -export declare type SpecNetwork = Message<"platform.spec.v2.SpecNetwork"> & { - /** - * `True` if bluetooth was used. - * - * @generated from field: bool bluetooth = 1; - */ - bluetooth: boolean; - - /** - * `True` if a cellular network was used. - * - * @generated from field: bool cellular = 2; - */ - cellular: boolean; - - /** - * `True` if WiFi was used. - * - * @generated from field: bool wifi = 3; - */ - wifi: boolean; - - /** - * The name of the carrier when a cellular network was used. - * - * @generated from field: string carrier = 4; - */ - carrier: string; -}; - -/** - * Describes the message platform.spec.v2.SpecNetwork. - * Use `create(SpecNetworkSchema)` to create a new message. - */ -export declare const SpecNetworkSchema: GenMessage; - -/** - * Describes the OS that was used to initiate the transaction. - * - * @generated from message platform.spec.v2.SpecOS - */ -export declare type SpecOS = Message<"platform.spec.v2.SpecOS"> & { - /** - * The name of the OS. - * - * @generated from field: string name = 1; - */ - name: string; - - /** - * The version of the OS. - * - * @generated from field: string version = 2; - */ - version: string; -}; - -/** - * Describes the message platform.spec.v2.SpecOS. - * Use `create(SpecOSSchema)` to create a new message. - */ -export declare const SpecOSSchema: GenMessage; - -/** - * Describes the Data object for this spec event - * - * @generated from message platform.spec.v2.SpecData - */ -export declare type SpecData = Message<"platform.spec.v2.SpecData"> & { - /** - * @generated from field: google.protobuf.Any configuration = 1; - */ - configuration?: Any; - - /** - * @generated from field: google.protobuf.Any data = 2; - */ - data?: Any; - - /** - * @generated from field: google.protobuf.FieldMask field_mask = 3; - */ - fieldMask?: FieldMask; -}; - -/** - * Describes the message platform.spec.v2.SpecData. - * Use `create(SpecDataSchema)` to create a new message. - */ -export declare const SpecDataSchema: GenMessage; - -/** - * @generated from message platform.spec.v2.SpecRequestContext - */ -export declare type SpecRequestContext = Message<"platform.spec.v2.SpecRequestContext"> & { - /** - * Should we only validate this request? There are no mutating side effects - * - * @generated from field: platform.type.v2.RequestValidation request_validation = 1; - */ - requestValidation?: RequestValidation; - - /** - * The organization to which you want to associate this request - * - * @generated from field: string organization_slug = 2; - */ - organizationSlug: string; - - /** - * The workspace to which you want to associate this request - * - * @generated from field: string workspace_slug = 3; - */ - workspaceSlug: string; - - /** - * @generated from field: string routine_id = 4; - */ - routineId: string; -}; - -/** - * Describes the message platform.spec.v2.SpecRequestContext. - * Use `create(SpecRequestContextSchema)` to create a new message. - */ -export declare const SpecRequestContextSchema: GenMessage; - -/** - * @generated from message platform.spec.v2.SpecResponseContext - */ -export declare type SpecResponseContext = Message<"platform.spec.v2.SpecResponseContext"> & { - /** - * Whether this request is a validate only request - * - * @generated from field: platform.type.v2.ResponseValidation response_validation = 1; - */ - responseValidation?: ResponseValidation; - - /** - * How we have masked the response based on requested masking and policy masking - * - * @generated from field: platform.type.v2.ResponseMask response_mask = 2; - */ - responseMask?: ResponseMask; - - /** - * @generated from field: string ecosystem_slug = 3; - */ - ecosystemSlug: string; - - /** - * The organization associated with this response - * - * @generated from field: string organization_slug = 50; - */ - organizationSlug: string; - - /** - * The workspace associated with this response - * - * @generated from field: string workspace_slug = 51; - */ - workspaceSlug: string; - - /** - * The workspace location associated with this response - * - * @generated from field: platform.type.v2.Jurisdiction workspace_jan = 52; - */ - workspaceJan: Jurisdiction; - - /** - * @generated from field: string routine_id = 53; - */ - routineId: string; -}; - -/** - * Describes the message platform.spec.v2.SpecResponseContext. - * Use `create(SpecResponseContextSchema)` to create a new message. - */ -export declare const SpecResponseContextSchema: GenMessage; - -/** - * @generated from enum platform.spec.v2.SpecEventType - */ -export enum SpecEventType { - /** - * @generated from enum value: SPEC_EVENT_TYPE_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: SPEC_EVENT_TYPE_COMMAND = 1; - */ - COMMAND = 1, - - /** - * @generated from enum value: SPEC_EVENT_TYPE_EVENT = 2; - */ - EVENT = 2, - - /** - * @generated from enum value: SPEC_EVENT_TYPE_ROUTINE = 3; - */ - ROUTINE = 3, - - /** - * @generated from enum value: SPEC_EVENT_TYPE_ML = 4; - */ - ML = 4, - - /** - * @generated from enum value: SPEC_EVENT_TYPE_STREAM = 5; - */ - STREAM = 5, - - /** - * @generated from enum value: SPEC_EVENT_TYPE_DB = 6; - */ - DB = 6, - - /** - * @generated from enum value: SPEC_EVENT_TYPE_PROFILE = 7; - */ - PROFILE = 7, - - /** - * @generated from enum value: SPEC_EVENT_TYPE_ETL = 8; - */ - ETL = 8, - - /** - * @generated from enum value: SPEC_EVENT_TYPE_LOG = 9; - */ - LOG = 9, -} - -/** - * Describes the enum platform.spec.v2.SpecEventType. - */ -export declare const SpecEventTypeSchema: GenEnum; - -/** - * Spec principal types - * - * @generated from enum platform.spec.v2.SpecPrincipalType - */ -export enum SpecPrincipalType { - /** - * A principal can be: - * - * @generated from enum value: SPEC_PRINCIPAL_TYPE_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * A Platform Account (for end users) - * - * @generated from enum value: SPEC_PRINCIPAL_TYPE_USER = 1; - */ - USER = 1, - - /** - * A service account (for applications and compute workloads) - * - * @generated from enum value: SPEC_PRINCIPAL_TYPE_SERVICE_ACCOUNT = 2; - */ - SERVICE_ACCOUNT = 2, - - /** - * Group - * - * @generated from enum value: SPEC_PRINCIPAL_TYPE_GROUP = 3; - */ - GROUP = 3, - - /** - * Domain that can access a resource - * - * @generated from enum value: SPEC_PRINCIPAL_TYPE_DOMAIN = 4; - */ - DOMAIN = 4, -} - -/** - * Describes the enum platform.spec.v2.SpecPrincipalType. - */ -export declare const SpecPrincipalTypeSchema: GenEnum; - diff --git a/libs/partner/typescript/protobuf/src/gen/platform/spec/v2/spec_pb.js b/libs/partner/typescript/protobuf/src/gen/platform/spec/v2/spec_pb.js deleted file mode 100644 index 6ae19f7e..00000000 --- a/libs/partner/typescript/protobuf/src/gen/platform/spec/v2/spec_pb.js +++ /dev/null @@ -1,155 +0,0 @@ -// @generated by protoc-gen-es v2.2.3 -// @generated from file platform/spec/v2/spec.proto (package platform.spec.v2, syntax proto3) -/* eslint-disable */ - -import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv1"; -import { file_google_protobuf_any, file_google_protobuf_field_mask, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt"; -import { file_platform_options_v2_annotations } from "../../options/v2/annotations_pb"; -import { file_platform_type_v2_jurisdiction } from "../../type/v2/jurisdiction_pb"; -import { file_platform_type_v2_validation } from "../../type/v2/validation_pb"; -import { file_platform_type_v2_mask } from "../../type/v2/mask_pb"; - -/** - * Describes the file platform/spec/v2/spec.proto. - */ -export const file_platform_spec_v2_spec = /*@__PURE__*/ - fileDesc("ChtwbGF0Zm9ybS9zcGVjL3YyL3NwZWMucHJvdG8SEHBsYXRmb3JtLnNwZWMudjIimgEKB1NwZWNLZXkSGQoRb3JnYW5pemF0aW9uX3NsdWcYAiABKAkSFgoOd29ya3NwYWNlX3NsdWcYAyABKAkSNQoNd29ya3NwYWNlX2phbhgEIAEoDjIeLnBsYXRmb3JtLnR5cGUudjIuSnVyaXNkaWN0aW9uEhEKCXNwZWNfdHlwZRgFIAEoCRIKCgJpZBgGIAEoCToG+rYYAggBItQECgRTcGVjEhQKDHNwZWNfdmVyc2lvbhgBIAEoCRISCgptZXNzYWdlX2lkGAIgASgJEisKB3NlbnRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi8KC3JlY2VpdmVkX2F0GAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIwCgxjb21wbGV0ZWRfYXQYBSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhEKCXNwZWNfdHlwZRgGIAEoCRI4Cg9zcGVjX2V2ZW50X3R5cGUYByABKA4yHy5wbGF0Zm9ybS5zcGVjLnYyLlNwZWNFdmVudFR5cGUSEgoKc3BlY19ldmVudBgIIAEoCRIyCglwcmluY2lwYWwYCSABKAsyHy5wbGF0Zm9ybS5zcGVjLnYyLlNwZWNQcmluY2lwYWwSMwoMc3Bhbl9jb250ZXh0GAogASgLMh0ucGxhdGZvcm0uc3BlYy52Mi5TcGFuQ29udGV4dBIuCgdjb250ZXh0GAsgASgLMh0ucGxhdGZvcm0uc3BlYy52Mi5TcGVjQ29udGV4dBI9Cg9yb3V0aW5lX2NvbnR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uf_timestamp, file_platform_options_v2_annotations, file_platform_type_v2_jurisdiction, file_platform_type_v2_validation, file_platform_type_v2_mask, file_google_protobuf_field_mask]); - -/** - * Describes the message platform.spec.v2.SpecKey. - * Use `create(SpecKeySchema)` to create a new message. - */ -export const SpecKeySchema = /*@__PURE__*/ - messageDesc(file_platform_spec_v2_spec, 0); - -/** - * Describes the message platform.spec.v2.Spec. - * Use `create(SpecSchema)` to create a new message. - */ -export const SpecSchema = /*@__PURE__*/ - messageDesc(file_platform_spec_v2_spec, 1); - -/** - * Describes the message platform.spec.v2.SpecPublic. - * Use `create(SpecPublicSchema)` to create a new message. - */ -export const SpecPublicSchema = /*@__PURE__*/ - messageDesc(file_platform_spec_v2_spec, 2); - -/** - * Describes the message platform.spec.v2.SpecContext. - * Use `create(SpecContextSchema)` to create a new message. - */ -export const SpecContextSchema = /*@__PURE__*/ - messageDesc(file_platform_spec_v2_spec, 3); - -/** - * Describes the message platform.spec.v2.SpanContext. - * Use `create(SpanContextSchema)` to create a new message. - */ -export const SpanContextSchema = /*@__PURE__*/ - messageDesc(file_platform_spec_v2_spec, 4); - -/** - * Describes the message platform.spec.v2.SpecRoutineContext. - * Use `create(SpecRoutineContextSchema)` to create a new message. - */ -export const SpecRoutineContextSchema = /*@__PURE__*/ - messageDesc(file_platform_spec_v2_spec, 5); - -/** - * Describes the message platform.spec.v2.SpecPrincipal. - * Use `create(SpecPrincipalSchema)` to create a new message. - */ -export const SpecPrincipalSchema = /*@__PURE__*/ - messageDesc(file_platform_spec_v2_spec, 6); - -/** - * Describes the message platform.spec.v2.SpecValidation. - * Use `create(SpecValidationSchema)` to create a new message. - */ -export const SpecValidationSchema = /*@__PURE__*/ - messageDesc(file_platform_spec_v2_spec, 7); - -/** - * Describes the message platform.spec.v2.SpecProducer. - * Use `create(SpecProducerSchema)` to create a new message. - */ -export const SpecProducerSchema = /*@__PURE__*/ - messageDesc(file_platform_spec_v2_spec, 8); - -/** - * Describes the message platform.spec.v2.SpecDevice. - * Use `create(SpecDeviceSchema)` to create a new message. - */ -export const SpecDeviceSchema = /*@__PURE__*/ - messageDesc(file_platform_spec_v2_spec, 9); - -/** - * Describes the message platform.spec.v2.SpecLocation. - * Use `create(SpecLocationSchema)` to create a new message. - */ -export const SpecLocationSchema = /*@__PURE__*/ - messageDesc(file_platform_spec_v2_spec, 10); - -/** - * Describes the message platform.spec.v2.SpecNetwork. - * Use `create(SpecNetworkSchema)` to create a new message. - */ -export const SpecNetworkSchema = /*@__PURE__*/ - messageDesc(file_platform_spec_v2_spec, 11); - -/** - * Describes the message platform.spec.v2.SpecOS. - * Use `create(SpecOSSchema)` to create a new message. - */ -export const SpecOSSchema = /*@__PURE__*/ - messageDesc(file_platform_spec_v2_spec, 12); - -/** - * Describes the message platform.spec.v2.SpecData. - * Use `create(SpecDataSchema)` to create a new message. - */ -export const SpecDataSchema = /*@__PURE__*/ - messageDesc(file_platform_spec_v2_spec, 13); - -/** - * Describes the message platform.spec.v2.SpecRequestContext. - * Use `create(SpecRequestContextSchema)` to create a new message. - */ -export const SpecRequestContextSchema = /*@__PURE__*/ - messageDesc(file_platform_spec_v2_spec, 14); - -/** - * Describes the message platform.spec.v2.SpecResponseContext. - * Use `create(SpecResponseContextSchema)` to create a new message. - */ -export const SpecResponseContextSchema = /*@__PURE__*/ - messageDesc(file_platform_spec_v2_spec, 15); - -/** - * Describes the enum platform.spec.v2.SpecEventType. - */ -export const SpecEventTypeSchema = /*@__PURE__*/ - enumDesc(file_platform_spec_v2_spec, 0); - -/** - * @generated from enum platform.spec.v2.SpecEventType - */ -export const SpecEventType = /*@__PURE__*/ - tsEnum(SpecEventTypeSchema); - -/** - * Describes the enum platform.spec.v2.SpecPrincipalType. - */ -export const SpecPrincipalTypeSchema = /*@__PURE__*/ - enumDesc(file_platform_spec_v2_spec, 1); - -/** - * Spec principal types - * - * @generated from enum platform.spec.v2.SpecPrincipalType - */ -export const SpecPrincipalType = /*@__PURE__*/ - tsEnum(SpecPrincipalTypeSchema); - diff --git a/libs/partner/typescript/protobuf/src/gen/platform/type/v2/jurisdiction_pb.d.ts b/libs/partner/typescript/protobuf/src/gen/platform/type/v2/jurisdiction_pb.d.ts deleted file mode 100644 index ed2862f4..00000000 --- a/libs/partner/typescript/protobuf/src/gen/platform/type/v2/jurisdiction_pb.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -// @generated by protoc-gen-es v2.2.3 -// @generated from file platform/type/v2/jurisdiction.proto (package platform.type.v2, syntax proto3) -/* eslint-disable */ - -import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv1"; - -/** - * Describes the file platform/type/v2/jurisdiction.proto. - */ -export declare const file_platform_type_v2_jurisdiction: GenFile; - -/** - * Jurisdiction - * - * @generated from enum platform.type.v2.Jurisdiction - */ -export enum Jurisdiction { - /** - * @generated from enum value: JURISDICTION_UNSPECIFIED = 0; - */ - UNSPECIFIED = 0, - - /** - * @generated from enum value: JURISDICTION_NA_US_1 = 1; - */ - NA_US_1 = 1, - - /** - * @generated from enum value: JURISDICTION_GOV_US_1 = 2; - */ - GOV_US_1 = 2, - - /** - * @generated from enum value: JURISDICTION_EU_DE_1 = 3; - */ - EU_DE_1 = 3, - - /** - * @generated from enum value: JURISDICTION_GOV_EU_1 = 4; - */ - GOV_EU_1 = 4, - - /** - * @generated from enum value: JURISDICTION_AS_CN_1 = 5; - */ - AS_CN_1 = 5, - - /** - * @generated from enum value: JURISDICTION_SA_BR_1 = 6; - */ - SA_BR_1 = 6, -} - -/** - * Describes the enum platform.type.v2.Jurisdiction. - */ -export declare const JurisdictionSchema: GenEnum; - diff --git a/libs/partner/typescript/protobuf/src/gen/platform/type/v2/jurisdiction_pb.js b/libs/partner/typescript/protobuf/src/gen/platform/type/v2/jurisdiction_pb.js deleted file mode 100644 index 2d237dc2..00000000 --- a/libs/partner/typescript/protobuf/src/gen/platform/type/v2/jurisdiction_pb.js +++ /dev/null @@ -1,26 +0,0 @@ -// @generated by protoc-gen-es v2.2.3 -// @generated from file platform/type/v2/jurisdiction.proto (package platform.type.v2, syntax proto3) -/* eslint-disable */ - -import { enumDesc, fileDesc, tsEnum } from "@bufbuild/protobuf/codegenv1"; - -/** - * Describes the file platform/type/v2/jurisdiction.proto. - */ -export const file_platform_type_v2_jurisdiction = /*@__PURE__*/ - fileDesc("CiNwbGF0Zm9ybS90eXBlL3YyL2p1cmlzZGljdGlvbi5wcm90bxIQcGxhdGZvcm0udHlwZS52MirKAQoMSnVyaXNkaWN0aW9uEhwKGEpVUklTRElDVElPTl9VTlNQRUNJRklFRBAAEhgKFEpVUklTRElDVElPTl9OQV9VU18xEAESGQoVSlVSSVNESUNUSU9OX0dPVl9VU18xEAISGAoUSlVSSVNESUNUSU9OX0VVX0RFXzEQAxIZChVKVVJJU0RJQ1RJT05fR09WX0VVXzEQBBIYChRKVVJJU0RJQ1RJT05fQVNfQ05fMRAFEhgKFEpVUklTRElDVElPTl9TQV9CUl8xEAZCXVpbZ2l0aHViLmNvbS9vcGVuZWNvc3lzdGVtcy9lY29zeXN0ZW0vbGlicy9wcm90b2J1Zi9nby9wcm90b2J1Zi9nZW4vcGxhdGZvcm0vdHlwZS92Mjt0eXBldjJwYmIGcHJvdG8z"); - -/** - * Describes the enum platform.type.v2.Jurisdiction. - */ -export const JurisdictionSchema = /*@__PURE__*/ - enumDesc(file_platform_type_v2_jurisdiction, 0); - -/** - * Jurisdiction - * - * @generated from enum platform.type.v2.Jurisdiction - */ -export const Jurisdiction = /*@__PURE__*/ - tsEnum(JurisdictionSchema); - diff --git a/libs/partner/typescript/protobuf/src/gen/platform/type/v2/mask_pb.d.ts b/libs/partner/typescript/protobuf/src/gen/platform/type/v2/mask_pb.d.ts deleted file mode 100644 index 203a9885..00000000 --- a/libs/partner/typescript/protobuf/src/gen/platform/type/v2/mask_pb.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -// @generated by protoc-gen-es v2.2.3 -// @generated from file platform/type/v2/mask.proto (package platform.type.v2, syntax proto3) -/* eslint-disable */ - -import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; -import type { Message } from "@bufbuild/protobuf"; -import type { FieldMask } from "@bufbuild/protobuf/wkt"; - -/** - * Describes the file platform/type/v2/mask.proto. - */ -export declare const file_platform_type_v2_mask: GenFile; - -/** - * @generated from message platform.type.v2.ResponseMask - */ -export declare type ResponseMask = Message<"platform.type.v2.ResponseMask"> & { - /** - * @generated from field: google.protobuf.FieldMask field_mask = 1; - */ - fieldMask?: FieldMask; - - /** - * @generated from field: google.protobuf.FieldMask policy_mask = 2; - */ - policyMask?: FieldMask; -}; - -/** - * Describes the message platform.type.v2.ResponseMask. - * Use `create(ResponseMaskSchema)` to create a new message. - */ -export declare const ResponseMaskSchema: GenMessage; - diff --git a/libs/partner/typescript/protobuf/src/gen/platform/type/v2/mask_pb.js b/libs/partner/typescript/protobuf/src/gen/platform/type/v2/mask_pb.js deleted file mode 100644 index 3af44251..00000000 --- a/libs/partner/typescript/protobuf/src/gen/platform/type/v2/mask_pb.js +++ /dev/null @@ -1,21 +0,0 @@ -// @generated by protoc-gen-es v2.2.3 -// @generated from file platform/type/v2/mask.proto (package platform.type.v2, syntax proto3) -/* eslint-disable */ - -import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1"; -import { file_platform_options_v2_annotations } from "../../options/v2/annotations_pb"; -import { file_google_protobuf_field_mask } from "@bufbuild/protobuf/wkt"; - -/** - * Describes the file platform/type/v2/mask.proto. - */ -export const file_platform_type_v2_mask = /*@__PURE__*/ - fileDesc("ChtwbGF0Zm9ybS90eXBlL3YyL21hc2sucHJvdG8SEHBsYXRmb3JtLnR5cGUudjIidwoMUmVzcG9uc2VNYXNrEi4KCmZpZWxkX21hc2sYASABKAsyGi5nb29nbGUucHJvdG9idWYuRmllbGRNYXNrEi8KC3BvbGljeV9tYXNrGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLkZpZWxkTWFzazoG+rYYAggBQl1aW2dpdGh1Yi5jb20vb3BlbmVjb3N5c3RlbXMvZWNvc3lzdGVtL2xpYnMvcHJvdG9idWYvZ28vcHJvdG9idWYvZ2VuL3BsYXRmb3JtL3R5cGUvdjI7dHlwZXYycGJiBnByb3RvMw", [file_platform_options_v2_annotations, file_google_protobuf_field_mask]); - -/** - * Describes the message platform.type.v2.ResponseMask. - * Use `create(ResponseMaskSchema)` to create a new message. - */ -export const ResponseMaskSchema = /*@__PURE__*/ - messageDesc(file_platform_type_v2_mask, 0); - diff --git a/libs/partner/typescript/protobuf/src/gen/platform/type/v2/validation_pb.d.ts b/libs/partner/typescript/protobuf/src/gen/platform/type/v2/validation_pb.d.ts deleted file mode 100644 index 6a7d465d..00000000 --- a/libs/partner/typescript/protobuf/src/gen/platform/type/v2/validation_pb.d.ts +++ /dev/null @@ -1,70 +0,0 @@ -// @generated by protoc-gen-es v2.2.3 -// @generated from file platform/type/v2/validation.proto (package platform.type.v2, syntax proto3) -/* eslint-disable */ - -import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; -import type { Message } from "@bufbuild/protobuf"; - -/** - * Describes the file platform/type/v2/validation.proto. - */ -export declare const file_platform_type_v2_validation: GenFile; - -/** - * @generated from message platform.type.v2.RequestValidation - */ -export declare type RequestValidation = Message<"platform.type.v2.RequestValidation"> & { - /** - * @generated from field: bool validate_only = 1; - */ - validateOnly: boolean; - - /** - * @generated from field: platform.type.v2.ValidationSignature signature = 2; - */ - signature?: ValidationSignature; -}; - -/** - * Describes the message platform.type.v2.RequestValidation. - * Use `create(RequestValidationSchema)` to create a new message. - */ -export declare const RequestValidationSchema: GenMessage; - -/** - * @generated from message platform.type.v2.ResponseValidation - */ -export declare type ResponseValidation = Message<"platform.type.v2.ResponseValidation"> & { - /** - * @generated from field: bool validate_only = 1; - */ - validateOnly: boolean; - - /** - * @generated from field: platform.type.v2.ValidationSignature signature = 2; - */ - signature?: ValidationSignature; -}; - -/** - * Describes the message platform.type.v2.ResponseValidation. - * Use `create(ResponseValidationSchema)` to create a new message. - */ -export declare const ResponseValidationSchema: GenMessage; - -/** - * @generated from message platform.type.v2.ValidationSignature - */ -export declare type ValidationSignature = Message<"platform.type.v2.ValidationSignature"> & { - /** - * @generated from field: string jwt = 1; - */ - jwt: string; -}; - -/** - * Describes the message platform.type.v2.ValidationSignature. - * Use `create(ValidationSignatureSchema)` to create a new message. - */ -export declare const ValidationSignatureSchema: GenMessage; - diff --git a/libs/partner/typescript/protobuf/src/gen/platform/type/v2/validation_pb.js b/libs/partner/typescript/protobuf/src/gen/platform/type/v2/validation_pb.js deleted file mode 100644 index c14e9097..00000000 --- a/libs/partner/typescript/protobuf/src/gen/platform/type/v2/validation_pb.js +++ /dev/null @@ -1,34 +0,0 @@ -// @generated by protoc-gen-es v2.2.3 -// @generated from file platform/type/v2/validation.proto (package platform.type.v2, syntax proto3) -/* eslint-disable */ - -import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1"; -import { file_platform_options_v2_annotations } from "../../options/v2/annotations_pb"; - -/** - * Describes the file platform/type/v2/validation.proto. - */ -export const file_platform_type_v2_validation = /*@__PURE__*/ - fileDesc("CiFwbGF0Zm9ybS90eXBlL3YyL3ZhbGlkYXRpb24ucHJvdG8SEHBsYXRmb3JtLnR5cGUudjIibAoRUmVxdWVzdFZhbGlkYXRpb24SFQoNdmFsaWRhdGVfb25seRgBIAEoCBI4CglzaWduYXR1cmUYAiABKAsyJS5wbGF0Zm9ybS50eXBlLnYyLlZhbGlkYXRpb25TaWduYXR1cmU6Bvq2GAIIASJtChJSZXNwb25zZVZhbGlkYXRpb24SFQoNdmFsaWRhdGVfb25seRgBIAEoCBI4CglzaWduYXR1cmUYAiABKAsyJS5wbGF0Zm9ybS50eXBlLnYyLlZhbGlkYXRpb25TaWduYXR1cmU6Bvq2GAIIASIqChNWYWxpZGF0aW9uU2lnbmF0dXJlEgsKA2p3dBgBIAEoCToG+rYYAggBQl1aW2dpdGh1Yi5jb20vb3BlbmVjb3N5c3RlbXMvZWNvc3lzdGVtL2xpYnMvcHJvdG9idWYvZ28vcHJvdG9idWYvZ2VuL3BsYXRmb3JtL3R5cGUvdjI7dHlwZXYycGJiBnByb3RvMw", [file_platform_options_v2_annotations]); - -/** - * Describes the message platform.type.v2.RequestValidation. - * Use `create(RequestValidationSchema)` to create a new message. - */ -export const RequestValidationSchema = /*@__PURE__*/ - messageDesc(file_platform_type_v2_validation, 0); - -/** - * Describes the message platform.type.v2.ResponseValidation. - * Use `create(ResponseValidationSchema)` to create a new message. - */ -export const ResponseValidationSchema = /*@__PURE__*/ - messageDesc(file_platform_type_v2_validation, 1); - -/** - * Describes the message platform.type.v2.ValidationSignature. - * Use `create(ValidationSignatureSchema)` to create a new message. - */ -export const ValidationSignatureSchema = /*@__PURE__*/ - messageDesc(file_platform_type_v2_validation, 2); - diff --git a/libs/partner/typescript/protobuf/src/index.ts b/libs/partner/typescript/protobuf/src/index.ts index a8e0e380..079c1264 100644 --- a/libs/partner/typescript/protobuf/src/index.ts +++ b/libs/partner/typescript/protobuf/src/index.ts @@ -1,8 +1,8 @@ -export * from './gen'; -export * from './gen/platform/type/v2/mask_pb'; -export * from './gen/platform/type/v2/jurisdiction_pb'; -export * from './gen/platform/type/v2/validation_pb'; -export * from './gen/platform/options/v2/annotations_pb'; -export * from './gen/platform/spec/v2/spec_pb'; -export * from './gen/google/api/http_pb'; -export * from './gen/google/api/annotations_pb'; +// export * from './gen'; +// export * from './gen/platform/type/v2/mask_pb'; +// export * from './gen/platform/type/v2/jurisdiction_pb'; +// export * from './gen/platform/type/v2/validation_pb'; +// export * from './gen/platform/options/v2/annotations_pb'; +// export * from './gen/platform/spec/v2/spec_pb'; +// export * from './gen/google/api/http_pb'; +// export * from './gen/google/api/annotations_pb'; diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_methods/go_cli_methods.go b/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_methods/go_cli_methods.go index 92543731..cd73a69c 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_methods/go_cli_methods.go +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_methods/go_cli_methods.go @@ -17,6 +17,11 @@ import ( //go:embed templates/*.tmpl var templates embed.FS +var ( + goOutPath = pgs.JoinPaths("platform") + outPath = &goOutPath +) + const ( language = "go" pluginName = "cli-methods" @@ -116,8 +121,15 @@ func (m GoCliMethodsModule) GenerateFile(file pgs.File) { for _, s := range file.Services() { for _, method := range s.Methods() { - name := m.ctx.OutputPath(file).SetBase(method.Name().LowerSnakeCase().String()).SetExt(".pb." + l.FileExtension()) - m.OverwriteGeneratorTemplateFile(name.String(), m.Tpl, method) + system := fns.DomainSystemName2(file).LowerCamelCase().String() + version := fns.GetPackageVersion(file) + methodName := method.Name().LowerSnakeCase().String() + + name := outPath.SetExt("/" + system + "/" + version + "/" + system + version + "pbcli" + "/" + methodName + ".cmd.go").String() + m.OverwriteGeneratorTemplateFile(name, m.Tpl, method) + + // name := m.ctx.OutputPath(file).SetBase(method.Name().LowerSnakeCase().String()).SetExt(".pb." + l.FileExtension()) + // m.OverwriteGeneratorTemplateFile(name.String(), m.Tpl, method) } } } diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_methods/templates/file.go.tmpl b/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_methods/templates/file.go.tmpl index 56843b6e..52556b2d 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_methods/templates/file.go.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_methods/templates/file.go.tmpl @@ -2,7 +2,7 @@ // source: {{ .File.InputPath }} {{ $s := service .File }}{{ $version := getPackageVersionName .File }}{{ $versionLower := getPackageVersion .File }}{{ $apiType := getApiOptionsTypeName .File }}{{ $system := domainSystemName2 .File }}{{ $e := parentEntity . }}{{ $entityName := entityName $e }}{{ $entityNamePlural := entityNamePlural $e}}{{ $leadingComment := methodLeadingComment . }}{{ $trailingComments := methodTrailingComment . }}{{ $leadingDetachedComments := methodLeadingDetachedComments . }}{{ $methodShortName := getMethodShortName . }} -package {{ goPath .File }}cmd +package {{ goPath .File }}cli import ( "connectrpc.com/connect" @@ -14,17 +14,17 @@ import ( "github.com/apex/log" "google.golang.org/protobuf/encoding/protojson" "github.com/spf13/cobra" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" {{ if ne (getApiOptionsNetwork . ) "overlay" -}} "net/http" - "github.com/openecosystems/ecosystem/libs/{{ $apiType }}/go/protobuf/gen/platform/{{ $system.LowerCamelCase }}/{{ $versionLower }}/{{ $system.LowerCamelCase }}{{ $versionLower }}pbconnect" + "github.com/openecosystems/ecosystem/libs/{{ $apiType }}/go/sdk/gen/platform/{{ $system.LowerCamelCase }}/{{ $versionLower }}" + "github.com/openecosystems/ecosystem/libs/{{ $apiType }}/go/sdk/gen/platform/{{ $system.LowerCamelCase }}/{{ $versionLower }}/{{ $system.LowerCamelCase }}{{ $versionLower }}pbconnect" {{ else -}} - "github.com/openecosystems/ecosystem/libs/{{ $apiType }}/go/sdk/gen/{{ $system.LowerCamelCase }}/{{ $versionLower }}" - + "github.com/openecosystems/ecosystem/libs/{{ $apiType }}/go/sdk/gen/platform/{{ $system.LowerCamelCase }}/{{ $versionLower }}" + "github.com/openecosystems/ecosystem/libs/{{ $apiType }}/go/sdk/gen/platform/{{ $system.LowerCamelCase }}/{{ $versionLower }}/{{ $system.LowerCamelCase }}{{ $versionLower }}pbconnect" {{ end }} {{ range getImportPackages .File }} - "{{ . }}" + //"{{ . }}" {{ end }} ) @@ -41,7 +41,7 @@ var {{ .Name }}{{ $version.UpperCamelCase }}Cmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling {{ .Name.LowerCamelCase }} {{ $entityName.LowerCamelCase }}") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -52,7 +52,7 @@ var {{ .Name }}{{ $version.UpperCamelCase }}Cmd = &cobra.Command{ _request = "{}" } - _r := {{ getImportName .Input }}.{{ .Input.Name.UpperCamelCase }}{} + _r := {{ goPath .File }}.{{ .Input.Name.UpperCamelCase }}{} err = protojson.Unmarshal([]byte(_request), &_r) if err != nil { fmt.Println(err) @@ -62,7 +62,7 @@ var {{ .Name }}{{ $version.UpperCamelCase }}Cmd = &cobra.Command{ sdkv2alphalib.Overrides.FieldMask = {{ .Name.LowerCamelCase }}FieldMask sdkv2alphalib.Overrides.ValidateOnly = {{ .Name.LowerCamelCase }}ValidateOnly - request := connect.NewRequest[{{ getImportName .Input }}.{{ .Input.Name.UpperCamelCase }}](&_r) + request := connect.NewRequest[{{ goPath .File }}.{{ .Input.Name.UpperCamelCase }}](&_r) // Add GZIP Support: connect.WithSendGzip(), {{ if ne (getApiOptionsNetwork . ) "overlay" -}} httpClient := http.DefaultClient @@ -70,13 +70,13 @@ var {{ .Name }}{{ $version.UpperCamelCase }}Cmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Endpoint } - client := {{ getImportName .Input }}connect.NewAccountServiceClient(httpClient, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := {{ getImportName .Input }}connect.NewAccountServiceClient(httpClient, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) {{ else -}} url := "https://" + settings.Platform.Mesh.Endpoint if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *{{ getImportName .Input }}sdk.New{{ $entityName.UpperCamelCase }}ServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *{{ getImportName .Input }}connect.New{{ $entityName.UpperCamelCase }}ServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) {{ end }} response, err := client.{{ .Name }}(context.Background(), request) diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_service/go_cli_service.go b/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_service/go_cli_service.go index eac68ac1..c451f1c3 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_service/go_cli_service.go +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_service/go_cli_service.go @@ -15,6 +15,11 @@ import ( //go:embed templates/*.tmpl var templates embed.FS +var ( + goOutPath = pgs.JoinPaths("platform") + outPath = &goOutPath +) + const ( language = "go" pluginName = "cli-service" @@ -110,6 +115,12 @@ func (m GoCliServiceModule) GenerateFile(file pgs.File) { return } - name := m.ctx.OutputPath(file).SetExt(".cmd." + l.FileExtension()) - m.OverwriteGeneratorTemplateFile(name.String(), m.Tpl, file) + system := fns.DomainSystemName2(file).LowerCamelCase().String() + version := fns.GetPackageVersion(file) + fileName := fns.ProtoName(file) + name := outPath.SetExt("/" + system + "/" + version + "/" + system + version + "pbcli" + "/" + fileName + ".cmds.go").String() + m.OverwriteGeneratorTemplateFile(name, m.Tpl, file) + + // name := m.ctx.OutputPath(file).SetExt(".cmd." + l.FileExtension()) + // m.OverwriteGeneratorTemplateFile(name.String(), m.Tpl, file) } diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_service/templates/file.go.tmpl b/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_service/templates/file.go.tmpl index 077b7837..b37f6207 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_service/templates/file.go.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_service/templates/file.go.tmpl @@ -2,7 +2,7 @@ // source: {{ .File.InputPath }}{{ $e := entity .File }} {{ $goPath := goPath .File }}{{ $entityName := entityName $e }}{{ $entityNamePlural := entityNamePlural $e}}{{ $allMethods := allMethods .File }}{{ $s := service . }} {{ $leadingComment := serviceLeadingComment . }}{{ $trailingComments := serviceTrailingComment . }}{{ $allLeadingComments := serviceLeadingDetachedComments .}}{{ $version := getPackageVersionName .File }} -package {{ $goPath }}cmd +package {{ $goPath }}cli import ( "github.com/spf13/cobra" diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_system/go_cli_system.go b/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_system/go_cli_system.go index 0f114067..b755ab59 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_system/go_cli_system.go +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_system/go_cli_system.go @@ -127,7 +127,13 @@ func (m GoCliSystemModule) GenerateFile(file pgs.File) { return } + system := fns.DomainSystemName2(file).LowerCamelCase().String() + version := fns.GetPackageVersion(file) + fileName := fns.ProtoName(file) + name := outPath.SetExt("/" + system + "/" + version + "/" + system + version + "pbcli" + "/" + fileName + ".cmd.go").String() + m.OverwriteGeneratorTemplateFile(name, m.Tpl, file) + // name := m.ctx.OutputPath(file).SetExt(".cmd." + l.FileExtension()) - name := outPath.SetExt("/" + fns.DomainSystemName2(file).LowerCamelCase().String() + "/" + fns.GetPackageVersion(file) + "/" + fns.DomainSystemName2(file).LowerCamelCase().String() + ".cmd." + l.FileExtension()) - m.OverwriteGeneratorTemplateFile(name.String(), m.Tpl, file) + // name := outPath.SetExt("/" + fns.DomainSystemName2(file).LowerCamelCase().String() + "/" + fns.GetPackageVersion(file) + "/" + fns.DomainSystemName2(file).LowerCamelCase().String() + ".cmd." + l.FileExtension()) + // m.OverwriteGeneratorTemplateFile(name.String(), m.Tpl, file) } diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_system/templates/file.go.tmpl b/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_system/templates/file.go.tmpl index a9862a04..084e91d8 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_system/templates/file.go.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/cli_system/templates/file.go.tmpl @@ -2,7 +2,7 @@ // source: {{ .File.InputPath }}{{ $e := entity .File }} {{ $goPath := goPath .File }}{{ $entityName := entityName $e }}{{ $entityNamePlural := entityNamePlural $e}}{{ $allMethods := allMethods .File }}{{ $s := service . }}{{ $system := domainSystemName2 .File }} {{ $leadingComment := serviceLeadingComment . }}{{ $trailingComments := serviceTrailingComment . }}{{ $allLeadingComments := serviceLeadingDetachedComments .}}{{ $version := getPackageVersionName .File }} -package {{ $goPath }}cmd +package {{ $goPath }}cli import ( "github.com/spf13/cobra" diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/entity_aerospike/templates/file.go.tmpl b/libs/plugins/protoc-gen-platform/languages/go/plugins/entity_aerospike/templates/file.go.tmpl index 7b181bf9..4a383acf 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/entity_aerospike/templates/file.go.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/entity_aerospike/templates/file.go.tmpl @@ -2,7 +2,7 @@ // source: {{ .File.InputPath }} {{ $e := entity .File }}{{ $imports := getAllGoFieldLevelImportPaths .File }} -package {{ package .File }}model +package {{ package .File }} import ( "context" "encoding/json" diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/entity_unspecified/templates/entity.go.tmpl b/libs/plugins/protoc-gen-platform/languages/go/plugins/entity_unspecified/templates/entity.go.tmpl index b2167deb..69d7b435 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/entity_unspecified/templates/entity.go.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/entity_unspecified/templates/entity.go.tmpl @@ -2,13 +2,13 @@ type {{ $entityName.UpperCamelCase }}SpecEntity struct { - {{ $entityName.UpperCamelCase }} *{{ package .File }}.{{ $entityName.UpperCamelCase }} + {{ $entityName.UpperCamelCase }} *{{ $entityName.UpperCamelCase }} } func New{{ $entityName.UpperCamelCase }}SpecEntity(specContext *specv2pb.SpecContext) (*{{ $entityName.UpperCamelCase }}SpecEntity, error) { return &{{ $entityName.UpperCamelCase }}SpecEntity{ - {{ $entityName.UpperCamelCase }}: &{{ package .File }}.{{ $entityName.UpperCamelCase }}{ + {{ $entityName.UpperCamelCase }}: &{{ $entityName.UpperCamelCase }}{ }, }, nil @@ -16,8 +16,8 @@ func New{{ $entityName.UpperCamelCase }}SpecEntity(specContext *specv2pb.SpecCon } func New{{ $entityName.UpperCamelCase }}SpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*{{ $entityName.UpperCamelCase }}SpecEntity, error) { - data := &{{ package .File }}.{{ $entityName.UpperCamelCase }}{} - err := sdkv2alphalib.GetDataFromSpec[*{{ package .File }}.{{ $entityName.UpperCamelCase }}](ctx, s, data) + data := &{{ $entityName.UpperCamelCase }}{} + err := sdkv2alphalib.GetDataFromSpec[*{{ $entityName.UpperCamelCase }}](ctx, s, data) if err != nil { return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(err) } @@ -27,7 +27,7 @@ func New{{ $entityName.UpperCamelCase }}SpecEntityFromSpec(ctx context.Context, }, nil } -func (entity *{{ $entityName.UpperCamelCase }}SpecEntity) ToProto() (*{{ package .File }}.{{ name . }}, error) { +func (entity *{{ $entityName.UpperCamelCase }}SpecEntity) ToProto() (*{{ name . }}, error) { return entity.{{ $entityName.UpperCamelCase }}, nil @@ -112,13 +112,15 @@ func (entity *{{ $entityName.UpperCamelCase }}SpecEntity) SystemName() string { func (entity *{{ $entityName.UpperCamelCase }}SpecEntity) internal() { {{ range .Fields }} {{- if .Type.IsEnum }} - var _ *{{ enumTypePackage . }}.{{ .Type.Enum.Name.UpperCamelCase }} + // Enum + var _ *{{ enumTypePackage . }}{{ .Type.Enum.Name.UpperCamelCase }} {{- else if isMap . }} //{{ .Name }} {{- else if isStructPB . -}} //{{ .Name }} {{- else if isStruct . -}} - var _ *{{ structTypePackage . }}.{{ structType . }} + // Struct + var _ *{{ structTypePackage . }}{{ structType . }} {{- else if .Type.IsEmbed -}} {{ if IsDuration . }}var _ durationpb.Duration{{ end }} {{ if IsTimestamp . }}var _ timestamppb.Timestamp{{ end }} diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/entity_unspecified/templates/file.go.tmpl b/libs/plugins/protoc-gen-platform/languages/go/plugins/entity_unspecified/templates/file.go.tmpl index c1bec90f..e0dde6ef 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/entity_unspecified/templates/file.go.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/entity_unspecified/templates/file.go.tmpl @@ -2,7 +2,7 @@ // source: {{ .File.InputPath }} {{ $e := entity .File }}{{ $imports := getAllGoFieldLevelImportPaths .File }}{{ $version := getPackageVersion .File }}{{ $apiType := getApiOptionsTypeName .File }}{{ $system := domainSystemName2 .File }}{{ $topLevel := getTopLevelFolderFromFile .File }} -package {{ package .File }}model +package {{ package .File }} import ( "context" "encoding/json" @@ -11,7 +11,6 @@ import ( {{ if not $i }}"google.golang.org/protobuf/types/known/anypb"{{ end }} "errors" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" - "github.com/openecosystems/ecosystem/libs/{{ $apiType }}/go/protobuf/gen/{{ $topLevel.LowerCamelCase }}/{{ $system.LowerCamelCase }}/{{ $version }}" {{ range $key, $value := $imports }} {{ $value }} "{{ $key }}" diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/multiplexer/templates/file.go.tmpl b/libs/plugins/protoc-gen-platform/languages/go/plugins/multiplexer/templates/file.go.tmpl index b7020fa7..159dc396 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/multiplexer/templates/file.go.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/multiplexer/templates/file.go.tmpl @@ -2,7 +2,7 @@ // source: {{ .InputPath }} {{ $s := service . }}{{ $q := queries . }}{{ $m := mutations . }}{{ $goPath := goPath . }}{{ $e := entity . }}{{ $imports := getAllGoFieldLevelImportPaths .File }}{{ $system := domainSystemName2 .File }}{{ $apiType := getApiOptionsTypeName .File }}{{ $version := getPackageVersion .File }}{{ $topLevel := getTopLevelFolderFromFile .File }} -package {{ package . }}srv +package {{ package . }} import ( "errors" "connectrpc.com/connect" @@ -10,8 +10,6 @@ import ( "github.com/openecosystems/ecosystem/libs/partner/go/nats" "github.com/openecosystems/ecosystem/libs/partner/go/opentelemetry" "github.com/openecosystems/ecosystem/libs/partner/go/protovalidate" - "github.com/openecosystems/ecosystem/libs/{{ $apiType }}/go/model/gen/{{ $topLevel.LowerCamelCase }}/{{ $system.LowerCamelCase }}/{{ $version }}" - "github.com/openecosystems/ecosystem/libs/{{ $apiType }}/go/protobuf/gen/{{ $topLevel.LowerCamelCase }}/{{ $system.LowerCamelCase }}/{{ $version }}" {{ if $s }}"github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha"{{end}} "go.opentelemetry.io/otel/trace" "google.golang.org/protobuf/proto" diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/multiplexer/templates/mutation_implemented.go.tmpl b/libs/plugins/protoc-gen-platform/languages/go/plugins/multiplexer/templates/mutation_implemented.go.tmpl index 95ee1c82..eb8babe1 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/multiplexer/templates/mutation_implemented.go.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/multiplexer/templates/mutation_implemented.go.tmpl @@ -1,4 +1,4 @@ -{{ $s := parentService . }}{{ $goPath := goPath .File }}{{ $e := parentEntity . }}{{ $entityName := entityName $e }}func (s *{{ $s.Name }}Handler) {{ .Name }}(ctx context.Context, req *connect.Request[{{ package .File }}.{{ .Input.Name }}]) (*connect.Response[{{ package .File }}.{{ .Output.Name }}], error) { +{{ $s := parentService . }}{{ $goPath := goPath .File }}{{ $e := parentEntity . }}{{ $entityName := entityName $e }}func (s *{{ $s.Name }}Handler) {{ .Name }}(ctx context.Context, req *connect.Request[{{ .Input.Name }}]) (*connect.Response[{{ .Output.Name }}], error) { tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -22,7 +22,7 @@ specSpan.End() // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&{{ package .File }}.{{ .Output.Name }}{}) { + if !spec.SpecData.FieldMask.IsValid(&{{ .Output.Name }}{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -31,12 +31,12 @@ if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) -entity := {{ package .File }}model.{{ $entityName.UpperCamelCase }}SpecEntity{} +entity := {{ $entityName.UpperCamelCase }}SpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", -CommandTopic: {{ package .File }}model.CommandData{{ $entityName.UpperCamelCase }}Topic, +CommandTopic: CommandData{{ $entityName.UpperCamelCase }}Topic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -44,7 +44,7 @@ log.Error(err2.Error()) return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } -var dd {{ package .File }}.{{ .Output.Name }} +var dd {{ .Output.Name }} err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/multiplexer/templates/query_implemented.go.tmpl b/libs/plugins/protoc-gen-platform/languages/go/plugins/multiplexer/templates/query_implemented.go.tmpl index c29a08e5..1fd2ebc1 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/multiplexer/templates/query_implemented.go.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/multiplexer/templates/query_implemented.go.tmpl @@ -1,4 +1,4 @@ -{{ $s := parentService . }}{{ $goPath := goPath .File }}{{ $e := parentEntity . }}{{ $entityName := entityName $e }}func (s *{{ $s.Name }}Handler) {{ .Name }}(ctx context.Context, req *connect.Request[{{ package .File }}.{{ .Input.Name }}]) (*connect.Response[{{ package .File }}.{{ .Output.Name }}], error) { +{{ $s := parentService . }}{{ $goPath := goPath .File }}{{ $e := parentEntity . }}{{ $entityName := entityName $e }}func (s *{{ $s.Name }}Handler) {{ .Name }}(ctx context.Context, req *connect.Request[{{ .Input.Name }}]) (*connect.Response[{{ .Output.Name }}], error) { tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -22,7 +22,7 @@ specSpan.End() // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&{{ package .File }}.{{ .Output.Name }}{}) { + if !spec.SpecData.FieldMask.IsValid(&{{ .Output.Name }}{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -31,12 +31,12 @@ if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) -entity := {{ package .File }}model.{{ $entityName.UpperCamelCase }}SpecEntity{} +entity := {{ $entityName.UpperCamelCase }}SpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexEventSync(handlerCtx, spec, &natsnodev1.SpecEvent{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), EventName: "", -EventTopic: {{ package .File }}model.EventData{{ $entityName.UpperCamelCase }}Topic, +EventTopic: EventData{{ $entityName.UpperCamelCase }}Topic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -44,7 +44,7 @@ log.Error(err2.Error()) return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } -var dd {{ package .File }}.{{ .Output.Name }} +var dd {{ .Output.Name }} err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/go_sdk.go b/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/go_sdk.go index 9e993de0..8c406886 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/go_sdk.go +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/go_sdk.go @@ -99,6 +99,7 @@ func (m GoSdkModule) GenerateClientFile(file pgs.File) { "getApiOptionsTypeName": fns.GetApiOptionsTypeName, "domainSystemName2": fns.DomainSystemName2, "getApiOptionsNetwork": fns.GetApiOptionsNetwork, + "goPackage": fns.GoPackage, }) template.Must(tpl.ParseFS(templates, "templates/*")) m.Tpl = tpl @@ -107,7 +108,12 @@ func (m GoSdkModule) GenerateClientFile(file pgs.File) { return } - clientFileName := strings.TrimPrefix(m.ctx.OutputPath(file).SetExt(".client.go").String(), "platform/") + system := fns.DomainSystemName2(file).LowerCamelCase().String() + version := fns.GetPackageVersion(file) + fileName := fns.ProtoName(file) + + clientFileName := outPath.SetExt("/" + system + "/" + version + "/" + system + version + "pbconnect" + "/" + fileName + ".client.go").String() + // clientFileName := strings.TrimPrefix(m.ctx.OutputPath(file).SetExt(".client.go").String(), "platform/") m.OverwriteGeneratorTemplateFile(clientFileName, m.Tpl, file) } @@ -133,15 +139,11 @@ func (m GoSdkModule) GenerateProjectJsonFile(file pgs.File) { "getApiOptionsTypeName": fns.GetApiOptionsTypeName, "domainSystemName2": fns.DomainSystemName2, "getApiOptionsNetwork": fns.GetApiOptionsNetwork, + "goPackage": fns.GoPackage, }) template.Must(tpl.ParseFS(templates, "templates/*")) m.Tpl = tpl - msg := fns.Entity(file) - if msg == nil { - return - } - projectJsonFileName := outPath.SetExt("/" + fns.DomainSystemName2(file).LowerCamelCase().String() + "/" + fns.GetPackageVersion(file) + "/project.json").String() m.OverwriteGeneratorTemplateFile(projectJsonFileName, m.Tpl, file) } @@ -168,15 +170,11 @@ func (m GoSdkModule) GeneratePackageJsonFile(file pgs.File) { "getApiOptionsTypeName": fns.GetApiOptionsTypeName, "domainSystemName2": fns.DomainSystemName2, "getApiOptionsNetwork": fns.GetApiOptionsNetwork, + "goPackage": fns.GoPackage, }) template.Must(tpl.ParseFS(templates, "templates/*")) m.Tpl = tpl - msg := fns.Entity(file) - if msg == nil { - return - } - projectJsonFileName := outPath.SetExt("/" + fns.DomainSystemName2(file).LowerCamelCase().String() + "/" + fns.GetPackageVersion(file) + "/package.json").String() m.OverwriteGeneratorTemplateFile(projectJsonFileName, m.Tpl, file) } @@ -203,15 +201,11 @@ func (m GoSdkModule) GenerateGoModFile(file pgs.File) { "getApiOptionsTypeName": fns.GetApiOptionsTypeName, "domainSystemName2": fns.DomainSystemName2, "getApiOptionsNetwork": fns.GetApiOptionsNetwork, + "goPackage": fns.GoPackage, }) template.Must(tpl.ParseFS(templates, "templates/*")) m.Tpl = tpl - msg := fns.Entity(file) - if msg == nil { - return - } - goModFileName := outPath.SetExt("/" + fns.DomainSystemName2(file).LowerCamelCase().String() + "/" + fns.GetPackageVersion(file) + "/go.mod").String() m.OverwriteGeneratorTemplateFile(goModFileName, m.Tpl, file) } @@ -238,15 +232,11 @@ func (m GoSdkModule) GenerateGoReleaserFile(file pgs.File) { "getApiOptionsTypeName": fns.GetApiOptionsTypeName, "domainSystemName2": fns.DomainSystemName2, "getApiOptionsNetwork": fns.GetApiOptionsNetwork, + "goPackage": fns.GoPackage, }) template.Must(tpl.ParseFS(templates, "templates/*")) m.Tpl = tpl - msg := fns.Entity(file) - if msg == nil { - return - } - name := outPath.SetExt("/" + fns.DomainSystemName2(file).LowerCamelCase().String() + "/" + fns.GetPackageVersion(file) + "/.goreleaser.yaml").String() m.OverwriteGeneratorTemplateFile(name, m.Tpl, file) } @@ -273,15 +263,11 @@ func (m GoSdkModule) GenerateReadmeFile(file pgs.File) { "getApiOptionsTypeName": fns.GetApiOptionsTypeName, "domainSystemName2": fns.DomainSystemName2, "getApiOptionsNetwork": fns.GetApiOptionsNetwork, + "goPackage": fns.GoPackage, }) template.Must(tpl.ParseFS(templates, "templates/*")) m.Tpl = tpl - msg := fns.Entity(file) - if msg == nil { - return - } - name := outPath.SetExt("/" + fns.DomainSystemName2(file).LowerCamelCase().String() + "/" + fns.GetPackageVersion(file) + "/README.md").String() m.OverwriteGeneratorTemplateFile(name, m.Tpl, file) } diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/file.go.tmpl b/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/file.go.tmpl index 6ec880df..60ff70e6 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/file.go.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/file.go.tmpl @@ -1,18 +1,22 @@ // Code generated by protoc-gen-platform {{ pluginName }}. DO NOT EDIT. // source: {{ .InputPath }} {{ $s := service . }}{{ $version := getPackageVersion .File }}{{ $apiType := getApiOptionsTypeName .File }}{{ $system := domainSystemName2 .File }} -package {{ package . }}sdk +package {{ package . }}connect + import ( + //"net/http" + "connectrpc.com/connect" nebulav1 "github.com/openecosystems/ecosystem/libs/partner/go/nebula" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" - {{ package . }}connect "github.com/openecosystems/ecosystem/libs/{{ $apiType }}/go/protobuf/gen/platform/{{ $system.LowerCamelCase }}/{{ $version }}/{{ package . }}connect" ) -func New{{ $s.Name }}SpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *{{ package . }}connect.{{ $s.Name }}Client { +func New{{ $s.Name }}SpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *{{ $s.Name }}Client { nebula := nebulav1.Binding{} httpClient := nebula.GetMeshHTTPClient(config, baseURL) - c := {{ package . }}connect.New{{ $s.Name }}Client(httpClient, baseURL, opts...) + //httpClient := http.DefaultClient + + c := New{{ $s.Name }}Client(httpClient, baseURL, opts...) return &c } diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/go.mod.tmpl b/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/go.mod.tmpl index 21a97197..66b3caf4 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/go.mod.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/go.mod.tmpl @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform {{ pluginName }}. DO NOT EDIT. -// source: {{ .InputPath }}{{ $s := service . }}{{ $version := getPackageVersion .File }}{{ $e := entity .File }}{{ $entityName := entityName $e }}{{ $apiType := getApiOptionsTypeName .File }}{{ $system := domainSystemName2 .File }} -module libs/{{ $apiType }}/go/sdk/gen/{{ $system.LowerCamelCase }}/{{ $version }} - +// source: {{ .InputPath }}{{ $s := service . }}{{ $version := getPackageVersion .File }}{{ $apiType := getApiOptionsTypeName .File }}{{ $system := domainSystemName2 .File }} +// sourcePath: libs/{{ $apiType }}/go/sdk/gen/{{ $system.LowerCamelCase }}/{{ $version }} +module {{ goPackage . }} go 1.23.4 require connectrpc.com/connect v1.17.0 diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/goreleaser.yaml.tmpl b/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/goreleaser.yaml.tmpl index d16cc7df..dcfc3e06 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/goreleaser.yaml.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/goreleaser.yaml.tmpl @@ -1,5 +1,5 @@ # Code generated by protoc-gen-platform {{ pluginName }}. DO NOT EDIT. -# source: {{ .InputPath }}{{ $s := service . }}{{ $version := getPackageVersion .File }}{{ $e := entity .File }}{{ $entityName := entityName $e }}{{ $apiType := getApiOptionsTypeName .File }}{{ $system := domainSystemName2 .File }} +# source: {{ .InputPath }}{{ $s := service . }}{{ $version := getPackageVersion .File }}{{ $apiType := getApiOptionsTypeName .File }}{{ $system := domainSystemName2 .File }} # yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json version: 2 project_name: libs-{{ $apiType }}-go-sdk-{{ $system.LowerCamelCase }}-{{ $version }} diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/package.json.tmpl b/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/package.json.tmpl index 0cba0c39..319b3b62 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/package.json.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/package.json.tmpl @@ -1,4 +1,4 @@ -{{ $s := service . }}{{ $version := getPackageVersion .File }}{{ $e := entity .File }}{{ $entityName := entityName $e }}{{ $apiType := getApiOptionsTypeName .File }}{{ $system := domainSystemName2 .File }} +{{ $s := service . }}{{ $version := getPackageVersion .File }}{{ $apiType := getApiOptionsTypeName .File }}{{ $system := domainSystemName2 .File }} { "name": "sdk-{{ $system.LowerCamelCase }}-{{ $version }}", "version": "0.0.0", diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/project.json.tmpl b/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/project.json.tmpl index 43e3d681..ccb6e632 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/project.json.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/project.json.tmpl @@ -1,7 +1,7 @@ -{{ $s := service . }}{{ $version := getPackageVersion .File }}{{ $e := entity .File }}{{ $entityName := entityName $e }}{{ $apiType := getApiOptionsTypeName .File }}{{ $system := domainSystemName2 .File }} +{{ $s := service . }}{{ $version := getPackageVersion .File }}{{ $apiType := getApiOptionsTypeName .File }}{{ $system := domainSystemName2 .File }} { "name": "libs-{{ $apiType }}-go-sdk-{{ $system.LowerCamelCase }}-{{ $version }}", - "$schema": "../../../../../../../node_modules/nx/schemas/project-schema.json", + "$schema": "../../../../../../../../node_modules/nx/schemas/project-schema.json", "projectType": "library", "sourceRoot": "github.com/openecosystems/ecosystem/libs/{{ $apiType }}/go/sdk/gen/{{ $system.LowerCamelCase }}/{{ $version }}", "targets": { diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/readme.md.tmpl b/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/readme.md.tmpl index 19a86a24..67152c3d 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/readme.md.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/sdk/templates/readme.md.tmpl @@ -1,4 +1,4 @@ // Code generated by protoc-gen-platform {{ pluginName }}. DO NOT EDIT. -// source: {{ .InputPath }}{{ $s := service . }}{{ $version := getPackageVersion .File }}{{ $e := entity .File }}{{ $entityName := entityName $e }}{{ $apiType := getApiOptionsTypeName .File }}{{ $system := domainSystemName2 .File }} +// source: {{ .InputPath }}{{ $s := service . }}{{ $version := getPackageVersion .File }}{{ $apiType := getApiOptionsTypeName .File }}{{ $system := domainSystemName2 .File }} # README \ No newline at end of file diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/server/templates/file.go.tmpl b/libs/plugins/protoc-gen-platform/languages/go/plugins/server/templates/file.go.tmpl index 8dc0d0d2..2ff3fbe2 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/server/templates/file.go.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/server/templates/file.go.tmpl @@ -2,7 +2,7 @@ // source: {{ .InputPath }} {{ $s := service . }}{{ $q := queries . }}{{ $m := mutations . }}{{ $goPath := goPath . }}{{ $e := entity . }}{{ $imports := getAllGoFieldLevelImportPaths .File }}{{ $system := domainSystemName2 .File }}{{ $apiType := getApiOptionsTypeName .File }}{{ $version := getPackageVersion .File }} -package {{ package . }}srv +package {{ package . }} import ( "connectrpc.com/connect" "github.com/openecosystems/ecosystem/libs/partner/go/opentelemetry" diff --git a/libs/plugins/protoc-gen-platform/languages/go/plugins/spec/templates/file.go.tmpl b/libs/plugins/protoc-gen-platform/languages/go/plugins/spec/templates/file.go.tmpl index d43789a7..83f533b1 100644 --- a/libs/plugins/protoc-gen-platform/languages/go/plugins/spec/templates/file.go.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/go/plugins/spec/templates/file.go.tmpl @@ -1,6 +1,6 @@ // Code generated by protoc-gen-platform {{ pluginName }}. DO NOT EDIT. // source: {{ .File.InputPath }}{{ $e := entity .File }} -package {{ package . }}model +package {{ package . }} {{ template "spec.go.tmpl" $e }} diff --git a/libs/plugins/protoc-gen-platform/languages/protobuf/plugins/configuration/templates/file_options.go.tmpl b/libs/plugins/protoc-gen-platform/languages/protobuf/plugins/configuration/templates/file_options.go.tmpl index 1310ebb8..bf7380e0 100644 --- a/libs/plugins/protoc-gen-platform/languages/protobuf/plugins/configuration/templates/file_options.go.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/protobuf/plugins/configuration/templates/file_options.go.tmpl @@ -6,4 +6,4 @@ option (platform.options.v2.api_file) = { interface: API_INTERFACE_TYPE_OPERATIONAL; }; -option go_package = "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha;configurationv2alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha;configurationv2alphapb"; diff --git a/libs/plugins/protoc-gen-platform/languages/protobuf/plugins/data_catalog/templates/file_options.go.tmpl b/libs/plugins/protoc-gen-platform/languages/protobuf/plugins/data_catalog/templates/file_options.go.tmpl index 9701c8a5..051060f5 100644 --- a/libs/plugins/protoc-gen-platform/languages/protobuf/plugins/data_catalog/templates/file_options.go.tmpl +++ b/libs/plugins/protoc-gen-platform/languages/protobuf/plugins/data_catalog/templates/file_options.go.tmpl @@ -6,4 +6,4 @@ option (platform.options.v2.api_file) = { interface: API_INTERFACE_TYPE_OPERATIONAL; }; -option go_package = "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ontology/v2alpha;ontologyv2alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ontology/v2alpha;ontologyv2alphapb"; diff --git a/libs/plugins/protoc-gen-platform/shared/functions_package_go.go b/libs/plugins/protoc-gen-platform/shared/functions_package_go.go index 5e94d05b..a0f7943a 100644 --- a/libs/plugins/protoc-gen-platform/shared/functions_package_go.go +++ b/libs/plugins/protoc-gen-platform/shared/functions_package_go.go @@ -92,9 +92,9 @@ func (fns Functions) GetGoMapValueTypePackage(field pgs.Field) string { // GetEnumTypePackage retrieves the package name of the Enum type associated with the given field. func (fns Functions) GetEnumTypePackage(field pgs.Field) string { - _, pkg := fns.GetImportPathAndPackageForAnyEntity(field.Type().Enum()) - return pkg - // return fns.SelectivelyAddPackageName(path, pkg, field) + path, pkg := fns.GetImportPathAndPackageForAnyEntity(field.Type().Enum()) + // return pkg + return fns.SelectivelyAddPackageName(path, pkg, field) } // GetStructTypePackage returns the package name of the Go struct type associated with the provided field. @@ -104,10 +104,10 @@ func (fns Functions) GetStructTypePackage(field pgs.Field) string { panic("Field must be a struct to determine struct type") } - _, pkg := fns.GetImportPathAndPackageForAnyMessage(field.Type().Embed()) + path, pkg := fns.GetImportPathAndPackageForAnyMessage(field.Type().Embed()) - return pkg - // return fns.SelectivelyAddPackageName(path, pkg, field) + // return pkg + return fns.SelectivelyAddPackageName(path, pkg, field) } // GetGoSliceValueTypePackage returns the type package for a repeated field's element, panics if the field is not repeated. diff --git a/libs/poc/go/model/buf.gen.yaml b/libs/poc/go/model/buf.gen.yaml index b7ac8e1f..adc24a0c 100644 --- a/libs/poc/go/model/buf.gen.yaml +++ b/libs/poc/go/model/buf.gen.yaml @@ -2,25 +2,25 @@ version: v2 inputs: - directory: ../../../../proto/poc plugins: - - local: protoc-gen-platform - out: ./gen - opt: - - paths=source_relative - - language=go - - type=entity-unspecified - - prefix=poc - - local: protoc-gen-platform - out: ./gen - opt: - - paths=source_relative - - language=go - - type=spec - - prefix=poc - - local: protoc-gen-platform - out: ./gen - opt: - - paths=source_relative - - language=go - - type=spec-entities - - prefix=poc - strategy: all +# - local: protoc-gen-platform +# out: ./gen +# opt: +# - paths=source_relative +# - language=go +# - type=entity-unspecified +# - prefix=poc +# - local: protoc-gen-platform +# out: ./gen +# opt: +# - paths=source_relative +# - language=go +# - type=spec +# - prefix=poc +# - local: protoc-gen-platform +# out: ./gen +# opt: +# - paths=source_relative +# - language=go +# - type=spec-entities +# - prefix=poc +# strategy: all diff --git a/libs/poc/go/model/gen/platform/spec/v2alpha/entities.pb.entities.go b/libs/poc/go/model/gen/platform/spec/v2alpha/entities.pb.entities.go deleted file mode 100644 index 2ba18756..00000000 --- a/libs/poc/go/model/gen/platform/spec/v2alpha/entities.pb.entities.go +++ /dev/null @@ -1,14 +0,0 @@ -// Code generated by protoc-gen-platform go/spec-entities. DO NOT EDIT. -// source: Generated from all proto files - -package specentities -import ( - - reference "github.com/openecosystems/ecosystem/libs/poc/go/model/gen/platform/reference/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" -) - -var Registry = []sdkv2alphalib.Entity{ - - &reference.ReferenceSpecEntity{}, -} diff --git a/libs/poc/go/protobuf/buf.gen.yaml b/libs/poc/go/protobuf/buf.gen.yaml deleted file mode 100644 index 0399ade1..00000000 --- a/libs/poc/go/protobuf/buf.gen.yaml +++ /dev/null @@ -1,13 +0,0 @@ -version: v2 -inputs: - - directory: ../../../../proto/poc -plugins: - - remote: buf.build/protocolbuffers/go - out: ./gen - opt: paths=source_relative - - remote: buf.build/grpc/go - out: ./gen - opt: paths=source_relative - - remote: buf.build/connectrpc/go - out: ./gen - opt: paths=source_relative diff --git a/libs/poc/go/protobuf/gen/platform/reference/v2alpha/reference_grpc.pb.go b/libs/poc/go/protobuf/gen/platform/reference/v2alpha/reference_grpc.pb.go deleted file mode 100644 index 7b502802..00000000 --- a/libs/poc/go/protobuf/gen/platform/reference/v2alpha/reference_grpc.pb.go +++ /dev/null @@ -1,163 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.5.1 -// - protoc (unknown) -// source: platform/reference/v2alpha/reference.proto - -package referencev2alphapb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.64.0 or later. -const _ = grpc.SupportPackageIsVersion9 - -const ( - ReferenceService_Unary_FullMethodName = "/platform.reference.v2alpha.ReferenceService/Unary" - ReferenceService_ServerStreaming_FullMethodName = "/platform.reference.v2alpha.ReferenceService/ServerStreaming" -) - -// ReferenceServiceClient is the client API for ReferenceService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type ReferenceServiceClient interface { - Unary(ctx context.Context, in *UnaryRequest, opts ...grpc.CallOption) (*UnaryResponse, error) - ServerStreaming(ctx context.Context, in *ServerStreamingRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ServerStreamingResponse], error) -} - -type referenceServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewReferenceServiceClient(cc grpc.ClientConnInterface) ReferenceServiceClient { - return &referenceServiceClient{cc} -} - -func (c *referenceServiceClient) Unary(ctx context.Context, in *UnaryRequest, opts ...grpc.CallOption) (*UnaryResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(UnaryResponse) - err := c.cc.Invoke(ctx, ReferenceService_Unary_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *referenceServiceClient) ServerStreaming(ctx context.Context, in *ServerStreamingRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ServerStreamingResponse], error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - stream, err := c.cc.NewStream(ctx, &ReferenceService_ServiceDesc.Streams[0], ReferenceService_ServerStreaming_FullMethodName, cOpts...) - if err != nil { - return nil, err - } - x := &grpc.GenericClientStream[ServerStreamingRequest, ServerStreamingResponse]{ClientStream: stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type ReferenceService_ServerStreamingClient = grpc.ServerStreamingClient[ServerStreamingResponse] - -// ReferenceServiceServer is the server API for ReferenceService service. -// All implementations must embed UnimplementedReferenceServiceServer -// for forward compatibility. -type ReferenceServiceServer interface { - Unary(context.Context, *UnaryRequest) (*UnaryResponse, error) - ServerStreaming(*ServerStreamingRequest, grpc.ServerStreamingServer[ServerStreamingResponse]) error - mustEmbedUnimplementedReferenceServiceServer() -} - -// UnimplementedReferenceServiceServer must be embedded to have -// forward compatible implementations. -// -// NOTE: this should be embedded by value instead of pointer to avoid a nil -// pointer dereference when methods are called. -type UnimplementedReferenceServiceServer struct{} - -func (UnimplementedReferenceServiceServer) Unary(context.Context, *UnaryRequest) (*UnaryResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Unary not implemented") -} -func (UnimplementedReferenceServiceServer) ServerStreaming(*ServerStreamingRequest, grpc.ServerStreamingServer[ServerStreamingResponse]) error { - return status.Errorf(codes.Unimplemented, "method ServerStreaming not implemented") -} -func (UnimplementedReferenceServiceServer) mustEmbedUnimplementedReferenceServiceServer() {} -func (UnimplementedReferenceServiceServer) testEmbeddedByValue() {} - -// UnsafeReferenceServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to ReferenceServiceServer will -// result in compilation errors. -type UnsafeReferenceServiceServer interface { - mustEmbedUnimplementedReferenceServiceServer() -} - -func RegisterReferenceServiceServer(s grpc.ServiceRegistrar, srv ReferenceServiceServer) { - // If the following call pancis, it indicates UnimplementedReferenceServiceServer was - // embedded by pointer and is nil. This will cause panics if an - // unimplemented method is ever invoked, so we test this at initialization - // time to prevent it from happening at runtime later due to I/O. - if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { - t.testEmbeddedByValue() - } - s.RegisterService(&ReferenceService_ServiceDesc, srv) -} - -func _ReferenceService_Unary_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(UnaryRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReferenceServiceServer).Unary(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ReferenceService_Unary_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReferenceServiceServer).Unary(ctx, req.(*UnaryRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _ReferenceService_ServerStreaming_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(ServerStreamingRequest) - if err := stream.RecvMsg(m); err != nil { - return err - } - return srv.(ReferenceServiceServer).ServerStreaming(m, &grpc.GenericServerStream[ServerStreamingRequest, ServerStreamingResponse]{ServerStream: stream}) -} - -// This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name. -type ReferenceService_ServerStreamingServer = grpc.ServerStreamingServer[ServerStreamingResponse] - -// ReferenceService_ServiceDesc is the grpc.ServiceDesc for ReferenceService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var ReferenceService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "platform.reference.v2alpha.ReferenceService", - HandlerType: (*ReferenceServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Unary", - Handler: _ReferenceService_Unary_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "ServerStreaming", - Handler: _ReferenceService_ServerStreaming_Handler, - ServerStreams: true, - }, - }, - Metadata: "platform/reference/v2alpha/reference.proto", -} diff --git a/libs/poc/go/protobuf/go.mod b/libs/poc/go/protobuf/go.mod deleted file mode 100644 index 4464da0b..00000000 --- a/libs/poc/go/protobuf/go.mod +++ /dev/null @@ -1,16 +0,0 @@ -module github.com/openecosystems/ecosystem/libs/poc/go/protobuf - -go 1.23.4 - -require ( - connectrpc.com/connect v1.16.2 - google.golang.org/grpc v1.68.0 - google.golang.org/protobuf v1.36.1 -) - -require ( - golang.org/x/net v0.31.0 // indirect - golang.org/x/sys v0.27.0 // indirect - golang.org/x/text v0.20.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect -) diff --git a/libs/poc/go/protobuf/go.sum b/libs/poc/go/protobuf/go.sum deleted file mode 100644 index 150c02f4..00000000 --- a/libs/poc/go/protobuf/go.sum +++ /dev/null @@ -1,18 +0,0 @@ -connectrpc.com/connect v1.16.2 h1:ybd6y+ls7GOlb7Bh5C8+ghA6SvCBajHwxssO2CGFjqE= -connectrpc.com/connect v1.16.2/go.mod h1:n2kgwskMHXC+lVqb18wngEpF95ldBHXjZYJussz5FRc= -github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= -github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -golang.org/x/net v0.31.0 h1:68CPQngjLL0r2AlUKiSxtQFKvzRVbnzLwMUn5SzcLHo= -golang.org/x/net v0.31.0/go.mod h1:P4fl1q7dY2hnZFxEk4pPSkDHF+QqjitcnDjUQyMM+pM= -golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s= -golang.org/x/sys v0.27.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.20.0 h1:gK/Kv2otX8gz+wn7Rmb3vT96ZwuoxnQlY+HlJVj7Qug= -golang.org/x/text v0.20.0/go.mod h1:D4IsuqiFMhST5bX19pQ9ikHC2GsaKyk/oF+pn3ducp4= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 h1:pPJltXNxVzT4pK9yD8vR9X75DaWYYmLGMsEvBfFQZzQ= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= -google.golang.org/grpc v1.68.0 h1:aHQeeJbo8zAkAa3pRzrVjZlbz6uSfeOXlJNQM0RAbz0= -google.golang.org/grpc v1.68.0/go.mod h1:fmSPC5AsjSBCK54MyHRx48kpOti1/jRfOlwEWywNjWA= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= diff --git a/libs/poc/go/protobuf/project.json b/libs/poc/go/protobuf/project.json deleted file mode 100644 index b3ce8371..00000000 --- a/libs/poc/go/protobuf/project.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "name": "libs-poc-go-protobuf-v2alpha", - "$schema": "../../../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "sourceRoot": "libs/poc/go/protobuf", - "implicitDependencies": [ - "proto" - ], - "targets": { - "generate": { - "executor": "nx:run-commands", - "options": { - "command": "buf generate", - "cwd": "libs/poc/go/protobuf" - } - }, - "build": { - "executor": "nx:run-commands", - "options": { - "command": "go build ./...", - "cwd": "libs/poc/go/protobuf" - } - }, - "test": { - "executor": "nx:run-commands", - "options": { - "command": "go test -v ./... -cover -race", - "cwd": "libs/poc/go/protobuf" - } - }, - "clean": { - "executor": "nx:run-commands", - "options": { - "command": "go clean", - "cwd": "libs/poc/go/protobuf" - } - }, - "lint": { - "executor": "nx:run-commands", - "options": { - "commands": ["golangci-lint run ./... --timeout=5m"], - "parallel": false, - "cwd": "libs/poc/go/protobuf" - } - }, - "format": { - "executor": "nx:run-commands", - "options": { - "commands": ["go mod tidy", "gofumpt -l -w .", "golangci-lint run ./... --timeout=5m --fix"], - "parallel": false, - "cwd": "libs/poc/go/protobuf" - } - } - }, - "tags": [] -} diff --git a/libs/poc/go/sdk/buf.gen.yaml b/libs/poc/go/sdk/buf.gen.yaml index ce226b31..12e529d4 100644 --- a/libs/poc/go/sdk/buf.gen.yaml +++ b/libs/poc/go/sdk/buf.gen.yaml @@ -3,9 +3,39 @@ inputs: - directory: ../../../../proto/poc plugins: - local: protoc-gen-platform - out: ./gen + out: ./gen/platform opt: - paths=source_relative - language=go - type=sdk - prefix=poc + - local: protoc-gen-platform + out: ./gen + opt: + - paths=source_relative + - language=go + - type=multiplexer + - prefix=poc + - local: protoc-gen-platform + out: ./gen + opt: + - paths=source_relative + - language=go + - type=entity-unspecified + - prefix=poc + - local: protoc-gen-platform + out: ./gen + opt: + - paths=source_relative + - language=go + - type=spec + - prefix=poc + - remote: buf.build/protocolbuffers/go + out: ./gen + opt: paths=source_relative + # - remote: buf.build/grpc/go + # out: ./gen + # opt: paths=source_relative + - remote: buf.build/connectrpc/go + out: ./gen + opt: paths=source_relative \ No newline at end of file diff --git a/libs/poc/go/sdk/gen/reference/v2alpha/.goreleaser.yaml b/libs/poc/go/sdk/gen/platform/reference/v2alpha/.goreleaser.yaml similarity index 100% rename from libs/poc/go/sdk/gen/reference/v2alpha/.goreleaser.yaml rename to libs/poc/go/sdk/gen/platform/reference/v2alpha/.goreleaser.yaml diff --git a/libs/poc/go/sdk/gen/reference/v2alpha/README.md b/libs/poc/go/sdk/gen/platform/reference/v2alpha/README.md similarity index 100% rename from libs/poc/go/sdk/gen/reference/v2alpha/README.md rename to libs/poc/go/sdk/gen/platform/reference/v2alpha/README.md diff --git a/libs/poc/go/sdk/gen/reference/v2alpha/go.mod b/libs/poc/go/sdk/gen/platform/reference/v2alpha/go.mod similarity index 68% rename from libs/poc/go/sdk/gen/reference/v2alpha/go.mod rename to libs/poc/go/sdk/gen/platform/reference/v2alpha/go.mod index bab58c28..8c5e15d1 100644 --- a/libs/poc/go/sdk/gen/reference/v2alpha/go.mod +++ b/libs/poc/go/sdk/gen/platform/reference/v2alpha/go.mod @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/reference/v2alpha/reference.proto -module libs/poc/go/sdk/gen/reference/v2alpha - +// sourcePath: libs/poc/go/sdk/gen/reference/v2alpha +module github.com/openecosystems/ecosystem/libs/poc/go/sdk/gen/platform/reference/v2alpha go 1.23.4 require connectrpc.com/connect v1.17.0 diff --git a/libs/poc/go/sdk/gen/reference/v2alpha/package.json b/libs/poc/go/sdk/gen/platform/reference/v2alpha/package.json similarity index 100% rename from libs/poc/go/sdk/gen/reference/v2alpha/package.json rename to libs/poc/go/sdk/gen/platform/reference/v2alpha/package.json diff --git a/libs/poc/go/sdk/gen/reference/v2alpha/project.json b/libs/poc/go/sdk/gen/platform/reference/v2alpha/project.json similarity index 96% rename from libs/poc/go/sdk/gen/reference/v2alpha/project.json rename to libs/poc/go/sdk/gen/platform/reference/v2alpha/project.json index 1abafc83..cbc80d87 100644 --- a/libs/poc/go/sdk/gen/reference/v2alpha/project.json +++ b/libs/poc/go/sdk/gen/platform/reference/v2alpha/project.json @@ -1,12 +1,9 @@ { "name": "libs-poc-go-sdk-reference-v2alpha", - "$schema": "../../../../../../../node_modules/nx/schemas/project-schema.json", + "$schema": "../../../../../../../../node_modules/nx/schemas/project-schema.json", "projectType": "library", "sourceRoot": "github.com/openecosystems/ecosystem/libs/poc/go/sdk/gen/reference/v2alpha", - "implicitDependencies": [ - "proto" - ], "targets": { "build": { diff --git a/libs/poc/go/model/gen/platform/reference/v2alpha/reference.pb.entity.go b/libs/poc/go/sdk/gen/platform/reference/v2alpha/reference.pb.entity.go similarity index 86% rename from libs/poc/go/model/gen/platform/reference/v2alpha/reference.pb.entity.go rename to libs/poc/go/sdk/gen/platform/reference/v2alpha/reference.pb.entity.go index 90da885b..495f94ab 100644 --- a/libs/poc/go/model/gen/platform/reference/v2alpha/reference.pb.entity.go +++ b/libs/poc/go/sdk/gen/platform/reference/v2alpha/reference.pb.entity.go @@ -1,14 +1,13 @@ // Code generated by protoc-gen-platform go/entity-unspecified. DO NOT EDIT. // source: platform/reference/v2alpha/reference.proto -package referencev2alphapbmodel +package referencev2alphapb import ( "context" "encoding/json" "errors" - "github.com/openecosystems/ecosystem/libs/poc/go/protobuf/gen/platform/reference/v2alpha" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "google.golang.org/protobuf/types/known/anypb" @@ -17,20 +16,20 @@ import ( ) type ReferenceSpecEntity struct { - Reference *referencev2alphapb.Reference + Reference *Reference } func NewReferenceSpecEntity(specContext *specv2pb.SpecContext) (*ReferenceSpecEntity, error) { return &ReferenceSpecEntity{ - Reference: &referencev2alphapb.Reference{}, + Reference: &Reference{}, }, nil } func NewReferenceSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*ReferenceSpecEntity, error) { - data := &referencev2alphapb.Reference{} - err := sdkv2alphalib.GetDataFromSpec[*referencev2alphapb.Reference](ctx, s, data) + data := &Reference{} + err := sdkv2alphalib.GetDataFromSpec[*Reference](ctx, s, data) if err != nil { return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(err) } @@ -40,7 +39,7 @@ func NewReferenceSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*Ref }, nil } -func (entity *ReferenceSpecEntity) ToProto() (*referencev2alphapb.Reference, error) { +func (entity *ReferenceSpecEntity) ToProto() (*Reference, error) { return entity.Reference, nil diff --git a/libs/poc/go/protobuf/gen/platform/reference/v2alpha/reference.pb.go b/libs/poc/go/sdk/gen/platform/reference/v2alpha/reference.pb.go similarity index 98% rename from libs/poc/go/protobuf/gen/platform/reference/v2alpha/reference.pb.go rename to libs/poc/go/sdk/gen/platform/reference/v2alpha/reference.pb.go index 9771683f..4d8b9a19 100644 --- a/libs/poc/go/protobuf/gen/platform/reference/v2alpha/reference.pb.go +++ b/libs/poc/go/sdk/gen/platform/reference/v2alpha/reference.pb.go @@ -580,19 +580,19 @@ var file_platform_reference_v2alpha_reference_proto_rawDesc = string([]byte{ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, - 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x42, 0xb3, 0x01, + 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x42, 0xae, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, 0x82, 0xb5, 0x18, 0x06, 0x08, 0x04, 0x10, 0x01, 0x18, 0x02, 0x8a, 0xb5, 0x18, 0x1e, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x0a, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x22, 0x03, 0x6a, 0x61, 0x6e, 0x28, 0x02, 0x92, 0xb5, 0x18, 0x05, 0x0a, 0x03, 0x02, 0x03, 0x06, 0x9a, 0xb5, 0x18, 0x02, 0x08, - 0x01, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x6a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x01, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x65, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6c, 0x69, 0x62, - 0x73, 0x2f, 0x70, 0x6f, 0x63, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x72, - 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x3b, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x2f, 0x70, 0x6f, 0x63, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x67, 0x65, 0x6e, + 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, }) var ( diff --git a/libs/poc/go/model/gen/platform/reference/v2alpha/reference.pb.spec.go b/libs/poc/go/sdk/gen/platform/reference/v2alpha/reference.pb.spec.go similarity index 98% rename from libs/poc/go/model/gen/platform/reference/v2alpha/reference.pb.spec.go rename to libs/poc/go/sdk/gen/platform/reference/v2alpha/reference.pb.spec.go index 5827a2b1..e497c491 100644 --- a/libs/poc/go/model/gen/platform/reference/v2alpha/reference.pb.spec.go +++ b/libs/poc/go/sdk/gen/platform/reference/v2alpha/reference.pb.spec.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/spec. DO NOT EDIT. // source: platform/reference/v2alpha/reference.proto -package referencev2alphapbmodel +package referencev2alphapb type ReferenceCommand int type ReferenceEvent int diff --git a/libs/poc/go/sdk/gen/reference/v2alpha/reference.pb.client.go b/libs/poc/go/sdk/gen/platform/reference/v2alpha/referencev2alphapbconnect/reference.client.go similarity index 57% rename from libs/poc/go/sdk/gen/reference/v2alpha/reference.pb.client.go rename to libs/poc/go/sdk/gen/platform/reference/v2alpha/referencev2alphapbconnect/reference.client.go index d3646872..715a808f 100644 --- a/libs/poc/go/sdk/gen/reference/v2alpha/reference.pb.client.go +++ b/libs/poc/go/sdk/gen/platform/reference/v2alpha/referencev2alphapbconnect/reference.client.go @@ -1,19 +1,22 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/reference/v2alpha/reference.proto -package referencev2alphapbsdk +package referencev2alphapbconnect import ( + //"net/http" + "connectrpc.com/connect" nebulav1 "github.com/openecosystems/ecosystem/libs/partner/go/nebula" - referencev2alphapbconnect "github.com/openecosystems/ecosystem/libs/poc/go/protobuf/gen/platform/reference/v2alpha/referencev2alphapbconnect" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" ) -func NewReferenceServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *referencev2alphapbconnect.ReferenceServiceClient { +func NewReferenceServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *ReferenceServiceClient { nebula := nebulav1.Binding{} httpClient := nebula.GetMeshHTTPClient(config, baseURL) - c := referencev2alphapbconnect.NewReferenceServiceClient(httpClient, baseURL, opts...) + //httpClient := http.DefaultClient + + c := NewReferenceServiceClient(httpClient, baseURL, opts...) return &c } diff --git a/libs/poc/go/protobuf/gen/platform/reference/v2alpha/referencev2alphapbconnect/reference.connect.go b/libs/poc/go/sdk/gen/platform/reference/v2alpha/referencev2alphapbconnect/reference.connect.go similarity index 98% rename from libs/poc/go/protobuf/gen/platform/reference/v2alpha/referencev2alphapbconnect/reference.connect.go rename to libs/poc/go/sdk/gen/platform/reference/v2alpha/referencev2alphapbconnect/reference.connect.go index d41b84d4..0a6197f6 100644 --- a/libs/poc/go/protobuf/gen/platform/reference/v2alpha/referencev2alphapbconnect/reference.connect.go +++ b/libs/poc/go/sdk/gen/platform/reference/v2alpha/referencev2alphapbconnect/reference.connect.go @@ -8,7 +8,7 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v2alpha "github.com/openecosystems/ecosystem/libs/poc/go/protobuf/gen/platform/reference/v2alpha" + v2alpha "github.com/openecosystems/ecosystem/libs/poc/go/sdk/gen/platform/reference/v2alpha" http "net/http" strings "strings" ) diff --git a/libs/poc/go/sdk/gen/reference/v2alpha/CHANGELOG.md b/libs/poc/go/sdk/gen/reference/v2alpha/CHANGELOG.md deleted file mode 100644 index 6b887a3f..00000000 --- a/libs/poc/go/sdk/gen/reference/v2alpha/CHANGELOG.md +++ /dev/null @@ -1,77 +0,0 @@ -## 0.1.1 (2024-12-28) - -### 🩹 Fixes - -- stabilizing ([154a00a](https://github.com/openecosystems/ecosystem/commit/154a00a)) -- stabilizing ([bb7fdbf](https://github.com/openecosystems/ecosystem/commit/bb7fdbf)) -- stabilizing ([49ae473](https://github.com/openecosystems/ecosystem/commit/49ae473)) -- stabilizing ([7bc34a6](https://github.com/openecosystems/ecosystem/commit/7bc34a6)) -- stabilizing ([6d6d904](https://github.com/openecosystems/ecosystem/commit/6d6d904)) -- stabilizing ([86a41b4](https://github.com/openecosystems/ecosystem/commit/86a41b4)) -- stabilizing ([904b3c8](https://github.com/openecosystems/ecosystem/commit/904b3c8)) -- stabilizing ([6c1336e](https://github.com/openecosystems/ecosystem/commit/6c1336e)) -- stabilizing ([cf9de6c](https://github.com/openecosystems/ecosystem/commit/cf9de6c)) -- stabilizing ([a2d04a3](https://github.com/openecosystems/ecosystem/commit/a2d04a3)) -- stabilizing ([5f65e48](https://github.com/openecosystems/ecosystem/commit/5f65e48)) -- stabilizing ([9e3f78b](https://github.com/openecosystems/ecosystem/commit/9e3f78b)) -- stabilizing ([8d1d6da](https://github.com/openecosystems/ecosystem/commit/8d1d6da)) -- stabilizing ([d165d69](https://github.com/openecosystems/ecosystem/commit/d165d69)) -- stabilizing ([469e899](https://github.com/openecosystems/ecosystem/commit/469e899)) -- stabilizing ([0568e0c](https://github.com/openecosystems/ecosystem/commit/0568e0c)) - -### ❤️ Thank You - -- Dimy Jeannot - -## 0.4.0 (2024-12-27) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.3.0 (2024-12-23) - -### 🩹 Fixes - -- stabilizing ([2011bac](https://github.com/openecosystems/ecosystem/commit/2011bac)) -- stabilizing ([70c7403](https://github.com/openecosystems/ecosystem/commit/70c7403)) -- stabilizing ([03299c1](https://github.com/openecosystems/ecosystem/commit/03299c1)) -- stabilizing ([b79685e](https://github.com/openecosystems/ecosystem/commit/b79685e)) -- stabilizing ([a200f97](https://github.com/openecosystems/ecosystem/commit/a200f97)) -- updating dependencies to resolve security issues ([dd7b347](https://github.com/openecosystems/ecosystem/commit/dd7b347)) -- working on cicd ([fdc04a5](https://github.com/openecosystems/ecosystem/commit/fdc04a5)) -- working on cicd ([426ec24](https://github.com/openecosystems/ecosystem/commit/426ec24)) -- working on cicd ([b204f77](https://github.com/openecosystems/ecosystem/commit/b204f77)) -- working on cicd ([7626cae](https://github.com/openecosystems/ecosystem/commit/7626cae)) -- working on cicd ([#5](https://github.com/openecosystems/ecosystem/pull/5)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.2.0 (2024-12-23) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.1.0 (2024-12-11) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot \ No newline at end of file diff --git a/libs/poc/go/sdk/gen/reference/v2alpha/go.sum b/libs/poc/go/sdk/gen/reference/v2alpha/go.sum deleted file mode 100644 index d1c71933..00000000 --- a/libs/poc/go/sdk/gen/reference/v2alpha/go.sum +++ /dev/null @@ -1,10 +0,0 @@ -connectrpc.com/connect v1.17.0 h1:W0ZqMhtVzn9Zhn2yATuUokDLO5N+gIuBWMOnsQrfmZk= -connectrpc.com/connect v1.17.0/go.mod h1:0292hj1rnx8oFrStN7cB4jjVBeqs+Yx5yDIC2prWDO8= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= -golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= -golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= -golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= -google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= -google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= diff --git a/libs/private/go/infrastructure/v2alpha/configurer.go.notused b/libs/private/go/infrastructure/v2alpha/configurer.go.notused deleted file mode 100644 index 826afa80..00000000 --- a/libs/private/go/infrastructure/v2alpha/configurer.go.notused +++ /dev/null @@ -1,75 +0,0 @@ -package infrastructurev2alphalib - -import ( - "fmt" - - specv2pb "libs/protobuf/go/protobuf/gen/platform/spec/v2" - sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" -) - -// ResolvedConfiguration is a pointer to the globally resolved Configuration instance containing application settings. -var ResolvedConfiguration *Configuration - -// Configuration represents the core structure for managing application-specific settings and resolving configurations. -type Configuration struct { - specv2pb.App - - err error -} - -// ResolveConfiguration initializes, loads, and merges configuration settings from defaults, YAML, and package.json. -func (c *Configuration) ResolveConfiguration() { - _, err := sdkv2alphalib.NewSpecYamlSettingsProvider() - if err != nil { - fmt.Println("resolve infrastructure configuration error: ", err) - c.err = err - } - - var config Configuration - - sdkv2alphalib.Resolve(&config, c.GetDefaultConfiguration().(Configuration)) //nolint:govet,copylocks - var sdkConfig sdkv2alphalib.Configuration - sdkv2alphalib.ImportPackageJson(&sdkConfig) - - if sdkConfig.App.Name != "" { - config.App.Name = sdkConfig.App.Name - } - - if sdkConfig.App.Version != "" { - config.App.Version = sdkConfig.App.Version - } - - if config.App.EnvironmentName != "" { - sdkConfig.App.EnvironmentName = config.App.EnvironmentName - } - - if config.App.EnvironmentType != "" { - sdkConfig.App.EnvironmentType = config.App.EnvironmentType - } - - sdkConfig.App.Debug = config.App.Debug - sdkConfig.App.Verbose = config.App.Verbose - - ResolvedConfiguration = &config - sdkv2alphalib.ResolvedConfiguration = &sdkConfig -} - -// ValidateConfiguration checks the current configuration's validity and returns an error if validation fails. -func (c *Configuration) ValidateConfiguration() error { - return nil -} - -// GetDefaultConfiguration returns a default configuration instance with pre-defined application settings. -func (c *Configuration) GetDefaultConfiguration() interface{} { - return Configuration{ - App: specv2pb.App{ - Name: "infrastructure", - Version: "0.0.0", - Description: "Infrastructure", - EnvironmentName: "local-1", - EnvironmentType: "local", - Debug: false, - Verbose: false, - }, - } -} diff --git a/libs/private/go/infrastructure/v2alpha/go.mod b/libs/private/go/infrastructure/v2alpha/go.mod deleted file mode 100644 index f432d263..00000000 --- a/libs/private/go/infrastructure/v2alpha/go.mod +++ /dev/null @@ -1,93 +0,0 @@ -module github.com/openecosystems/ecosystem/libs/private/go/infrastructure/v2alpha - -go 1.23.4 - -require github.com/pulumi/pulumi/sdk/v3 v3.137.0 - -require ( - dario.cat/mergo v1.0.0 // indirect - github.com/BurntSushi/toml v1.3.2 // indirect - github.com/Microsoft/go-winio v0.6.1 // indirect - github.com/ProtonMail/go-crypto v1.0.0 // indirect - github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da // indirect - github.com/agext/levenshtein v1.2.3 // indirect - github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect - github.com/atotto/clipboard v0.1.4 // indirect - github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect - github.com/blang/semver v3.5.1+incompatible // indirect - github.com/charmbracelet/bubbles v0.16.1 // indirect - github.com/charmbracelet/bubbletea v0.25.0 // indirect - github.com/charmbracelet/lipgloss v0.7.1 // indirect - github.com/cheggaaa/pb v1.0.29 // indirect - github.com/cloudflare/circl v1.3.7 // indirect - github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect - github.com/cyphar/filepath-securejoin v0.2.4 // indirect - github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect - github.com/djherbis/times v1.5.0 // indirect - github.com/emirpasic/gods v1.18.1 // indirect - github.com/fatih/color v1.14.1 // indirect - github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect - github.com/go-git/go-billy/v5 v5.5.0 // indirect - github.com/go-git/go-git/v5 v5.12.0 // indirect - github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang/glog v1.2.1 // indirect - github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect - github.com/google/uuid v1.6.0 // indirect - github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 // indirect - github.com/hashicorp/errwrap v1.1.0 // indirect - github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/hashicorp/hcl/v2 v2.17.0 // indirect - github.com/inconshreveable/mousetrap v1.1.0 // indirect - github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect - github.com/kevinburke/ssh_config v1.2.0 // indirect - github.com/lucasb-eyer/go-colorful v1.2.0 // indirect - github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.20 // indirect - github.com/mattn/go-localereader v0.0.1 // indirect - github.com/mattn/go-runewidth v0.0.15 // indirect - github.com/mitchellh/go-ps v1.0.0 // indirect - github.com/mitchellh/go-wordwrap v1.0.1 // indirect - github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect - github.com/muesli/cancelreader v0.2.2 // indirect - github.com/muesli/reflow v0.3.0 // indirect - github.com/muesli/termenv v0.15.2 // indirect - github.com/opentracing/basictracer-go v1.1.0 // indirect - github.com/opentracing/opentracing-go v1.2.0 // indirect - github.com/pgavlin/fx v0.1.6 // indirect - github.com/pjbgf/sha1cd v0.3.0 // indirect - github.com/pkg/errors v0.9.1 // indirect - github.com/pkg/term v1.1.0 // indirect - github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect - github.com/pulumi/esc v0.9.1 // indirect - github.com/rivo/uniseg v0.4.4 // indirect - github.com/rogpeppe/go-internal v1.12.0 // indirect - github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 // indirect - github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 // indirect - github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect - github.com/skeema/knownhosts v1.2.2 // indirect - github.com/spf13/cobra v1.7.0 // indirect - github.com/spf13/pflag v1.0.5 // indirect - github.com/stretchr/objx v0.5.2 // indirect - github.com/texttheater/golang-levenshtein v1.0.1 // indirect - github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect - github.com/uber/jaeger-lib v2.4.1+incompatible // indirect - github.com/xanzy/ssh-agent v0.3.3 // indirect - github.com/zclconf/go-cty v1.13.2 // indirect - go.uber.org/atomic v1.10.0 // indirect - golang.org/x/crypto v0.27.0 // indirect - golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect - golang.org/x/mod v0.18.0 // indirect - golang.org/x/net v0.29.0 // indirect - golang.org/x/sync v0.8.0 // indirect - golang.org/x/sys v0.25.0 // indirect - golang.org/x/term v0.24.0 // indirect - golang.org/x/text v0.18.0 // indirect - golang.org/x/tools v0.22.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect - google.golang.org/grpc v1.66.1 // indirect - google.golang.org/protobuf v1.34.2 // indirect - gopkg.in/warnings.v0 v0.1.2 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect - lukechampine.com/frand v1.4.2 // indirect -) diff --git a/libs/private/go/infrastructure/v2alpha/go.sum b/libs/private/go/infrastructure/v2alpha/go.sum deleted file mode 100644 index dbeb05df..00000000 --- a/libs/private/go/infrastructure/v2alpha/go.sum +++ /dev/null @@ -1,314 +0,0 @@ -dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= -dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= -github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8= -github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= -github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= -github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo= -github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= -github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= -github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= -github.com/ProtonMail/go-crypto v1.0.0 h1:LRuvITjQWX+WIfr930YHG2HNfjR1uOfyf5vE0kC2U78= -github.com/ProtonMail/go-crypto v1.0.0/go.mod h1:EjAoLdwvbIOoOQr3ihjnSoLZRtE8azugULFRteWMNc0= -github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da h1:KjTM2ks9d14ZYCvmHS9iAKVt9AyzRSqNU1qabPih5BY= -github.com/aead/chacha20 v0.0.0-20180709150244-8b13a72661da/go.mod h1:eHEWzANqSiWQsof+nXEI9bUVUyV6F53Fp89EuCh2EAA= -github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo= -github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558= -github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= -github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= -github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= -github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= -github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= -github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= -github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4= -github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI= -github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= -github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= -github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdnnjpJbkM4JQ= -github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= -github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= -github.com/charmbracelet/bubbles v0.16.1 h1:6uzpAAaT9ZqKssntbvZMlksWHruQLNxg49H5WdeuYSY= -github.com/charmbracelet/bubbles v0.16.1/go.mod h1:2QCp9LFlEsBQMvIYERr7Ww2H2bA7xen1idUDIzm/+Xc= -github.com/charmbracelet/bubbletea v0.25.0 h1:bAfwk7jRz7FKFl9RzlIULPkStffg5k6pNt5dywy4TcM= -github.com/charmbracelet/bubbletea v0.25.0/go.mod h1:EN3QDR1T5ZdWmdfDzYcqOCAps45+QIJbLOBxmVNWNNg= -github.com/charmbracelet/lipgloss v0.7.1 h1:17WMwi7N1b1rVWOjMT+rCh7sQkvDU75B2hbZpc5Kc1E= -github.com/charmbracelet/lipgloss v0.7.1/go.mod h1:yG0k3giv8Qj8edTCbbg6AlQ5e8KNWpFujkNawKNhE2c= -github.com/cheggaaa/pb v1.0.29 h1:FckUN5ngEk2LpvuG0fw1GEFx6LtyY2pWI/Z2QgCnEYo= -github.com/cheggaaa/pb v1.0.29/go.mod h1:W40334L7FMC5JKWldsTWbdGjLo0RxUKK73K+TuPxX30= -github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= -github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU= -github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA= -github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 h1:q2hJAaP1k2wIvVRd/hEHD7lacgqrCPS+k8g1MndzfWY= -github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81/go.mod h1:YynlIjWYF8myEu6sdkwKIvGQq+cOckRm6So2avqoYAk= -github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg= -github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= -github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/djherbis/times v1.5.0 h1:79myA211VwPhFTqUk8xehWrsEO+zcIZj0zT8mXPVARU= -github.com/djherbis/times v1.5.0/go.mod h1:5q7FDLvbNg1L/KaBmPcWlVR9NmoKo3+ucqUA3ijQhA0= -github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a h1:mATvB/9r/3gvcejNsXKSkQ6lcIaNec2nyfOdlTBR2lU= -github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= -github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc= -github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ= -github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= -github.com/fatih/color v1.14.1 h1:qfhVLaG5s+nCROl1zJsZRxFeYrHLqWroPOQ8BWiNb4w= -github.com/fatih/color v1.14.1/go.mod h1:2oHN61fhTpgcxD3TSWCgKDiH1+x4OiDVVGH8WlgGZGg= -github.com/gliderlabs/ssh v0.3.7 h1:iV3Bqi942d9huXnzEF2Mt+CY9gLu8DNM4Obd+8bODRE= -github.com/gliderlabs/ssh v0.3.7/go.mod h1:zpHEXBstFnQYtGnB8k8kQLol82umzn/2/snG7alWVD8= -github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= -github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= -github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU= -github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= -github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4= -github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII= -github.com/go-git/go-git/v5 v5.12.0 h1:7Md+ndsjrzZxbddRDZjF14qK+NN56sy6wkqaVrjZtys= -github.com/go-git/go-git/v5 v5.12.0/go.mod h1:FTM9VKtnI2m65hNI/TenDDDnUf2Q9FHnXYjuz9i5OEY= -github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= -github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/glog v1.2.1 h1:OptwRhECazUx5ix5TTWC3EZhsZEHWcYWY4FQHTIubm4= -github.com/golang/glog v1.2.1/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= -github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645 h1:MJG/KsmcqMwFAkh8mTnAwhyKoB+sTAnY4CACC110tbU= -github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw= -github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= -github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= -github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= -github.com/hashicorp/hcl/v2 v2.17.0 h1:z1XvSUyXd1HP10U4lrLg5e0JMVz6CPaJvAgxM0KNZVY= -github.com/hashicorp/hcl/v2 v2.17.0/go.mod h1:gJyW2PTShkJqQBKpAmPO3yxMxIuoXkOF2TpqXzrQyx4= -github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= -github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= -github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= -github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= -github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= -github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= -github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= -github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= -github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY= -github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= -github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= -github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= -github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= -github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= -github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= -github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4= -github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88= -github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= -github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= -github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U= -github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= -github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc= -github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg= -github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= -github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= -github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 h1:ZK8zHtRHOkbHy6Mmr5D264iyp3TiX5OmNcI5cIARiQI= -github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6/go.mod h1:CJlz5H+gyd6CUWT45Oy4q24RdLyn7Md9Vj2/ldJBSIo= -github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA= -github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo= -github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s= -github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8= -github.com/muesli/termenv v0.15.2 h1:GohcuySI0QmI3wN8Ok9PtKGkgkFIk7y6Vpb5PvrY+Wo= -github.com/muesli/termenv v0.15.2/go.mod h1:Epx+iuz8sNs7mNKhxzH4fWXGNpZwUaJKRS1noLXviQ8= -github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= -github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M= -github.com/opentracing/basictracer-go v1.1.0 h1:Oa1fTSBvAl8pa3U+IJYqrKm0NALwH9OsgwOqDv4xJW0= -github.com/opentracing/basictracer-go v1.1.0/go.mod h1:V2HZueSJEp879yv285Aap1BS69fQMD+MNP1mRs6mBQc= -github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= -github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs= -github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= -github.com/pgavlin/fx v0.1.6 h1:r9jEg69DhNoCd3Xh0+5mIbdbS3PqWrVWujkY76MFRTU= -github.com/pgavlin/fx v0.1.6/go.mod h1:KWZJ6fqBBSh8GxHYqwYCf3rYE7Gp2p0N8tJp8xv9u9M= -github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= -github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= -github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= -github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435cARxCW6q9gc0S/Yxz7Mkd38pOb0= -github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= -github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= -github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/sdk/v3 v3.137.0 h1:bxhYpOY7Z4xt+VmezEpHuhjpOekkaMqOjzxFg/1OhCw= -github.com/pulumi/pulumi/sdk/v3 v3.137.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= -github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= -github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= -github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= -github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= -github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= -github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= -github.com/santhosh-tekuri/jsonschema/v5 v5.0.0 h1:TToq11gyfNlrMFZiYujSekIsPd9AmsA2Bj/iv+s4JHE= -github.com/santhosh-tekuri/jsonschema/v5 v5.0.0/go.mod h1:FKdcjfQW6rpZSnxxUvEA5H/cDPdvJ/SZJQLWWXWGrZ0= -github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8= -github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= -github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/skeema/knownhosts v1.2.2 h1:Iug2P4fLmDw9f41PB6thxUkNUkJzB5i+1/exaj40L3A= -github.com/skeema/knownhosts v1.2.2/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= -github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= -github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= -github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= -github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= -github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= -github.com/uber/jaeger-client-go v2.30.0+incompatible h1:D6wyKGCecFaSRUpo8lCVbaOOb6ThwMmTEbhRwtKR97o= -github.com/uber/jaeger-client-go v2.30.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk= -github.com/uber/jaeger-lib v2.4.1+incompatible h1:td4jdvLcExb4cBISKIpHuGoVXh+dVKhn2Um6rjCsSsg= -github.com/uber/jaeger-lib v2.4.1+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U= -github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= -github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -github.com/zclconf/go-cty v1.13.2 h1:4GvrUxe/QUDYuJKAav4EYqdM47/kZa672LwmXFmEKT0= -github.com/zclconf/go-cty v1.13.2/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= -go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ= -go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= -golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= -golang.org/x/crypto v0.27.0 h1:GXm2NjJrPaiv/h1tb2UH8QfgC/hOf/+z0p6PT8o1w7A= -golang.org/x/crypto v0.27.0/go.mod h1:1Xngt8kV6Dvbssa53Ziq6Eqn0HqbZi5Z6R0ZpwQzt70= -golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 h1:LoYXNGAShUG3m/ehNk4iFctuhGX/+R1ZpfJ4/ia80JM= -golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8/go.mod h1:jj3sYF3dwk5D+ghuXyeI3r5MFf+NT2An6/9dOA95KSI= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= -golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200421231249-e086a090c8fd/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= -golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= -golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= -golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= -golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= -golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= -golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.24.0 h1:Mh5cbb+Zk2hqqXNO7S1iTjEphVL+jb8ZWaqh/g+JWkM= -golang.org/x/term v0.24.0/go.mod h1:lOBK/LVxemqiMij05LGJ0tzNr8xlmwBRJ81PX6wVLH8= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= -golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= -golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 h1:pPJltXNxVzT4pK9yD8vR9X75DaWYYmLGMsEvBfFQZzQ= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= -google.golang.org/grpc v1.66.1 h1:hO5qAXR19+/Z44hmvIM4dQFMSYX9XcWsByfoxutBpAM= -google.golang.org/grpc v1.66.1/go.mod h1:s3/l6xSSCURdVfAnL+TqCNMyTDAGN6+lZeVxnZR128Y= -google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= -google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= -gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -lukechampine.com/frand v1.4.2 h1:RzFIpOvkMXuPMBb9maa4ND4wjBn71E1Jpf8BzJHMaVw= -lukechampine.com/frand v1.4.2/go.mod h1:4S/TM2ZgrKejMcKMbeLjISpJMO+/eZ1zu3vYX9dtj3s= -pgregory.net/rapid v0.5.5 h1:jkgx1TjbQPD/feRoK+S/mXw9e1uj6WilpHrXJowi6oA= -pgregory.net/rapid v0.5.5/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04= diff --git a/libs/private/go/infrastructure/v2alpha/infrastructure.go b/libs/private/go/infrastructure/v2alpha/infrastructure.go deleted file mode 100644 index 339975dd..00000000 --- a/libs/private/go/infrastructure/v2alpha/infrastructure.go +++ /dev/null @@ -1,70 +0,0 @@ -package infrastructurev2alphalib - -import ( - "context" - "fmt" - "strings" - "unicode/utf8" - - sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" - - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// Infrastructure represents the core structure for managing configuration, bindings, and their associated instances. -type Infrastructure struct { - Config *Configuration - Bindings *sdkv2alphalib.Bindings - Bounds []sdkv2alphalib.Binding -} - -// NewInfrastructure initializes a new Infrastructure instance with specified bindings and resolved configuration. -func NewInfrastructure(bounds []sdkv2alphalib.Binding) *Infrastructure { - ctx := context.Background() - - c := Configuration{} - c.ResolveConfiguration() - cfg := ResolvedConfiguration - ResolvedConfiguration = cfg - - bindings := sdkv2alphalib.RegisterBindings(ctx, bounds) - - return &Infrastructure{ - Config: cfg, - Bindings: bindings, - Bounds: bounds, - } -} - -// Run executes a Pulumi program using the provided RunFunc and optional runtime configuration options. -func (infrastructure *Infrastructure) Run(runFunc pulumi.RunFunc, opts ...pulumi.RunOption) { - pulumi.Run(runFunc, opts...) -} - -// ShortenString truncates the input string `s` to the specified `limit` while ensuring it remains a valid UTF-8 string. -func ShortenString(s string, limit int) string { - if len(s) < limit { - return s - } - - if utf8.ValidString(s[:limit]) { - return s[:limit] - } - return s[:limit+1] -} - -// WriteIndentedMultilineText takes a multiline string and returns it with each line prefixed by an 8-space indentation. -func WriteIndentedMultilineText(text string) string { - indent := " " - lines := strings.Split(text, "\n") - - var builder strings.Builder - - for _, line := range lines { - _, err := builder.WriteString(indent + line + "\n") - if err != nil { - fmt.Println(err) - } - } - return builder.String() -} diff --git a/libs/private/go/infrastructure/v2alpha/project.json b/libs/private/go/infrastructure/v2alpha/project.json deleted file mode 100644 index f6b00524..00000000 --- a/libs/private/go/infrastructure/v2alpha/project.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "libs-private-go-infrastructure-v2alpha", - "$schema": "../../../../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "sourceRoot": "libs/private/go/infrastructure/v2alpha", - "implicitDependencies": [ - "proto", - "protoc-gen-platform" - ], - "targets": { - "build": { - "executor": "nx:run-commands", - "options": { - "command": "GOOS=linux GOARCH=amd64 go build -o ../../../../../dist/libs/private/go/infrastructure/v2alpha/lib", - "cwd": "libs/private/go/infrastructure/v2alpha" - } - }, - "test": { - "executor": "nx:run-commands", - "options": { - "command": "go test -v ./... -cover -race", - "cwd": "libs/private/go/infrastructure/v2alpha" - } - }, - "clean": { - "executor": "nx:run-commands", - "options": { - "command": "go clean", - "cwd": "libs/private/go/infrastructure/v2alpha" - } - }, - "lint": { - "executor": "nx:run-commands", - "options": { - "commands": ["golangci-lint run ./... --timeout=5m"], - "parallel": false, - "cwd": "libs/private/go/infrastructure/v2alpha" - } - }, - "format": { - "executor": "nx:run-commands", - "options": { - "commands": ["go mod tidy", "gofumpt -l -w .", "golangci-lint run ./... --timeout=5m --fix"], - "parallel": false, - "cwd": "libs/private/go/infrastructure/v2alpha" - } - } - }, - "tags": [ - "type:lib", - "visibility:public", - "exposure:internal", - "language:golang" - ] -} diff --git a/libs/private/go/model/buf.gen.yaml b/libs/private/go/model/buf.gen.yaml index 8f0eb947..90bfda3d 100644 --- a/libs/private/go/model/buf.gen.yaml +++ b/libs/private/go/model/buf.gen.yaml @@ -2,25 +2,25 @@ version: v2 inputs: - directory: ../../../../proto/private plugins: - - local: protoc-gen-platform - out: ./gen - opt: - - paths=source_relative - - language=go - - type=entity-unspecified - - prefix=private - - local: protoc-gen-platform - out: ./gen - opt: - - paths=source_relative - - language=go - - type=spec - - prefix=private - - local: protoc-gen-platform - out: ./gen - opt: - - paths=source_relative - - language=go - - type=spec-entities - - prefix=private - strategy: all +# - local: protoc-gen-platform +# out: ./gen +# opt: +# - paths=source_relative +# - language=go +# - type=entity-unspecified +# - prefix=private +# - local: protoc-gen-platform +# out: ./gen +# opt: +# - paths=source_relative +# - language=go +# - type=spec +# - prefix=private +# - local: protoc-gen-platform +# out: ./gen +# opt: +# - paths=source_relative +# - language=go +# - type=spec-entities +# - prefix=private +# strategy: all diff --git a/libs/private/go/model/gen/platform/spec/v2alpha/entities.pb.entities.go b/libs/private/go/model/gen/platform/spec/v2alpha/entities.pb.entities.go deleted file mode 100644 index 7ff4e824..00000000 --- a/libs/private/go/model/gen/platform/spec/v2alpha/entities.pb.entities.go +++ /dev/null @@ -1,14 +0,0 @@ -// Code generated by protoc-gen-platform go/spec-entities. DO NOT EDIT. -// source: Generated from all proto files - -package specentities -import ( - - audit "github.com/openecosystems/ecosystem/libs/private/go/model/gen/platform/audit/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" -) - -var Registry = []sdkv2alphalib.Entity{ - - &audit.AuditSpecEntity{}, -} diff --git a/libs/private/go/ontology/v2alpha/go.mod b/libs/private/go/ontology/v2alpha/go.mod deleted file mode 100644 index a0cda375..00000000 --- a/libs/private/go/ontology/v2alpha/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module github.com/openecosystems/ecosystem/libs/private/go/ontology/v2alpha - -go 1.23.4 diff --git a/libs/private/go/ontology/v2alpha/ontology.go b/libs/private/go/ontology/v2alpha/ontology.go deleted file mode 100644 index 8d4cb278..00000000 --- a/libs/private/go/ontology/v2alpha/ontology.go +++ /dev/null @@ -1 +0,0 @@ -package ontologyv2alphalib diff --git a/libs/private/go/ontology/v2alpha/project.json b/libs/private/go/ontology/v2alpha/project.json deleted file mode 100644 index 59f14ff2..00000000 --- a/libs/private/go/ontology/v2alpha/project.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "name": "libs-private-go-ontology-v2alpha", - "$schema": "../../../../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "sourceRoot": "libs/private/go/ontology/v2alpha", - "implicitDependencies": [ - "proto", - "protoc-gen-platform" - ], - "targets": { - "build": { - "executor": "nx:run-commands", - "options": { - "command": "GOOS=linux GOARCH=amd64 go build -o ../../../../../dist/libs/private/go/ontology/v2alpha/lib", - "cwd": "libs/private/go/ontology/v2alpha" - } - }, - "test": { - "executor": "nx:run-commands", - "options": { - "command": "go test -v ./... -cover -race", - "cwd": "libs/private/go/ontology/v2alpha" - } - }, - "clean": { - "executor": "nx:run-commands", - "options": { - "command": "go clean", - "cwd": "libs/private/go/ontology/v2alpha" - } - }, - "lint": { - "executor": "nx:run-commands", - "options": { - "commands": ["golangci-lint run ./... --timeout=5m"], - "parallel": false, - "cwd": "libs/private/go/ontology/v2alpha" - } - }, - "format": { - "executor": "nx:run-commands", - "options": { - "commands": ["go mod tidy", "gofumpt -l -w .", "golangci-lint run ./... --timeout=5m --fix"], - "parallel": false, - "cwd": "libs/private/go/ontology/v2alpha" - } - } - }, - "tags": [ - "type:lib", - "visibility:public", - "exposure:internal", - "language:golang" - ] -} diff --git a/libs/private/go/protobuf/buf.gen.yaml b/libs/private/go/protobuf/buf.gen.yaml deleted file mode 100644 index 87c38c0e..00000000 --- a/libs/private/go/protobuf/buf.gen.yaml +++ /dev/null @@ -1,13 +0,0 @@ -version: v2 -inputs: - - directory: ../../../../proto/private -plugins: - - remote: buf.build/protocolbuffers/go - out: ./gen - opt: paths=source_relative - - remote: buf.build/grpc/go - out: ./gen - opt: paths=source_relative - - remote: buf.build/connectrpc/go - out: ./gen - opt: paths=source_relative diff --git a/libs/private/go/protobuf/gen/platform/audit/v2alpha/audit_grpc.pb.go b/libs/private/go/protobuf/gen/platform/audit/v2alpha/audit_grpc.pb.go deleted file mode 100644 index 02b7e34f..00000000 --- a/libs/private/go/protobuf/gen/platform/audit/v2alpha/audit_grpc.pb.go +++ /dev/null @@ -1,129 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.5.1 -// - protoc (unknown) -// source: platform/audit/v2alpha/audit.proto - -package auditv2alphapb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.64.0 or later. -const _ = grpc.SupportPackageIsVersion9 - -const ( - AuditService_Search_FullMethodName = "/platform.audit.v2alpha.AuditService/Search" -) - -// AuditServiceClient is the client API for AuditService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -// -// * -// Audit Service Interface -type AuditServiceClient interface { - // Method to search for an audit event. - Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error) -} - -type auditServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewAuditServiceClient(cc grpc.ClientConnInterface) AuditServiceClient { - return &auditServiceClient{cc} -} - -func (c *auditServiceClient) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (*SearchResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(SearchResponse) - err := c.cc.Invoke(ctx, AuditService_Search_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -// AuditServiceServer is the server API for AuditService service. -// All implementations must embed UnimplementedAuditServiceServer -// for forward compatibility. -// -// * -// Audit Service Interface -type AuditServiceServer interface { - // Method to search for an audit event. - Search(context.Context, *SearchRequest) (*SearchResponse, error) - mustEmbedUnimplementedAuditServiceServer() -} - -// UnimplementedAuditServiceServer must be embedded to have -// forward compatible implementations. -// -// NOTE: this should be embedded by value instead of pointer to avoid a nil -// pointer dereference when methods are called. -type UnimplementedAuditServiceServer struct{} - -func (UnimplementedAuditServiceServer) Search(context.Context, *SearchRequest) (*SearchResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Search not implemented") -} -func (UnimplementedAuditServiceServer) mustEmbedUnimplementedAuditServiceServer() {} -func (UnimplementedAuditServiceServer) testEmbeddedByValue() {} - -// UnsafeAuditServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to AuditServiceServer will -// result in compilation errors. -type UnsafeAuditServiceServer interface { - mustEmbedUnimplementedAuditServiceServer() -} - -func RegisterAuditServiceServer(s grpc.ServiceRegistrar, srv AuditServiceServer) { - // If the following call pancis, it indicates UnimplementedAuditServiceServer was - // embedded by pointer and is nil. This will cause panics if an - // unimplemented method is ever invoked, so we test this at initialization - // time to prevent it from happening at runtime later due to I/O. - if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { - t.testEmbeddedByValue() - } - s.RegisterService(&AuditService_ServiceDesc, srv) -} - -func _AuditService_Search_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SearchRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(AuditServiceServer).Search(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: AuditService_Search_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuditServiceServer).Search(ctx, req.(*SearchRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// AuditService_ServiceDesc is the grpc.ServiceDesc for AuditService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var AuditService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "platform.audit.v2alpha.AuditService", - HandlerType: (*AuditServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Search", - Handler: _AuditService_Search_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "platform/audit/v2alpha/audit.proto", -} diff --git a/libs/private/go/protobuf/gen/platform/encryption/v2alpha/encryption.pb.go b/libs/private/go/protobuf/gen/platform/encryption/v2alpha/encryption.pb.go deleted file mode 100644 index 9211e3b1..00000000 --- a/libs/private/go/protobuf/gen/platform/encryption/v2alpha/encryption.pb.go +++ /dev/null @@ -1,598 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.35.1 -// protoc (unknown) -// source: platform/encryption/v2alpha/encryption.proto - -package encryptionv2alphapb - -import ( - reflect "reflect" - sync "sync" - - _ "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/options/v2" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -type EncryptionConfiguration struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *EncryptionConfiguration) Reset() { - *x = EncryptionConfiguration{} - mi := &file_platform_encryption_v2alpha_encryption_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EncryptionConfiguration) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EncryptionConfiguration) ProtoMessage() {} - -func (x *EncryptionConfiguration) ProtoReflect() protoreflect.Message { - mi := &file_platform_encryption_v2alpha_encryption_proto_msgTypes[0] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EncryptionConfiguration.ProtoReflect.Descriptor instead. -func (*EncryptionConfiguration) Descriptor() ([]byte, []int) { - return file_platform_encryption_v2alpha_encryption_proto_rawDescGZIP(), []int{0} -} - -type EncryptionContext struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // TODO: Revisit these types. - User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` - Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` - Principal string `protobuf:"bytes,3,opt,name=principal,proto3" json:"principal,omitempty"` - Intent string `protobuf:"bytes,4,opt,name=intent,proto3" json:"intent,omitempty"` -} - -func (x *EncryptionContext) Reset() { - *x = EncryptionContext{} - mi := &file_platform_encryption_v2alpha_encryption_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EncryptionContext) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EncryptionContext) ProtoMessage() {} - -func (x *EncryptionContext) ProtoReflect() protoreflect.Message { - mi := &file_platform_encryption_v2alpha_encryption_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EncryptionContext.ProtoReflect.Descriptor instead. -func (*EncryptionContext) Descriptor() ([]byte, []int) { - return file_platform_encryption_v2alpha_encryption_proto_rawDescGZIP(), []int{1} -} - -func (x *EncryptionContext) GetUser() string { - if x != nil { - return x.User - } - return "" -} - -func (x *EncryptionContext) GetEntity() string { - if x != nil { - return x.Entity - } - return "" -} - -func (x *EncryptionContext) GetPrincipal() string { - if x != nil { - return x.Principal - } - return "" -} - -func (x *EncryptionContext) GetIntent() string { - if x != nil { - return x.Intent - } - return "" -} - -type CipherText struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CipherText []byte `protobuf:"bytes,1,opt,name=cipher_text,json=cipherText,proto3" json:"cipher_text,omitempty"` - EncryptionContext *EncryptionContext `protobuf:"bytes,2,opt,name=encryption_context,json=encryptionContext,proto3" json:"encryption_context,omitempty"` -} - -func (x *CipherText) Reset() { - *x = CipherText{} - mi := &file_platform_encryption_v2alpha_encryption_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *CipherText) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CipherText) ProtoMessage() {} - -func (x *CipherText) ProtoReflect() protoreflect.Message { - mi := &file_platform_encryption_v2alpha_encryption_proto_msgTypes[2] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CipherText.ProtoReflect.Descriptor instead. -func (*CipherText) Descriptor() ([]byte, []int) { - return file_platform_encryption_v2alpha_encryption_proto_rawDescGZIP(), []int{2} -} - -func (x *CipherText) GetCipherText() []byte { - if x != nil { - return x.CipherText - } - return nil -} - -func (x *CipherText) GetEncryptionContext() *EncryptionContext { - if x != nil { - return x.EncryptionContext - } - return nil -} - -type EncryptRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PlainText []byte `protobuf:"bytes,1,opt,name=plain_text,json=plainText,proto3" json:"plain_text,omitempty"` - AssociatedData []byte `protobuf:"bytes,2,opt,name=associated_data,json=associatedData,proto3" json:"associated_data,omitempty"` -} - -func (x *EncryptRequest) Reset() { - *x = EncryptRequest{} - mi := &file_platform_encryption_v2alpha_encryption_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EncryptRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EncryptRequest) ProtoMessage() {} - -func (x *EncryptRequest) ProtoReflect() protoreflect.Message { - mi := &file_platform_encryption_v2alpha_encryption_proto_msgTypes[3] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EncryptRequest.ProtoReflect.Descriptor instead. -func (*EncryptRequest) Descriptor() ([]byte, []int) { - return file_platform_encryption_v2alpha_encryption_proto_rawDescGZIP(), []int{3} -} - -func (x *EncryptRequest) GetPlainText() []byte { - if x != nil { - return x.PlainText - } - return nil -} - -func (x *EncryptRequest) GetAssociatedData() []byte { - if x != nil { - return x.AssociatedData - } - return nil -} - -type EncryptResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Result: - // - // *EncryptResponse_CipherText - // *EncryptResponse_Err - Result isEncryptResponse_Result `protobuf_oneof:"result"` -} - -func (x *EncryptResponse) Reset() { - *x = EncryptResponse{} - mi := &file_platform_encryption_v2alpha_encryption_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *EncryptResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*EncryptResponse) ProtoMessage() {} - -func (x *EncryptResponse) ProtoReflect() protoreflect.Message { - mi := &file_platform_encryption_v2alpha_encryption_proto_msgTypes[4] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use EncryptResponse.ProtoReflect.Descriptor instead. -func (*EncryptResponse) Descriptor() ([]byte, []int) { - return file_platform_encryption_v2alpha_encryption_proto_rawDescGZIP(), []int{4} -} - -func (m *EncryptResponse) GetResult() isEncryptResponse_Result { - if m != nil { - return m.Result - } - return nil -} - -func (x *EncryptResponse) GetCipherText() *CipherText { - if x, ok := x.GetResult().(*EncryptResponse_CipherText); ok { - return x.CipherText - } - return nil -} - -func (x *EncryptResponse) GetErr() string { - if x, ok := x.GetResult().(*EncryptResponse_Err); ok { - return x.Err - } - return "" -} - -type isEncryptResponse_Result interface { - isEncryptResponse_Result() -} - -type EncryptResponse_CipherText struct { - CipherText *CipherText `protobuf:"bytes,1,opt,name=cipher_text,json=cipherText,proto3,oneof"` -} - -type EncryptResponse_Err struct { - Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"` -} - -func (*EncryptResponse_CipherText) isEncryptResponse_Result() {} - -func (*EncryptResponse_Err) isEncryptResponse_Result() {} - -type DecryptRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CipherText *CipherText `protobuf:"bytes,1,opt,name=cipher_text,json=cipherText,proto3" json:"cipher_text,omitempty"` - AssociatedData []byte `protobuf:"bytes,2,opt,name=associated_data,json=associatedData,proto3" json:"associated_data,omitempty"` -} - -func (x *DecryptRequest) Reset() { - *x = DecryptRequest{} - mi := &file_platform_encryption_v2alpha_encryption_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DecryptRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DecryptRequest) ProtoMessage() {} - -func (x *DecryptRequest) ProtoReflect() protoreflect.Message { - mi := &file_platform_encryption_v2alpha_encryption_proto_msgTypes[5] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DecryptRequest.ProtoReflect.Descriptor instead. -func (*DecryptRequest) Descriptor() ([]byte, []int) { - return file_platform_encryption_v2alpha_encryption_proto_rawDescGZIP(), []int{5} -} - -func (x *DecryptRequest) GetCipherText() *CipherText { - if x != nil { - return x.CipherText - } - return nil -} - -func (x *DecryptRequest) GetAssociatedData() []byte { - if x != nil { - return x.AssociatedData - } - return nil -} - -type DecryptResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Result: - // - // *DecryptResponse_PlainText - // *DecryptResponse_Err - Result isDecryptResponse_Result `protobuf_oneof:"result"` -} - -func (x *DecryptResponse) Reset() { - *x = DecryptResponse{} - mi := &file_platform_encryption_v2alpha_encryption_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DecryptResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DecryptResponse) ProtoMessage() {} - -func (x *DecryptResponse) ProtoReflect() protoreflect.Message { - mi := &file_platform_encryption_v2alpha_encryption_proto_msgTypes[6] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DecryptResponse.ProtoReflect.Descriptor instead. -func (*DecryptResponse) Descriptor() ([]byte, []int) { - return file_platform_encryption_v2alpha_encryption_proto_rawDescGZIP(), []int{6} -} - -func (m *DecryptResponse) GetResult() isDecryptResponse_Result { - if m != nil { - return m.Result - } - return nil -} - -func (x *DecryptResponse) GetPlainText() []byte { - if x, ok := x.GetResult().(*DecryptResponse_PlainText); ok { - return x.PlainText - } - return nil -} - -func (x *DecryptResponse) GetErr() string { - if x, ok := x.GetResult().(*DecryptResponse_Err); ok { - return x.Err - } - return "" -} - -type isDecryptResponse_Result interface { - isDecryptResponse_Result() -} - -type DecryptResponse_PlainText struct { - PlainText []byte `protobuf:"bytes,1,opt,name=plain_text,json=plainText,proto3,oneof"` -} - -type DecryptResponse_Err struct { - Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"` -} - -func (*DecryptResponse_PlainText) isDecryptResponse_Result() {} - -func (*DecryptResponse_Err) isDecryptResponse_Result() {} - -var File_platform_encryption_v2alpha_encryption_proto protoreflect.FileDescriptor - -var file_platform_encryption_v2alpha_encryption_proto_rawDesc = []byte{ - 0x0a, 0x2c, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x65, 0x6e, 0x63, 0x72, 0x79, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x65, 0x6e, - 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, - 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x25, 0x70, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x32, - 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x22, 0x19, 0x0a, 0x17, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x75, 0x0a, - 0x11, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, - 0x78, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1c, - 0x0a, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x12, 0x16, 0x0a, 0x06, - 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x6e, - 0x74, 0x65, 0x6e, 0x74, 0x22, 0x8c, 0x01, 0x0a, 0x0a, 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 0x54, - 0x65, 0x78, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x74, 0x65, - 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, - 0x54, 0x65, 0x78, 0x74, 0x12, 0x5d, 0x0a, 0x12, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2e, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x65, 0x6e, 0x63, 0x72, - 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x45, - 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, - 0x52, 0x11, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x78, 0x74, 0x22, 0x58, 0x0a, 0x0e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x5f, 0x74, - 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x69, 0x6e, - 0x54, 0x65, 0x78, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, - 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x61, - 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, 0x22, 0x7b, 0x0a, - 0x0f, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x4a, 0x0a, 0x0b, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x2e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x2e, 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 0x54, 0x65, 0x78, 0x74, 0x48, 0x00, - 0x52, 0x0a, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x54, 0x65, 0x78, 0x74, 0x12, 0x12, 0x0a, 0x03, - 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x03, 0x65, 0x72, 0x72, - 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x83, 0x01, 0x0a, 0x0e, 0x44, - 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, - 0x0b, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x65, 0x6e, - 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x43, 0x69, 0x70, 0x68, 0x65, 0x72, 0x54, 0x65, 0x78, 0x74, 0x52, 0x0a, 0x63, 0x69, 0x70, - 0x68, 0x65, 0x72, 0x54, 0x65, 0x78, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x73, 0x73, 0x6f, 0x63, - 0x69, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x0e, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x44, 0x61, 0x74, 0x61, - 0x22, 0x50, 0x0a, 0x0f, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x5f, 0x74, 0x65, 0x78, - 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x09, 0x70, 0x6c, 0x61, 0x69, 0x6e, - 0x54, 0x65, 0x78, 0x74, 0x12, 0x12, 0x0a, 0x03, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x48, 0x00, 0x52, 0x03, 0x65, 0x72, 0x72, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x32, 0xe3, 0x01, 0x0a, 0x11, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x66, 0x0a, 0x07, 0x45, 0x6e, 0x63, 0x72, - 0x79, 0x70, 0x74, 0x12, 0x2b, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x65, - 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2c, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x65, 0x6e, 0x63, 0x72, - 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x45, - 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, - 0x12, 0x66, 0x0a, 0x07, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x12, 0x2b, 0x2e, 0x70, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, - 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, - 0x6f, 0x72, 0x6d, 0x2e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x70, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, - 0x82, 0xb5, 0x18, 0x06, 0x08, 0x01, 0x10, 0x01, 0x18, 0x02, 0x92, 0xb5, 0x18, 0x04, 0x0a, 0x02, - 0x03, 0x01, 0x9a, 0xb5, 0x18, 0x00, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x4c, 0x6c, 0x69, - 0x62, 0x73, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, - 0x6f, 0x72, 0x6d, 0x2f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, -} - -var ( - file_platform_encryption_v2alpha_encryption_proto_rawDescOnce sync.Once - file_platform_encryption_v2alpha_encryption_proto_rawDescData = file_platform_encryption_v2alpha_encryption_proto_rawDesc -) - -func file_platform_encryption_v2alpha_encryption_proto_rawDescGZIP() []byte { - file_platform_encryption_v2alpha_encryption_proto_rawDescOnce.Do(func() { - file_platform_encryption_v2alpha_encryption_proto_rawDescData = protoimpl.X.CompressGZIP(file_platform_encryption_v2alpha_encryption_proto_rawDescData) - }) - return file_platform_encryption_v2alpha_encryption_proto_rawDescData -} - -var ( - file_platform_encryption_v2alpha_encryption_proto_msgTypes = make([]protoimpl.MessageInfo, 7) - file_platform_encryption_v2alpha_encryption_proto_goTypes = []any{ - (*EncryptionConfiguration)(nil), // 0: platform.encryption.v2alpha.EncryptionConfiguration - (*EncryptionContext)(nil), // 1: platform.encryption.v2alpha.EncryptionContext - (*CipherText)(nil), // 2: platform.encryption.v2alpha.CipherText - (*EncryptRequest)(nil), // 3: platform.encryption.v2alpha.EncryptRequest - (*EncryptResponse)(nil), // 4: platform.encryption.v2alpha.EncryptResponse - (*DecryptRequest)(nil), // 5: platform.encryption.v2alpha.DecryptRequest - (*DecryptResponse)(nil), // 6: platform.encryption.v2alpha.DecryptResponse - } -) -var file_platform_encryption_v2alpha_encryption_proto_depIdxs = []int32{ - 1, // 0: platform.encryption.v2alpha.CipherText.encryption_context:type_name -> platform.encryption.v2alpha.EncryptionContext - 2, // 1: platform.encryption.v2alpha.EncryptResponse.cipher_text:type_name -> platform.encryption.v2alpha.CipherText - 2, // 2: platform.encryption.v2alpha.DecryptRequest.cipher_text:type_name -> platform.encryption.v2alpha.CipherText - 3, // 3: platform.encryption.v2alpha.EncryptionService.Encrypt:input_type -> platform.encryption.v2alpha.EncryptRequest - 5, // 4: platform.encryption.v2alpha.EncryptionService.Decrypt:input_type -> platform.encryption.v2alpha.DecryptRequest - 4, // 5: platform.encryption.v2alpha.EncryptionService.Encrypt:output_type -> platform.encryption.v2alpha.EncryptResponse - 6, // 6: platform.encryption.v2alpha.EncryptionService.Decrypt:output_type -> platform.encryption.v2alpha.DecryptResponse - 5, // [5:7] is the sub-list for method output_type - 3, // [3:5] is the sub-list for method input_type - 3, // [3:3] is the sub-list for extension type_name - 3, // [3:3] is the sub-list for extension extendee - 0, // [0:3] is the sub-list for field type_name -} - -func init() { file_platform_encryption_v2alpha_encryption_proto_init() } -func file_platform_encryption_v2alpha_encryption_proto_init() { - if File_platform_encryption_v2alpha_encryption_proto != nil { - return - } - file_platform_encryption_v2alpha_encryption_proto_msgTypes[4].OneofWrappers = []any{ - (*EncryptResponse_CipherText)(nil), - (*EncryptResponse_Err)(nil), - } - file_platform_encryption_v2alpha_encryption_proto_msgTypes[6].OneofWrappers = []any{ - (*DecryptResponse_PlainText)(nil), - (*DecryptResponse_Err)(nil), - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_platform_encryption_v2alpha_encryption_proto_rawDesc, - NumEnums: 0, - NumMessages: 7, - NumExtensions: 0, - NumServices: 1, - }, - GoTypes: file_platform_encryption_v2alpha_encryption_proto_goTypes, - DependencyIndexes: file_platform_encryption_v2alpha_encryption_proto_depIdxs, - MessageInfos: file_platform_encryption_v2alpha_encryption_proto_msgTypes, - }.Build() - File_platform_encryption_v2alpha_encryption_proto = out.File - file_platform_encryption_v2alpha_encryption_proto_rawDesc = nil - file_platform_encryption_v2alpha_encryption_proto_goTypes = nil - file_platform_encryption_v2alpha_encryption_proto_depIdxs = nil -} diff --git a/libs/private/go/protobuf/gen/platform/encryption/v2alpha/encryption_grpc.pb.go b/libs/private/go/protobuf/gen/platform/encryption/v2alpha/encryption_grpc.pb.go deleted file mode 100644 index 7896e57d..00000000 --- a/libs/private/go/protobuf/gen/platform/encryption/v2alpha/encryption_grpc.pb.go +++ /dev/null @@ -1,159 +0,0 @@ -// Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.5.1 -// - protoc (unknown) -// source: platform/encryption/v2alpha/encryption.proto - -package encryptionv2alphapb - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" -) - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -// Requires gRPC-Go v1.64.0 or later. -const _ = grpc.SupportPackageIsVersion9 - -const ( - EncryptionService_Encrypt_FullMethodName = "/platform.encryption.v2alpha.EncryptionService/Encrypt" - EncryptionService_Decrypt_FullMethodName = "/platform.encryption.v2alpha.EncryptionService/Decrypt" -) - -// EncryptionServiceClient is the client API for EncryptionService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type EncryptionServiceClient interface { - Encrypt(ctx context.Context, in *EncryptRequest, opts ...grpc.CallOption) (*EncryptResponse, error) - Decrypt(ctx context.Context, in *DecryptRequest, opts ...grpc.CallOption) (*DecryptResponse, error) -} - -type encryptionServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewEncryptionServiceClient(cc grpc.ClientConnInterface) EncryptionServiceClient { - return &encryptionServiceClient{cc} -} - -func (c *encryptionServiceClient) Encrypt(ctx context.Context, in *EncryptRequest, opts ...grpc.CallOption) (*EncryptResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(EncryptResponse) - err := c.cc.Invoke(ctx, EncryptionService_Encrypt_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *encryptionServiceClient) Decrypt(ctx context.Context, in *DecryptRequest, opts ...grpc.CallOption) (*DecryptResponse, error) { - cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) - out := new(DecryptResponse) - err := c.cc.Invoke(ctx, EncryptionService_Decrypt_FullMethodName, in, out, cOpts...) - if err != nil { - return nil, err - } - return out, nil -} - -// EncryptionServiceServer is the server API for EncryptionService service. -// All implementations must embed UnimplementedEncryptionServiceServer -// for forward compatibility. -type EncryptionServiceServer interface { - Encrypt(context.Context, *EncryptRequest) (*EncryptResponse, error) - Decrypt(context.Context, *DecryptRequest) (*DecryptResponse, error) - mustEmbedUnimplementedEncryptionServiceServer() -} - -// UnimplementedEncryptionServiceServer must be embedded to have -// forward compatible implementations. -// -// NOTE: this should be embedded by value instead of pointer to avoid a nil -// pointer dereference when methods are called. -type UnimplementedEncryptionServiceServer struct{} - -func (UnimplementedEncryptionServiceServer) Encrypt(context.Context, *EncryptRequest) (*EncryptResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Encrypt not implemented") -} -func (UnimplementedEncryptionServiceServer) Decrypt(context.Context, *DecryptRequest) (*DecryptResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Decrypt not implemented") -} -func (UnimplementedEncryptionServiceServer) mustEmbedUnimplementedEncryptionServiceServer() {} -func (UnimplementedEncryptionServiceServer) testEmbeddedByValue() {} - -// UnsafeEncryptionServiceServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to EncryptionServiceServer will -// result in compilation errors. -type UnsafeEncryptionServiceServer interface { - mustEmbedUnimplementedEncryptionServiceServer() -} - -func RegisterEncryptionServiceServer(s grpc.ServiceRegistrar, srv EncryptionServiceServer) { - // If the following call pancis, it indicates UnimplementedEncryptionServiceServer was - // embedded by pointer and is nil. This will cause panics if an - // unimplemented method is ever invoked, so we test this at initialization - // time to prevent it from happening at runtime later due to I/O. - if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { - t.testEmbeddedByValue() - } - s.RegisterService(&EncryptionService_ServiceDesc, srv) -} - -func _EncryptionService_Encrypt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(EncryptRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EncryptionServiceServer).Encrypt(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: EncryptionService_Encrypt_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EncryptionServiceServer).Encrypt(ctx, req.(*EncryptRequest)) - } - return interceptor(ctx, in, info, handler) -} - -func _EncryptionService_Decrypt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(DecryptRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(EncryptionServiceServer).Decrypt(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: EncryptionService_Decrypt_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(EncryptionServiceServer).Decrypt(ctx, req.(*DecryptRequest)) - } - return interceptor(ctx, in, info, handler) -} - -// EncryptionService_ServiceDesc is the grpc.ServiceDesc for EncryptionService service. -// It's only intended for direct use with grpc.RegisterService, -// and not to be introspected or modified (even as a copy) -var EncryptionService_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "platform.encryption.v2alpha.EncryptionService", - HandlerType: (*EncryptionServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Encrypt", - Handler: _EncryptionService_Encrypt_Handler, - }, - { - MethodName: "Decrypt", - Handler: _EncryptionService_Decrypt_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "platform/encryption/v2alpha/encryption.proto", -} diff --git a/libs/private/go/protobuf/gen/platform/encryption/v2alpha/encryptionv2alphapbconnect/encryption.connect.go b/libs/private/go/protobuf/gen/platform/encryption/v2alpha/encryptionv2alphapbconnect/encryption.connect.go deleted file mode 100644 index 76e34875..00000000 --- a/libs/private/go/protobuf/gen/platform/encryption/v2alpha/encryptionv2alphapbconnect/encryption.connect.go +++ /dev/null @@ -1,148 +0,0 @@ -// Code generated by protoc-gen-connect-go. DO NOT EDIT. -// -// Source: platform/encryption/v2alpha/encryption.proto - -package encryptionv2alphapbconnect - -import ( - context "context" - errors "errors" - http "net/http" - strings "strings" - - connect "connectrpc.com/connect" - - v2alpha "github.com/openecosystems/ecosystem/libs/private/go/protobuf/gen/platform/encryption/v2alpha" -) - -// This is a compile-time assertion to ensure that this generated file and the connect package are -// compatible. If you get a compiler error that this constant is not defined, this code was -// generated with a version of connect newer than the one compiled into your binary. You can fix the -// problem by either regenerating this code with an older version of connect or updating the connect -// version compiled into your binary. -const _ = connect.IsAtLeastVersion1_13_0 - -const ( - // EncryptionServiceName is the fully-qualified name of the EncryptionService service. - EncryptionServiceName = "platform.encryption.v2alpha.EncryptionService" -) - -// These constants are the fully-qualified names of the RPCs defined in this package. They're -// exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route. -// -// Note that these are different from the fully-qualified method names used by -// google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to -// reflection-formatted method names, remove the leading slash and convert the remaining slash to a -// period. -const ( - // EncryptionServiceEncryptProcedure is the fully-qualified name of the EncryptionService's Encrypt - // RPC. - EncryptionServiceEncryptProcedure = "/platform.encryption.v2alpha.EncryptionService/Encrypt" - // EncryptionServiceDecryptProcedure is the fully-qualified name of the EncryptionService's Decrypt - // RPC. - EncryptionServiceDecryptProcedure = "/platform.encryption.v2alpha.EncryptionService/Decrypt" -) - -// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. -var ( - encryptionServiceServiceDescriptor = v2alpha.File_platform_encryption_v2alpha_encryption_proto.Services().ByName("EncryptionService") - encryptionServiceEncryptMethodDescriptor = encryptionServiceServiceDescriptor.Methods().ByName("Encrypt") - encryptionServiceDecryptMethodDescriptor = encryptionServiceServiceDescriptor.Methods().ByName("Decrypt") -) - -// EncryptionServiceClient is a client for the platform.encryption.v2alpha.EncryptionService -// service. -type EncryptionServiceClient interface { - Encrypt(context.Context, *connect.Request[v2alpha.EncryptRequest]) (*connect.Response[v2alpha.EncryptResponse], error) - Decrypt(context.Context, *connect.Request[v2alpha.DecryptRequest]) (*connect.Response[v2alpha.DecryptResponse], error) -} - -// NewEncryptionServiceClient constructs a client for the -// platform.encryption.v2alpha.EncryptionService service. By default, it uses the Connect protocol -// with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To -// use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() -// options. -// -// The URL supplied here should be the base URL for the Connect or gRPC server (for example, -// http://api.acme.com or https://acme.com/grpc). -func NewEncryptionServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) EncryptionServiceClient { - baseURL = strings.TrimRight(baseURL, "/") - return &encryptionServiceClient{ - encrypt: connect.NewClient[v2alpha.EncryptRequest, v2alpha.EncryptResponse]( - httpClient, - baseURL+EncryptionServiceEncryptProcedure, - connect.WithSchema(encryptionServiceEncryptMethodDescriptor), - connect.WithClientOptions(opts...), - ), - decrypt: connect.NewClient[v2alpha.DecryptRequest, v2alpha.DecryptResponse]( - httpClient, - baseURL+EncryptionServiceDecryptProcedure, - connect.WithSchema(encryptionServiceDecryptMethodDescriptor), - connect.WithClientOptions(opts...), - ), - } -} - -// encryptionServiceClient implements EncryptionServiceClient. -type encryptionServiceClient struct { - encrypt *connect.Client[v2alpha.EncryptRequest, v2alpha.EncryptResponse] - decrypt *connect.Client[v2alpha.DecryptRequest, v2alpha.DecryptResponse] -} - -// Encrypt calls platform.encryption.v2alpha.EncryptionService.Encrypt. -func (c *encryptionServiceClient) Encrypt(ctx context.Context, req *connect.Request[v2alpha.EncryptRequest]) (*connect.Response[v2alpha.EncryptResponse], error) { - return c.encrypt.CallUnary(ctx, req) -} - -// Decrypt calls platform.encryption.v2alpha.EncryptionService.Decrypt. -func (c *encryptionServiceClient) Decrypt(ctx context.Context, req *connect.Request[v2alpha.DecryptRequest]) (*connect.Response[v2alpha.DecryptResponse], error) { - return c.decrypt.CallUnary(ctx, req) -} - -// EncryptionServiceHandler is an implementation of the -// platform.encryption.v2alpha.EncryptionService service. -type EncryptionServiceHandler interface { - Encrypt(context.Context, *connect.Request[v2alpha.EncryptRequest]) (*connect.Response[v2alpha.EncryptResponse], error) - Decrypt(context.Context, *connect.Request[v2alpha.DecryptRequest]) (*connect.Response[v2alpha.DecryptResponse], error) -} - -// NewEncryptionServiceHandler builds an HTTP handler from the service implementation. It returns -// the path on which to mount the handler and the handler itself. -// -// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf -// and JSON codecs. They also support gzip compression. -func NewEncryptionServiceHandler(svc EncryptionServiceHandler, opts ...connect.HandlerOption) (string, http.Handler) { - encryptionServiceEncryptHandler := connect.NewUnaryHandler( - EncryptionServiceEncryptProcedure, - svc.Encrypt, - connect.WithSchema(encryptionServiceEncryptMethodDescriptor), - connect.WithHandlerOptions(opts...), - ) - encryptionServiceDecryptHandler := connect.NewUnaryHandler( - EncryptionServiceDecryptProcedure, - svc.Decrypt, - connect.WithSchema(encryptionServiceDecryptMethodDescriptor), - connect.WithHandlerOptions(opts...), - ) - return "/platform.encryption.v2alpha.EncryptionService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - switch r.URL.Path { - case EncryptionServiceEncryptProcedure: - encryptionServiceEncryptHandler.ServeHTTP(w, r) - case EncryptionServiceDecryptProcedure: - encryptionServiceDecryptHandler.ServeHTTP(w, r) - default: - http.NotFound(w, r) - } - }) -} - -// UnimplementedEncryptionServiceHandler returns CodeUnimplemented from all methods. -type UnimplementedEncryptionServiceHandler struct{} - -func (UnimplementedEncryptionServiceHandler) Encrypt(context.Context, *connect.Request[v2alpha.EncryptRequest]) (*connect.Response[v2alpha.EncryptResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("platform.encryption.v2alpha.EncryptionService.Encrypt is not implemented")) -} - -func (UnimplementedEncryptionServiceHandler) Decrypt(context.Context, *connect.Request[v2alpha.DecryptRequest]) (*connect.Response[v2alpha.DecryptResponse], error) { - return nil, connect.NewError(connect.CodeUnimplemented, errors.New("platform.encryption.v2alpha.EncryptionService.Decrypt is not implemented")) -} diff --git a/libs/private/go/protobuf/go.mod b/libs/private/go/protobuf/go.mod deleted file mode 100644 index 6ad0e637..00000000 --- a/libs/private/go/protobuf/go.mod +++ /dev/null @@ -1,17 +0,0 @@ -module github.com/openecosystems/ecosystem/libs/private/go/protobuf - -go 1.23.4 - -require ( - connectrpc.com/connect v1.16.2 - google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 - google.golang.org/grpc v1.68.0 - google.golang.org/protobuf v1.36.1 -) - -require ( - golang.org/x/net v0.31.0 // indirect - golang.org/x/sys v0.27.0 // indirect - golang.org/x/text v0.20.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect -) diff --git a/libs/private/go/protobuf/go.sum b/libs/private/go/protobuf/go.sum deleted file mode 100644 index 31d7f267..00000000 --- a/libs/private/go/protobuf/go.sum +++ /dev/null @@ -1,20 +0,0 @@ -connectrpc.com/connect v1.16.2 h1:ybd6y+ls7GOlb7Bh5C8+ghA6SvCBajHwxssO2CGFjqE= -connectrpc.com/connect v1.16.2/go.mod h1:n2kgwskMHXC+lVqb18wngEpF95ldBHXjZYJussz5FRc= -github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= -github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -golang.org/x/net v0.31.0 h1:68CPQngjLL0r2AlUKiSxtQFKvzRVbnzLwMUn5SzcLHo= -golang.org/x/net v0.31.0/go.mod h1:P4fl1q7dY2hnZFxEk4pPSkDHF+QqjitcnDjUQyMM+pM= -golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s= -golang.org/x/sys v0.27.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.20.0 h1:gK/Kv2otX8gz+wn7Rmb3vT96ZwuoxnQlY+HlJVj7Qug= -golang.org/x/text v0.20.0/go.mod h1:D4IsuqiFMhST5bX19pQ9ikHC2GsaKyk/oF+pn3ducp4= -google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 h1:hjSy6tcFQZ171igDaN5QHOw2n6vx40juYbC/x67CEhc= -google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1/go.mod h1:qpvKtACPCQhAdu3PyQgV4l3LMXZEtft7y8QcarRsp9I= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 h1:pPJltXNxVzT4pK9yD8vR9X75DaWYYmLGMsEvBfFQZzQ= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= -google.golang.org/grpc v1.68.0 h1:aHQeeJbo8zAkAa3pRzrVjZlbz6uSfeOXlJNQM0RAbz0= -google.golang.org/grpc v1.68.0/go.mod h1:fmSPC5AsjSBCK54MyHRx48kpOti1/jRfOlwEWywNjWA= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= diff --git a/libs/private/go/protobuf/project.json b/libs/private/go/protobuf/project.json deleted file mode 100644 index 7bd98510..00000000 --- a/libs/private/go/protobuf/project.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "name": "libs-private-go-protobuf-v2alpha", - "$schema": "../../../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "sourceRoot": "libs/private/go/protobuf", - "implicitDependencies": [ - "proto" - ], - "targets": { - "generate": { - "executor": "nx:run-commands", - "options": { - "command": "buf generate", - "cwd": "libs/private/go/protobuf" - } - }, - "build": { - "executor": "nx:run-commands", - "options": { - "command": "go build ./...", - "cwd": "libs/private/go/protobuf" - } - }, - "test": { - "executor": "nx:run-commands", - "options": { - "command": "go test -v ./... -cover -race", - "cwd": "libs/private/go/protobuf" - } - }, - "clean": { - "executor": "nx:run-commands", - "options": { - "command": "go clean", - "cwd": "libs/private/go/protobuf" - } - }, - "lint": { - "executor": "nx:run-commands", - "options": { - "commands": ["golangci-lint run ./... --timeout=5m"], - "parallel": false, - "cwd": "libs/private/go/protobuf" - } - }, - "format": { - "executor": "nx:run-commands", - "options": { - "commands": ["go mod tidy", "gofumpt -l -w .", "golangci-lint run ./... --timeout=5m --fix"], - "parallel": false, - "cwd": "libs/private/go/protobuf" - } - } - }, - "tags": [] -} diff --git a/libs/private/go/sdk/buf.gen.yaml b/libs/private/go/sdk/buf.gen.yaml index 6f077f55..0e1e9373 100644 --- a/libs/private/go/sdk/buf.gen.yaml +++ b/libs/private/go/sdk/buf.gen.yaml @@ -3,9 +3,39 @@ inputs: - directory: ../../../../proto/private plugins: - local: protoc-gen-platform - out: ./gen + out: ./gen/platform opt: - paths=source_relative - language=go - type=sdk - prefix=private + - local: protoc-gen-platform + out: ./gen + opt: + - paths=source_relative + - language=go + - type=multiplexer + - prefix=private + - local: protoc-gen-platform + out: ./gen + opt: + - paths=source_relative + - language=go + - type=entity-unspecified + - prefix=private + - local: protoc-gen-platform + out: ./gen + opt: + - paths=source_relative + - language=go + - type=spec + - prefix=private + - remote: buf.build/protocolbuffers/go + out: ./gen + opt: paths=source_relative + # - remote: buf.build/grpc/go + # out: ./gen + # opt: paths=source_relative + - remote: buf.build/connectrpc/go + out: ./gen + opt: paths=source_relative \ No newline at end of file diff --git a/libs/private/go/sdk/gen/audit/v2alpha/CHANGELOG.md b/libs/private/go/sdk/gen/audit/v2alpha/CHANGELOG.md deleted file mode 100644 index 6b887a3f..00000000 --- a/libs/private/go/sdk/gen/audit/v2alpha/CHANGELOG.md +++ /dev/null @@ -1,77 +0,0 @@ -## 0.1.1 (2024-12-28) - -### 🩹 Fixes - -- stabilizing ([154a00a](https://github.com/openecosystems/ecosystem/commit/154a00a)) -- stabilizing ([bb7fdbf](https://github.com/openecosystems/ecosystem/commit/bb7fdbf)) -- stabilizing ([49ae473](https://github.com/openecosystems/ecosystem/commit/49ae473)) -- stabilizing ([7bc34a6](https://github.com/openecosystems/ecosystem/commit/7bc34a6)) -- stabilizing ([6d6d904](https://github.com/openecosystems/ecosystem/commit/6d6d904)) -- stabilizing ([86a41b4](https://github.com/openecosystems/ecosystem/commit/86a41b4)) -- stabilizing ([904b3c8](https://github.com/openecosystems/ecosystem/commit/904b3c8)) -- stabilizing ([6c1336e](https://github.com/openecosystems/ecosystem/commit/6c1336e)) -- stabilizing ([cf9de6c](https://github.com/openecosystems/ecosystem/commit/cf9de6c)) -- stabilizing ([a2d04a3](https://github.com/openecosystems/ecosystem/commit/a2d04a3)) -- stabilizing ([5f65e48](https://github.com/openecosystems/ecosystem/commit/5f65e48)) -- stabilizing ([9e3f78b](https://github.com/openecosystems/ecosystem/commit/9e3f78b)) -- stabilizing ([8d1d6da](https://github.com/openecosystems/ecosystem/commit/8d1d6da)) -- stabilizing ([d165d69](https://github.com/openecosystems/ecosystem/commit/d165d69)) -- stabilizing ([469e899](https://github.com/openecosystems/ecosystem/commit/469e899)) -- stabilizing ([0568e0c](https://github.com/openecosystems/ecosystem/commit/0568e0c)) - -### ❤️ Thank You - -- Dimy Jeannot - -## 0.4.0 (2024-12-27) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.3.0 (2024-12-23) - -### 🩹 Fixes - -- stabilizing ([2011bac](https://github.com/openecosystems/ecosystem/commit/2011bac)) -- stabilizing ([70c7403](https://github.com/openecosystems/ecosystem/commit/70c7403)) -- stabilizing ([03299c1](https://github.com/openecosystems/ecosystem/commit/03299c1)) -- stabilizing ([b79685e](https://github.com/openecosystems/ecosystem/commit/b79685e)) -- stabilizing ([a200f97](https://github.com/openecosystems/ecosystem/commit/a200f97)) -- updating dependencies to resolve security issues ([dd7b347](https://github.com/openecosystems/ecosystem/commit/dd7b347)) -- working on cicd ([fdc04a5](https://github.com/openecosystems/ecosystem/commit/fdc04a5)) -- working on cicd ([426ec24](https://github.com/openecosystems/ecosystem/commit/426ec24)) -- working on cicd ([b204f77](https://github.com/openecosystems/ecosystem/commit/b204f77)) -- working on cicd ([7626cae](https://github.com/openecosystems/ecosystem/commit/7626cae)) -- working on cicd ([#5](https://github.com/openecosystems/ecosystem/pull/5)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.2.0 (2024-12-23) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.1.0 (2024-12-11) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot \ No newline at end of file diff --git a/libs/private/go/sdk/gen/audit/v2alpha/go.sum b/libs/private/go/sdk/gen/audit/v2alpha/go.sum deleted file mode 100644 index d1c71933..00000000 --- a/libs/private/go/sdk/gen/audit/v2alpha/go.sum +++ /dev/null @@ -1,10 +0,0 @@ -connectrpc.com/connect v1.17.0 h1:W0ZqMhtVzn9Zhn2yATuUokDLO5N+gIuBWMOnsQrfmZk= -connectrpc.com/connect v1.17.0/go.mod h1:0292hj1rnx8oFrStN7cB4jjVBeqs+Yx5yDIC2prWDO8= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= -golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= -golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= -golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= -google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= -google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= diff --git a/libs/private/go/sdk/gen/audit/v2alpha/.goreleaser.yaml b/libs/private/go/sdk/gen/platform/audit/v2alpha/.goreleaser.yaml similarity index 100% rename from libs/private/go/sdk/gen/audit/v2alpha/.goreleaser.yaml rename to libs/private/go/sdk/gen/platform/audit/v2alpha/.goreleaser.yaml diff --git a/libs/private/go/sdk/gen/audit/v2alpha/README.md b/libs/private/go/sdk/gen/platform/audit/v2alpha/README.md similarity index 100% rename from libs/private/go/sdk/gen/audit/v2alpha/README.md rename to libs/private/go/sdk/gen/platform/audit/v2alpha/README.md diff --git a/libs/private/go/model/gen/platform/audit/v2alpha/audit.pb.entity.go b/libs/private/go/sdk/gen/platform/audit/v2alpha/audit.pb.entity.go similarity index 87% rename from libs/private/go/model/gen/platform/audit/v2alpha/audit.pb.entity.go rename to libs/private/go/sdk/gen/platform/audit/v2alpha/audit.pb.entity.go index a26f9e72..a2048a46 100644 --- a/libs/private/go/model/gen/platform/audit/v2alpha/audit.pb.entity.go +++ b/libs/private/go/sdk/gen/platform/audit/v2alpha/audit.pb.entity.go @@ -1,14 +1,13 @@ // Code generated by protoc-gen-platform go/entity-unspecified. DO NOT EDIT. // source: platform/audit/v2alpha/audit.proto -package auditv2alphapbmodel +package auditv2alphapb import ( "context" "encoding/json" "errors" - "github.com/openecosystems/ecosystem/libs/private/go/protobuf/gen/platform/audit/v2alpha" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" @@ -18,20 +17,20 @@ import ( ) type AuditSpecEntity struct { - Audit *auditv2alphapb.Audit + Audit *Audit } func NewAuditSpecEntity(specContext *specv2pb.SpecContext) (*AuditSpecEntity, error) { return &AuditSpecEntity{ - Audit: &auditv2alphapb.Audit{}, + Audit: &Audit{}, }, nil } func NewAuditSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*AuditSpecEntity, error) { - data := &auditv2alphapb.Audit{} - err := sdkv2alphalib.GetDataFromSpec[*auditv2alphapb.Audit](ctx, s, data) + data := &Audit{} + err := sdkv2alphalib.GetDataFromSpec[*Audit](ctx, s, data) if err != nil { return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(err) } @@ -41,7 +40,7 @@ func NewAuditSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*AuditSp }, nil } -func (entity *AuditSpecEntity) ToProto() (*auditv2alphapb.Audit, error) { +func (entity *AuditSpecEntity) ToProto() (*Audit, error) { return entity.Audit, nil @@ -131,7 +130,9 @@ func (entity *AuditSpecEntity) internal() { var _ timestamppb.Timestamp //updated_at - var _ *auditv2alphapb.AuditEntry + // Struct + var _ *AuditEntry + // Enum var _ *typev2pb.Jurisdiction } diff --git a/libs/private/go/protobuf/gen/platform/audit/v2alpha/audit.pb.go b/libs/private/go/sdk/gen/platform/audit/v2alpha/audit.pb.go similarity index 98% rename from libs/private/go/protobuf/gen/platform/audit/v2alpha/audit.pb.go rename to libs/private/go/sdk/gen/platform/audit/v2alpha/audit.pb.go index 86e45528..ee549d7b 100644 --- a/libs/private/go/protobuf/gen/platform/audit/v2alpha/audit.pb.go +++ b/libs/private/go/sdk/gen/platform/audit/v2alpha/audit.pb.go @@ -527,18 +527,18 @@ var file_platform_audit_v2alpha_audit_proto_rawDesc = string([]byte{ 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0xa2, 0xb6, 0x18, 0x08, 0x2a, 0x06, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0xaa, 0xb6, 0x18, 0x02, 0x08, 0x08, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0f, 0x3a, 0x01, 0x2a, 0x22, 0x0a, 0x2f, 0x76, - 0x32, 0x2f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x42, 0xa5, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, + 0x32, 0x2f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x42, 0xa0, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x01, 0x82, 0xb5, 0x18, 0x06, 0x08, 0x01, 0x10, 0x01, 0x18, 0x02, 0x8a, 0xb5, 0x18, 0x16, 0x0a, 0x05, 0x61, 0x75, 0x64, 0x69, 0x74, 0x12, 0x06, 0x61, 0x75, 0x64, 0x69, 0x74, 0x73, 0x22, 0x03, 0x6a, 0x61, 0x6e, 0x28, 0x02, 0x92, 0xb5, 0x18, 0x03, 0x0a, 0x01, 0x03, 0x9a, 0xb5, 0x18, 0x02, - 0x08, 0x01, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x66, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x08, 0x01, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x61, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6c, 0x69, - 0x62, 0x73, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, - 0x6f, 0x72, 0x6d, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x3b, 0x61, 0x75, 0x64, 0x69, 0x74, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x62, 0x73, 0x2f, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x64, + 0x6b, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x61, + 0x75, 0x64, 0x69, 0x74, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x61, 0x75, 0x64, + 0x69, 0x74, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, }) var ( diff --git a/libs/private/go/sdk/gen/platform/audit/v2alpha/audit.pb.multiplexer.go b/libs/private/go/sdk/gen/platform/audit/v2alpha/audit.pb.multiplexer.go new file mode 100644 index 00000000..b5f62866 --- /dev/null +++ b/libs/private/go/sdk/gen/platform/audit/v2alpha/audit.pb.multiplexer.go @@ -0,0 +1,87 @@ +// Code generated by protoc-gen-platform go/multiplexer. DO NOT EDIT. +// source: platform/audit/v2alpha/audit.proto + +package auditv2alphapb + +import ( + "connectrpc.com/connect" + "errors" + "github.com/openecosystems/ecosystem/libs/partner/go/nats" + "github.com/openecosystems/ecosystem/libs/partner/go/opentelemetry" + "github.com/openecosystems/ecosystem/libs/partner/go/protovalidate" + "github.com/openecosystems/ecosystem/libs/partner/go/zap" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" + "go.opentelemetry.io/otel/trace" + "google.golang.org/protobuf/proto" + + "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" + + _ "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" + _ "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/type/v2" + _ "google.golang.org/protobuf/types/known/anypb" + _ "google.golang.org/protobuf/types/known/timestamppb" + + "context" +) + +// AuditServiceHandler is the domain level implementation of the server API for mutations of the AuditService service +type AuditServiceHandler struct{} + +func (s *AuditServiceHandler) Search(ctx context.Context, req *connect.Request[SearchRequest]) (*connect.Response[SearchResponse], error) { + + tracer := *opentelemetryv1.Bound.Tracer + log := *zaploggerv1.Bound.Logger + + // Executes top level validation, no business domain validation + validationCtx, validationSpan := tracer.Start(ctx, "request-validation", trace.WithSpanKind(trace.SpanKindInternal)) + v := *protovalidatev0.Bound.Validator + if err := v.Validate(req.Msg); err != nil { + return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(err) + } + validationSpan.End() + + // Spec Propagation + specCtx, specSpan := tracer.Start(validationCtx, "spec-propagation", trace.WithSpanKind(trace.SpanKindInternal)) + spec, ok := ctx.Value(sdkv2alphalib.SpecContextKey).(*specv2pb.Spec) + if !ok { + return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(errors.New("Cannot propagate spec to context")) + } + specSpan.End() + + // Validate field mask + if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { + spec.SpecData.FieldMask.Normalize() + if !spec.SpecData.FieldMask.IsValid(&SearchResponse{}) { + log.Error("Invalid field mask") + return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) + } + } + + // Distributed Domain Handler + handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) + + entity := AuditSpecEntity{} + reply, err2 := natsnodev1.Bound.MultiplexEventSync(handlerCtx, spec, &natsnodev1.SpecEvent{ + Request: req.Msg, + Stream: natsnodev1.NewInboundStream(), + EventName: "", + EventTopic: EventDataAuditTopic, + EntityTypeName: entity.TypeName(), + }) + if err2 != nil { + log.Error(err2.Error()) + return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) + } + + var dd SearchResponse + err3 := proto.Unmarshal(reply.Data, &dd) + if err3 != nil { + log.Error(err3.Error()) + return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) + } + + handlerSpan.End() + + return connect.NewResponse(&dd), nil + +} diff --git a/libs/private/go/model/gen/platform/audit/v2alpha/audit.pb.spec.go b/libs/private/go/sdk/gen/platform/audit/v2alpha/audit.pb.spec.go similarity index 98% rename from libs/private/go/model/gen/platform/audit/v2alpha/audit.pb.spec.go rename to libs/private/go/sdk/gen/platform/audit/v2alpha/audit.pb.spec.go index 24610b67..9d67d5f8 100644 --- a/libs/private/go/model/gen/platform/audit/v2alpha/audit.pb.spec.go +++ b/libs/private/go/sdk/gen/platform/audit/v2alpha/audit.pb.spec.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/spec. DO NOT EDIT. // source: platform/audit/v2alpha/audit.proto -package auditv2alphapbmodel +package auditv2alphapb type AuditCommand int type AuditEvent int diff --git a/libs/private/go/sdk/gen/audit/v2alpha/audit.pb.client.go b/libs/private/go/sdk/gen/platform/audit/v2alpha/auditv2alphapbconnect/audit.client.go similarity index 59% rename from libs/private/go/sdk/gen/audit/v2alpha/audit.pb.client.go rename to libs/private/go/sdk/gen/platform/audit/v2alpha/auditv2alphapbconnect/audit.client.go index 77a9c0a8..778da6a3 100644 --- a/libs/private/go/sdk/gen/audit/v2alpha/audit.pb.client.go +++ b/libs/private/go/sdk/gen/platform/audit/v2alpha/auditv2alphapbconnect/audit.client.go @@ -1,19 +1,22 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/audit/v2alpha/audit.proto -package auditv2alphapbsdk +package auditv2alphapbconnect import ( + //"net/http" + "connectrpc.com/connect" nebulav1 "github.com/openecosystems/ecosystem/libs/partner/go/nebula" - auditv2alphapbconnect "github.com/openecosystems/ecosystem/libs/private/go/protobuf/gen/platform/audit/v2alpha/auditv2alphapbconnect" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" ) -func NewAuditServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *auditv2alphapbconnect.AuditServiceClient { +func NewAuditServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *AuditServiceClient { nebula := nebulav1.Binding{} httpClient := nebula.GetMeshHTTPClient(config, baseURL) - c := auditv2alphapbconnect.NewAuditServiceClient(httpClient, baseURL, opts...) + //httpClient := http.DefaultClient + + c := NewAuditServiceClient(httpClient, baseURL, opts...) return &c } diff --git a/libs/private/go/protobuf/gen/platform/audit/v2alpha/auditv2alphapbconnect/audit.connect.go b/libs/private/go/sdk/gen/platform/audit/v2alpha/auditv2alphapbconnect/audit.connect.go similarity index 98% rename from libs/private/go/protobuf/gen/platform/audit/v2alpha/auditv2alphapbconnect/audit.connect.go rename to libs/private/go/sdk/gen/platform/audit/v2alpha/auditv2alphapbconnect/audit.connect.go index 91682f9b..399a3993 100644 --- a/libs/private/go/protobuf/gen/platform/audit/v2alpha/auditv2alphapbconnect/audit.connect.go +++ b/libs/private/go/sdk/gen/platform/audit/v2alpha/auditv2alphapbconnect/audit.connect.go @@ -8,7 +8,7 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v2alpha "github.com/openecosystems/ecosystem/libs/private/go/protobuf/gen/platform/audit/v2alpha" + v2alpha "github.com/openecosystems/ecosystem/libs/private/go/sdk/gen/platform/audit/v2alpha" http "net/http" strings "strings" ) diff --git a/libs/private/go/sdk/gen/audit/v2alpha/go.mod b/libs/private/go/sdk/gen/platform/audit/v2alpha/go.mod similarity index 68% rename from libs/private/go/sdk/gen/audit/v2alpha/go.mod rename to libs/private/go/sdk/gen/platform/audit/v2alpha/go.mod index 2e94a980..a8ff92c3 100644 --- a/libs/private/go/sdk/gen/audit/v2alpha/go.mod +++ b/libs/private/go/sdk/gen/platform/audit/v2alpha/go.mod @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/audit/v2alpha/audit.proto -module libs/private/go/sdk/gen/audit/v2alpha - +// sourcePath: libs/private/go/sdk/gen/audit/v2alpha +module github.com/openecosystems/ecosystem/libs/private/go/sdk/gen/platform/audit/v2alpha go 1.23.4 require connectrpc.com/connect v1.17.0 diff --git a/libs/private/go/sdk/gen/audit/v2alpha/package.json b/libs/private/go/sdk/gen/platform/audit/v2alpha/package.json similarity index 100% rename from libs/private/go/sdk/gen/audit/v2alpha/package.json rename to libs/private/go/sdk/gen/platform/audit/v2alpha/package.json diff --git a/libs/private/go/sdk/gen/audit/v2alpha/project.json b/libs/private/go/sdk/gen/platform/audit/v2alpha/project.json similarity index 96% rename from libs/private/go/sdk/gen/audit/v2alpha/project.json rename to libs/private/go/sdk/gen/platform/audit/v2alpha/project.json index 3786db72..52d40a0b 100644 --- a/libs/private/go/sdk/gen/audit/v2alpha/project.json +++ b/libs/private/go/sdk/gen/platform/audit/v2alpha/project.json @@ -1,12 +1,9 @@ { "name": "libs-private-go-sdk-audit-v2alpha", - "$schema": "../../../../../../../node_modules/nx/schemas/project-schema.json", + "$schema": "../../../../../../../../node_modules/nx/schemas/project-schema.json", "projectType": "library", "sourceRoot": "github.com/openecosystems/ecosystem/libs/private/go/sdk/gen/audit/v2alpha", - "implicitDependencies": [ - "proto" - ], "targets": { "build": { diff --git a/libs/private/go/sdk/gen/platform/edge/v2alpha/.goreleaser.yaml b/libs/private/go/sdk/gen/platform/edge/v2alpha/.goreleaser.yaml new file mode 100644 index 00000000..fe48127e --- /dev/null +++ b/libs/private/go/sdk/gen/platform/edge/v2alpha/.goreleaser.yaml @@ -0,0 +1,27 @@ +# Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. +# source: platform/edge/v2alpha/edge_router.proto +# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json +version: 2 +project_name: libs-private-go-sdk-edge-v2alpha + +variables: + path_to_repo_root: "../../../../../../" + path_to_project: "github.com/openecosystems/ecosystem/libs/private/go/sdk/gen/edge/v2alpha" + +dist: ./dist/libs/private/go/sdk/gen/edge/v2alpha + +monorepo: + tag_prefix: "libs-private-go-sdk-edge-v2alpha/" + dir: libs/private/go/sdk/gen/edge/v2alpha + +includes: + - from_file: + path: ./.config/goreleaser/goreleaser.sdk.yaml + - from_file: + path: ./.config/goreleaser/notarize.yaml + +nightly: + version_template: "{{ incpatch .Version }}-devel" + tag_name: "libs-private-go-sdk-edge-v2alpha/devel" + publish_release: true + keep_single_release: true \ No newline at end of file diff --git a/libs/public/go/sdk/gen/cryptography/v2alpha/README.md b/libs/private/go/sdk/gen/platform/edge/v2alpha/README.md similarity index 54% rename from libs/public/go/sdk/gen/cryptography/v2alpha/README.md rename to libs/private/go/sdk/gen/platform/edge/v2alpha/README.md index 9070d4db..a1b98692 100644 --- a/libs/public/go/sdk/gen/cryptography/v2alpha/README.md +++ b/libs/private/go/sdk/gen/platform/edge/v2alpha/README.md @@ -1,4 +1,4 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. -// source: platform/cryptography/v2alpha/certificate.proto +// source: platform/edge/v2alpha/edge_router.proto # README \ No newline at end of file diff --git a/libs/private/go/protobuf/gen/platform/edge/v2alpha/edge_router.pb.go b/libs/private/go/sdk/gen/platform/edge/v2alpha/edge_router.pb.go similarity index 92% rename from libs/private/go/protobuf/gen/platform/edge/v2alpha/edge_router.pb.go rename to libs/private/go/sdk/gen/platform/edge/v2alpha/edge_router.pb.go index 3fa8a766..89ca7ced 100644 --- a/libs/private/go/protobuf/gen/platform/edge/v2alpha/edge_router.pb.go +++ b/libs/private/go/sdk/gen/platform/edge/v2alpha/edge_router.pb.go @@ -82,16 +82,15 @@ var file_platform_edge_v2alpha_edge_router_proto_rawDesc = string([]byte{ 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x65, 0x64, 0x67, 0x65, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x65, 0x64, 0x67, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x42, 0x87, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, 0x82, 0xb5, 0x18, 0x06, 0x08, 0x01, 0x10, + 0x42, 0x82, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, 0x82, 0xb5, 0x18, 0x06, 0x08, 0x01, 0x10, 0x01, 0x18, 0x06, 0x92, 0xb5, 0x18, 0x03, 0x0a, 0x01, 0x02, 0x9a, 0xb5, 0x18, 0x00, 0xa2, 0xb5, - 0x18, 0x02, 0x08, 0x01, 0x5a, 0x64, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x18, 0x02, 0x08, 0x01, 0x5a, 0x5f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x70, - 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, - 0x65, 0x64, 0x67, 0x65, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x65, 0x64, 0x67, - 0x65, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x67, 0x65, + 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x2f, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x65, 0x64, 0x67, 0x65, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, }) var ( diff --git a/libs/private/go/sdk/gen/platform/edge/v2alpha/go.mod b/libs/private/go/sdk/gen/platform/edge/v2alpha/go.mod new file mode 100644 index 00000000..52530e55 --- /dev/null +++ b/libs/private/go/sdk/gen/platform/edge/v2alpha/go.mod @@ -0,0 +1,14 @@ +// Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. +// source: platform/edge/v2alpha/edge_router.proto +// sourcePath: libs/private/go/sdk/gen/edge/v2alpha +module github.com/openecosystems/ecosystem/libs/private/go/sdk/gen/platform/edge/v2alpha +go 1.23.4 + +require connectrpc.com/connect v1.17.0 + +require github.com/google/go-cmp v0.6.0 // indirect + +require ( + golang.org/x/net v0.29.0 // indirect + google.golang.org/protobuf v1.34.2 // indirect +) diff --git a/libs/private/go/sdk/gen/platform/edge/v2alpha/package.json b/libs/private/go/sdk/gen/platform/edge/v2alpha/package.json new file mode 100644 index 00000000..b2abd272 --- /dev/null +++ b/libs/private/go/sdk/gen/platform/edge/v2alpha/package.json @@ -0,0 +1,7 @@ + +{ + "name": "sdk-edge-v2alpha", + "version": "0.0.0", + "description": "Edge SDK version v2alpha", + "license": "Apache-2.0" +} diff --git a/libs/private/go/sdk/gen/platform/edge/v2alpha/project.json b/libs/private/go/sdk/gen/platform/edge/v2alpha/project.json new file mode 100644 index 00000000..28116d3a --- /dev/null +++ b/libs/private/go/sdk/gen/platform/edge/v2alpha/project.json @@ -0,0 +1,98 @@ + +{ + "name": "libs-private-go-sdk-edge-v2alpha", + "$schema": "../../../../../../../../node_modules/nx/schemas/project-schema.json", + "projectType": "library", + "sourceRoot": "github.com/openecosystems/ecosystem/libs/private/go/sdk/gen/edge/v2alpha", + "targets": { + + "build": { + "executor": "nx:run-commands", + "options": { + "command": "go build ./...", + "cwd": "github.com/openecosystems/ecosystem/libs/private/go/sdk/gen/edge/v2alpha" + } + }, + "test": { + "executor": "nx:run-commands", + "options": { + "command": "go test -v ./... -cover -race", + "cwd": "github.com/openecosystems/ecosystem/libs/private/go/sdk/gen/edge/v2alpha" + } + }, + "clean": { + "executor": "nx:run-commands", + "options": { + "command": "go clean", + "cwd": "github.com/openecosystems/ecosystem/libs/private/go/sdk/gen/edge/v2alpha" + } + }, + "lint": { + "executor": "nx:run-commands", + "options": { + "commands": ["golangci-lint run ./... --timeout=5m"], + "parallel": false, + "cwd": "github.com/openecosystems/ecosystem/libs/private/go/sdk/gen/edge/v2alpha" + } + }, + "format": { + "executor": "nx:run-commands", + "options": { + "commands": ["go mod tidy", "gofumpt -l -w .", "golangci-lint run ./... --timeout=5m --fix"], + "parallel": false, + "cwd": "github.com/openecosystems/ecosystem/libs/private/go/sdk/gen/edge/v2alpha" + } + }, + "distribute": { + "executor": "nx:run-commands", + "dependsOn": ["build"], + "outputs": ["{workspaceRoot}/dist/libs/private/go/sdk/gen/edge/v2alpha"], + "options": { + "commands": [ + "mkdir -p dist/libs/private/go/sdk/gen/edge/v2alpha", + "cp LICENSE.md dist/libs/private/go/sdk/gen/edge/v2alpha/LICENSE.md", + "cp libs/private/go/sdk/gen/edge/v2alpha/README.md dist/libs/private/go/sdk/gen/edge/v2alpha/README.md", + "goreleaser release --config libs/private/go/sdk/gen/edge/v2alpha/.goreleaser.yaml --clean" + ], + "parallel": false + } + }, + "snapshot": { + "executor": "nx:run-commands", + "dependsOn": ["build"], + "outputs": ["{workspaceRoot}/dist/libs/private/go/sdk/gen/edge/v2alpha"], + "options": { + "commands": [ + "mkdir -p dist/libs/private/go/sdk/gen/edge/v2alpha", + "cp LICENSE.md dist/libs/private/go/sdk/gen/edge/v2alpha/LICENSE.md", + "cp libs/private/go/sdk/gen/edge/v2alpha/README.md dist/libs/private/go/sdk/gen/edge/v2alpha/README.md", + "goreleaser release --config libs/private/go/sdk/gen/edge/v2alpha/.goreleaser.yaml --snapshot --clean --skip=sign,sbom" + ], + "parallel": false + } + }, + "nightly": { + "executor": "nx:run-commands", + "dependsOn": ["build"], + "outputs": ["{workspaceRoot}/dist/libs/private/go/sdk/gen/edge/v2alpha"], + "options": { + "commands": [ + "mkdir -p dist/libs/private/go/sdk/gen/edge/v2alpha", + "cp LICENSE.md dist/libs/private/go/sdk/gen/edge/v2alpha/LICENSE.md", + "cp libs/private/go/sdk/gen/edge/v2alpha/README.md dist/libs/private/go/sdk/gen/edge/v2alpha/README.md", + "goreleaser release --config libs/private/go/sdk/gen/edge/v2alpha/.goreleaser.yaml --nightly --clean" + ], + "parallel": false + } + } + }, + "tags": [ + "type:lib", + "cycle:private", + "language:golang", + "type:sdk", + "system:edge", + "version:v2alpha", + "exposure:external" + ] +} diff --git a/libs/private/go/server/v2alpha/CHANGELOG.md b/libs/private/go/server/v2alpha/CHANGELOG.md deleted file mode 100644 index 22c1329a..00000000 --- a/libs/private/go/server/v2alpha/CHANGELOG.md +++ /dev/null @@ -1,99 +0,0 @@ -## 0.6.0 (2024-12-29) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.5.1 (2024-12-28) - -### 🩹 Fixes - -- stabilizing ([154a00a](https://github.com/openecosystems/ecosystem/commit/154a00a)) -- stabilizing ([bb7fdbf](https://github.com/openecosystems/ecosystem/commit/bb7fdbf)) -- stabilizing ([49ae473](https://github.com/openecosystems/ecosystem/commit/49ae473)) -- stabilizing ([7bc34a6](https://github.com/openecosystems/ecosystem/commit/7bc34a6)) -- stabilizing ([6d6d904](https://github.com/openecosystems/ecosystem/commit/6d6d904)) -- stabilizing ([86a41b4](https://github.com/openecosystems/ecosystem/commit/86a41b4)) -- stabilizing ([904b3c8](https://github.com/openecosystems/ecosystem/commit/904b3c8)) -- stabilizing ([6c1336e](https://github.com/openecosystems/ecosystem/commit/6c1336e)) -- stabilizing ([cf9de6c](https://github.com/openecosystems/ecosystem/commit/cf9de6c)) -- stabilizing ([a2d04a3](https://github.com/openecosystems/ecosystem/commit/a2d04a3)) -- stabilizing ([5f65e48](https://github.com/openecosystems/ecosystem/commit/5f65e48)) -- stabilizing ([9e3f78b](https://github.com/openecosystems/ecosystem/commit/9e3f78b)) -- stabilizing ([8d1d6da](https://github.com/openecosystems/ecosystem/commit/8d1d6da)) -- stabilizing ([d165d69](https://github.com/openecosystems/ecosystem/commit/d165d69)) -- stabilizing ([469e899](https://github.com/openecosystems/ecosystem/commit/469e899)) -- stabilizing ([0568e0c](https://github.com/openecosystems/ecosystem/commit/0568e0c)) - -### ❤️ Thank You - -- Dimy Jeannot - -## 0.5.0 (2024-12-28) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.4.0 (2024-12-27) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.3.0 (2024-12-23) - -### 🩹 Fixes - -- stabilizing ([2011bac](https://github.com/openecosystems/ecosystem/commit/2011bac)) -- stabilizing ([70c7403](https://github.com/openecosystems/ecosystem/commit/70c7403)) -- stabilizing ([03299c1](https://github.com/openecosystems/ecosystem/commit/03299c1)) -- stabilizing ([b79685e](https://github.com/openecosystems/ecosystem/commit/b79685e)) -- stabilizing ([a200f97](https://github.com/openecosystems/ecosystem/commit/a200f97)) -- updating dependencies to resolve security issues ([dd7b347](https://github.com/openecosystems/ecosystem/commit/dd7b347)) -- working on cicd ([fdc04a5](https://github.com/openecosystems/ecosystem/commit/fdc04a5)) -- working on cicd ([426ec24](https://github.com/openecosystems/ecosystem/commit/426ec24)) -- working on cicd ([b204f77](https://github.com/openecosystems/ecosystem/commit/b204f77)) -- working on cicd ([7626cae](https://github.com/openecosystems/ecosystem/commit/7626cae)) -- working on cicd ([#5](https://github.com/openecosystems/ecosystem/pull/5)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.2.0 (2024-12-23) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.1.0 (2024-12-11) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot \ No newline at end of file diff --git a/libs/private/go/server/v2alpha/example.env b/libs/private/go/server/v2alpha/example.env deleted file mode 100644 index af8575e7..00000000 --- a/libs/private/go/server/v2alpha/example.env +++ /dev/null @@ -1,64 +0,0 @@ -SF_APP_NAME= -Setting app.name to blah -SF_APP_VERSION= -SF_APP_ENVIRONMENT= -SF_APP_LOCATION= -SF_GRPC_PORT= -SF_CLIENTS= -SF_HTTP_PORT= -SF_EDGE_CACHE_ENABLED= -SF_EDGE_CACHE_HOSTNAME= -SF_EDGE_CACHE_PORT= -SF_EDGE_CACHE_FINGERPRINT= -SF_FRONTSIGHT_TYPE_ACCESSLOG_DISABLED= -SF_FRONTSIGHT_TYPE_LEVEL= -SF_FRONTSIGHT_TYPE_TYPE= -SF_FRONTSIGHT_TRACER_ENABLED= -SF_FRONTSIGHT_TRACER_TOKEN= -SF_FRONTSIGHT_TRACER_COMPONENT_NAME= -SF_FRONTSIGHT_TRACER_ENDPOINT= -SF_FRONTSIGHT_BUGGER_ENABLED= -SF_FRONTSIGHT_BUGGER_TOKEN= -SF_AUTH_DOMAIN= -SF_AUTH_CLIENT_ID= -SF_AUTH_CLIENT_SECRET= -SF_AUTH_AUDIENCE= -SF_AUTH_REALM= -SF_PKI_HOSTNAME= -SF_PKI_PORT= -SF_PKI_FINGERPRINT= -SF_PKI_PROVISIONER_NAME= -SF_PKI_PROVISIONER_KID= -SF_PKI_PROVISIONER_PROVISIONER_PASSWORD_FILE_PATH= -SF_EDGEDB_HOSTNAME= -SF_EDGEDB_PORT= -SF_EDGEDB_NAMESPACE= -SF_EVENTPLANE_SERVERS= -SF_EVENTPLANE_NAME= -SF_EVENTPLANE_MAX_RECONNECTS= -SF_EVENTPLANE_RECONNECT_WAIT= -SF_EVENTPLANE_RECONNECT_JITTER= -SF_EVENTPLANE_RECONNECT_JITTER_TLS= -SF_EVENTPLANE_TIMEOUT= -SF_EVENTPLANE_DRAIN_TIMEOUT= -SF_EVENTPLANE_FLUSHER_TIMEOUT= -SF_EVENTPLANE_PING_INTERVAL= -SF_EVENTPLANE_MAX_PINGS_OUTSTANDING= -SF_EVENTPLANE_COMPRESSION= -SF_EVENTPLANE_KEY= -SF_EVENTPLANE_SECRET= -SF_EVENTPLANE_UPSTREAM_PUBLISH_ASYNC_MAX_PENDING= -SF_EVENTPLANE_UPSTREAM_WAIT= -SF_EVENTPLANE_STREAM_RETENTION= -SF_EVENTPLANE_STREAM_MAX_CONSUMERS= -SF_EVENTPLANE_STREAM_MAX_MSGS= -SF_EVENTPLANE_STREAM_MAX_BYTES= -SF_EVENTPLANE_STREAM_DISCARD= -SF_EVENTPLANE_STREAM_MAX_AGE= -SF_EVENTPLANE_STREAM_MAX_MSGS_PER_SUBJECT= -SF_EVENTPLANE_STREAM_MAX_MSG_SIZE= -SF_EVENTPLANE_STREAM_STORAGE= -SF_EVENTPLANE_STREAM_REPLICAS= -SF_ROUTINE_HOSTNAME= -SF_ROUTINE_PORT= -SF_NON_GLOBAL_CONFIG= \ No newline at end of file diff --git a/libs/private/go/server/v2alpha/go.mod b/libs/private/go/server/v2alpha/go.mod deleted file mode 100644 index dccd366a..00000000 --- a/libs/private/go/server/v2alpha/go.mod +++ /dev/null @@ -1,16 +0,0 @@ -module github.com/openecosystems/ecosystem/libs/private/go/server/v2alpha - -go 1.23.4 - -require ( - google.golang.org/grpc v1.68.0 - -) - -require ( - golang.org/x/net v0.29.0 // indirect - golang.org/x/sys v0.25.0 // indirect - golang.org/x/text v0.18.0 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect - google.golang.org/protobuf v1.35.1 // indirect -) diff --git a/libs/private/go/server/v2alpha/go.sum b/libs/private/go/server/v2alpha/go.sum deleted file mode 100644 index cb6d5e29..00000000 --- a/libs/private/go/server/v2alpha/go.sum +++ /dev/null @@ -1,16 +0,0 @@ -github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= -github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= -golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= -golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34= -golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= -golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 h1:pPJltXNxVzT4pK9yD8vR9X75DaWYYmLGMsEvBfFQZzQ= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= -google.golang.org/grpc v1.68.0 h1:aHQeeJbo8zAkAa3pRzrVjZlbz6uSfeOXlJNQM0RAbz0= -google.golang.org/grpc v1.68.0/go.mod h1:fmSPC5AsjSBCK54MyHRx48kpOti1/jRfOlwEWywNjWA= -google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA= -google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= diff --git a/libs/private/go/server/v2alpha/health_service.go b/libs/private/go/server/v2alpha/health_service.go deleted file mode 100644 index 31bb2638..00000000 --- a/libs/private/go/server/v2alpha/health_service.go +++ /dev/null @@ -1,22 +0,0 @@ -package serverv2alpha - -import ( - "context" - - "google.golang.org/grpc/codes" - healthpb "google.golang.org/grpc/health/grpc_health_v1" - "google.golang.org/grpc/status" -) - -// Service represents a structure that implements health check functionalities for gRPC services. -type Service struct{} - -// Check performs a health check for the service and returns the current health status in the response. -func (s *Service) Check(_ context.Context, _ *healthpb.HealthCheckRequest) (*healthpb.HealthCheckResponse, error) { - return &healthpb.HealthCheckResponse{Status: healthpb.HealthCheckResponse_SERVING}, nil -} - -// Watch streams health check responses to the client for the requested service. Not implemented in this implementation. -func (s *Service) Watch(_ *healthpb.HealthCheckRequest, _ healthpb.Health_WatchServer) error { - return status.Error(codes.Unimplemented, "Watch is not implemented") -} diff --git a/libs/private/go/server/v2alpha/package.json b/libs/private/go/server/v2alpha/package.json deleted file mode 100644 index ee6581fe..00000000 --- a/libs/private/go/server/v2alpha/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "sdk-server-private-v2alpha", - "version": "0.6.0", - "description": "Private Server SDK version v2alpha", - "license": "Apache-2.0" -} diff --git a/libs/private/go/server/v2alpha/project.json b/libs/private/go/server/v2alpha/project.json deleted file mode 100644 index f721d661..00000000 --- a/libs/private/go/server/v2alpha/project.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "name": "libs-private-go-server-v2alpha", - "$schema": "../../../../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "sourceRoot": "libs/private/go/server/v2alpha", - "implicitDependencies": [ - "proto", - "protoc-gen-platform" - ], - "targets": { - "build": { - "executor": "nx:run-commands", - "options": { - "command": "GOOS=linux GOARCH=amd64 go build -o ../../../../../dist/libs/private/go/server/v2alpha/lib", - "cwd": "libs/private/go/server/v2alpha" - } - }, - "test": { - "executor": "nx:run-commands", - "options": { - "command": "go test -v ./... -cover -race", - "cwd": "libs/private/go/server/v2alpha" - } - }, - "clean": { - "executor": "nx:run-commands", - "options": { - "command": "go clean", - "cwd": "libs/private/go/server/v2alpha" - } - }, - "lint": { - "executor": "nx:run-commands", - "options": { - "commands": ["golangci-lint run ./... --timeout=5m"], - "parallel": false, - "cwd": "libs/private/go/server/v2alpha" - } - }, - "format": { - "executor": "nx:run-commands", - "options": { - "commands": ["go mod tidy", "gofumpt -l -w .", "golangci-lint run ./... --timeout=5m --fix"], - "parallel": false, - "cwd": "libs/private/go/server/v2alpha" - } - } - }, - "tags": [ - "type:lib", - "cycle:private", - "language:golang", - "type:server", - "type:sdk", - "version:v2alpha", - "exposure:internal" - ] -} diff --git a/libs/private/go/server/v2alpha/stream_context_wrapper.go b/libs/private/go/server/v2alpha/stream_context_wrapper.go deleted file mode 100644 index d12c9602..00000000 --- a/libs/private/go/server/v2alpha/stream_context_wrapper.go +++ /dev/null @@ -1,49 +0,0 @@ -package serverv2alpha - -import ( - "context" - - "google.golang.org/grpc" -) - -// StreamContextWrapper is an interface that combines grpc.ServerStream with the ability to set a custom context. -type StreamContextWrapper interface { - grpc.ServerStream - SetContext(context.Context) -} - -// wrapper is a struct implementing the StreamContextWrapper interface for managing gRPC stream context and metadata. -// -//nolint:unused -type wrapper struct { - grpc.ServerStream - info *grpc.StreamServerInfo - ctx context.Context -} - -// Context returns the context associated with the wrapper instance. -// -//nolint:unused -func (w *wrapper) Context() context.Context { - return w.ctx -} - -// SetContext sets a new context for the wrapper. This method updates the wrapper's internal context value. -// -//nolint:unused -func (w *wrapper) SetContext(ctx context.Context) { - w.ctx = ctx -} - -// newStreamContextWrapper wraps a grpc.ServerStream with additional context and server information. -// Returns a StreamContextWrapper, allowing context to be set and retrieved. -// -//nolint:unused -func newStreamContextWrapper(inner grpc.ServerStream, info *grpc.StreamServerInfo) StreamContextWrapper { - ctx := inner.Context() - return &wrapper{ - inner, - info, - ctx, - } -} diff --git a/libs/private/typescript/protobuf/src/gen/platform/audit/v2alpha/audit_pb.js b/libs/private/typescript/protobuf/src/gen/platform/audit/v2alpha/audit_pb.js index 400d582f..69ba4388 100644 --- a/libs/private/typescript/protobuf/src/gen/platform/audit/v2alpha/audit_pb.js +++ b/libs/private/typescript/protobuf/src/gen/platform/audit/v2alpha/audit_pb.js @@ -13,7 +13,7 @@ import { file_platform_type_v2_jurisdiction } from "../../type/v2/jurisdiction_p * Describes the file platform/audit/v2alpha/audit.proto. */ export const file_platform_audit_v2alpha_audit = /*@__PURE__*/ - fileDesc("CiJwbGF0Zm9ybS9hdWRpdC92MmFscGhhL2F1ZGl0LnByb3RvEhZwbGF0Zm9ybS5hdWRpdC52MmFscGhhIj4KEkF1ZGl0Q29uZmlndXJhdGlvbhIoCgJpZBgBIAEoCUIc0rcYGAoWGhJUaGlzIGlzIGEgYXVkaXQgaWQoASKYAQoNU2VhcmNoUmVxdWVzdBIsCghzdGFydF9hdBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASKgoGZW5kX2F0GAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIRCglwYWdlX3NpemUYBCABKAUSEgoKcGFnZV90b2tlbhgFIAEoCToG+rYYAggBIrEBCg5TZWFyY2hSZXNwb25zZRI7CgxzcGVjX2NvbnRleHQYASABKAsyJS5wbGF0Zm9ybS5zcGVjLnYyLlNwZWNSZXNwb25zZUNvbnRleHQSEgoKdG90YWxfc2l6ZRgCIAEoBRIXCg9uZXh0X3BhZ2VfdG9rZW4YAyABKAkSLQoGYXVkaXRzGAQgAygLMh0ucGxhdGZvcm0uYXVkaXQudjJhbHBoYS5BdWRpdDoG+rYYAggCIjgKCkF1ZGl0RW50cnkSIgoEZGF0YRgBIAEoCzIULmdvb2dsZS5wcm90b2J1Zi5Bbnk6Bvq2GAIIAiLsAQoFQXVkaXQSEgoCaWQYASABKAlCBsq3GAIIARIuCgpjcmVhdGVkX2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIxCgVlbnRyeRgEIAEoCzIiLnBsYXRmb3JtLmF1ZGl0LnYyYWxwaGEuQXVkaXRFbnRyeRI0CgxqdXJpc2RpY3Rpb24YBSABKA4yHi5wbGF0Zm9ybS50eXBlLnYyLkp1cmlzZGljdGlvbjoG+rYYAggCKjcKDUF1ZGl0Q29tbWFuZHMSHgoaQVVESVRfQ09NTUFORFNfVU5TUEVDSUZJRUQQABoGkrgYAggDKlUKC0F1ZGl0RXZlbnRzEhwKGEFVRElUX0VWRU5UU19VTlNQRUNJRklFRBAAEiAKFEFVRElUX0VWRU5UU19DUkVBVEVEEAEaBuK4GAIIARoGkrgYAggEMpEBCgxBdWRpdFNlcnZpY2USgAEKBlNlYXJjaBIlLnBsYXRmb3JtLmF1ZGl0LnYyYWxwaGEuU2VhcmNoUmVxdWVzdBomLnBsYXRmb3JtLmF1ZGl0LnYyYWxwaGEuU2VhcmNoUmVzcG9uc2UiJ6K2GAgqBnNlYXJjaKq2GAIICILT5JMCDzoBKiIKL3YyL3NlYXJjaEKlAVpmZ2l0aHViLmNvbS9vcGVuZWNvc3lzdGVtcy9lY29zeXN0ZW0vbGlicy9wcml2YXRlL2dvL3Byb3RvYnVmL2dlbi9wbGF0Zm9ybS9hdWRpdC92MmFscGhhO2F1ZGl0djJhbHBoYXBigsQTAggBgrUYBggBEAEYAoq1GBYKBWF1ZGl0EgZhdWRpdHMiA2phbigCkrUYAwoBA5q1GAIIAaK1GAIIAWIGcHJvdG8z", [file_google_api_annotations, file_google_protobuf_any, file_google_protobuf_timestamp, file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_platform_type_v2_jurisdiction]); + file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FORFNfVU5TUEVDSUZJRUQQABoGkrgYAggDKlUKC0F1ZGl0RXZlbnRzEhwKGEFVRElUX0VWRU5UU19VTlNQRUNJRklFRBAAEiAKFEFVRElUX0VWRU5UU19DUkVBVEVEEAEaBuK4GAIIARoGkrgYAggEMpEBCgxBdWRpdFNlcnZpY2USgAEKBlNlYXJjaBIlLnBsYXRmb3JtLmF1ZGl0LnYyYWxwaGEuU2VhcmNoUmVxdWVzdBomLnBsYXRmb3JtLmF1ZGl0LnYyYWxwaGEuU2VhcmNoUmVzcG9uc2UiJ6K2GAgqBnNlYXJjaKq2GAIICILT5JMCDzoBKiIKL3YyL3NlYXJjaEKgAVphZ2l0aHViLmNvbS9vcGVuZWNvc3lzdGVtcy9lY29zeXN0ZW0vbGlicy9wcml2YXRlL2dvL3Nkay9nZW4vcGxhdGZvcm0vYXVkaXQvdjJhbHBoYTthdWRpdHYyYWxwaGFwYoLEEwIIAYK1GAYIARABGAKKtRgWCgVhdWRpdBIGYXVkaXRzIgNqYW4oApK1GAMKAQOatRgCCAGitRgCCAFiBnByb3RvMw", [file_google_api_annotations, file_google_protobuf_any, file_google_protobuf_timestamp, file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_platform_type_v2_jurisdiction]); /** * Describes the message platform.audit.v2alpha.AuditConfiguration. diff --git a/libs/private/typescript/protobuf/src/gen/platform/edge/v2alpha/edge_router_pb.js b/libs/private/typescript/protobuf/src/gen/platform/edge/v2alpha/edge_router_pb.js index 1b018e15..e4335f46 100644 --- a/libs/private/typescript/protobuf/src/gen/platform/edge/v2alpha/edge_router_pb.js +++ b/libs/private/typescript/protobuf/src/gen/platform/edge/v2alpha/edge_router_pb.js @@ -9,7 +9,7 @@ import { file_platform_options_v2_annotations } from "../../options/v2/annotatio * Describes the file platform/edge/v2alpha/edge_router.proto. */ export const file_platform_edge_v2alpha_edge_router = /*@__PURE__*/ - fileDesc("CidwbGF0Zm9ybS9lZGdlL3YyYWxwaGEvZWRnZV9yb3V0ZXIucHJvdG8SFXBsYXRmb3JtLmVkZ2UudjJhbHBoYSI1ChdFZGdlUm91dGVyQ29uZmlndXJhdGlvbhIaChJlZGdlX3JvdXRlcl9jb25maWcYASABKAlChwFaZGdpdGh1Yi5jb20vb3BlbmVjb3N5c3RlbXMvZWNvc3lzdGVtL2xpYnMvcHJpdmF0ZS9nby9wcm90b2J1Zi9nZW4vcGxhdGZvcm0vZWRnZS92MmFscGhhO2VkZ2V2MmFscGhhcGKCxBMCCAKCtRgGCAEQARgGkrUYAwoBApq1GACitRgCCAFiBnByb3RvMw", [file_platform_options_v2_annotations]); + fileDesc("CidwbGF0Zm9ybS9lZGdlL3YyYWxwaGEvZWRnZV9yb3V0ZXIucHJvdG8SFXBsYXRmb3JtLmVkZ2UudjJhbHBoYSI1ChdFZGdlUm91dGVyQ29uZmlndXJhdGlvbhIaChJlZGdlX3JvdXRlcl9jb25maWcYASABKAlCggFaX2dpdGh1Yi5jb20vb3BlbmVjb3N5c3RlbXMvZWNvc3lzdGVtL2xpYnMvcHJpdmF0ZS9nby9zZGsvZ2VuL3BsYXRmb3JtL2VkZ2UvdjJhbHBoYTtlZGdldjJhbHBoYXBigsQTAggCgrUYBggBEAEYBpK1GAMKAQKatRgAorUYAggBYgZwcm90bzM", [file_platform_options_v2_annotations]); /** * Describes the message platform.edge.v2alpha.EdgeRouterConfiguration. diff --git a/libs/public/go/cli/v2alpha/.eslintrc.json b/libs/public/go/cli/v2alpha/.eslintrc.json deleted file mode 100644 index 43ff0006..00000000 --- a/libs/public/go/cli/v2alpha/.eslintrc.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": ["../../../../../.eslintrc.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.yaml", "*.yml"], - "rules": {} - } - ] -} diff --git a/libs/public/go/cli/v2alpha/CHANGELOG.md b/libs/public/go/cli/v2alpha/CHANGELOG.md deleted file mode 100644 index d5d8a7b4..00000000 --- a/libs/public/go/cli/v2alpha/CHANGELOG.md +++ /dev/null @@ -1,103 +0,0 @@ -## 0.6.0 (2024-12-29) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### 🩹 Fixes - -- stabilizing ([68f575b](https://github.com/openecosystems/ecosystem/commit/68f575b)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.5.1 (2024-12-28) - -### 🩹 Fixes - -- stabilizing ([154a00a](https://github.com/openecosystems/ecosystem/commit/154a00a)) -- stabilizing ([bb7fdbf](https://github.com/openecosystems/ecosystem/commit/bb7fdbf)) -- stabilizing ([49ae473](https://github.com/openecosystems/ecosystem/commit/49ae473)) -- stabilizing ([7bc34a6](https://github.com/openecosystems/ecosystem/commit/7bc34a6)) -- stabilizing ([6d6d904](https://github.com/openecosystems/ecosystem/commit/6d6d904)) -- stabilizing ([86a41b4](https://github.com/openecosystems/ecosystem/commit/86a41b4)) -- stabilizing ([904b3c8](https://github.com/openecosystems/ecosystem/commit/904b3c8)) -- stabilizing ([6c1336e](https://github.com/openecosystems/ecosystem/commit/6c1336e)) -- stabilizing ([cf9de6c](https://github.com/openecosystems/ecosystem/commit/cf9de6c)) -- stabilizing ([a2d04a3](https://github.com/openecosystems/ecosystem/commit/a2d04a3)) -- stabilizing ([5f65e48](https://github.com/openecosystems/ecosystem/commit/5f65e48)) -- stabilizing ([9e3f78b](https://github.com/openecosystems/ecosystem/commit/9e3f78b)) -- stabilizing ([8d1d6da](https://github.com/openecosystems/ecosystem/commit/8d1d6da)) -- stabilizing ([d165d69](https://github.com/openecosystems/ecosystem/commit/d165d69)) -- stabilizing ([469e899](https://github.com/openecosystems/ecosystem/commit/469e899)) -- stabilizing ([0568e0c](https://github.com/openecosystems/ecosystem/commit/0568e0c)) - -### ❤️ Thank You - -- Dimy Jeannot - -## 0.5.0 (2024-12-28) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.4.0 (2024-12-27) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.3.0 (2024-12-23) - -### 🩹 Fixes - -- stabilizing ([2011bac](https://github.com/openecosystems/ecosystem/commit/2011bac)) -- stabilizing ([70c7403](https://github.com/openecosystems/ecosystem/commit/70c7403)) -- stabilizing ([03299c1](https://github.com/openecosystems/ecosystem/commit/03299c1)) -- stabilizing ([b79685e](https://github.com/openecosystems/ecosystem/commit/b79685e)) -- stabilizing ([a200f97](https://github.com/openecosystems/ecosystem/commit/a200f97)) -- updating dependencies to resolve security issues ([dd7b347](https://github.com/openecosystems/ecosystem/commit/dd7b347)) -- working on cicd ([fdc04a5](https://github.com/openecosystems/ecosystem/commit/fdc04a5)) -- working on cicd ([426ec24](https://github.com/openecosystems/ecosystem/commit/426ec24)) -- working on cicd ([b204f77](https://github.com/openecosystems/ecosystem/commit/b204f77)) -- working on cicd ([7626cae](https://github.com/openecosystems/ecosystem/commit/7626cae)) -- working on cicd ([#5](https://github.com/openecosystems/ecosystem/pull/5)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.2.0 (2024-12-23) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.1.0 (2024-12-11) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot \ No newline at end of file diff --git a/libs/public/go/cli/v2alpha/buf.gen.yaml b/libs/public/go/cli/v2alpha/buf.gen.yaml deleted file mode 100644 index a20a6849..00000000 --- a/libs/public/go/cli/v2alpha/buf.gen.yaml +++ /dev/null @@ -1,33 +0,0 @@ -version: v2 -inputs: - - directory: ../../../../../proto/public -plugins: - - local: protoc-gen-platform - out: ./gen - opt: - - paths=source_relative - - language=go - - type=cli-system - - prefix=public - - local: protoc-gen-platform - out: ./gen - opt: - - paths=source_relative - - language=go - - type=cli-service - - prefix=public - - local: protoc-gen-platform - out: ./gen - opt: - - paths=source_relative - - language=go - - type=cli-commands - - prefix=public - strategy: all - - local: protoc-gen-platform - out: ./gen - opt: - - paths=source_relative - - language=go - - type=cli-methods - - prefix=public diff --git a/libs/public/go/cli/v2alpha/cli.go b/libs/public/go/cli/v2alpha/cli.go deleted file mode 100644 index 77490827..00000000 --- a/libs/public/go/cli/v2alpha/cli.go +++ /dev/null @@ -1,170 +0,0 @@ -package cliv2alphalib - -import ( - "context" - "encoding/json" - "fmt" - "net/url" - - sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" - - "connectrpc.com/connect" -) - -// CLI represents the core structure for managing CLI operations, bindings, and their configuration. -type CLI struct { - Bindings *sdkv2alphalib.Bindings - Bounds []sdkv2alphalib.Binding - ConfigurationProvider sdkv2alphalib.BaseSpecConfigurationProvider - - options *cliOptions -} - -// NewCLI initializes a new CLI instance by registering the provided bindings and returns the CLI object. -func NewCLI(ctx context.Context, opts ...CLIOption) *CLI { - options, _ := newCLIOptions(opts) - - cli := CLI{ - Bounds: options.Bounds, - - options: options, - } - - provider := options.ConfigurationProvider - if provider == nil { - panic("configuration provider is nil. Please provide a configuration provider to the server.") - } - - cli.ConfigurationProvider = provider - t := options.ConfigurationProvider - - var copts []sdkv2alphalib.ConfigurationProviderOption - if options.RuntimeConfigurationOverrides.Overridden { - copts = append(copts, sdkv2alphalib.WithRuntimeOverrides(options.RuntimeConfigurationOverrides)) - } - - configurer, err := t.ResolveConfiguration(copts...) - if err != nil { - fmt.Println(err) - return nil - } - err = t.ValidateConfiguration() - if err != nil { - fmt.Println(err) - panic(err) - } - - copts = append(copts, sdkv2alphalib.WithConfigurer(configurer)) - - bindings := sdkv2alphalib.RegisterBindings(ctx, options.Bounds, copts...) - cli.Bindings = bindings - - return &cli -} - -// GracefulShutdown gracefully shuts down the CLI by cleaning up resources and closing bindings within a timeout context. -func (cli *CLI) GracefulShutdown() { - _, cancel := context.WithTimeout(context.Background(), 30) - defer cancel() - - sdkv2alphalib.ShutdownBindings(cli.Bindings) -} - -// GetConfiguration retrieves and returns the configuration from the CLI's ConfigurationProvider if implemented. -func (cli *CLI) GetConfiguration() *Configuration { - t := cli.ConfigurationProvider - - bytes, err := t.GetConfigurationBytes() - if err != nil { - fmt.Println(err) - return nil - } - - c := Configuration{} - err = json.Unmarshal(bytes, &c) - if err != nil { - fmt.Println(err) - return nil - } - - return &c -} - -// A CLIOption configures a [Server]. -type CLIOption interface { - apply(*cliOptions) -} - -type cliOptions struct { - URL *url.URL - MeshVPN bool - - Bounds []sdkv2alphalib.Binding - PlatformContext string - RuntimeConfigurationOverrides sdkv2alphalib.RuntimeConfigurationOverrides - ConfigurationProvider sdkv2alphalib.BaseSpecConfigurationProvider -} - -type optionFunc func(*cliOptions) - -func (f optionFunc) apply(cfg *cliOptions) { f(cfg) } - -//nolint:unparam -func newCLIOptions(options []CLIOption) (*cliOptions, *connect.Error) { - // Defaults - config := cliOptions{ - MeshVPN: false, - } - - for _, opt := range options { - opt.apply(&config) - } - - if err := config.validate(); err != nil { - return nil, err - } - - return &config, nil -} - -func (c *cliOptions) validate() *connect.Error { - return nil -} - -// WithOptions composes multiple Options into one. -func WithOptions(opts ...CLIOption) CLIOption { - return optionFunc(func(cfg *cliOptions) { - for _, opt := range opts { - opt.apply(cfg) - } - }) -} - -// WithBounds configures the server with the specified bounds, overriding the default bindings list in server options. -func WithBounds(bounds []sdkv2alphalib.Binding) CLIOption { - return optionFunc(func(cfg *cliOptions) { - cfg.Bounds = bounds - }) -} - -// WithPlatformContext sets the platform context in the server options configuration. -func WithPlatformContext(context string) CLIOption { - return optionFunc(func(cfg *cliOptions) { - cfg.PlatformContext = context - }) -} - -// WithConfigurationProvider sets the SpecConfigurationProvider for the server configuration and applies it as a CLIOption. -func WithConfigurationProvider(settings sdkv2alphalib.BaseSpecConfigurationProvider) CLIOption { - return optionFunc(func(cfg *cliOptions) { - cfg.ConfigurationProvider = settings - }) -} - -// WithRuntimeOverrides sets runtime configuration overrides for the CLI, modifying default behavior based on the provided settings. -func WithRuntimeOverrides(overrides sdkv2alphalib.RuntimeConfigurationOverrides) CLIOption { - overrides.Overridden = true - return optionFunc(func(cfg *cliOptions) { - cfg.RuntimeConfigurationOverrides = overrides - }) -} diff --git a/libs/public/go/cli/v2alpha/configurer.go b/libs/public/go/cli/v2alpha/configurer.go deleted file mode 100644 index 20ba7472..00000000 --- a/libs/public/go/cli/v2alpha/configurer.go +++ /dev/null @@ -1,95 +0,0 @@ -package cliv2alphalib - -import ( - "encoding/json" - "fmt" - - specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" - - sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" -) - -// Configuration represents a structure for application configuration settings, including app, GRPC, and HTTP details. -type Configuration struct { - App specv2pb.App `yaml:"app,omitempty"` - Platform specv2pb.Platform `yaml:"platform,omitempty"` - Context specv2pb.Context `yaml:"context,omitempty"` - Systems []specv2pb.SpecSystem - - configuration *Configuration - // err error -} - -// ResolveConfiguration merges and resolves the environment and default configuration settings into a unified structure. -func (c *Configuration) ResolveConfiguration(opts ...sdkv2alphalib.ConfigurationProviderOption) (*sdkv2alphalib.Configurer, error) { - var config Configuration - - opts = append(opts, sdkv2alphalib.WithConfigPath(sdkv2alphalib.ContextDirectory)) - configurer, err := sdkv2alphalib.NewConfigurer(opts...) - if err != nil { - return nil, err - } - - sdkv2alphalib.Resolve(configurer, &config, c.GetDefaultConfiguration()) - - config.configuration = &config - c.configuration = &config - - return configurer, nil -} - -// ValidateConfiguration checks if the configuration instance is valid and returns an error if validation fails. -func (c *Configuration) ValidateConfiguration() error { - return nil -} - -// GetDefaultConfiguration returns a default `Configuration` instance with preset values for App, Grpc, and Http fields. -func (c *Configuration) GetDefaultConfiguration() *Configuration { - return &Configuration{ - App: specv2pb.App{ - Name: "oeco", - Version: "0.0.0", - EnvironmentName: "local-1", - EnvironmentType: "local", - }, - Platform: specv2pb.Platform{ - Endpoint: "http://localhost:6577", - Insecure: true, - DnsEndpoints: []string{"45.63.49.173:4242"}, - DynamicConfigReload: false, - Mesh: &specv2pb.Mesh{ - Enabled: true, - Endpoint: "http://192.168.100.5:6477", - Insecure: true, - DnsEndpoint: "192.168.100.1", - Punchy: true, - }, - }, - } -} - -// CreateConfiguration generates and returns a default or custom configuration for the Binding instance. -func (c *Configuration) CreateConfiguration() (*Configuration, error) { - return nil, nil -} - -// GetConfiguration retrieves the configuration of the binding instance. Returns the configuration as an interface{}. -func (c *Configuration) GetConfiguration() *Configuration { - return c.configuration -} - -// GetConfigurationBytes retrieves the configuration of the binding instance. Returns the configuration as an interface{}. -func (c *Configuration) GetConfigurationBytes() ([]byte, error) { - byteArray, err := json.Marshal(c.GetConfiguration()) - if err != nil { - fmt.Println("Error:", err) - return nil, err - } - return byteArray, nil -} - -// WatchConfigurations observes changes in the binding's configuration and updates the internal state accordingly. -func (c *Configuration) WatchConfigurations(directories ...string) error { - fmt.Println("Watch settings ecosystem internal directories:", directories) - return nil -} diff --git a/libs/public/go/cli/v2alpha/error.go b/libs/public/go/cli/v2alpha/error.go deleted file mode 100644 index ef82e9fb..00000000 --- a/libs/public/go/cli/v2alpha/error.go +++ /dev/null @@ -1 +0,0 @@ -package cliv2alphalib diff --git a/libs/public/go/cli/v2alpha/go.mod b/libs/public/go/cli/v2alpha/go.mod deleted file mode 100644 index c859cd1c..00000000 --- a/libs/public/go/cli/v2alpha/go.mod +++ /dev/null @@ -1,28 +0,0 @@ -module github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha - -go 1.23.4 - -require ( - connectrpc.com/connect v1.17.0 - github.com/apex/log v1.9.0 - github.com/spf13/cobra v1.8.1 - github.com/charmbracelet/log v0.4.0 -) - -require ( - github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect - github.com/charmbracelet/lipgloss v0.10.0 // indirect - github.com/go-logfmt/logfmt v0.6.0 // indirect - github.com/inconshreveable/mousetrap v1.1.0 // indirect - github.com/lucasb-eyer/go-colorful v1.2.0 // indirect - github.com/mattn/go-isatty v0.0.18 // indirect - github.com/mattn/go-runewidth v0.0.15 // indirect - github.com/muesli/reflow v0.3.0 // indirect - github.com/muesli/termenv v0.15.2 // indirect - github.com/pkg/errors v0.8.1 // indirect - github.com/rivo/uniseg v0.4.7 // indirect - github.com/spf13/pflag v1.0.5 // indirect - golang.org/x/exp v0.0.0-20231006140011-7918f672742d // indirect - golang.org/x/sys v0.13.0 // indirect - google.golang.org/protobuf v1.34.2 // indirect -) diff --git a/libs/public/go/cli/v2alpha/go.sum b/libs/public/go/cli/v2alpha/go.sum deleted file mode 100644 index 9a8213eb..00000000 --- a/libs/public/go/cli/v2alpha/go.sum +++ /dev/null @@ -1,121 +0,0 @@ -connectrpc.com/connect v1.17.0 h1:W0ZqMhtVzn9Zhn2yATuUokDLO5N+gIuBWMOnsQrfmZk= -connectrpc.com/connect v1.17.0/go.mod h1:0292hj1rnx8oFrStN7cB4jjVBeqs+Yx5yDIC2prWDO8= -github.com/apex/log v1.9.0 h1:FHtw/xuaM8AgmvDDTI9fiwoAL25Sq2cxojnZICUU8l0= -github.com/apex/log v1.9.0/go.mod h1:m82fZlWIuiWzWP04XCTXmnX0xRkYYbCdYn8jbJeLBEA= -github.com/apex/logs v1.0.0/go.mod h1:XzxuLZ5myVHDy9SAmYpamKKRNApGj54PfYLcFrXqDwo= -github.com/aphistic/golf v0.0.0-20180712155816-02c07f170c5a/go.mod h1:3NqKYiepwy8kCu4PNA+aP7WUV72eXWJeP9/r3/K9aLE= -github.com/aphistic/sweet v0.2.0/go.mod h1:fWDlIh/isSE9n6EPsRmC0det+whmX6dJid3stzu0Xys= -github.com/aws/aws-sdk-go v1.20.6/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= -github.com/aybabtme/rgbterm v0.0.0-20170906152045-cc83f3b3ce59/go.mod h1:q/89r3U2H7sSsE2t6Kca0lfwTK8JdoNGS/yzM/4iH5I= -github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= -github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= -github.com/charmbracelet/lipgloss v0.10.0 h1:KWeXFSexGcfahHX+54URiZGkBFazf70JNMtwg/AFW3s= -github.com/charmbracelet/lipgloss v0.10.0/go.mod h1:Wig9DSfvANsxqkRsqj6x87irdy123SR4dOXlKa91ciE= -github.com/charmbracelet/log v0.4.0 h1:G9bQAcx8rWA2T3pWvx7YtPTPwgqpk7D68BX21IRW8ZM= -github.com/charmbracelet/log v0.4.0/go.mod h1:63bXt/djrizTec0l11H20t8FDSvA4CRZJ1KH22MdptM= -github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= -github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-logfmt/logfmt v0.6.0 h1:wGYYu3uicYdqXVgoYbvnkrPVXkuLM1p1ifugDMEdRi4= -github.com/go-logfmt/logfmt v0.6.0/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= -github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= -github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= -github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= -github.com/jpillora/backoff v0.0.0-20180909062703-3050d21c67d7/go.mod h1:2iMrUgbbvHEiQClaW2NsSzMyGHqN+rDFqY705q49KG0= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/lucasb-eyer/go-colorful v1.2.0 h1:1nnpGOrhyZZuNyfu1QjKiUICQ74+3FNCN69Aj6K7nkY= -github.com/lucasb-eyer/go-colorful v1.2.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0= -github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= -github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= -github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= -github.com/mattn/go-isatty v0.0.18 h1:DOKFKCQ7FNG2L1rbrmstDN4QVRdS89Nkh85u68Uwp98= -github.com/mattn/go-isatty v0.0.18/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= -github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U= -github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= -github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= -github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s= -github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8= -github.com/muesli/termenv v0.15.2 h1:GohcuySI0QmI3wN8Ok9PtKGkgkFIk7y6Vpb5PvrY+Wo= -github.com/muesli/termenv v0.15.2/go.mod h1:Epx+iuz8sNs7mNKhxzH4fWXGNpZwUaJKRS1noLXviQ8= -github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ= -github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= -github.com/rogpeppe/fastuuid v1.1.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= -github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= -github.com/smartystreets/assertions v1.0.0/go.mod h1:kHHU4qYBaI3q23Pp3VPrmWhuIUrLW/7eUrw0BU5VaoM= -github.com/smartystreets/go-aws-auth v0.0.0-20180515143844-0c1422d1fdb9/go.mod h1:SnhjPscd9TpLiy1LpzGSKh3bXCfxxXuqd9xmQJy3slM= -github.com/smartystreets/gunit v1.0.0/go.mod h1:qwPWnhz6pn0NnRBP++URONOVyNkPyr4SauJk4cUOwJs= -github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM= -github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/tj/assert v0.0.0-20171129193455-018094318fb0/go.mod h1:mZ9/Rh9oLWpLLDRpvE+3b7gP/C2YyLFYxNmcLnPTMe0= -github.com/tj/assert v0.0.3 h1:Df/BlaZ20mq6kuai7f5z2TvPFiwC3xaWJSDQNiIS3Rk= -github.com/tj/assert v0.0.3/go.mod h1:Ne6X72Q+TB1AteidzQncjw9PabbMp4PBMZ1k+vd1Pvk= -github.com/tj/go-buffer v1.1.0/go.mod h1:iyiJpfFcR2B9sXu7KvjbT9fpM4mOelRSDTbntVj52Uc= -github.com/tj/go-elastic v0.0.0-20171221160941-36157cbbebc2/go.mod h1:WjeM0Oo1eNAjXGDx2yma7uG2XoyRZTq1uv3M/o7imD0= -github.com/tj/go-kinesis v0.0.0-20171128231115-08b17f58cb1b/go.mod h1:/yhzCV0xPfx6jb1bBgRFjl5lytqVqZXEaeqWP8lTEao= -github.com/tj/go-spin v1.1.0/go.mod h1:Mg1mzmePZm4dva8Qz60H2lHwmJ2loum4VIrLgVnKwh4= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= -golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= -golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= -golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= -google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= -gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20200605160147-a5ece683394c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/libs/public/go/cli/v2alpha/option.go b/libs/public/go/cli/v2alpha/option.go deleted file mode 100644 index ef82e9fb..00000000 --- a/libs/public/go/cli/v2alpha/option.go +++ /dev/null @@ -1 +0,0 @@ -package cliv2alphalib diff --git a/libs/public/go/cli/v2alpha/package.json b/libs/public/go/cli/v2alpha/package.json deleted file mode 100644 index ddf94adc..00000000 --- a/libs/public/go/cli/v2alpha/package.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "name": "sdk-cli-v2alpha", - "version": "0.6.0", - "description": "CLI SDK version v2alpha", - "license": "Apache-2.0" -} diff --git a/libs/public/go/cli/v2alpha/project.json b/libs/public/go/cli/v2alpha/project.json deleted file mode 100644 index da38cb4e..00000000 --- a/libs/public/go/cli/v2alpha/project.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "name": "libs-public-go-cli-v2alpha-client", - "$schema": "../../../../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "sourceRoot": "libs/public/go/cli/v2alpha", - "implicitDependencies": [ - "proto" - ], - "targets": { - "generate": { - "executor": "nx:run-commands", - "options": { - "command": "buf generate", - "cwd": "libs/public/go/cli/v2alpha" - } - }, - "build": { - "executor": "nx:run-commands", - "options": { - "command": "go build ./...", - "cwd": "libs/public/go/cli/v2alpha" - } - }, - "test": { - "executor": "nx:run-commands", - "options": { - "command": "go test -v ./... -cover -race", - "cwd": "libs/public/go/cli/v2alpha" - } - }, - "clean": { - "executor": "nx:run-commands", - "options": { - "command": "go clean", - "cwd": "libs/public/go/cli/v2alpha" - } - }, - "lint": { - "executor": "nx:run-commands", - "options": { - "commands": ["golangci-lint run ./... --timeout=5m"], - "parallel": false, - "cwd": "libs/public/go/cli/v2alpha" - } - }, - "format": { - "executor": "nx:run-commands", - "options": { - "commands": ["go mod tidy", "gofumpt -l -w .", "golangci-lint run ./... --timeout=5m --fix"], - "parallel": false, - "cwd": "libs/public/go/cli/v2alpha" - } - } - }, - "tags": [ - "type:lib", - "cycle:public", - "language:golang", - "type:client", - "type:sdk", - "version:v2alpha", - "exposure:external" - ] -} diff --git a/libs/public/go/cli/v2alpha/spec_interceptor.go b/libs/public/go/cli/v2alpha/spec_interceptor.go deleted file mode 100644 index 2d51493f..00000000 --- a/libs/public/go/cli/v2alpha/spec_interceptor.go +++ /dev/null @@ -1,62 +0,0 @@ -package cliv2alphalib - -import ( - "context" - "strconv" - - "connectrpc.com/connect" - "google.golang.org/protobuf/types/known/timestamppb" - - sdkv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" -) - -// DecorateRequest modifies request headers with metadata values like timestamps, device details, configuration, and API context. -func DecorateRequest(_ context.Context, req connect.AnyRequest, settings *Configuration, overrides *sdkv2alphalib.RuntimeConfigurationOverrides) { - req.Header().Set(sdkv2alphalib.SentAtKey, timestamppb.Now().String()) - req.Header().Set(sdkv2alphalib.RequestIdKey, "") - req.Header().Set(sdkv2alphalib.DeviceIdKey, "mac") - req.Header().Set(sdkv2alphalib.DeviceAdvertisingIdKey, "749393") - req.Header().Set(sdkv2alphalib.DeviceManufacturerKey, sdkv2alphalib.OSData.Family) - req.Header().Set(sdkv2alphalib.DeviceModelKey, "") - req.Header().Set(sdkv2alphalib.DeviceNameKey, "") - req.Header().Set(sdkv2alphalib.DeviceTypeKey, "") - req.Header().Set(sdkv2alphalib.DeviceTokenKey, "") - req.Header().Set(sdkv2alphalib.OsNameKey, sdkv2alphalib.OSData.Platform) - req.Header().Set(sdkv2alphalib.OsVersionKey, sdkv2alphalib.OSData.PlatformVersion) - - if overrides != nil { - req.Header().Set(sdkv2alphalib.FieldMask, overrides.FieldMask) - req.Header().Set(sdkv2alphalib.ValidateOnlyKey, strconv.FormatBool(overrides.ValidateOnly)) - } - - if settings != nil { - // req.Header().Set(ApiKey, settings.Context.ApiKey) - for _, header := range settings.Context.Headers { - for _, v := range header.Values { - req.Header().Add(header.Key, v) - } - } - } -} - -// NewCLIInterceptor creates a unary interceptor function to decorate requests with headers based on given settings and overrides. -func NewCLIInterceptor(settings *Configuration, overrides *sdkv2alphalib.RuntimeConfigurationOverrides) connect.UnaryInterceptorFunc { - interceptor := func(next connect.UnaryFunc) connect.UnaryFunc { - return func(ctx context.Context, req connect.AnyRequest) (connect.AnyResponse, error) { - DecorateRequest(ctx, req, settings, overrides) - return next(ctx, req) - } - } - return interceptor -} - -// NewApplyHeadersInterceptor creates a unary interceptor to apply headers to requests using provided SpecSettings. -func NewApplyHeadersInterceptor(settings *Configuration) connect.UnaryInterceptorFunc { - interceptor := func(next connect.UnaryFunc) connect.UnaryFunc { - return func(ctx context.Context, req connect.AnyRequest) (connect.AnyResponse, error) { - DecorateRequest(ctx, req, settings, &sdkv2alphalib.RuntimeConfigurationOverrides{}) - return next(ctx, req) - } - } - return interceptor -} diff --git a/libs/public/go/model/buf.gen.yaml b/libs/public/go/model/buf.gen.yaml index 45279211..b7052137 100644 --- a/libs/public/go/model/buf.gen.yaml +++ b/libs/public/go/model/buf.gen.yaml @@ -2,25 +2,28 @@ version: v2 inputs: - directory: ../../../../proto/public plugins: - - local: protoc-gen-platform - out: ./gen - opt: - - paths=source_relative - - language=go - - type=entity-unspecified - - prefix=public - - local: protoc-gen-platform - out: ./gen - opt: - - paths=source_relative - - language=go - - type=spec - - prefix=public - - local: protoc-gen-platform - out: ./gen - opt: - - paths=source_relative - - language=go - - type=spec-entities - - prefix=public - strategy: all +# - local: protoc-gen-platform +# out: ./gen +# opt: +# - paths=source_relative +# - language=go +# - type=entity-unspecified +# - prefix=public +# - local: protoc-gen-platform +# out: ./gen +# opt: +# - paths=source_relative +# - language=go +# - type=spec +# - prefix=public + + +## TODO: RE ENABLE THIS AND RESOLVE +# - local: protoc-gen-platform +# out: ./gen +# opt: +# - paths=source_relative +# - language=go +# - type=spec-entities +# - prefix=public +# strategy: all diff --git a/libs/public/go/model/gen/platform/spec/v1alpha/entities.pb.entities.go b/libs/public/go/model/gen/platform/spec/v1alpha/entities.pb.entities.go deleted file mode 100644 index d2a317bf..00000000 --- a/libs/public/go/model/gen/platform/spec/v1alpha/entities.pb.entities.go +++ /dev/null @@ -1,14 +0,0 @@ -// Code generated by protoc-gen-platform go/spec-entities. DO NOT EDIT. -// source: Generated from all proto files - -package specentities -import ( - - preference_center "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/communication/v1alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" -) - -var Registry = []sdkv2alphalib.Entity{ - - &preference_center.PreferenceCenterSpecEntity{}, -} diff --git a/libs/public/go/model/gen/platform/spec/v1beta/entities.pb.entities.go b/libs/public/go/model/gen/platform/spec/v1beta/entities.pb.entities.go deleted file mode 100644 index 65bcd315..00000000 --- a/libs/public/go/model/gen/platform/spec/v1beta/entities.pb.entities.go +++ /dev/null @@ -1,14 +0,0 @@ -// Code generated by protoc-gen-platform go/spec-entities. DO NOT EDIT. -// source: Generated from all proto files - -package specentities -import ( - - preference_center "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/communication/v1beta" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" -) - -var Registry = []sdkv2alphalib.Entity{ - - &preference_center.PreferenceCenterSpecEntity{}, -} diff --git a/libs/public/go/model/gen/platform/spec/v2alpha/entities.pb.entities.go b/libs/public/go/model/gen/platform/spec/v2alpha/entities.pb.entities.go deleted file mode 100644 index efb9cefa..00000000 --- a/libs/public/go/model/gen/platform/spec/v2alpha/entities.pb.entities.go +++ /dev/null @@ -1,34 +0,0 @@ -// Code generated by protoc-gen-platform go/spec-entities. DO NOT EDIT. -// source: Generated from all proto files - -package specentities -import ( - - configuration "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/configuration/v2alpha" - - certificate "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/cryptography/v2alpha" - - ecosystem "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/ecosystem/v2alpha" - - account "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/iam/v2alpha" - - account_authority "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/iam/v2alpha" - - system "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/system/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" -) - -var Registry = []sdkv2alphalib.Entity{ - - &configuration.ConfigurationSpecEntity{}, - - &certificate.CertificateSpecEntity{}, - - &ecosystem.EcosystemSpecEntity{}, - - &account.AccountSpecEntity{}, - - &account_authority.AccountAuthoritySpecEntity{}, - - &system.SystemSpecEntity{}, -} diff --git a/libs/public/go/protobuf/.eslintrc.json b/libs/public/go/protobuf/.eslintrc.json deleted file mode 100644 index 48e00d1c..00000000 --- a/libs/public/go/protobuf/.eslintrc.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": ["../../../../.eslintrc.json"], - "ignorePatterns": ["!**/*"], - "overrides": [ - { - "files": ["*.yaml", "*.yml"], - "rules": {} - } - ] -} diff --git a/libs/public/go/protobuf/buf.gen.yaml b/libs/public/go/protobuf/buf.gen.yaml deleted file mode 100644 index b277fc44..00000000 --- a/libs/public/go/protobuf/buf.gen.yaml +++ /dev/null @@ -1,13 +0,0 @@ -version: v2 -inputs: - - directory: ../../../../proto/public -plugins: - - remote: buf.build/protocolbuffers/go - out: ./gen - opt: paths=source_relative -# - remote: buf.build/grpc/go -# out: ./gen -# opt: paths=source_relative - - remote: buf.build/connectrpc/go - out: ./gen - opt: paths=source_relative diff --git a/libs/public/go/protobuf/go.mod b/libs/public/go/protobuf/go.mod deleted file mode 100644 index 054cf8c0..00000000 --- a/libs/public/go/protobuf/go.mod +++ /dev/null @@ -1,15 +0,0 @@ -module github.com/openecosystems/ecosystem/libs/public/go/protobuf - -go 1.23.4 - -require ( - buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.1-20240920164238-5a7b106cbb87.1 - connectrpc.com/connect v1.16.2 - google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 - google.golang.org/protobuf v1.36.1 -) - -require ( - github.com/google/go-cmp v0.6.0 // indirect - golang.org/x/net v0.31.0 // indirect -) diff --git a/libs/public/go/protobuf/go.sum b/libs/public/go/protobuf/go.sum deleted file mode 100644 index 032d9210..00000000 --- a/libs/public/go/protobuf/go.sum +++ /dev/null @@ -1,14 +0,0 @@ -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.1-20240920164238-5a7b106cbb87.1 h1:9wP6ZZYWnF2Z0TxmII7m3XNykxnP4/w8oXeth6ekcRI= -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.1-20240920164238-5a7b106cbb87.1/go.mod h1:Duw/9JoXkXIydyASnLYIiufkzySThoqavOsF+IihqvM= -connectrpc.com/connect v1.16.2 h1:ybd6y+ls7GOlb7Bh5C8+ghA6SvCBajHwxssO2CGFjqE= -connectrpc.com/connect v1.16.2/go.mod h1:n2kgwskMHXC+lVqb18wngEpF95ldBHXjZYJussz5FRc= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -golang.org/x/net v0.31.0 h1:68CPQngjLL0r2AlUKiSxtQFKvzRVbnzLwMUn5SzcLHo= -golang.org/x/net v0.31.0/go.mod h1:P4fl1q7dY2hnZFxEk4pPSkDHF+QqjitcnDjUQyMM+pM= -golang.org/x/text v0.20.0 h1:gK/Kv2otX8gz+wn7Rmb3vT96ZwuoxnQlY+HlJVj7Qug= -golang.org/x/text v0.20.0/go.mod h1:D4IsuqiFMhST5bX19pQ9ikHC2GsaKyk/oF+pn3ducp4= -google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 h1:hjSy6tcFQZ171igDaN5QHOw2n6vx40juYbC/x67CEhc= -google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1/go.mod h1:qpvKtACPCQhAdu3PyQgV4l3LMXZEtft7y8QcarRsp9I= -google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= -google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= diff --git a/libs/public/go/protobuf/project.json b/libs/public/go/protobuf/project.json deleted file mode 100644 index 2e339131..00000000 --- a/libs/public/go/protobuf/project.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "name": "libs-public-go-protobuf-v2alpha", - "$schema": "../../../../node_modules/nx/schemas/project-schema.json", - "projectType": "library", - "sourceRoot": "libs/public/go/protobuf", - "implicitDependencies": [ - "proto" - ], - "targets": { - "generate": { - "executor": "nx:run-commands", - "options": { - "command": "buf generate", - "cwd": "libs/public/go/protobuf" - } - }, - "build": { - "executor": "nx:run-commands", - "options": { - "command": "go build ./...", - "cwd": "libs/public/go/protobuf" - } - }, - "test": { - "executor": "nx:run-commands", - "options": { - "command": "go test -v ./... -cover -race", - "cwd": "libs/public/go/protobuf" - } - }, - "clean": { - "executor": "nx:run-commands", - "options": { - "command": "go clean", - "cwd": "libs/public/go/protobuf" - } - }, - - "lint": { - "executor": "nx:run-commands", - "options": { - "commands": ["golangci-lint run ./... --timeout=5m"], - "parallel": false, - "cwd": "libs/public/go/protobuf" - } - }, - "format": { - "executor": "nx:run-commands", - "options": { - "commands": ["go mod tidy", "gofumpt -l -w .", "golangci-lint run ./... --timeout=5m --fix"], - "parallel": false, - "cwd": "libs/public/go/protobuf" - } - } - }, - "tags": [] -} diff --git a/libs/public/go/sdk/buf.gen.yaml b/libs/public/go/sdk/buf.gen.yaml index 39c125d7..364d45e1 100644 --- a/libs/public/go/sdk/buf.gen.yaml +++ b/libs/public/go/sdk/buf.gen.yaml @@ -3,16 +3,68 @@ inputs: - directory: ../../../../proto/public plugins: - local: protoc-gen-platform - out: ./gen + out: ./gen/platform opt: - paths=source_relative - language=go - type=sdk - prefix=public - local: protoc-gen-platform - out: ./v2alpha/gen + out: ./gen opt: - paths=source_relative - language=go - type=multiplexer - - prefix=public \ No newline at end of file + - prefix=public + - local: protoc-gen-platform + out: ./gen + opt: + - paths=source_relative + - language=go + - type=entity-unspecified + - prefix=public + - local: protoc-gen-platform + out: ./gen + opt: + - paths=source_relative + - language=go + - type=spec + - prefix=public + - local: protoc-gen-platform + out: ./gen + opt: + - paths=source_relative + - language=go + - type=cli-system + - prefix=public + - local: protoc-gen-platform + out: ./gen + opt: + - paths=source_relative + - language=go + - type=cli-service + - prefix=public + - local: protoc-gen-platform + out: ./gen + opt: + - paths=source_relative + - language=go + - type=cli-commands + - prefix=public + strategy: all + - local: protoc-gen-platform + out: ./gen + opt: + - paths=source_relative + - language=go + - type=cli-methods + - prefix=public + - remote: buf.build/protocolbuffers/go + out: ./gen + opt: paths=source_relative + # - remote: buf.build/grpc/go + # out: ./gen + # opt: paths=source_relative + - remote: buf.build/connectrpc/go + out: ./gen + opt: paths=source_relative \ No newline at end of file diff --git a/libs/public/go/sdk/gen/communication/v1alpha/CHANGELOG.md b/libs/public/go/sdk/gen/communication/v1alpha/CHANGELOG.md deleted file mode 100644 index 6b887a3f..00000000 --- a/libs/public/go/sdk/gen/communication/v1alpha/CHANGELOG.md +++ /dev/null @@ -1,77 +0,0 @@ -## 0.1.1 (2024-12-28) - -### 🩹 Fixes - -- stabilizing ([154a00a](https://github.com/openecosystems/ecosystem/commit/154a00a)) -- stabilizing ([bb7fdbf](https://github.com/openecosystems/ecosystem/commit/bb7fdbf)) -- stabilizing ([49ae473](https://github.com/openecosystems/ecosystem/commit/49ae473)) -- stabilizing ([7bc34a6](https://github.com/openecosystems/ecosystem/commit/7bc34a6)) -- stabilizing ([6d6d904](https://github.com/openecosystems/ecosystem/commit/6d6d904)) -- stabilizing ([86a41b4](https://github.com/openecosystems/ecosystem/commit/86a41b4)) -- stabilizing ([904b3c8](https://github.com/openecosystems/ecosystem/commit/904b3c8)) -- stabilizing ([6c1336e](https://github.com/openecosystems/ecosystem/commit/6c1336e)) -- stabilizing ([cf9de6c](https://github.com/openecosystems/ecosystem/commit/cf9de6c)) -- stabilizing ([a2d04a3](https://github.com/openecosystems/ecosystem/commit/a2d04a3)) -- stabilizing ([5f65e48](https://github.com/openecosystems/ecosystem/commit/5f65e48)) -- stabilizing ([9e3f78b](https://github.com/openecosystems/ecosystem/commit/9e3f78b)) -- stabilizing ([8d1d6da](https://github.com/openecosystems/ecosystem/commit/8d1d6da)) -- stabilizing ([d165d69](https://github.com/openecosystems/ecosystem/commit/d165d69)) -- stabilizing ([469e899](https://github.com/openecosystems/ecosystem/commit/469e899)) -- stabilizing ([0568e0c](https://github.com/openecosystems/ecosystem/commit/0568e0c)) - -### ❤️ Thank You - -- Dimy Jeannot - -## 0.4.0 (2024-12-27) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.3.0 (2024-12-23) - -### 🩹 Fixes - -- stabilizing ([2011bac](https://github.com/openecosystems/ecosystem/commit/2011bac)) -- stabilizing ([70c7403](https://github.com/openecosystems/ecosystem/commit/70c7403)) -- stabilizing ([03299c1](https://github.com/openecosystems/ecosystem/commit/03299c1)) -- stabilizing ([b79685e](https://github.com/openecosystems/ecosystem/commit/b79685e)) -- stabilizing ([a200f97](https://github.com/openecosystems/ecosystem/commit/a200f97)) -- updating dependencies to resolve security issues ([dd7b347](https://github.com/openecosystems/ecosystem/commit/dd7b347)) -- working on cicd ([fdc04a5](https://github.com/openecosystems/ecosystem/commit/fdc04a5)) -- working on cicd ([426ec24](https://github.com/openecosystems/ecosystem/commit/426ec24)) -- working on cicd ([b204f77](https://github.com/openecosystems/ecosystem/commit/b204f77)) -- working on cicd ([7626cae](https://github.com/openecosystems/ecosystem/commit/7626cae)) -- working on cicd ([#5](https://github.com/openecosystems/ecosystem/pull/5)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.2.0 (2024-12-23) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.1.0 (2024-12-11) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot \ No newline at end of file diff --git a/libs/public/go/sdk/gen/communication/v1alpha/go.sum b/libs/public/go/sdk/gen/communication/v1alpha/go.sum deleted file mode 100644 index d1c71933..00000000 --- a/libs/public/go/sdk/gen/communication/v1alpha/go.sum +++ /dev/null @@ -1,10 +0,0 @@ -connectrpc.com/connect v1.17.0 h1:W0ZqMhtVzn9Zhn2yATuUokDLO5N+gIuBWMOnsQrfmZk= -connectrpc.com/connect v1.17.0/go.mod h1:0292hj1rnx8oFrStN7cB4jjVBeqs+Yx5yDIC2prWDO8= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= -golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= -golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= -golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= -google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= -google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= diff --git a/libs/public/go/sdk/gen/communication/v1beta/CHANGELOG.md b/libs/public/go/sdk/gen/communication/v1beta/CHANGELOG.md deleted file mode 100644 index 6b887a3f..00000000 --- a/libs/public/go/sdk/gen/communication/v1beta/CHANGELOG.md +++ /dev/null @@ -1,77 +0,0 @@ -## 0.1.1 (2024-12-28) - -### 🩹 Fixes - -- stabilizing ([154a00a](https://github.com/openecosystems/ecosystem/commit/154a00a)) -- stabilizing ([bb7fdbf](https://github.com/openecosystems/ecosystem/commit/bb7fdbf)) -- stabilizing ([49ae473](https://github.com/openecosystems/ecosystem/commit/49ae473)) -- stabilizing ([7bc34a6](https://github.com/openecosystems/ecosystem/commit/7bc34a6)) -- stabilizing ([6d6d904](https://github.com/openecosystems/ecosystem/commit/6d6d904)) -- stabilizing ([86a41b4](https://github.com/openecosystems/ecosystem/commit/86a41b4)) -- stabilizing ([904b3c8](https://github.com/openecosystems/ecosystem/commit/904b3c8)) -- stabilizing ([6c1336e](https://github.com/openecosystems/ecosystem/commit/6c1336e)) -- stabilizing ([cf9de6c](https://github.com/openecosystems/ecosystem/commit/cf9de6c)) -- stabilizing ([a2d04a3](https://github.com/openecosystems/ecosystem/commit/a2d04a3)) -- stabilizing ([5f65e48](https://github.com/openecosystems/ecosystem/commit/5f65e48)) -- stabilizing ([9e3f78b](https://github.com/openecosystems/ecosystem/commit/9e3f78b)) -- stabilizing ([8d1d6da](https://github.com/openecosystems/ecosystem/commit/8d1d6da)) -- stabilizing ([d165d69](https://github.com/openecosystems/ecosystem/commit/d165d69)) -- stabilizing ([469e899](https://github.com/openecosystems/ecosystem/commit/469e899)) -- stabilizing ([0568e0c](https://github.com/openecosystems/ecosystem/commit/0568e0c)) - -### ❤️ Thank You - -- Dimy Jeannot - -## 0.4.0 (2024-12-27) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.3.0 (2024-12-23) - -### 🩹 Fixes - -- stabilizing ([2011bac](https://github.com/openecosystems/ecosystem/commit/2011bac)) -- stabilizing ([70c7403](https://github.com/openecosystems/ecosystem/commit/70c7403)) -- stabilizing ([03299c1](https://github.com/openecosystems/ecosystem/commit/03299c1)) -- stabilizing ([b79685e](https://github.com/openecosystems/ecosystem/commit/b79685e)) -- stabilizing ([a200f97](https://github.com/openecosystems/ecosystem/commit/a200f97)) -- updating dependencies to resolve security issues ([dd7b347](https://github.com/openecosystems/ecosystem/commit/dd7b347)) -- working on cicd ([fdc04a5](https://github.com/openecosystems/ecosystem/commit/fdc04a5)) -- working on cicd ([426ec24](https://github.com/openecosystems/ecosystem/commit/426ec24)) -- working on cicd ([b204f77](https://github.com/openecosystems/ecosystem/commit/b204f77)) -- working on cicd ([7626cae](https://github.com/openecosystems/ecosystem/commit/7626cae)) -- working on cicd ([#5](https://github.com/openecosystems/ecosystem/pull/5)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.2.0 (2024-12-23) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.1.0 (2024-12-11) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot \ No newline at end of file diff --git a/libs/public/go/sdk/gen/communication/v1beta/go.sum b/libs/public/go/sdk/gen/communication/v1beta/go.sum deleted file mode 100644 index d1c71933..00000000 --- a/libs/public/go/sdk/gen/communication/v1beta/go.sum +++ /dev/null @@ -1,10 +0,0 @@ -connectrpc.com/connect v1.17.0 h1:W0ZqMhtVzn9Zhn2yATuUokDLO5N+gIuBWMOnsQrfmZk= -connectrpc.com/connect v1.17.0/go.mod h1:0292hj1rnx8oFrStN7cB4jjVBeqs+Yx5yDIC2prWDO8= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= -golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= -golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= -golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= -google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= -google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= diff --git a/libs/public/go/sdk/gen/configuration/v2alpha/CHANGELOG.md b/libs/public/go/sdk/gen/configuration/v2alpha/CHANGELOG.md deleted file mode 100644 index 6b887a3f..00000000 --- a/libs/public/go/sdk/gen/configuration/v2alpha/CHANGELOG.md +++ /dev/null @@ -1,77 +0,0 @@ -## 0.1.1 (2024-12-28) - -### 🩹 Fixes - -- stabilizing ([154a00a](https://github.com/openecosystems/ecosystem/commit/154a00a)) -- stabilizing ([bb7fdbf](https://github.com/openecosystems/ecosystem/commit/bb7fdbf)) -- stabilizing ([49ae473](https://github.com/openecosystems/ecosystem/commit/49ae473)) -- stabilizing ([7bc34a6](https://github.com/openecosystems/ecosystem/commit/7bc34a6)) -- stabilizing ([6d6d904](https://github.com/openecosystems/ecosystem/commit/6d6d904)) -- stabilizing ([86a41b4](https://github.com/openecosystems/ecosystem/commit/86a41b4)) -- stabilizing ([904b3c8](https://github.com/openecosystems/ecosystem/commit/904b3c8)) -- stabilizing ([6c1336e](https://github.com/openecosystems/ecosystem/commit/6c1336e)) -- stabilizing ([cf9de6c](https://github.com/openecosystems/ecosystem/commit/cf9de6c)) -- stabilizing ([a2d04a3](https://github.com/openecosystems/ecosystem/commit/a2d04a3)) -- stabilizing ([5f65e48](https://github.com/openecosystems/ecosystem/commit/5f65e48)) -- stabilizing ([9e3f78b](https://github.com/openecosystems/ecosystem/commit/9e3f78b)) -- stabilizing ([8d1d6da](https://github.com/openecosystems/ecosystem/commit/8d1d6da)) -- stabilizing ([d165d69](https://github.com/openecosystems/ecosystem/commit/d165d69)) -- stabilizing ([469e899](https://github.com/openecosystems/ecosystem/commit/469e899)) -- stabilizing ([0568e0c](https://github.com/openecosystems/ecosystem/commit/0568e0c)) - -### ❤️ Thank You - -- Dimy Jeannot - -## 0.4.0 (2024-12-27) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.3.0 (2024-12-23) - -### 🩹 Fixes - -- stabilizing ([2011bac](https://github.com/openecosystems/ecosystem/commit/2011bac)) -- stabilizing ([70c7403](https://github.com/openecosystems/ecosystem/commit/70c7403)) -- stabilizing ([03299c1](https://github.com/openecosystems/ecosystem/commit/03299c1)) -- stabilizing ([b79685e](https://github.com/openecosystems/ecosystem/commit/b79685e)) -- stabilizing ([a200f97](https://github.com/openecosystems/ecosystem/commit/a200f97)) -- updating dependencies to resolve security issues ([dd7b347](https://github.com/openecosystems/ecosystem/commit/dd7b347)) -- working on cicd ([fdc04a5](https://github.com/openecosystems/ecosystem/commit/fdc04a5)) -- working on cicd ([426ec24](https://github.com/openecosystems/ecosystem/commit/426ec24)) -- working on cicd ([b204f77](https://github.com/openecosystems/ecosystem/commit/b204f77)) -- working on cicd ([7626cae](https://github.com/openecosystems/ecosystem/commit/7626cae)) -- working on cicd ([#5](https://github.com/openecosystems/ecosystem/pull/5)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.2.0 (2024-12-23) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.1.0 (2024-12-11) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot \ No newline at end of file diff --git a/libs/public/go/sdk/gen/configuration/v2alpha/go.mod b/libs/public/go/sdk/gen/configuration/v2alpha/go.mod deleted file mode 100644 index e929488d..00000000 --- a/libs/public/go/sdk/gen/configuration/v2alpha/go.mod +++ /dev/null @@ -1,14 +0,0 @@ -// Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. -// source: platform/configuration/v2alpha/configuration.proto -module libs/public/go/sdk/gen/configuration/v2alpha - -go 1.23.4 - -require connectrpc.com/connect v1.17.0 - -require github.com/google/go-cmp v0.6.0 // indirect - -require ( - golang.org/x/net v0.29.0 // indirect - google.golang.org/protobuf v1.34.2 // indirect -) diff --git a/libs/public/go/sdk/gen/configuration/v2alpha/go.sum b/libs/public/go/sdk/gen/configuration/v2alpha/go.sum deleted file mode 100644 index d1c71933..00000000 --- a/libs/public/go/sdk/gen/configuration/v2alpha/go.sum +++ /dev/null @@ -1,10 +0,0 @@ -connectrpc.com/connect v1.17.0 h1:W0ZqMhtVzn9Zhn2yATuUokDLO5N+gIuBWMOnsQrfmZk= -connectrpc.com/connect v1.17.0/go.mod h1:0292hj1rnx8oFrStN7cB4jjVBeqs+Yx5yDIC2prWDO8= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= -golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= -golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= -golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= -google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= -google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= diff --git a/libs/public/go/sdk/gen/cryptography/v2alpha/CHANGELOG.md b/libs/public/go/sdk/gen/cryptography/v2alpha/CHANGELOG.md deleted file mode 100644 index 6b887a3f..00000000 --- a/libs/public/go/sdk/gen/cryptography/v2alpha/CHANGELOG.md +++ /dev/null @@ -1,77 +0,0 @@ -## 0.1.1 (2024-12-28) - -### 🩹 Fixes - -- stabilizing ([154a00a](https://github.com/openecosystems/ecosystem/commit/154a00a)) -- stabilizing ([bb7fdbf](https://github.com/openecosystems/ecosystem/commit/bb7fdbf)) -- stabilizing ([49ae473](https://github.com/openecosystems/ecosystem/commit/49ae473)) -- stabilizing ([7bc34a6](https://github.com/openecosystems/ecosystem/commit/7bc34a6)) -- stabilizing ([6d6d904](https://github.com/openecosystems/ecosystem/commit/6d6d904)) -- stabilizing ([86a41b4](https://github.com/openecosystems/ecosystem/commit/86a41b4)) -- stabilizing ([904b3c8](https://github.com/openecosystems/ecosystem/commit/904b3c8)) -- stabilizing ([6c1336e](https://github.com/openecosystems/ecosystem/commit/6c1336e)) -- stabilizing ([cf9de6c](https://github.com/openecosystems/ecosystem/commit/cf9de6c)) -- stabilizing ([a2d04a3](https://github.com/openecosystems/ecosystem/commit/a2d04a3)) -- stabilizing ([5f65e48](https://github.com/openecosystems/ecosystem/commit/5f65e48)) -- stabilizing ([9e3f78b](https://github.com/openecosystems/ecosystem/commit/9e3f78b)) -- stabilizing ([8d1d6da](https://github.com/openecosystems/ecosystem/commit/8d1d6da)) -- stabilizing ([d165d69](https://github.com/openecosystems/ecosystem/commit/d165d69)) -- stabilizing ([469e899](https://github.com/openecosystems/ecosystem/commit/469e899)) -- stabilizing ([0568e0c](https://github.com/openecosystems/ecosystem/commit/0568e0c)) - -### ❤️ Thank You - -- Dimy Jeannot - -## 0.4.0 (2024-12-27) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.3.0 (2024-12-23) - -### 🩹 Fixes - -- stabilizing ([2011bac](https://github.com/openecosystems/ecosystem/commit/2011bac)) -- stabilizing ([70c7403](https://github.com/openecosystems/ecosystem/commit/70c7403)) -- stabilizing ([03299c1](https://github.com/openecosystems/ecosystem/commit/03299c1)) -- stabilizing ([b79685e](https://github.com/openecosystems/ecosystem/commit/b79685e)) -- stabilizing ([a200f97](https://github.com/openecosystems/ecosystem/commit/a200f97)) -- updating dependencies to resolve security issues ([dd7b347](https://github.com/openecosystems/ecosystem/commit/dd7b347)) -- working on cicd ([fdc04a5](https://github.com/openecosystems/ecosystem/commit/fdc04a5)) -- working on cicd ([426ec24](https://github.com/openecosystems/ecosystem/commit/426ec24)) -- working on cicd ([b204f77](https://github.com/openecosystems/ecosystem/commit/b204f77)) -- working on cicd ([7626cae](https://github.com/openecosystems/ecosystem/commit/7626cae)) -- working on cicd ([#5](https://github.com/openecosystems/ecosystem/pull/5)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.2.0 (2024-12-23) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.1.0 (2024-12-11) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot \ No newline at end of file diff --git a/libs/public/go/sdk/gen/cryptography/v2alpha/go.mod b/libs/public/go/sdk/gen/cryptography/v2alpha/go.mod deleted file mode 100644 index 76093a30..00000000 --- a/libs/public/go/sdk/gen/cryptography/v2alpha/go.mod +++ /dev/null @@ -1,14 +0,0 @@ -// Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. -// source: platform/cryptography/v2alpha/certificate.proto -module libs/public/go/sdk/gen/cryptography/v2alpha - -go 1.23.4 - -require connectrpc.com/connect v1.17.0 - -require github.com/google/go-cmp v0.6.0 // indirect - -require ( - golang.org/x/net v0.29.0 // indirect - google.golang.org/protobuf v1.34.2 // indirect -) diff --git a/libs/public/go/sdk/gen/cryptography/v2alpha/go.sum b/libs/public/go/sdk/gen/cryptography/v2alpha/go.sum deleted file mode 100644 index d1c71933..00000000 --- a/libs/public/go/sdk/gen/cryptography/v2alpha/go.sum +++ /dev/null @@ -1,10 +0,0 @@ -connectrpc.com/connect v1.17.0 h1:W0ZqMhtVzn9Zhn2yATuUokDLO5N+gIuBWMOnsQrfmZk= -connectrpc.com/connect v1.17.0/go.mod h1:0292hj1rnx8oFrStN7cB4jjVBeqs+Yx5yDIC2prWDO8= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= -golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= -golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= -golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= -google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= -google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= diff --git a/libs/public/go/sdk/gen/platform/cli/v2alpha/.goreleaser.yaml b/libs/public/go/sdk/gen/platform/cli/v2alpha/.goreleaser.yaml new file mode 100644 index 00000000..7d0973c4 --- /dev/null +++ b/libs/public/go/sdk/gen/platform/cli/v2alpha/.goreleaser.yaml @@ -0,0 +1,27 @@ +# Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. +# source: platform/cli/v2alpha/oeco.proto +# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json +version: 2 +project_name: libs-public-go-sdk-cli-v2alpha + +variables: + path_to_repo_root: "../../../../../../" + path_to_project: "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/cli/v2alpha" + +dist: ./dist/libs/public/go/sdk/gen/cli/v2alpha + +monorepo: + tag_prefix: "libs-public-go-sdk-cli-v2alpha/" + dir: libs/public/go/sdk/gen/cli/v2alpha + +includes: + - from_file: + path: ./.config/goreleaser/goreleaser.sdk.yaml + - from_file: + path: ./.config/goreleaser/notarize.yaml + +nightly: + version_template: "{{ incpatch .Version }}-devel" + tag_name: "libs-public-go-sdk-cli-v2alpha/devel" + publish_release: true + keep_single_release: true \ No newline at end of file diff --git a/libs/public/go/sdk/gen/configuration/v2alpha/README.md b/libs/public/go/sdk/gen/platform/cli/v2alpha/README.md similarity index 53% rename from libs/public/go/sdk/gen/configuration/v2alpha/README.md rename to libs/public/go/sdk/gen/platform/cli/v2alpha/README.md index d47d5a90..3da8217e 100644 --- a/libs/public/go/sdk/gen/configuration/v2alpha/README.md +++ b/libs/public/go/sdk/gen/platform/cli/v2alpha/README.md @@ -1,4 +1,4 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. -// source: platform/configuration/v2alpha/configuration.proto +// source: platform/cli/v2alpha/oeco.proto # README \ No newline at end of file diff --git a/libs/public/go/sdk/gen/platform/cli/v2alpha/go.mod b/libs/public/go/sdk/gen/platform/cli/v2alpha/go.mod new file mode 100644 index 00000000..8a62a17b --- /dev/null +++ b/libs/public/go/sdk/gen/platform/cli/v2alpha/go.mod @@ -0,0 +1,14 @@ +// Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. +// source: platform/cli/v2alpha/oeco.proto +// sourcePath: libs/public/go/sdk/gen/cli/v2alpha +module github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cli/v2alpha +go 1.23.4 + +require connectrpc.com/connect v1.17.0 + +require github.com/google/go-cmp v0.6.0 // indirect + +require ( + golang.org/x/net v0.29.0 // indirect + google.golang.org/protobuf v1.34.2 // indirect +) diff --git a/libs/public/go/protobuf/gen/platform/cli/v2alpha/oeco.pb.go b/libs/public/go/sdk/gen/platform/cli/v2alpha/oeco.pb.go similarity index 84% rename from libs/public/go/protobuf/gen/platform/cli/v2alpha/oeco.pb.go rename to libs/public/go/sdk/gen/platform/cli/v2alpha/oeco.pb.go index 23ec47bf..d8f99dff 100644 --- a/libs/public/go/protobuf/gen/platform/cli/v2alpha/oeco.pb.go +++ b/libs/public/go/sdk/gen/platform/cli/v2alpha/oeco.pb.go @@ -77,16 +77,15 @@ var file_platform_cli_v2alpha_oeco_proto_rawDesc = string([]byte{ 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x27, 0x0a, 0x11, 0x4f, 0x65, 0x63, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6f, 0x65, 0x63, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6f, 0x65, 0x63, 0x6f, 0x42, 0x84, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, - 0x82, 0xb5, 0x18, 0x06, 0x08, 0x03, 0x10, 0x01, 0x18, 0x06, 0x92, 0xb5, 0x18, 0x03, 0x0a, 0x01, - 0x03, 0x9a, 0xb5, 0x18, 0x00, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x61, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x63, 0x6c, 0x69, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x3b, 0x63, 0x6c, 0x69, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x09, 0x52, 0x04, 0x6f, 0x65, 0x63, 0x6f, 0x42, 0x7f, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, 0x82, + 0xb5, 0x18, 0x06, 0x08, 0x03, 0x10, 0x01, 0x18, 0x06, 0x92, 0xb5, 0x18, 0x03, 0x0a, 0x01, 0x03, + 0x9a, 0xb5, 0x18, 0x00, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x5c, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, + 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, 0x73, + 0x64, 0x6b, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, + 0x63, 0x6c, 0x69, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x63, 0x6c, 0x69, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, }) var ( diff --git a/libs/public/go/sdk/gen/platform/cli/v2alpha/package.json b/libs/public/go/sdk/gen/platform/cli/v2alpha/package.json new file mode 100644 index 00000000..a76cacc1 --- /dev/null +++ b/libs/public/go/sdk/gen/platform/cli/v2alpha/package.json @@ -0,0 +1,7 @@ + +{ + "name": "sdk-cli-v2alpha", + "version": "0.0.0", + "description": "Cli SDK version v2alpha", + "license": "Apache-2.0" +} diff --git a/libs/public/go/sdk/gen/platform/cli/v2alpha/project.json b/libs/public/go/sdk/gen/platform/cli/v2alpha/project.json new file mode 100644 index 00000000..051a60b9 --- /dev/null +++ b/libs/public/go/sdk/gen/platform/cli/v2alpha/project.json @@ -0,0 +1,98 @@ + +{ + "name": "libs-public-go-sdk-cli-v2alpha", + "$schema": "../../../../../../../../node_modules/nx/schemas/project-schema.json", + "projectType": "library", + "sourceRoot": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/cli/v2alpha", + "targets": { + + "build": { + "executor": "nx:run-commands", + "options": { + "command": "go build ./...", + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/cli/v2alpha" + } + }, + "test": { + "executor": "nx:run-commands", + "options": { + "command": "go test -v ./... -cover -race", + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/cli/v2alpha" + } + }, + "clean": { + "executor": "nx:run-commands", + "options": { + "command": "go clean", + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/cli/v2alpha" + } + }, + "lint": { + "executor": "nx:run-commands", + "options": { + "commands": ["golangci-lint run ./... --timeout=5m"], + "parallel": false, + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/cli/v2alpha" + } + }, + "format": { + "executor": "nx:run-commands", + "options": { + "commands": ["go mod tidy", "gofumpt -l -w .", "golangci-lint run ./... --timeout=5m --fix"], + "parallel": false, + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/cli/v2alpha" + } + }, + "distribute": { + "executor": "nx:run-commands", + "dependsOn": ["build"], + "outputs": ["{workspaceRoot}/dist/libs/public/go/sdk/gen/cli/v2alpha"], + "options": { + "commands": [ + "mkdir -p dist/libs/public/go/sdk/gen/cli/v2alpha", + "cp LICENSE.md dist/libs/public/go/sdk/gen/cli/v2alpha/LICENSE.md", + "cp libs/public/go/sdk/gen/cli/v2alpha/README.md dist/libs/public/go/sdk/gen/cli/v2alpha/README.md", + "goreleaser release --config libs/public/go/sdk/gen/cli/v2alpha/.goreleaser.yaml --clean" + ], + "parallel": false + } + }, + "snapshot": { + "executor": "nx:run-commands", + "dependsOn": ["build"], + "outputs": ["{workspaceRoot}/dist/libs/public/go/sdk/gen/cli/v2alpha"], + "options": { + "commands": [ + "mkdir -p dist/libs/public/go/sdk/gen/cli/v2alpha", + "cp LICENSE.md dist/libs/public/go/sdk/gen/cli/v2alpha/LICENSE.md", + "cp libs/public/go/sdk/gen/cli/v2alpha/README.md dist/libs/public/go/sdk/gen/cli/v2alpha/README.md", + "goreleaser release --config libs/public/go/sdk/gen/cli/v2alpha/.goreleaser.yaml --snapshot --clean --skip=sign,sbom" + ], + "parallel": false + } + }, + "nightly": { + "executor": "nx:run-commands", + "dependsOn": ["build"], + "outputs": ["{workspaceRoot}/dist/libs/public/go/sdk/gen/cli/v2alpha"], + "options": { + "commands": [ + "mkdir -p dist/libs/public/go/sdk/gen/cli/v2alpha", + "cp LICENSE.md dist/libs/public/go/sdk/gen/cli/v2alpha/LICENSE.md", + "cp libs/public/go/sdk/gen/cli/v2alpha/README.md dist/libs/public/go/sdk/gen/cli/v2alpha/README.md", + "goreleaser release --config libs/public/go/sdk/gen/cli/v2alpha/.goreleaser.yaml --nightly --clean" + ], + "parallel": false + } + } + }, + "tags": [ + "type:lib", + "cycle:public", + "language:golang", + "type:sdk", + "system:cli", + "version:v2alpha", + "exposure:external" + ] +} diff --git a/libs/public/go/cli/v2alpha/gen/platform/cmd/cli.pb.go b/libs/public/go/sdk/gen/platform/cmd/cli.pb.go similarity index 100% rename from libs/public/go/cli/v2alpha/gen/platform/cmd/cli.pb.go rename to libs/public/go/sdk/gen/platform/cmd/cli.pb.go diff --git a/libs/public/go/sdk/gen/communication/v1alpha/.goreleaser.yaml b/libs/public/go/sdk/gen/platform/communication/v1alpha/.goreleaser.yaml similarity index 100% rename from libs/public/go/sdk/gen/communication/v1alpha/.goreleaser.yaml rename to libs/public/go/sdk/gen/platform/communication/v1alpha/.goreleaser.yaml diff --git a/libs/public/go/sdk/gen/communication/v1alpha/README.md b/libs/public/go/sdk/gen/platform/communication/v1alpha/README.md similarity index 100% rename from libs/public/go/sdk/gen/communication/v1alpha/README.md rename to libs/public/go/sdk/gen/platform/communication/v1alpha/README.md diff --git a/libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/create_or_update_preference.pb.go b/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/create_or_update_preference.cmd.go similarity index 80% rename from libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/create_or_update_preference.pb.go rename to libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/create_or_update_preference.cmd.go index 80559964..6e893b2c 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/create_or_update_preference.pb.go +++ b/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/create_or_update_preference.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/communication/v1alpha/preference_center.proto -package communicationv1alphapbcmd +package communicationv1alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/communication/v1alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1alpha" ) var ( @@ -32,7 +31,7 @@ var CreateOrUpdatePreferenceV1AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling createOrUpdatePreference preferenceCenter") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var CreateOrUpdatePreferenceV1AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *communicationv1alphapbsdk.NewPreferenceCenterServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *communicationv1alphapbconnect.NewPreferenceCenterServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.CreateOrUpdatePreference(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/delete_preference.pb.go b/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/delete_preference.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/delete_preference.pb.go rename to libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/delete_preference.cmd.go index a58057cb..1a1f0a95 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/delete_preference.pb.go +++ b/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/delete_preference.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/communication/v1alpha/preference_center.proto -package communicationv1alphapbcmd +package communicationv1alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/communication/v1alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1alpha" ) var ( @@ -32,7 +31,7 @@ var DeletePreferenceV1AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling deletePreference preferenceCenter") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var DeletePreferenceV1AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *communicationv1alphapbsdk.NewPreferenceCenterServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *communicationv1alphapbconnect.NewPreferenceCenterServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.DeletePreference(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/get_preference.pb.go b/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/get_preference.cmd.go similarity index 78% rename from libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/get_preference.pb.go rename to libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/get_preference.cmd.go index d0aa3a57..f324cc7d 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/get_preference.pb.go +++ b/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/get_preference.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/communication/v1alpha/preference_center.proto -package communicationv1alphapbcmd +package communicationv1alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/communication/v1alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1alpha" ) var ( @@ -32,7 +31,7 @@ var GetPreferenceV1AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling getPreference preferenceCenter") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var GetPreferenceV1AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *communicationv1alphapbsdk.NewPreferenceCenterServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *communicationv1alphapbconnect.NewPreferenceCenterServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.GetPreference(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/get_preference_options.pb.go b/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/get_preference_options.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/get_preference_options.pb.go rename to libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/get_preference_options.cmd.go index 58f22c17..fcf07607 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/get_preference_options.pb.go +++ b/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/get_preference_options.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/communication/v1alpha/preference_center.proto -package communicationv1alphapbcmd +package communicationv1alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/communication/v1alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1alpha" ) var ( @@ -32,7 +31,7 @@ var GetPreferenceOptionsV1AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling getPreferenceOptions preferenceCenter") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var GetPreferenceOptionsV1AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *communicationv1alphapbsdk.NewPreferenceCenterServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *communicationv1alphapbconnect.NewPreferenceCenterServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.GetPreferenceOptions(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/communication.cmd.go b/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/preference_center.cmd.go similarity index 93% rename from libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/communication.cmd.go rename to libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/preference_center.cmd.go index b417c39d..f9607306 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/communication.cmd.go +++ b/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/preference_center.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-system. DO NOT EDIT. // source: platform/communication/v1alpha/preference_center.proto -package communicationv1alphapbcmd +package communicationv1alphapbcli import ( "github.com/spf13/cobra" diff --git a/libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/preference_center.pb.cmd.go b/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/preference_center.cmds.go similarity index 95% rename from libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/preference_center.pb.cmd.go rename to libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/preference_center.cmds.go index 2ce52bdb..95d9cfb9 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/communication/v1alpha/preference_center.pb.cmd.go +++ b/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbcli/preference_center.cmds.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-service. DO NOT EDIT. // source: platform/communication/v1alpha/preference_center.proto -package communicationv1alphapbcmd +package communicationv1alphapbcli import ( "github.com/spf13/cobra" diff --git a/libs/public/go/sdk/gen/communication/v1alpha/preference_center.pb.client.go b/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbconnect/preference_center.client.go similarity index 55% rename from libs/public/go/sdk/gen/communication/v1alpha/preference_center.pb.client.go rename to libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbconnect/preference_center.client.go index ce01dc9e..dc73e0d5 100644 --- a/libs/public/go/sdk/gen/communication/v1alpha/preference_center.pb.client.go +++ b/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbconnect/preference_center.client.go @@ -1,19 +1,22 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/communication/v1alpha/preference_center.proto -package communicationv1alphapbsdk +package communicationv1alphapbconnect import ( + //"net/http" + "connectrpc.com/connect" nebulav1 "github.com/openecosystems/ecosystem/libs/partner/go/nebula" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" - communicationv1alphapbconnect "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1alpha/communicationv1alphapbconnect" ) -func NewPreferenceCenterServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *communicationv1alphapbconnect.PreferenceCenterServiceClient { +func NewPreferenceCenterServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *PreferenceCenterServiceClient { nebula := nebulav1.Binding{} httpClient := nebula.GetMeshHTTPClient(config, baseURL) - c := communicationv1alphapbconnect.NewPreferenceCenterServiceClient(httpClient, baseURL, opts...) + //httpClient := http.DefaultClient + + c := NewPreferenceCenterServiceClient(httpClient, baseURL, opts...) return &c } diff --git a/libs/public/go/protobuf/gen/platform/communication/v1alpha/communicationv1alphapbconnect/preference_center.connect.go b/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbconnect/preference_center.connect.go similarity index 99% rename from libs/public/go/protobuf/gen/platform/communication/v1alpha/communicationv1alphapbconnect/preference_center.connect.go rename to libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbconnect/preference_center.connect.go index ec1f36a9..f5f86625 100644 --- a/libs/public/go/protobuf/gen/platform/communication/v1alpha/communicationv1alphapbconnect/preference_center.connect.go +++ b/libs/public/go/sdk/gen/platform/communication/v1alpha/communicationv1alphapbconnect/preference_center.connect.go @@ -8,7 +8,7 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v1alpha "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1alpha" + v1alpha "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1alpha" http "net/http" strings "strings" ) diff --git a/libs/public/go/sdk/gen/communication/v1alpha/go.mod b/libs/public/go/sdk/gen/platform/communication/v1alpha/go.mod similarity index 67% rename from libs/public/go/sdk/gen/communication/v1alpha/go.mod rename to libs/public/go/sdk/gen/platform/communication/v1alpha/go.mod index 9bd53a71..f7d85999 100644 --- a/libs/public/go/sdk/gen/communication/v1alpha/go.mod +++ b/libs/public/go/sdk/gen/platform/communication/v1alpha/go.mod @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/communication/v1alpha/preference_center.proto -module libs/public/go/sdk/gen/communication/v1alpha - +// sourcePath: libs/public/go/sdk/gen/communication/v1alpha +module github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1alpha go 1.23.4 require connectrpc.com/connect v1.17.0 diff --git a/libs/public/go/sdk/gen/communication/v1alpha/package.json b/libs/public/go/sdk/gen/platform/communication/v1alpha/package.json similarity index 100% rename from libs/public/go/sdk/gen/communication/v1alpha/package.json rename to libs/public/go/sdk/gen/platform/communication/v1alpha/package.json diff --git a/libs/public/go/model/gen/platform/communication/v1alpha/preference_center.pb.entity.go b/libs/public/go/sdk/gen/platform/communication/v1alpha/preference_center.pb.entity.go similarity index 85% rename from libs/public/go/model/gen/platform/communication/v1alpha/preference_center.pb.entity.go rename to libs/public/go/sdk/gen/platform/communication/v1alpha/preference_center.pb.entity.go index 10d91da7..22a62f10 100644 --- a/libs/public/go/model/gen/platform/communication/v1alpha/preference_center.pb.entity.go +++ b/libs/public/go/sdk/gen/platform/communication/v1alpha/preference_center.pb.entity.go @@ -1,14 +1,13 @@ // Code generated by protoc-gen-platform go/entity-unspecified. DO NOT EDIT. // source: platform/communication/v1alpha/preference_center.proto -package communicationv1alphapbmodel +package communicationv1alphapb import ( "context" "encoding/json" "errors" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1alpha" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "google.golang.org/protobuf/types/known/anypb" @@ -17,20 +16,20 @@ import ( ) type PreferenceCenterSpecEntity struct { - PreferenceCenter *communicationv1alphapb.PreferenceCenter + PreferenceCenter *PreferenceCenter } func NewPreferenceCenterSpecEntity(specContext *specv2pb.SpecContext) (*PreferenceCenterSpecEntity, error) { return &PreferenceCenterSpecEntity{ - PreferenceCenter: &communicationv1alphapb.PreferenceCenter{}, + PreferenceCenter: &PreferenceCenter{}, }, nil } func NewPreferenceCenterSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*PreferenceCenterSpecEntity, error) { - data := &communicationv1alphapb.PreferenceCenter{} - err := sdkv2alphalib.GetDataFromSpec[*communicationv1alphapb.PreferenceCenter](ctx, s, data) + data := &PreferenceCenter{} + err := sdkv2alphalib.GetDataFromSpec[*PreferenceCenter](ctx, s, data) if err != nil { return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(err) } @@ -40,7 +39,7 @@ func NewPreferenceCenterSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec }, nil } -func (entity *PreferenceCenterSpecEntity) ToProto() (*communicationv1alphapb.PreferenceCenter, error) { +func (entity *PreferenceCenterSpecEntity) ToProto() (*PreferenceCenter, error) { return entity.PreferenceCenter, nil diff --git a/libs/public/go/protobuf/gen/platform/communication/v1alpha/preference_center.pb.go b/libs/public/go/sdk/gen/platform/communication/v1alpha/preference_center.pb.go similarity index 99% rename from libs/public/go/protobuf/gen/platform/communication/v1alpha/preference_center.pb.go rename to libs/public/go/sdk/gen/platform/communication/v1alpha/preference_center.pb.go index d14bda9c..72fa56d1 100644 --- a/libs/public/go/protobuf/gen/platform/communication/v1alpha/preference_center.pb.go +++ b/libs/public/go/sdk/gen/platform/communication/v1alpha/preference_center.pb.go @@ -1221,21 +1221,20 @@ var file_platform_communication_v1alpha_preference_center_proto_rawDesc = string 0x02, 0x08, 0x0a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, 0x30, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2d, 0x63, 0x65, 0x6e, - 0x74, 0x65, 0x72, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0xcc, 0x01, 0x82, 0xc4, + 0x74, 0x65, 0x72, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0xc7, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, 0x82, 0xb5, 0x18, 0x06, 0x08, 0x03, 0x10, 0x01, 0x18, 0x02, 0x8a, 0xb5, 0x18, 0x2e, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x12, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x22, 0x03, 0x6a, 0x61, 0x6e, 0x28, 0x02, 0x92, 0xb5, 0x18, 0x03, 0x0a, 0x01, 0x03, 0x9a, 0xb5, 0x18, 0x02, 0x08, 0x01, 0xa2, 0xb5, 0x18, - 0x02, 0x08, 0x01, 0x5a, 0x75, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x02, 0x08, 0x01, 0x5a, 0x70, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x70, 0x75, - 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x63, 0x6f, - 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x67, 0x65, 0x6e, 0x2f, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x63, + 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x76, 0x31, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, }) var ( diff --git a/libs/public/go/sdk/v2alpha/gen/platform/communication/v1alpha/preference_center.pb.multiplexer.go b/libs/public/go/sdk/gen/platform/communication/v1alpha/preference_center.pb.multiplexer.go similarity index 80% rename from libs/public/go/sdk/v2alpha/gen/platform/communication/v1alpha/preference_center.pb.multiplexer.go rename to libs/public/go/sdk/gen/platform/communication/v1alpha/preference_center.pb.multiplexer.go index a1eeca89..8d9e8460 100644 --- a/libs/public/go/sdk/v2alpha/gen/platform/communication/v1alpha/preference_center.pb.multiplexer.go +++ b/libs/public/go/sdk/gen/platform/communication/v1alpha/preference_center.pb.multiplexer.go @@ -1,20 +1,15 @@ // Code generated by protoc-gen-platform go/multiplexer. DO NOT EDIT. // source: platform/communication/v1alpha/preference_center.proto -package communicationv1alphapbsrv +package communicationv1alphapb import ( - "context" - "errors" - "connectrpc.com/connect" - + "errors" "github.com/openecosystems/ecosystem/libs/partner/go/nats" "github.com/openecosystems/ecosystem/libs/partner/go/opentelemetry" "github.com/openecosystems/ecosystem/libs/partner/go/protovalidate" "github.com/openecosystems/ecosystem/libs/partner/go/zap" - "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/communication/v1alpha" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1alpha" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "go.opentelemetry.io/otel/trace" "google.golang.org/protobuf/proto" @@ -23,12 +18,15 @@ import ( _ "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" _ "google.golang.org/protobuf/types/known/timestamppb" + + "context" ) // PreferenceCenterServiceHandler is the domain level implementation of the server API for mutations of the PreferenceCenterService service type PreferenceCenterServiceHandler struct{} -func (s *PreferenceCenterServiceHandler) CreateOrUpdatePreference(ctx context.Context, req *connect.Request[communicationv1alphapb.CreateOrUpdatePreferenceRequest]) (*connect.Response[communicationv1alphapb.CreateOrUpdatePreferenceResponse], error) { +func (s *PreferenceCenterServiceHandler) CreateOrUpdatePreference(ctx context.Context, req *connect.Request[CreateOrUpdatePreferenceRequest]) (*connect.Response[CreateOrUpdatePreferenceResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -51,7 +49,7 @@ func (s *PreferenceCenterServiceHandler) CreateOrUpdatePreference(ctx context.Co // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&communicationv1alphapb.CreateOrUpdatePreferenceResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&CreateOrUpdatePreferenceResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -60,12 +58,12 @@ func (s *PreferenceCenterServiceHandler) CreateOrUpdatePreference(ctx context.Co // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := communicationv1alphapbmodel.PreferenceCenterSpecEntity{} + entity := PreferenceCenterSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: communicationv1alphapbmodel.CommandDataPreferenceCenterTopic, + CommandTopic: CommandDataPreferenceCenterTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -73,7 +71,7 @@ func (s *PreferenceCenterServiceHandler) CreateOrUpdatePreference(ctx context.Co return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd communicationv1alphapb.CreateOrUpdatePreferenceResponse + var dd CreateOrUpdatePreferenceResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -83,9 +81,11 @@ func (s *PreferenceCenterServiceHandler) CreateOrUpdatePreference(ctx context.Co handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *PreferenceCenterServiceHandler) DeletePreference(ctx context.Context, req *connect.Request[communicationv1alphapb.DeletePreferenceRequest]) (*connect.Response[communicationv1alphapb.DeletePreferenceResponse], error) { +func (s *PreferenceCenterServiceHandler) DeletePreference(ctx context.Context, req *connect.Request[DeletePreferenceRequest]) (*connect.Response[DeletePreferenceResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -108,7 +108,7 @@ func (s *PreferenceCenterServiceHandler) DeletePreference(ctx context.Context, r // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&communicationv1alphapb.DeletePreferenceResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&DeletePreferenceResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -117,12 +117,12 @@ func (s *PreferenceCenterServiceHandler) DeletePreference(ctx context.Context, r // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := communicationv1alphapbmodel.PreferenceCenterSpecEntity{} + entity := PreferenceCenterSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: communicationv1alphapbmodel.CommandDataPreferenceCenterTopic, + CommandTopic: CommandDataPreferenceCenterTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -130,7 +130,7 @@ func (s *PreferenceCenterServiceHandler) DeletePreference(ctx context.Context, r return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd communicationv1alphapb.DeletePreferenceResponse + var dd DeletePreferenceResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -140,9 +140,11 @@ func (s *PreferenceCenterServiceHandler) DeletePreference(ctx context.Context, r handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *PreferenceCenterServiceHandler) GetPreference(ctx context.Context, req *connect.Request[communicationv1alphapb.GetPreferenceRequest]) (*connect.Response[communicationv1alphapb.GetPreferenceResponse], error) { +func (s *PreferenceCenterServiceHandler) GetPreference(ctx context.Context, req *connect.Request[GetPreferenceRequest]) (*connect.Response[GetPreferenceResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -165,7 +167,7 @@ func (s *PreferenceCenterServiceHandler) GetPreference(ctx context.Context, req // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&communicationv1alphapb.GetPreferenceResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&GetPreferenceResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -174,12 +176,12 @@ func (s *PreferenceCenterServiceHandler) GetPreference(ctx context.Context, req // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := communicationv1alphapbmodel.PreferenceCenterSpecEntity{} + entity := PreferenceCenterSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexEventSync(handlerCtx, spec, &natsnodev1.SpecEvent{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), EventName: "", - EventTopic: communicationv1alphapbmodel.EventDataPreferenceCenterTopic, + EventTopic: EventDataPreferenceCenterTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -187,7 +189,7 @@ func (s *PreferenceCenterServiceHandler) GetPreference(ctx context.Context, req return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd communicationv1alphapb.GetPreferenceResponse + var dd GetPreferenceResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -197,9 +199,11 @@ func (s *PreferenceCenterServiceHandler) GetPreference(ctx context.Context, req handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *PreferenceCenterServiceHandler) GetPreferenceOptions(ctx context.Context, req *connect.Request[communicationv1alphapb.GetPreferenceOptionsRequest]) (*connect.Response[communicationv1alphapb.GetPreferenceOptionsResponse], error) { +func (s *PreferenceCenterServiceHandler) GetPreferenceOptions(ctx context.Context, req *connect.Request[GetPreferenceOptionsRequest]) (*connect.Response[GetPreferenceOptionsResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -222,7 +226,7 @@ func (s *PreferenceCenterServiceHandler) GetPreferenceOptions(ctx context.Contex // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&communicationv1alphapb.GetPreferenceOptionsResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&GetPreferenceOptionsResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -231,12 +235,12 @@ func (s *PreferenceCenterServiceHandler) GetPreferenceOptions(ctx context.Contex // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := communicationv1alphapbmodel.PreferenceCenterSpecEntity{} + entity := PreferenceCenterSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexEventSync(handlerCtx, spec, &natsnodev1.SpecEvent{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), EventName: "", - EventTopic: communicationv1alphapbmodel.EventDataPreferenceCenterTopic, + EventTopic: EventDataPreferenceCenterTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -244,7 +248,7 @@ func (s *PreferenceCenterServiceHandler) GetPreferenceOptions(ctx context.Contex return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd communicationv1alphapb.GetPreferenceOptionsResponse + var dd GetPreferenceOptionsResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -254,4 +258,5 @@ func (s *PreferenceCenterServiceHandler) GetPreferenceOptions(ctx context.Contex handlerSpan.End() return connect.NewResponse(&dd), nil + } diff --git a/libs/public/go/model/gen/platform/communication/v1alpha/preference_center.pb.spec.go b/libs/public/go/sdk/gen/platform/communication/v1alpha/preference_center.pb.spec.go similarity index 99% rename from libs/public/go/model/gen/platform/communication/v1alpha/preference_center.pb.spec.go rename to libs/public/go/sdk/gen/platform/communication/v1alpha/preference_center.pb.spec.go index e8431ffe..78d48acd 100644 --- a/libs/public/go/model/gen/platform/communication/v1alpha/preference_center.pb.spec.go +++ b/libs/public/go/sdk/gen/platform/communication/v1alpha/preference_center.pb.spec.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/spec. DO NOT EDIT. // source: platform/communication/v1alpha/preference_center.proto -package communicationv1alphapbmodel +package communicationv1alphapb type PreferenceCenterCommand int type PreferenceCenterEvent int diff --git a/libs/public/go/sdk/gen/communication/v1alpha/project.json b/libs/public/go/sdk/gen/platform/communication/v1alpha/project.json similarity index 96% rename from libs/public/go/sdk/gen/communication/v1alpha/project.json rename to libs/public/go/sdk/gen/platform/communication/v1alpha/project.json index d07a2630..ccb15bdb 100644 --- a/libs/public/go/sdk/gen/communication/v1alpha/project.json +++ b/libs/public/go/sdk/gen/platform/communication/v1alpha/project.json @@ -1,12 +1,9 @@ { "name": "libs-public-go-sdk-communication-v1alpha", - "$schema": "../../../../../../../node_modules/nx/schemas/project-schema.json", + "$schema": "../../../../../../../../node_modules/nx/schemas/project-schema.json", "projectType": "library", "sourceRoot": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/communication/v1alpha", - "implicitDependencies": [ - "proto" - ], "targets": { "build": { diff --git a/libs/public/go/sdk/gen/communication/v1beta/.goreleaser.yaml b/libs/public/go/sdk/gen/platform/communication/v1beta/.goreleaser.yaml similarity index 100% rename from libs/public/go/sdk/gen/communication/v1beta/.goreleaser.yaml rename to libs/public/go/sdk/gen/platform/communication/v1beta/.goreleaser.yaml diff --git a/libs/public/go/sdk/gen/communication/v1beta/README.md b/libs/public/go/sdk/gen/platform/communication/v1beta/README.md similarity index 100% rename from libs/public/go/sdk/gen/communication/v1beta/README.md rename to libs/public/go/sdk/gen/platform/communication/v1beta/README.md diff --git a/libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/create_or_update_preference.pb.go b/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/create_or_update_preference.cmd.go similarity index 80% rename from libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/create_or_update_preference.pb.go rename to libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/create_or_update_preference.cmd.go index a5bffeae..21001072 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/create_or_update_preference.pb.go +++ b/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/create_or_update_preference.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/communication/v1beta/preference_center.proto -package communicationv1betapbcmd +package communicationv1betapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/communication/v1beta" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1beta" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1beta" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1beta" ) var ( @@ -32,7 +31,7 @@ var CreateOrUpdatePreferenceV1BetaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling createOrUpdatePreference preferenceCenter") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var CreateOrUpdatePreferenceV1BetaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *communicationv1betapbsdk.NewPreferenceCenterServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *communicationv1betapbconnect.NewPreferenceCenterServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.CreateOrUpdatePreference(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/delete_preference.pb.go b/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/delete_preference.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/delete_preference.pb.go rename to libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/delete_preference.cmd.go index 5edf5d1a..1358b6ac 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/delete_preference.pb.go +++ b/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/delete_preference.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/communication/v1beta/preference_center.proto -package communicationv1betapbcmd +package communicationv1betapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/communication/v1beta" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1beta" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1beta" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1beta" ) var ( @@ -32,7 +31,7 @@ var DeletePreferenceV1BetaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling deletePreference preferenceCenter") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var DeletePreferenceV1BetaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *communicationv1betapbsdk.NewPreferenceCenterServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *communicationv1betapbconnect.NewPreferenceCenterServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.DeletePreference(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/get_preference.pb.go b/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/get_preference.cmd.go similarity index 78% rename from libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/get_preference.pb.go rename to libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/get_preference.cmd.go index 0a207a0b..51a61829 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/get_preference.pb.go +++ b/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/get_preference.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/communication/v1beta/preference_center.proto -package communicationv1betapbcmd +package communicationv1betapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/communication/v1beta" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1beta" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1beta" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1beta" ) var ( @@ -32,7 +31,7 @@ var GetPreferenceV1BetaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling getPreference preferenceCenter") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var GetPreferenceV1BetaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *communicationv1betapbsdk.NewPreferenceCenterServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *communicationv1betapbconnect.NewPreferenceCenterServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.GetPreference(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/get_preference_options.pb.go b/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/get_preference_options.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/get_preference_options.pb.go rename to libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/get_preference_options.cmd.go index a2c5c197..e11068f5 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/get_preference_options.pb.go +++ b/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/get_preference_options.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/communication/v1beta/preference_center.proto -package communicationv1betapbcmd +package communicationv1betapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/communication/v1beta" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1beta" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1beta" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1beta" ) var ( @@ -32,7 +31,7 @@ var GetPreferenceOptionsV1BetaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling getPreferenceOptions preferenceCenter") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var GetPreferenceOptionsV1BetaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *communicationv1betapbsdk.NewPreferenceCenterServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *communicationv1betapbconnect.NewPreferenceCenterServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.GetPreferenceOptions(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/communication.cmd.go b/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/preference_center.cmd.go similarity index 93% rename from libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/communication.cmd.go rename to libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/preference_center.cmd.go index 74f25e3a..38ea5045 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/communication.cmd.go +++ b/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/preference_center.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-system. DO NOT EDIT. // source: platform/communication/v1beta/preference_center.proto -package communicationv1betapbcmd +package communicationv1betapbcli import ( "github.com/spf13/cobra" diff --git a/libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/preference_center.pb.cmd.go b/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/preference_center.cmds.go similarity index 95% rename from libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/preference_center.pb.cmd.go rename to libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/preference_center.cmds.go index ea7484d3..398a2199 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/communication/v1beta/preference_center.pb.cmd.go +++ b/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbcli/preference_center.cmds.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-service. DO NOT EDIT. // source: platform/communication/v1beta/preference_center.proto -package communicationv1betapbcmd +package communicationv1betapbcli import ( "github.com/spf13/cobra" diff --git a/libs/public/go/sdk/gen/communication/v1beta/preference_center.pb.client.go b/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbconnect/preference_center.client.go similarity index 55% rename from libs/public/go/sdk/gen/communication/v1beta/preference_center.pb.client.go rename to libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbconnect/preference_center.client.go index 2ae6d57e..3d2647e7 100644 --- a/libs/public/go/sdk/gen/communication/v1beta/preference_center.pb.client.go +++ b/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbconnect/preference_center.client.go @@ -1,19 +1,22 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/communication/v1beta/preference_center.proto -package communicationv1betapbsdk +package communicationv1betapbconnect import ( + //"net/http" + "connectrpc.com/connect" nebulav1 "github.com/openecosystems/ecosystem/libs/partner/go/nebula" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" - communicationv1betapbconnect "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1beta/communicationv1betapbconnect" ) -func NewPreferenceCenterServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *communicationv1betapbconnect.PreferenceCenterServiceClient { +func NewPreferenceCenterServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *PreferenceCenterServiceClient { nebula := nebulav1.Binding{} httpClient := nebula.GetMeshHTTPClient(config, baseURL) - c := communicationv1betapbconnect.NewPreferenceCenterServiceClient(httpClient, baseURL, opts...) + //httpClient := http.DefaultClient + + c := NewPreferenceCenterServiceClient(httpClient, baseURL, opts...) return &c } diff --git a/libs/public/go/protobuf/gen/platform/communication/v1beta/communicationv1betapbconnect/preference_center.connect.go b/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbconnect/preference_center.connect.go similarity index 99% rename from libs/public/go/protobuf/gen/platform/communication/v1beta/communicationv1betapbconnect/preference_center.connect.go rename to libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbconnect/preference_center.connect.go index f67e990f..f0b131e1 100644 --- a/libs/public/go/protobuf/gen/platform/communication/v1beta/communicationv1betapbconnect/preference_center.connect.go +++ b/libs/public/go/sdk/gen/platform/communication/v1beta/communicationv1betapbconnect/preference_center.connect.go @@ -8,7 +8,7 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v1beta "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1beta" + v1beta "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1beta" http "net/http" strings "strings" ) diff --git a/libs/public/go/sdk/gen/communication/v1beta/go.mod b/libs/public/go/sdk/gen/platform/communication/v1beta/go.mod similarity index 67% rename from libs/public/go/sdk/gen/communication/v1beta/go.mod rename to libs/public/go/sdk/gen/platform/communication/v1beta/go.mod index df63e0f9..b20c4da8 100644 --- a/libs/public/go/sdk/gen/communication/v1beta/go.mod +++ b/libs/public/go/sdk/gen/platform/communication/v1beta/go.mod @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/communication/v1beta/preference_center.proto -module libs/public/go/sdk/gen/communication/v1beta - +// sourcePath: libs/public/go/sdk/gen/communication/v1beta +module github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1beta go 1.23.4 require connectrpc.com/connect v1.17.0 diff --git a/libs/public/go/sdk/gen/communication/v1beta/package.json b/libs/public/go/sdk/gen/platform/communication/v1beta/package.json similarity index 100% rename from libs/public/go/sdk/gen/communication/v1beta/package.json rename to libs/public/go/sdk/gen/platform/communication/v1beta/package.json diff --git a/libs/public/go/model/gen/platform/communication/v1beta/preference_center.pb.entity.go b/libs/public/go/sdk/gen/platform/communication/v1beta/preference_center.pb.entity.go similarity index 85% rename from libs/public/go/model/gen/platform/communication/v1beta/preference_center.pb.entity.go rename to libs/public/go/sdk/gen/platform/communication/v1beta/preference_center.pb.entity.go index 61b08616..b834c949 100644 --- a/libs/public/go/model/gen/platform/communication/v1beta/preference_center.pb.entity.go +++ b/libs/public/go/sdk/gen/platform/communication/v1beta/preference_center.pb.entity.go @@ -1,14 +1,13 @@ // Code generated by protoc-gen-platform go/entity-unspecified. DO NOT EDIT. // source: platform/communication/v1beta/preference_center.proto -package communicationv1betapbmodel +package communicationv1betapb import ( "context" "encoding/json" "errors" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1beta" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "google.golang.org/protobuf/types/known/anypb" @@ -17,20 +16,20 @@ import ( ) type PreferenceCenterSpecEntity struct { - PreferenceCenter *communicationv1betapb.PreferenceCenter + PreferenceCenter *PreferenceCenter } func NewPreferenceCenterSpecEntity(specContext *specv2pb.SpecContext) (*PreferenceCenterSpecEntity, error) { return &PreferenceCenterSpecEntity{ - PreferenceCenter: &communicationv1betapb.PreferenceCenter{}, + PreferenceCenter: &PreferenceCenter{}, }, nil } func NewPreferenceCenterSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*PreferenceCenterSpecEntity, error) { - data := &communicationv1betapb.PreferenceCenter{} - err := sdkv2alphalib.GetDataFromSpec[*communicationv1betapb.PreferenceCenter](ctx, s, data) + data := &PreferenceCenter{} + err := sdkv2alphalib.GetDataFromSpec[*PreferenceCenter](ctx, s, data) if err != nil { return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(err) } @@ -40,7 +39,7 @@ func NewPreferenceCenterSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec }, nil } -func (entity *PreferenceCenterSpecEntity) ToProto() (*communicationv1betapb.PreferenceCenter, error) { +func (entity *PreferenceCenterSpecEntity) ToProto() (*PreferenceCenter, error) { return entity.PreferenceCenter, nil diff --git a/libs/public/go/protobuf/gen/platform/communication/v1beta/preference_center.pb.go b/libs/public/go/sdk/gen/platform/communication/v1beta/preference_center.pb.go similarity index 99% rename from libs/public/go/protobuf/gen/platform/communication/v1beta/preference_center.pb.go rename to libs/public/go/sdk/gen/platform/communication/v1beta/preference_center.pb.go index 5fafca91..276f25bd 100644 --- a/libs/public/go/protobuf/gen/platform/communication/v1beta/preference_center.pb.go +++ b/libs/public/go/sdk/gen/platform/communication/v1beta/preference_center.pb.go @@ -1220,20 +1220,20 @@ var file_platform_communication_v1beta_preference_center_proto_rawDesc = string( 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2d, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x6f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0xca, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, 0x82, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0xc5, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, 0x82, 0xb5, 0x18, 0x06, 0x08, 0x03, 0x10, 0x01, 0x18, 0x02, 0x8a, 0xb5, 0x18, 0x2e, 0x0a, 0x11, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x12, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x22, 0x03, 0x6a, 0x61, 0x6e, 0x28, 0x02, 0x92, 0xb5, 0x18, 0x03, 0x0a, - 0x01, 0x03, 0x9a, 0xb5, 0x18, 0x02, 0x08, 0x01, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x73, + 0x01, 0x03, 0x9a, 0xb5, 0x18, 0x02, 0x08, 0x01, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x6e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, - 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, - 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x63, 0x6f, - 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x76, 0x31, 0x62, 0x65, 0x74, - 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x67, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x70, 0x62, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, }) var ( diff --git a/libs/public/go/sdk/v2alpha/gen/platform/communication/v1beta/preference_center.pb.multiplexer.go b/libs/public/go/sdk/gen/platform/communication/v1beta/preference_center.pb.multiplexer.go similarity index 80% rename from libs/public/go/sdk/v2alpha/gen/platform/communication/v1beta/preference_center.pb.multiplexer.go rename to libs/public/go/sdk/gen/platform/communication/v1beta/preference_center.pb.multiplexer.go index ecdb75cd..cb0b3e9a 100644 --- a/libs/public/go/sdk/v2alpha/gen/platform/communication/v1beta/preference_center.pb.multiplexer.go +++ b/libs/public/go/sdk/gen/platform/communication/v1beta/preference_center.pb.multiplexer.go @@ -1,20 +1,15 @@ // Code generated by protoc-gen-platform go/multiplexer. DO NOT EDIT. // source: platform/communication/v1beta/preference_center.proto -package communicationv1betapbsrv +package communicationv1betapb import ( - "context" - "errors" - "connectrpc.com/connect" - + "errors" "github.com/openecosystems/ecosystem/libs/partner/go/nats" "github.com/openecosystems/ecosystem/libs/partner/go/opentelemetry" "github.com/openecosystems/ecosystem/libs/partner/go/protovalidate" "github.com/openecosystems/ecosystem/libs/partner/go/zap" - "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/communication/v1beta" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1beta" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "go.opentelemetry.io/otel/trace" "google.golang.org/protobuf/proto" @@ -23,12 +18,15 @@ import ( _ "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" _ "google.golang.org/protobuf/types/known/timestamppb" + + "context" ) // PreferenceCenterServiceHandler is the domain level implementation of the server API for mutations of the PreferenceCenterService service type PreferenceCenterServiceHandler struct{} -func (s *PreferenceCenterServiceHandler) CreateOrUpdatePreference(ctx context.Context, req *connect.Request[communicationv1betapb.CreateOrUpdatePreferenceRequest]) (*connect.Response[communicationv1betapb.CreateOrUpdatePreferenceResponse], error) { +func (s *PreferenceCenterServiceHandler) CreateOrUpdatePreference(ctx context.Context, req *connect.Request[CreateOrUpdatePreferenceRequest]) (*connect.Response[CreateOrUpdatePreferenceResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -51,7 +49,7 @@ func (s *PreferenceCenterServiceHandler) CreateOrUpdatePreference(ctx context.Co // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&communicationv1betapb.CreateOrUpdatePreferenceResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&CreateOrUpdatePreferenceResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -60,12 +58,12 @@ func (s *PreferenceCenterServiceHandler) CreateOrUpdatePreference(ctx context.Co // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := communicationv1betapbmodel.PreferenceCenterSpecEntity{} + entity := PreferenceCenterSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: communicationv1betapbmodel.CommandDataPreferenceCenterTopic, + CommandTopic: CommandDataPreferenceCenterTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -73,7 +71,7 @@ func (s *PreferenceCenterServiceHandler) CreateOrUpdatePreference(ctx context.Co return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd communicationv1betapb.CreateOrUpdatePreferenceResponse + var dd CreateOrUpdatePreferenceResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -83,9 +81,11 @@ func (s *PreferenceCenterServiceHandler) CreateOrUpdatePreference(ctx context.Co handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *PreferenceCenterServiceHandler) DeletePreference(ctx context.Context, req *connect.Request[communicationv1betapb.DeletePreferenceRequest]) (*connect.Response[communicationv1betapb.DeletePreferenceResponse], error) { +func (s *PreferenceCenterServiceHandler) DeletePreference(ctx context.Context, req *connect.Request[DeletePreferenceRequest]) (*connect.Response[DeletePreferenceResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -108,7 +108,7 @@ func (s *PreferenceCenterServiceHandler) DeletePreference(ctx context.Context, r // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&communicationv1betapb.DeletePreferenceResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&DeletePreferenceResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -117,12 +117,12 @@ func (s *PreferenceCenterServiceHandler) DeletePreference(ctx context.Context, r // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := communicationv1betapbmodel.PreferenceCenterSpecEntity{} + entity := PreferenceCenterSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: communicationv1betapbmodel.CommandDataPreferenceCenterTopic, + CommandTopic: CommandDataPreferenceCenterTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -130,7 +130,7 @@ func (s *PreferenceCenterServiceHandler) DeletePreference(ctx context.Context, r return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd communicationv1betapb.DeletePreferenceResponse + var dd DeletePreferenceResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -140,9 +140,11 @@ func (s *PreferenceCenterServiceHandler) DeletePreference(ctx context.Context, r handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *PreferenceCenterServiceHandler) GetPreference(ctx context.Context, req *connect.Request[communicationv1betapb.GetPreferenceRequest]) (*connect.Response[communicationv1betapb.GetPreferenceResponse], error) { +func (s *PreferenceCenterServiceHandler) GetPreference(ctx context.Context, req *connect.Request[GetPreferenceRequest]) (*connect.Response[GetPreferenceResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -165,7 +167,7 @@ func (s *PreferenceCenterServiceHandler) GetPreference(ctx context.Context, req // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&communicationv1betapb.GetPreferenceResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&GetPreferenceResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -174,12 +176,12 @@ func (s *PreferenceCenterServiceHandler) GetPreference(ctx context.Context, req // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := communicationv1betapbmodel.PreferenceCenterSpecEntity{} + entity := PreferenceCenterSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexEventSync(handlerCtx, spec, &natsnodev1.SpecEvent{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), EventName: "", - EventTopic: communicationv1betapbmodel.EventDataPreferenceCenterTopic, + EventTopic: EventDataPreferenceCenterTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -187,7 +189,7 @@ func (s *PreferenceCenterServiceHandler) GetPreference(ctx context.Context, req return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd communicationv1betapb.GetPreferenceResponse + var dd GetPreferenceResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -197,9 +199,11 @@ func (s *PreferenceCenterServiceHandler) GetPreference(ctx context.Context, req handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *PreferenceCenterServiceHandler) GetPreferenceOptions(ctx context.Context, req *connect.Request[communicationv1betapb.GetPreferenceOptionsRequest]) (*connect.Response[communicationv1betapb.GetPreferenceOptionsResponse], error) { +func (s *PreferenceCenterServiceHandler) GetPreferenceOptions(ctx context.Context, req *connect.Request[GetPreferenceOptionsRequest]) (*connect.Response[GetPreferenceOptionsResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -222,7 +226,7 @@ func (s *PreferenceCenterServiceHandler) GetPreferenceOptions(ctx context.Contex // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&communicationv1betapb.GetPreferenceOptionsResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&GetPreferenceOptionsResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -231,12 +235,12 @@ func (s *PreferenceCenterServiceHandler) GetPreferenceOptions(ctx context.Contex // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := communicationv1betapbmodel.PreferenceCenterSpecEntity{} + entity := PreferenceCenterSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexEventSync(handlerCtx, spec, &natsnodev1.SpecEvent{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), EventName: "", - EventTopic: communicationv1betapbmodel.EventDataPreferenceCenterTopic, + EventTopic: EventDataPreferenceCenterTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -244,7 +248,7 @@ func (s *PreferenceCenterServiceHandler) GetPreferenceOptions(ctx context.Contex return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd communicationv1betapb.GetPreferenceOptionsResponse + var dd GetPreferenceOptionsResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -254,4 +258,5 @@ func (s *PreferenceCenterServiceHandler) GetPreferenceOptions(ctx context.Contex handlerSpan.End() return connect.NewResponse(&dd), nil + } diff --git a/libs/public/go/model/gen/platform/communication/v1beta/preference_center.pb.spec.go b/libs/public/go/sdk/gen/platform/communication/v1beta/preference_center.pb.spec.go similarity index 99% rename from libs/public/go/model/gen/platform/communication/v1beta/preference_center.pb.spec.go rename to libs/public/go/sdk/gen/platform/communication/v1beta/preference_center.pb.spec.go index 06c91efc..b6b10869 100644 --- a/libs/public/go/model/gen/platform/communication/v1beta/preference_center.pb.spec.go +++ b/libs/public/go/sdk/gen/platform/communication/v1beta/preference_center.pb.spec.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/spec. DO NOT EDIT. // source: platform/communication/v1beta/preference_center.proto -package communicationv1betapbmodel +package communicationv1betapb type PreferenceCenterCommand int type PreferenceCenterEvent int diff --git a/libs/public/go/sdk/gen/communication/v1beta/project.json b/libs/public/go/sdk/gen/platform/communication/v1beta/project.json similarity index 96% rename from libs/public/go/sdk/gen/communication/v1beta/project.json rename to libs/public/go/sdk/gen/platform/communication/v1beta/project.json index 85037d1b..e166d577 100644 --- a/libs/public/go/sdk/gen/communication/v1beta/project.json +++ b/libs/public/go/sdk/gen/platform/communication/v1beta/project.json @@ -1,12 +1,9 @@ { "name": "libs-public-go-sdk-communication-v1beta", - "$schema": "../../../../../../../node_modules/nx/schemas/project-schema.json", + "$schema": "../../../../../../../../node_modules/nx/schemas/project-schema.json", "projectType": "library", "sourceRoot": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/communication/v1beta", - "implicitDependencies": [ - "proto" - ], "targets": { "build": { diff --git a/libs/public/go/sdk/gen/configuration/v2alpha/.goreleaser.yaml b/libs/public/go/sdk/gen/platform/configuration/v2alpha/.goreleaser.yaml similarity index 92% rename from libs/public/go/sdk/gen/configuration/v2alpha/.goreleaser.yaml rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/.goreleaser.yaml index 72267b02..ee9a624d 100644 --- a/libs/public/go/sdk/gen/configuration/v2alpha/.goreleaser.yaml +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/.goreleaser.yaml @@ -1,5 +1,5 @@ # Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. -# source: platform/configuration/v2alpha/configuration.proto +# source: platform/configuration/v2alpha/spec_configuration.proto # yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json version: 2 project_name: libs-public-go-sdk-configuration-v2alpha diff --git a/libs/public/go/sdk/gen/platform/configuration/v2alpha/README.md b/libs/public/go/sdk/gen/platform/configuration/v2alpha/README.md new file mode 100644 index 00000000..bd12f0f0 --- /dev/null +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/README.md @@ -0,0 +1,4 @@ +// Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. +// source: platform/configuration/v2alpha/spec_configuration.proto + +# README \ No newline at end of file diff --git a/libs/public/go/model/gen/platform/configuration/v2alpha/configuration.pb.entity.go b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configuration.pb.entity.go similarity index 81% rename from libs/public/go/model/gen/platform/configuration/v2alpha/configuration.pb.entity.go rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/configuration.pb.entity.go index eb4fd48e..291faf85 100644 --- a/libs/public/go/model/gen/platform/configuration/v2alpha/configuration.pb.entity.go +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configuration.pb.entity.go @@ -1,37 +1,36 @@ // Code generated by protoc-gen-platform go/entity-unspecified. DO NOT EDIT. // source: platform/configuration/v2alpha/configuration.proto -package configurationv2alphapbmodel +package configurationv2alphapb import ( "context" "encoding/json" "errors" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" - ontologyv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ontology/v2alpha" + ontologyv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ontology/v2alpha" anypb "google.golang.org/protobuf/types/known/anypb" timestamppb "google.golang.org/protobuf/types/known/timestamppb" ) type ConfigurationSpecEntity struct { - Configuration *configurationv2alphapb.Configuration + Configuration *Configuration } func NewConfigurationSpecEntity(specContext *specv2pb.SpecContext) (*ConfigurationSpecEntity, error) { return &ConfigurationSpecEntity{ - Configuration: &configurationv2alphapb.Configuration{}, + Configuration: &Configuration{}, }, nil } func NewConfigurationSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*ConfigurationSpecEntity, error) { - data := &configurationv2alphapb.Configuration{} - err := sdkv2alphalib.GetDataFromSpec[*configurationv2alphapb.Configuration](ctx, s, data) + data := &Configuration{} + err := sdkv2alphalib.GetDataFromSpec[*Configuration](ctx, s, data) if err != nil { return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(err) } @@ -41,7 +40,7 @@ func NewConfigurationSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) ( }, nil } -func (entity *ConfigurationSpecEntity) ToProto() (*configurationv2alphapb.Configuration, error) { +func (entity *ConfigurationSpecEntity) ToProto() (*Configuration, error) { return entity.Configuration, nil @@ -131,13 +130,17 @@ func (entity *ConfigurationSpecEntity) internal() { var _ timestamppb.Timestamp //updated_at - var _ *configurationv2alphapb.ConfigurationType + // Enum + var _ *ConfigurationType - var _ *configurationv2alphapb.ConfigurationStatus + // Enum + var _ *ConfigurationStatus + // Struct var _ *ontologyv2alphapb.SpecDataCatalog - var _ *configurationv2alphapb.SpecPlatformConfiguration + // Struct + var _ *SpecPlatformConfiguration //platform_configurations diff --git a/libs/public/go/protobuf/gen/platform/configuration/v2alpha/configuration.pb.go b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configuration.pb.go similarity index 99% rename from libs/public/go/protobuf/gen/platform/configuration/v2alpha/configuration.pb.go rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/configuration.pb.go index dc157559..f21cb144 100644 --- a/libs/public/go/protobuf/gen/platform/configuration/v2alpha/configuration.pb.go +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configuration.pb.go @@ -10,7 +10,7 @@ import ( _ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate" _ "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/options/v2" v2 "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" - v2alpha "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ontology/v2alpha" + v2alpha "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ontology/v2alpha" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -1789,20 +1789,20 @@ var file_platform_configuration_v2alpha_configuration_proto_rawDesc = string([]b 0x22, 0x3a, 0xa2, 0xb6, 0x18, 0x09, 0x2a, 0x07, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0xaa, 0xb6, 0x18, 0x02, 0x08, 0x03, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x22, 0x1f, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, - 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x42, 0xc4, 0x01, 0x82, + 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x42, 0xbf, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, 0x82, 0xb5, 0x18, 0x06, 0x08, 0x03, 0x10, 0x01, 0x18, 0x02, 0x8a, 0xb5, 0x18, 0x28, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x03, 0x6a, 0x61, 0x6e, 0x28, 0x02, 0x38, 0x01, 0x92, 0xb5, 0x18, 0x03, 0x0a, - 0x01, 0x03, 0x9a, 0xb5, 0x18, 0x02, 0x08, 0x01, 0xa2, 0xb5, 0x18, 0x00, 0x5a, 0x75, 0x67, 0x69, + 0x01, 0x03, 0x9a, 0xb5, 0x18, 0x02, 0x08, 0x01, 0xa2, 0xb5, 0x18, 0x00, 0x5a, 0x70, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x63, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, }) var ( diff --git a/libs/public/go/sdk/v2alpha/gen/platform/configuration/v2alpha/configuration.pb.multiplexer.go b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configuration.pb.multiplexer.go similarity index 80% rename from libs/public/go/sdk/v2alpha/gen/platform/configuration/v2alpha/configuration.pb.multiplexer.go rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/configuration.pb.multiplexer.go index 76f7dd4a..7c9d4b90 100644 --- a/libs/public/go/sdk/v2alpha/gen/platform/configuration/v2alpha/configuration.pb.multiplexer.go +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configuration.pb.multiplexer.go @@ -1,20 +1,15 @@ // Code generated by protoc-gen-platform go/multiplexer. DO NOT EDIT. // source: platform/configuration/v2alpha/configuration.proto -package configurationv2alphapbsrv +package configurationv2alphapb import ( - "context" - "errors" - "connectrpc.com/connect" - + "errors" "github.com/openecosystems/ecosystem/libs/partner/go/nats" "github.com/openecosystems/ecosystem/libs/partner/go/opentelemetry" "github.com/openecosystems/ecosystem/libs/partner/go/protovalidate" "github.com/openecosystems/ecosystem/libs/partner/go/zap" - "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/configuration/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "go.opentelemetry.io/otel/trace" "google.golang.org/protobuf/proto" @@ -22,15 +17,18 @@ import ( "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" _ "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" - _ "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ontology/v2alpha" + _ "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ontology/v2alpha" _ "google.golang.org/protobuf/types/known/anypb" _ "google.golang.org/protobuf/types/known/timestamppb" + + "context" ) // ConfigurationServiceHandler is the domain level implementation of the server API for mutations of the ConfigurationService service type ConfigurationServiceHandler struct{} -func (s *ConfigurationServiceHandler) CreateConfiguration(ctx context.Context, req *connect.Request[configurationv2alphapb.CreateConfigurationRequest]) (*connect.Response[configurationv2alphapb.CreateConfigurationResponse], error) { +func (s *ConfigurationServiceHandler) CreateConfiguration(ctx context.Context, req *connect.Request[CreateConfigurationRequest]) (*connect.Response[CreateConfigurationResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -53,7 +51,7 @@ func (s *ConfigurationServiceHandler) CreateConfiguration(ctx context.Context, r // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&configurationv2alphapb.CreateConfigurationResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&CreateConfigurationResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -62,12 +60,12 @@ func (s *ConfigurationServiceHandler) CreateConfiguration(ctx context.Context, r // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := configurationv2alphapbmodel.ConfigurationSpecEntity{} + entity := ConfigurationSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: configurationv2alphapbmodel.CommandDataConfigurationTopic, + CommandTopic: CommandDataConfigurationTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -75,7 +73,7 @@ func (s *ConfigurationServiceHandler) CreateConfiguration(ctx context.Context, r return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd configurationv2alphapb.CreateConfigurationResponse + var dd CreateConfigurationResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -85,9 +83,11 @@ func (s *ConfigurationServiceHandler) CreateConfiguration(ctx context.Context, r handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *ConfigurationServiceHandler) UpdateConfiguration(ctx context.Context, req *connect.Request[configurationv2alphapb.UpdateConfigurationRequest]) (*connect.Response[configurationv2alphapb.UpdateConfigurationResponse], error) { +func (s *ConfigurationServiceHandler) UpdateConfiguration(ctx context.Context, req *connect.Request[UpdateConfigurationRequest]) (*connect.Response[UpdateConfigurationResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -110,7 +110,7 @@ func (s *ConfigurationServiceHandler) UpdateConfiguration(ctx context.Context, r // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&configurationv2alphapb.UpdateConfigurationResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&UpdateConfigurationResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -119,12 +119,12 @@ func (s *ConfigurationServiceHandler) UpdateConfiguration(ctx context.Context, r // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := configurationv2alphapbmodel.ConfigurationSpecEntity{} + entity := ConfigurationSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: configurationv2alphapbmodel.CommandDataConfigurationTopic, + CommandTopic: CommandDataConfigurationTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -132,7 +132,7 @@ func (s *ConfigurationServiceHandler) UpdateConfiguration(ctx context.Context, r return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd configurationv2alphapb.UpdateConfigurationResponse + var dd UpdateConfigurationResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -142,9 +142,11 @@ func (s *ConfigurationServiceHandler) UpdateConfiguration(ctx context.Context, r handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *ConfigurationServiceHandler) LoadConfiguration(ctx context.Context, req *connect.Request[configurationv2alphapb.LoadConfigurationRequest]) (*connect.Response[configurationv2alphapb.LoadConfigurationResponse], error) { +func (s *ConfigurationServiceHandler) LoadConfiguration(ctx context.Context, req *connect.Request[LoadConfigurationRequest]) (*connect.Response[LoadConfigurationResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -167,7 +169,7 @@ func (s *ConfigurationServiceHandler) LoadConfiguration(ctx context.Context, req // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&configurationv2alphapb.LoadConfigurationResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&LoadConfigurationResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -176,12 +178,12 @@ func (s *ConfigurationServiceHandler) LoadConfiguration(ctx context.Context, req // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := configurationv2alphapbmodel.ConfigurationSpecEntity{} + entity := ConfigurationSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: configurationv2alphapbmodel.CommandDataConfigurationTopic, + CommandTopic: CommandDataConfigurationTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -189,7 +191,7 @@ func (s *ConfigurationServiceHandler) LoadConfiguration(ctx context.Context, req return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd configurationv2alphapb.LoadConfigurationResponse + var dd LoadConfigurationResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -199,9 +201,11 @@ func (s *ConfigurationServiceHandler) LoadConfiguration(ctx context.Context, req handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *ConfigurationServiceHandler) DeleteConfiguration(ctx context.Context, req *connect.Request[configurationv2alphapb.DeleteConfigurationRequest]) (*connect.Response[configurationv2alphapb.DeleteConfigurationResponse], error) { +func (s *ConfigurationServiceHandler) DeleteConfiguration(ctx context.Context, req *connect.Request[DeleteConfigurationRequest]) (*connect.Response[DeleteConfigurationResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -224,7 +228,7 @@ func (s *ConfigurationServiceHandler) DeleteConfiguration(ctx context.Context, r // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&configurationv2alphapb.DeleteConfigurationResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&DeleteConfigurationResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -233,12 +237,12 @@ func (s *ConfigurationServiceHandler) DeleteConfiguration(ctx context.Context, r // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := configurationv2alphapbmodel.ConfigurationSpecEntity{} + entity := ConfigurationSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: configurationv2alphapbmodel.CommandDataConfigurationTopic, + CommandTopic: CommandDataConfigurationTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -246,7 +250,7 @@ func (s *ConfigurationServiceHandler) DeleteConfiguration(ctx context.Context, r return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd configurationv2alphapb.DeleteConfigurationResponse + var dd DeleteConfigurationResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -256,9 +260,11 @@ func (s *ConfigurationServiceHandler) DeleteConfiguration(ctx context.Context, r handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *ConfigurationServiceHandler) PublishConfiguration(ctx context.Context, req *connect.Request[configurationv2alphapb.PublishConfigurationRequest]) (*connect.Response[configurationv2alphapb.PublishConfigurationResponse], error) { +func (s *ConfigurationServiceHandler) PublishConfiguration(ctx context.Context, req *connect.Request[PublishConfigurationRequest]) (*connect.Response[PublishConfigurationResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -281,7 +287,7 @@ func (s *ConfigurationServiceHandler) PublishConfiguration(ctx context.Context, // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&configurationv2alphapb.PublishConfigurationResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&PublishConfigurationResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -290,12 +296,12 @@ func (s *ConfigurationServiceHandler) PublishConfiguration(ctx context.Context, // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := configurationv2alphapbmodel.ConfigurationSpecEntity{} + entity := ConfigurationSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: configurationv2alphapbmodel.CommandDataConfigurationTopic, + CommandTopic: CommandDataConfigurationTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -303,7 +309,7 @@ func (s *ConfigurationServiceHandler) PublishConfiguration(ctx context.Context, return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd configurationv2alphapb.PublishConfigurationResponse + var dd PublishConfigurationResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -313,9 +319,11 @@ func (s *ConfigurationServiceHandler) PublishConfiguration(ctx context.Context, handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *ConfigurationServiceHandler) ArchiveConfiguration(ctx context.Context, req *connect.Request[configurationv2alphapb.ArchiveConfigurationRequest]) (*connect.Response[configurationv2alphapb.ArchiveConfigurationResponse], error) { +func (s *ConfigurationServiceHandler) ArchiveConfiguration(ctx context.Context, req *connect.Request[ArchiveConfigurationRequest]) (*connect.Response[ArchiveConfigurationResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -338,7 +346,7 @@ func (s *ConfigurationServiceHandler) ArchiveConfiguration(ctx context.Context, // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&configurationv2alphapb.ArchiveConfigurationResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&ArchiveConfigurationResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -347,12 +355,12 @@ func (s *ConfigurationServiceHandler) ArchiveConfiguration(ctx context.Context, // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := configurationv2alphapbmodel.ConfigurationSpecEntity{} + entity := ConfigurationSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: configurationv2alphapbmodel.CommandDataConfigurationTopic, + CommandTopic: CommandDataConfigurationTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -360,7 +368,7 @@ func (s *ConfigurationServiceHandler) ArchiveConfiguration(ctx context.Context, return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd configurationv2alphapb.ArchiveConfigurationResponse + var dd ArchiveConfigurationResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -370,9 +378,11 @@ func (s *ConfigurationServiceHandler) ArchiveConfiguration(ctx context.Context, handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *ConfigurationServiceHandler) ListConfigurations(ctx context.Context, req *connect.Request[configurationv2alphapb.ListConfigurationsRequest]) (*connect.Response[configurationv2alphapb.ListConfigurationsResponse], error) { +func (s *ConfigurationServiceHandler) ListConfigurations(ctx context.Context, req *connect.Request[ListConfigurationsRequest]) (*connect.Response[ListConfigurationsResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -395,7 +405,7 @@ func (s *ConfigurationServiceHandler) ListConfigurations(ctx context.Context, re // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&configurationv2alphapb.ListConfigurationsResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&ListConfigurationsResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -404,12 +414,12 @@ func (s *ConfigurationServiceHandler) ListConfigurations(ctx context.Context, re // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := configurationv2alphapbmodel.ConfigurationSpecEntity{} + entity := ConfigurationSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexEventSync(handlerCtx, spec, &natsnodev1.SpecEvent{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), EventName: "", - EventTopic: configurationv2alphapbmodel.EventDataConfigurationTopic, + EventTopic: EventDataConfigurationTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -417,7 +427,7 @@ func (s *ConfigurationServiceHandler) ListConfigurations(ctx context.Context, re return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd configurationv2alphapb.ListConfigurationsResponse + var dd ListConfigurationsResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -427,9 +437,11 @@ func (s *ConfigurationServiceHandler) ListConfigurations(ctx context.Context, re handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *ConfigurationServiceHandler) GetConfiguration(ctx context.Context, req *connect.Request[configurationv2alphapb.GetConfigurationRequest]) (*connect.Response[configurationv2alphapb.GetConfigurationResponse], error) { +func (s *ConfigurationServiceHandler) GetConfiguration(ctx context.Context, req *connect.Request[GetConfigurationRequest]) (*connect.Response[GetConfigurationResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -452,7 +464,7 @@ func (s *ConfigurationServiceHandler) GetConfiguration(ctx context.Context, req // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&configurationv2alphapb.GetConfigurationResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&GetConfigurationResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -461,12 +473,12 @@ func (s *ConfigurationServiceHandler) GetConfiguration(ctx context.Context, req // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := configurationv2alphapbmodel.ConfigurationSpecEntity{} + entity := ConfigurationSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexEventSync(handlerCtx, spec, &natsnodev1.SpecEvent{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), EventName: "", - EventTopic: configurationv2alphapbmodel.EventDataConfigurationTopic, + EventTopic: EventDataConfigurationTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -474,7 +486,7 @@ func (s *ConfigurationServiceHandler) GetConfiguration(ctx context.Context, req return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd configurationv2alphapb.GetConfigurationResponse + var dd GetConfigurationResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -484,4 +496,5 @@ func (s *ConfigurationServiceHandler) GetConfiguration(ctx context.Context, req handlerSpan.End() return connect.NewResponse(&dd), nil + } diff --git a/libs/public/go/model/gen/platform/configuration/v2alpha/configuration.pb.spec.go b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configuration.pb.spec.go similarity index 99% rename from libs/public/go/model/gen/platform/configuration/v2alpha/configuration.pb.spec.go rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/configuration.pb.spec.go index a9b6bb19..ed1720ab 100644 --- a/libs/public/go/model/gen/platform/configuration/v2alpha/configuration.pb.spec.go +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configuration.pb.spec.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/spec. DO NOT EDIT. // source: platform/configuration/v2alpha/configuration.proto -package configurationv2alphapbmodel +package configurationv2alphapb type ConfigurationCommand int type ConfigurationEvent int diff --git a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/archive_configuration.pb.go b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/archive_configuration.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/archive_configuration.pb.go rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/archive_configuration.cmd.go index f694331d..8a22ffcc 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/archive_configuration.pb.go +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/archive_configuration.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/configuration/v2alpha/configuration.proto -package configurationv2alphapbcmd +package configurationv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/configuration/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" ) var ( @@ -32,7 +31,7 @@ var ArchiveConfigurationV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling archiveConfiguration configuration") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var ArchiveConfigurationV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *configurationv2alphapbsdk.NewConfigurationServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *configurationv2alphapbconnect.NewConfigurationServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.ArchiveConfiguration(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/configuration.cmd.go b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/configuration.cmd.go similarity index 93% rename from libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/configuration.cmd.go rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/configuration.cmd.go index 9a1d3187..a7129c48 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/configuration.cmd.go +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/configuration.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-system. DO NOT EDIT. // source: platform/configuration/v2alpha/configuration.proto -package configurationv2alphapbcmd +package configurationv2alphapbcli import ( "github.com/spf13/cobra" diff --git a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/configuration.pb.cmd.go b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/configuration.cmds.go similarity index 96% rename from libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/configuration.pb.cmd.go rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/configuration.cmds.go index be6db87f..bf4e505c 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/configuration.pb.cmd.go +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/configuration.cmds.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-service. DO NOT EDIT. // source: platform/configuration/v2alpha/configuration.proto -package configurationv2alphapbcmd +package configurationv2alphapbcli import ( "github.com/spf13/cobra" diff --git a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/create_configuration.pb.go b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/create_configuration.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/create_configuration.pb.go rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/create_configuration.cmd.go index 6133dc17..b95bb80f 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/create_configuration.pb.go +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/create_configuration.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/configuration/v2alpha/configuration.proto -package configurationv2alphapbcmd +package configurationv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/configuration/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" ) var ( @@ -32,7 +31,7 @@ var CreateConfigurationV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling createConfiguration configuration") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var CreateConfigurationV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *configurationv2alphapbsdk.NewConfigurationServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *configurationv2alphapbconnect.NewConfigurationServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.CreateConfiguration(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/delete_configuration.pb.go b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/delete_configuration.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/delete_configuration.pb.go rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/delete_configuration.cmd.go index ca43c0ce..ff90594a 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/delete_configuration.pb.go +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/delete_configuration.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/configuration/v2alpha/configuration.proto -package configurationv2alphapbcmd +package configurationv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/configuration/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" ) var ( @@ -32,7 +31,7 @@ var DeleteConfigurationV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling deleteConfiguration configuration") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var DeleteConfigurationV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *configurationv2alphapbsdk.NewConfigurationServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *configurationv2alphapbconnect.NewConfigurationServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.DeleteConfiguration(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/get_configuration.pb.go b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/get_configuration.cmd.go similarity index 78% rename from libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/get_configuration.pb.go rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/get_configuration.cmd.go index 959df648..033d09ac 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/get_configuration.pb.go +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/get_configuration.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/configuration/v2alpha/configuration.proto -package configurationv2alphapbcmd +package configurationv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/configuration/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" ) var ( @@ -32,7 +31,7 @@ var GetConfigurationV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling getConfiguration configuration") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var GetConfigurationV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *configurationv2alphapbsdk.NewConfigurationServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *configurationv2alphapbconnect.NewConfigurationServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.GetConfiguration(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/list_configurations.pb.go b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/list_configurations.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/list_configurations.pb.go rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/list_configurations.cmd.go index bf3bbe5b..9526073b 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/list_configurations.pb.go +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/list_configurations.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/configuration/v2alpha/configuration.proto -package configurationv2alphapbcmd +package configurationv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/configuration/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" ) var ( @@ -32,7 +31,7 @@ var ListConfigurationsV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling listConfigurations configuration") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var ListConfigurationsV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *configurationv2alphapbsdk.NewConfigurationServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *configurationv2alphapbconnect.NewConfigurationServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.ListConfigurations(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/load_configuration.pb.go b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/load_configuration.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/load_configuration.pb.go rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/load_configuration.cmd.go index d26bd0c9..d3985046 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/load_configuration.pb.go +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/load_configuration.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/configuration/v2alpha/configuration.proto -package configurationv2alphapbcmd +package configurationv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/configuration/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" ) var ( @@ -32,7 +31,7 @@ var LoadConfigurationV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling loadConfiguration configuration") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var LoadConfigurationV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *configurationv2alphapbsdk.NewConfigurationServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *configurationv2alphapbconnect.NewConfigurationServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.LoadConfiguration(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/publish_configuration.pb.go b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/publish_configuration.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/publish_configuration.pb.go rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/publish_configuration.cmd.go index 9bf64082..28f9d8c4 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/publish_configuration.pb.go +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/publish_configuration.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/configuration/v2alpha/configuration.proto -package configurationv2alphapbcmd +package configurationv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/configuration/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" ) var ( @@ -32,7 +31,7 @@ var PublishConfigurationV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling publishConfiguration configuration") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var PublishConfigurationV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *configurationv2alphapbsdk.NewConfigurationServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *configurationv2alphapbconnect.NewConfigurationServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.PublishConfiguration(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/update_configuration.pb.go b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/update_configuration.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/update_configuration.pb.go rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/update_configuration.cmd.go index 50b4de4b..bbfaf5fd 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/configuration/v2alpha/update_configuration.pb.go +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbcli/update_configuration.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/configuration/v2alpha/configuration.proto -package configurationv2alphapbcmd +package configurationv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/configuration/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" ) var ( @@ -32,7 +31,7 @@ var UpdateConfigurationV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling updateConfiguration configuration") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var UpdateConfigurationV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *configurationv2alphapbsdk.NewConfigurationServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *configurationv2alphapbconnect.NewConfigurationServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.UpdateConfiguration(context.Background(), request) if err != nil { diff --git a/libs/public/go/sdk/gen/configuration/v2alpha/configuration.pb.client.go b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbconnect/configuration.client.go similarity index 55% rename from libs/public/go/sdk/gen/configuration/v2alpha/configuration.pb.client.go rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbconnect/configuration.client.go index 19a75bc8..2a85fa5c 100644 --- a/libs/public/go/sdk/gen/configuration/v2alpha/configuration.pb.client.go +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbconnect/configuration.client.go @@ -1,19 +1,22 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/configuration/v2alpha/configuration.proto -package configurationv2alphapbsdk +package configurationv2alphapbconnect import ( + //"net/http" + "connectrpc.com/connect" nebulav1 "github.com/openecosystems/ecosystem/libs/partner/go/nebula" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" - configurationv2alphapbconnect "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha/configurationv2alphapbconnect" ) -func NewConfigurationServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *configurationv2alphapbconnect.ConfigurationServiceClient { +func NewConfigurationServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *ConfigurationServiceClient { nebula := nebulav1.Binding{} httpClient := nebula.GetMeshHTTPClient(config, baseURL) - c := configurationv2alphapbconnect.NewConfigurationServiceClient(httpClient, baseURL, opts...) + //httpClient := http.DefaultClient + + c := NewConfigurationServiceClient(httpClient, baseURL, opts...) return &c } diff --git a/libs/public/go/protobuf/gen/platform/configuration/v2alpha/configurationv2alphapbconnect/configuration.connect.go b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbconnect/configuration.connect.go similarity index 99% rename from libs/public/go/protobuf/gen/platform/configuration/v2alpha/configurationv2alphapbconnect/configuration.connect.go rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbconnect/configuration.connect.go index 77f5089c..8b200d06 100644 --- a/libs/public/go/protobuf/gen/platform/configuration/v2alpha/configurationv2alphapbconnect/configuration.connect.go +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/configurationv2alphapbconnect/configuration.connect.go @@ -8,7 +8,7 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v2alpha "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha" + v2alpha "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha" http "net/http" strings "strings" ) diff --git a/libs/public/go/sdk/gen/platform/configuration/v2alpha/go.mod b/libs/public/go/sdk/gen/platform/configuration/v2alpha/go.mod new file mode 100644 index 00000000..f26d8ddf --- /dev/null +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/go.mod @@ -0,0 +1,14 @@ +// Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. +// source: platform/configuration/v2alpha/spec_configuration.proto +// sourcePath: libs/public/go/sdk/gen/configuration/v2alpha +module github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha +go 1.23.4 + +require connectrpc.com/connect v1.17.0 + +require github.com/google/go-cmp v0.6.0 // indirect + +require ( + golang.org/x/net v0.29.0 // indirect + google.golang.org/protobuf v1.34.2 // indirect +) diff --git a/libs/public/go/sdk/gen/configuration/v2alpha/package.json b/libs/public/go/sdk/gen/platform/configuration/v2alpha/package.json similarity index 100% rename from libs/public/go/sdk/gen/configuration/v2alpha/package.json rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/package.json diff --git a/libs/public/go/sdk/gen/configuration/v2alpha/project.json b/libs/public/go/sdk/gen/platform/configuration/v2alpha/project.json similarity index 96% rename from libs/public/go/sdk/gen/configuration/v2alpha/project.json rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/project.json index 1d375f23..42135cc4 100644 --- a/libs/public/go/sdk/gen/configuration/v2alpha/project.json +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/project.json @@ -1,12 +1,9 @@ { "name": "libs-public-go-sdk-configuration-v2alpha", - "$schema": "../../../../../../../node_modules/nx/schemas/project-schema.json", + "$schema": "../../../../../../../../node_modules/nx/schemas/project-schema.json", "projectType": "library", "sourceRoot": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/configuration/v2alpha", - "implicitDependencies": [ - "proto" - ], "targets": { "build": { diff --git a/libs/public/go/protobuf/gen/platform/configuration/v2alpha/spec_configuration.pb.go b/libs/public/go/sdk/gen/platform/configuration/v2alpha/spec_configuration.pb.go similarity index 88% rename from libs/public/go/protobuf/gen/platform/configuration/v2alpha/spec_configuration.pb.go rename to libs/public/go/sdk/gen/platform/configuration/v2alpha/spec_configuration.pb.go index 2f446423..69e0692b 100644 --- a/libs/public/go/protobuf/gen/platform/configuration/v2alpha/spec_configuration.pb.go +++ b/libs/public/go/sdk/gen/platform/configuration/v2alpha/spec_configuration.pb.go @@ -9,19 +9,19 @@ package configurationv2alphapb import ( - v2alpha8 "github.com/openecosystems/ecosystem/libs/poc/go/protobuf/gen/platform/reference/v2alpha" - v2alpha "github.com/openecosystems/ecosystem/libs/private/go/protobuf/gen/platform/audit/v2alpha" - v2alpha5 "github.com/openecosystems/ecosystem/libs/private/go/protobuf/gen/platform/edge/v2alpha" + v2alpha8 "github.com/openecosystems/ecosystem/libs/poc/go/sdk/gen/platform/reference/v2alpha" + v2alpha "github.com/openecosystems/ecosystem/libs/private/go/sdk/gen/platform/audit/v2alpha" + v2alpha5 "github.com/openecosystems/ecosystem/libs/private/go/sdk/gen/platform/edge/v2alpha" _ "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/options/v2" - v2alpha1 "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/cli/v2alpha" - v1alpha "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1alpha" - v1beta "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1beta" - v2alpha2 "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/cryptography/v2alpha" - v2alpha3 "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/dns/v2alpha" - v2alpha4 "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha" - v2alpha6 "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" - v2alpha7 "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/mesh/v2alpha" - v2alpha9 "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/system/v2alpha" + v2alpha1 "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cli/v2alpha" + v1alpha "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1alpha" + v1beta "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1beta" + v2alpha2 "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cryptography/v2alpha" + v2alpha3 "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/dns/v2alpha" + v2alpha4 "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha" + v2alpha6 "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" + v2alpha7 "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/mesh/v2alpha" + v2alpha9 "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/system/v2alpha" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -50,8 +50,8 @@ type SpecPlatformConfiguration struct { CryptographicMeshConfigurationV2Alpha *v2alpha7.CryptographicMeshConfiguration `protobuf:"bytes,11,opt,name=cryptographic_mesh_configuration_v2alpha,json=cryptographicMeshConfigurationV2alpha,proto3" json:"cryptographic_mesh_configuration_v2alpha,omitempty"` ReferenceConfigurationV2Alpha *v2alpha8.ReferenceConfiguration `protobuf:"bytes,12,opt,name=reference_configuration_v2alpha,json=referenceConfigurationV2alpha,proto3" json:"reference_configuration_v2alpha,omitempty"` SystemConfigurationV2Alpha *v2alpha9.SystemConfiguration `protobuf:"bytes,13,opt,name=system_configuration_v2alpha,json=systemConfigurationV2alpha,proto3" json:"system_configuration_v2alpha,omitempty"` - PreferenceCenterConfigurationV1Alpha *v1alpha.PreferenceCenterConfiguration `protobuf:"bytes,14,opt,name=preference_center_configuration_v1alpha,json=preferenceCenterConfigurationV1alpha,proto3" json:"preference_center_configuration_v1alpha,omitempty"` - PreferenceCenterConfigurationV1Beta *v1beta.PreferenceCenterConfiguration `protobuf:"bytes,15,opt,name=preference_center_configuration_v1beta,json=preferenceCenterConfigurationV1beta,proto3" json:"preference_center_configuration_v1beta,omitempty"` + PreferenceCenterConfigurationV1Beta *v1beta.PreferenceCenterConfiguration `protobuf:"bytes,14,opt,name=preference_center_configuration_v1beta,json=preferenceCenterConfigurationV1beta,proto3" json:"preference_center_configuration_v1beta,omitempty"` + PreferenceCenterConfigurationV1Alpha *v1alpha.PreferenceCenterConfiguration `protobuf:"bytes,15,opt,name=preference_center_configuration_v1alpha,json=preferenceCenterConfigurationV1alpha,proto3" json:"preference_center_configuration_v1alpha,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -170,16 +170,16 @@ func (x *SpecPlatformConfiguration) GetSystemConfigurationV2Alpha() *v2alpha9.Sy return nil } -func (x *SpecPlatformConfiguration) GetPreferenceCenterConfigurationV1Alpha() *v1alpha.PreferenceCenterConfiguration { +func (x *SpecPlatformConfiguration) GetPreferenceCenterConfigurationV1Beta() *v1beta.PreferenceCenterConfiguration { if x != nil { - return x.PreferenceCenterConfigurationV1Alpha + return x.PreferenceCenterConfigurationV1Beta } return nil } -func (x *SpecPlatformConfiguration) GetPreferenceCenterConfigurationV1Beta() *v1beta.PreferenceCenterConfiguration { +func (x *SpecPlatformConfiguration) GetPreferenceCenterConfigurationV1Alpha() *v1alpha.PreferenceCenterConfiguration { if x != nil { - return x.PreferenceCenterConfigurationV1Beta + return x.PreferenceCenterConfigurationV1Alpha } return nil } @@ -226,12 +226,12 @@ var file_platform_configuration_v2alpha_spec_configuration_proto_rawDesc = strin 0x61, 0x2f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x36, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x35, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x70, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x36, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x0e, 0x0a, 0x19, 0x53, 0x70, 0x65, 0x63, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, @@ -327,35 +327,35 @@ var file_platform_configuration_v2alpha_spec_configuration_proto_rawDesc = strin 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x1a, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x94, 0x01, 0x0a, 0x27, + 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x91, 0x01, 0x0a, 0x26, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, - 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, - 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, - 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x24, 0x70, 0x72, - 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x31, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x12, 0x91, 0x01, 0x0a, 0x26, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, - 0x65, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x18, 0x0f, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, - 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x23, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x23, 0x70, 0x72, 0x65, 0x66, + 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x12, + 0x94, 0x01, 0x0a, 0x27, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x63, + 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x0f, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x3d, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x87, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, 0x82, - 0xb5, 0x18, 0x06, 0x08, 0x03, 0x10, 0x01, 0x18, 0x02, 0x5a, 0x75, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x52, 0x24, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, 0x74, + 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, + 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x82, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, 0x82, + 0xb5, 0x18, 0x06, 0x08, 0x03, 0x10, 0x01, 0x18, 0x02, 0x5a, 0x70, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6c, - 0x69, 0x62, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, - 0x6f, 0x72, 0x6d, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x69, 0x62, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x64, + 0x6b, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, }) var ( @@ -385,8 +385,8 @@ var file_platform_configuration_v2alpha_spec_configuration_proto_goTypes = []any (*v2alpha7.CryptographicMeshConfiguration)(nil), // 10: platform.mesh.v2alpha.CryptographicMeshConfiguration (*v2alpha8.ReferenceConfiguration)(nil), // 11: platform.reference.v2alpha.ReferenceConfiguration (*v2alpha9.SystemConfiguration)(nil), // 12: platform.system.v2alpha.SystemConfiguration - (*v1alpha.PreferenceCenterConfiguration)(nil), // 13: platform.communication.v1alpha.PreferenceCenterConfiguration - (*v1beta.PreferenceCenterConfiguration)(nil), // 14: platform.communication.v1beta.PreferenceCenterConfiguration + (*v1beta.PreferenceCenterConfiguration)(nil), // 13: platform.communication.v1beta.PreferenceCenterConfiguration + (*v1alpha.PreferenceCenterConfiguration)(nil), // 14: platform.communication.v1alpha.PreferenceCenterConfiguration } var file_platform_configuration_v2alpha_spec_configuration_proto_depIdxs = []int32{ 1, // 0: platform.configuration.v2alpha.SpecPlatformConfiguration.audit_configuration_v2alpha:type_name -> platform.audit.v2alpha.AuditConfiguration @@ -401,8 +401,8 @@ var file_platform_configuration_v2alpha_spec_configuration_proto_depIdxs = []int 10, // 9: platform.configuration.v2alpha.SpecPlatformConfiguration.cryptographic_mesh_configuration_v2alpha:type_name -> platform.mesh.v2alpha.CryptographicMeshConfiguration 11, // 10: platform.configuration.v2alpha.SpecPlatformConfiguration.reference_configuration_v2alpha:type_name -> platform.reference.v2alpha.ReferenceConfiguration 12, // 11: platform.configuration.v2alpha.SpecPlatformConfiguration.system_configuration_v2alpha:type_name -> platform.system.v2alpha.SystemConfiguration - 13, // 12: platform.configuration.v2alpha.SpecPlatformConfiguration.preference_center_configuration_v1alpha:type_name -> platform.communication.v1alpha.PreferenceCenterConfiguration - 14, // 13: platform.configuration.v2alpha.SpecPlatformConfiguration.preference_center_configuration_v1beta:type_name -> platform.communication.v1beta.PreferenceCenterConfiguration + 13, // 12: platform.configuration.v2alpha.SpecPlatformConfiguration.preference_center_configuration_v1beta:type_name -> platform.communication.v1beta.PreferenceCenterConfiguration + 14, // 13: platform.configuration.v2alpha.SpecPlatformConfiguration.preference_center_configuration_v1alpha:type_name -> platform.communication.v1alpha.PreferenceCenterConfiguration 14, // [14:14] is the sub-list for method output_type 14, // [14:14] is the sub-list for method input_type 14, // [14:14] is the sub-list for extension type_name diff --git a/libs/public/go/sdk/gen/cryptography/v2alpha/.goreleaser.yaml b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/.goreleaser.yaml similarity index 93% rename from libs/public/go/sdk/gen/cryptography/v2alpha/.goreleaser.yaml rename to libs/public/go/sdk/gen/platform/cryptography/v2alpha/.goreleaser.yaml index 88c5623d..2088a084 100644 --- a/libs/public/go/sdk/gen/cryptography/v2alpha/.goreleaser.yaml +++ b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/.goreleaser.yaml @@ -1,5 +1,5 @@ # Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. -# source: platform/cryptography/v2alpha/certificate.proto +# source: platform/cryptography/v2alpha/encryption.proto # yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json version: 2 project_name: libs-public-go-sdk-cryptography-v2alpha diff --git a/libs/public/go/sdk/gen/platform/cryptography/v2alpha/README.md b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/README.md new file mode 100644 index 00000000..1d025ff3 --- /dev/null +++ b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/README.md @@ -0,0 +1,4 @@ +// Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. +// source: platform/cryptography/v2alpha/encryption.proto + +# README \ No newline at end of file diff --git a/libs/public/go/model/gen/platform/cryptography/v2alpha/certificate.pb.entity.go b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/certificate.pb.entity.go similarity index 86% rename from libs/public/go/model/gen/platform/cryptography/v2alpha/certificate.pb.entity.go rename to libs/public/go/sdk/gen/platform/cryptography/v2alpha/certificate.pb.entity.go index 8e8668c4..9e481824 100644 --- a/libs/public/go/model/gen/platform/cryptography/v2alpha/certificate.pb.entity.go +++ b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/certificate.pb.entity.go @@ -1,14 +1,13 @@ // Code generated by protoc-gen-platform go/entity-unspecified. DO NOT EDIT. // source: platform/cryptography/v2alpha/certificate.proto -package cryptographyv2alphapbmodel +package cryptographyv2alphapb import ( "context" "encoding/json" "errors" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/cryptography/v2alpha" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "google.golang.org/protobuf/types/known/anypb" @@ -19,20 +18,20 @@ import ( ) type CertificateSpecEntity struct { - Certificate *cryptographyv2alphapb.Certificate + Certificate *Certificate } func NewCertificateSpecEntity(specContext *specv2pb.SpecContext) (*CertificateSpecEntity, error) { return &CertificateSpecEntity{ - Certificate: &cryptographyv2alphapb.Certificate{}, + Certificate: &Certificate{}, }, nil } func NewCertificateSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*CertificateSpecEntity, error) { - data := &cryptographyv2alphapb.Certificate{} - err := sdkv2alphalib.GetDataFromSpec[*cryptographyv2alphapb.Certificate](ctx, s, data) + data := &Certificate{} + err := sdkv2alphalib.GetDataFromSpec[*Certificate](ctx, s, data) if err != nil { return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(err) } @@ -42,7 +41,7 @@ func NewCertificateSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*C }, nil } -func (entity *CertificateSpecEntity) ToProto() (*cryptographyv2alphapb.Certificate, error) { +func (entity *CertificateSpecEntity) ToProto() (*Certificate, error) { return entity.Certificate, nil @@ -136,5 +135,6 @@ func (entity *CertificateSpecEntity) internal() { //duration + // Struct var _ *typev2pb.File } diff --git a/libs/public/go/protobuf/gen/platform/cryptography/v2alpha/certificate.pb.go b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/certificate.pb.go similarity index 98% rename from libs/public/go/protobuf/gen/platform/cryptography/v2alpha/certificate.pb.go rename to libs/public/go/sdk/gen/platform/cryptography/v2alpha/certificate.pb.go index ae5a95a4..25665234 100644 --- a/libs/public/go/protobuf/gen/platform/cryptography/v2alpha/certificate.pb.go +++ b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/certificate.pb.go @@ -642,20 +642,19 @@ var file_platform_cryptography_v2alpha_certificate_proto_rawDesc = string([]byte 0x67, 0x6e, 0xaa, 0xb6, 0x18, 0x02, 0x08, 0x03, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2b, 0x3a, 0x01, 0x2a, 0x22, 0x26, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x79, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x65, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x42, 0xc0, 0x01, 0x82, 0xc4, 0x13, 0x02, + 0x63, 0x61, 0x74, 0x65, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x42, 0xbb, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, 0x82, 0xb5, 0x18, 0x06, 0x08, 0x03, 0x10, 0x01, 0x18, 0x06, 0x8a, 0xb5, 0x18, 0x24, 0x0a, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x0c, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x22, 0x03, 0x6a, 0x61, 0x6e, 0x28, 0x02, 0x38, 0x01, 0x92, 0xb5, 0x18, 0x03, 0x0a, 0x01, 0x03, 0x9a, 0xb5, 0x18, 0x02, 0x08, - 0x01, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x73, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x01, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x6e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6c, 0x69, 0x62, - 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x79, 0x2f, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x67, 0x72, 0x61, - 0x70, 0x68, 0x79, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x2f, + 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x63, 0x72, 0x79, + 0x70, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x79, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x3b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x79, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, }) var ( diff --git a/libs/public/go/sdk/v2alpha/gen/platform/cryptography/v2alpha/certificate.pb.multiplexer.go b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/certificate.pb.multiplexer.go similarity index 81% rename from libs/public/go/sdk/v2alpha/gen/platform/cryptography/v2alpha/certificate.pb.multiplexer.go rename to libs/public/go/sdk/gen/platform/cryptography/v2alpha/certificate.pb.multiplexer.go index 00790775..656eb6d7 100644 --- a/libs/public/go/sdk/v2alpha/gen/platform/cryptography/v2alpha/certificate.pb.multiplexer.go +++ b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/certificate.pb.multiplexer.go @@ -1,20 +1,15 @@ // Code generated by protoc-gen-platform go/multiplexer. DO NOT EDIT. // source: platform/cryptography/v2alpha/certificate.proto -package cryptographyv2alphapbsrv +package cryptographyv2alphapb import ( - "context" - "errors" - "connectrpc.com/connect" - + "errors" "github.com/openecosystems/ecosystem/libs/partner/go/nats" "github.com/openecosystems/ecosystem/libs/partner/go/opentelemetry" "github.com/openecosystems/ecosystem/libs/partner/go/protovalidate" "github.com/openecosystems/ecosystem/libs/partner/go/zap" - "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/cryptography/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/cryptography/v2alpha" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "go.opentelemetry.io/otel/trace" "google.golang.org/protobuf/proto" @@ -25,12 +20,15 @@ import ( _ "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/type/v2" _ "google.golang.org/protobuf/types/known/durationpb" _ "google.golang.org/protobuf/types/known/timestamppb" + + "context" ) // CertificateServiceHandler is the domain level implementation of the server API for mutations of the CertificateService service type CertificateServiceHandler struct{} -func (s *CertificateServiceHandler) VerifyCertificate(ctx context.Context, req *connect.Request[cryptographyv2alphapb.VerifyCertificateRequest]) (*connect.Response[cryptographyv2alphapb.VerifyCertificateResponse], error) { +func (s *CertificateServiceHandler) VerifyCertificate(ctx context.Context, req *connect.Request[VerifyCertificateRequest]) (*connect.Response[VerifyCertificateResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -53,7 +51,7 @@ func (s *CertificateServiceHandler) VerifyCertificate(ctx context.Context, req * // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&cryptographyv2alphapb.VerifyCertificateResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&VerifyCertificateResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -62,12 +60,12 @@ func (s *CertificateServiceHandler) VerifyCertificate(ctx context.Context, req * // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := cryptographyv2alphapbmodel.CertificateSpecEntity{} + entity := CertificateSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: cryptographyv2alphapbmodel.CommandDataCertificateTopic, + CommandTopic: CommandDataCertificateTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -75,7 +73,7 @@ func (s *CertificateServiceHandler) VerifyCertificate(ctx context.Context, req * return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd cryptographyv2alphapb.VerifyCertificateResponse + var dd VerifyCertificateResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -85,9 +83,11 @@ func (s *CertificateServiceHandler) VerifyCertificate(ctx context.Context, req * handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *CertificateServiceHandler) SignCertificate(ctx context.Context, req *connect.Request[cryptographyv2alphapb.SignCertificateRequest]) (*connect.Response[cryptographyv2alphapb.SignCertificateResponse], error) { +func (s *CertificateServiceHandler) SignCertificate(ctx context.Context, req *connect.Request[SignCertificateRequest]) (*connect.Response[SignCertificateResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -110,7 +110,7 @@ func (s *CertificateServiceHandler) SignCertificate(ctx context.Context, req *co // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&cryptographyv2alphapb.SignCertificateResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&SignCertificateResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -119,12 +119,12 @@ func (s *CertificateServiceHandler) SignCertificate(ctx context.Context, req *co // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := cryptographyv2alphapbmodel.CertificateSpecEntity{} + entity := CertificateSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: cryptographyv2alphapbmodel.CommandDataCertificateTopic, + CommandTopic: CommandDataCertificateTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -132,7 +132,7 @@ func (s *CertificateServiceHandler) SignCertificate(ctx context.Context, req *co return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd cryptographyv2alphapb.SignCertificateResponse + var dd SignCertificateResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -142,4 +142,5 @@ func (s *CertificateServiceHandler) SignCertificate(ctx context.Context, req *co handlerSpan.End() return connect.NewResponse(&dd), nil + } diff --git a/libs/public/go/model/gen/platform/cryptography/v2alpha/certificate.pb.spec.go b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/certificate.pb.spec.go similarity index 99% rename from libs/public/go/model/gen/platform/cryptography/v2alpha/certificate.pb.spec.go rename to libs/public/go/sdk/gen/platform/cryptography/v2alpha/certificate.pb.spec.go index 2e79f48e..01fb0a38 100644 --- a/libs/public/go/model/gen/platform/cryptography/v2alpha/certificate.pb.spec.go +++ b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/certificate.pb.spec.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/spec. DO NOT EDIT. // source: platform/cryptography/v2alpha/certificate.proto -package cryptographyv2alphapbmodel +package cryptographyv2alphapb type CertificateCommand int type CertificateEvent int diff --git a/libs/public/go/cli/v2alpha/gen/platform/cryptography/v2alpha/cryptography.cmd.go b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbcli/certificate.cmd.go similarity index 93% rename from libs/public/go/cli/v2alpha/gen/platform/cryptography/v2alpha/cryptography.cmd.go rename to libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbcli/certificate.cmd.go index 6df6b4df..91ce1bce 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/cryptography/v2alpha/cryptography.cmd.go +++ b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbcli/certificate.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-system. DO NOT EDIT. // source: platform/cryptography/v2alpha/certificate.proto -package cryptographyv2alphapbcmd +package cryptographyv2alphapbcli import ( "github.com/spf13/cobra" diff --git a/libs/public/go/cli/v2alpha/gen/platform/cryptography/v2alpha/certificate.pb.cmd.go b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbcli/certificate.cmds.go similarity index 94% rename from libs/public/go/cli/v2alpha/gen/platform/cryptography/v2alpha/certificate.pb.cmd.go rename to libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbcli/certificate.cmds.go index 4c59cc3e..e3d09c7a 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/cryptography/v2alpha/certificate.pb.cmd.go +++ b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbcli/certificate.cmds.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-service. DO NOT EDIT. // source: platform/cryptography/v2alpha/certificate.proto -package cryptographyv2alphapbcmd +package cryptographyv2alphapbcli import ( "github.com/spf13/cobra" diff --git a/libs/public/go/cli/v2alpha/gen/platform/cryptography/v2alpha/sign_certificate.pb.go b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbcli/sign_certificate.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/cryptography/v2alpha/sign_certificate.pb.go rename to libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbcli/sign_certificate.cmd.go index b2161ef2..4fb38aa6 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/cryptography/v2alpha/sign_certificate.pb.go +++ b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbcli/sign_certificate.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/cryptography/v2alpha/certificate.proto -package cryptographyv2alphapbcmd +package cryptographyv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/cryptography/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cryptography/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/cryptography/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cryptography/v2alpha" ) var ( @@ -32,7 +31,7 @@ var SignCertificateV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling signCertificate certificate") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var SignCertificateV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *cryptographyv2alphapbsdk.NewCertificateServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *cryptographyv2alphapbconnect.NewCertificateServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.SignCertificate(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/cryptography/v2alpha/verify_certificate.pb.go b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbcli/verify_certificate.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/cryptography/v2alpha/verify_certificate.pb.go rename to libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbcli/verify_certificate.cmd.go index 21d3e4b9..be8dcaea 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/cryptography/v2alpha/verify_certificate.pb.go +++ b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbcli/verify_certificate.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/cryptography/v2alpha/certificate.proto -package cryptographyv2alphapbcmd +package cryptographyv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/cryptography/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cryptography/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/cryptography/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cryptography/v2alpha" ) var ( @@ -32,7 +31,7 @@ var VerifyCertificateV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling verifyCertificate certificate") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var VerifyCertificateV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *cryptographyv2alphapbsdk.NewCertificateServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *cryptographyv2alphapbconnect.NewCertificateServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.VerifyCertificate(context.Background(), request) if err != nil { diff --git a/libs/public/go/sdk/gen/cryptography/v2alpha/certificate.pb.client.go b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/certificate.client.go similarity index 56% rename from libs/public/go/sdk/gen/cryptography/v2alpha/certificate.pb.client.go rename to libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/certificate.client.go index 4f5250f1..af9965b9 100644 --- a/libs/public/go/sdk/gen/cryptography/v2alpha/certificate.pb.client.go +++ b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/certificate.client.go @@ -1,19 +1,22 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/cryptography/v2alpha/certificate.proto -package cryptographyv2alphapbsdk +package cryptographyv2alphapbconnect import ( + //"net/http" + "connectrpc.com/connect" nebulav1 "github.com/openecosystems/ecosystem/libs/partner/go/nebula" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" - cryptographyv2alphapbconnect "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect" ) -func NewCertificateServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *cryptographyv2alphapbconnect.CertificateServiceClient { +func NewCertificateServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *CertificateServiceClient { nebula := nebulav1.Binding{} httpClient := nebula.GetMeshHTTPClient(config, baseURL) - c := cryptographyv2alphapbconnect.NewCertificateServiceClient(httpClient, baseURL, opts...) + //httpClient := http.DefaultClient + + c := NewCertificateServiceClient(httpClient, baseURL, opts...) return &c } diff --git a/libs/public/go/protobuf/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/certificate.connect.go b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/certificate.connect.go similarity index 98% rename from libs/public/go/protobuf/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/certificate.connect.go rename to libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/certificate.connect.go index 7534fa15..c82080aa 100644 --- a/libs/public/go/protobuf/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/certificate.connect.go +++ b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/certificate.connect.go @@ -8,7 +8,7 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v2alpha "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/cryptography/v2alpha" + v2alpha "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cryptography/v2alpha" http "net/http" strings "strings" ) diff --git a/libs/public/go/sdk/gen/cryptography/v2alpha/encryption.pb.client.go b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/encryption.client.go similarity index 56% rename from libs/public/go/sdk/gen/cryptography/v2alpha/encryption.pb.client.go rename to libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/encryption.client.go index 5ff43f2a..8c49aaef 100644 --- a/libs/public/go/sdk/gen/cryptography/v2alpha/encryption.pb.client.go +++ b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/encryption.client.go @@ -1,19 +1,22 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/cryptography/v2alpha/encryption.proto -package cryptographyv2alphapbsdk +package cryptographyv2alphapbconnect import ( + //"net/http" + "connectrpc.com/connect" nebulav1 "github.com/openecosystems/ecosystem/libs/partner/go/nebula" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" - cryptographyv2alphapbconnect "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect" ) -func NewEncryptionServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *cryptographyv2alphapbconnect.EncryptionServiceClient { +func NewEncryptionServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *EncryptionServiceClient { nebula := nebulav1.Binding{} httpClient := nebula.GetMeshHTTPClient(config, baseURL) - c := cryptographyv2alphapbconnect.NewEncryptionServiceClient(httpClient, baseURL, opts...) + //httpClient := http.DefaultClient + + c := NewEncryptionServiceClient(httpClient, baseURL, opts...) return &c } diff --git a/libs/public/go/protobuf/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/encryption.connect.go b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/encryption.connect.go similarity index 98% rename from libs/public/go/protobuf/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/encryption.connect.go rename to libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/encryption.connect.go index 9435a61e..20657b6f 100644 --- a/libs/public/go/protobuf/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/encryption.connect.go +++ b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/cryptographyv2alphapbconnect/encryption.connect.go @@ -8,7 +8,7 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v2alpha "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/cryptography/v2alpha" + v2alpha "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cryptography/v2alpha" http "net/http" strings "strings" ) diff --git a/libs/public/go/protobuf/gen/platform/cryptography/v2alpha/encryption.pb.go b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/encryption.pb.go similarity index 97% rename from libs/public/go/protobuf/gen/platform/cryptography/v2alpha/encryption.pb.go rename to libs/public/go/sdk/gen/platform/cryptography/v2alpha/encryption.pb.go index f3ab5156..ed34aaee 100644 --- a/libs/public/go/protobuf/gen/platform/cryptography/v2alpha/encryption.pb.go +++ b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/encryption.pb.go @@ -517,17 +517,17 @@ var file_platform_cryptography_v2alpha_encryption_proto_rawDesc = string([]byte{ 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x65, 0x63, 0x72, 0x79, 0x70, 0x74, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x97, 0x01, 0x82, 0xc4, 0x13, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x92, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x01, 0x82, 0xb5, 0x18, 0x06, 0x08, 0x03, 0x10, 0x01, 0x18, 0x02, 0x92, 0xb5, 0x18, 0x04, 0x0a, 0x02, 0x03, 0x01, 0x9a, 0xb5, 0x18, 0x00, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, - 0x73, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, + 0x6e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, - 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, - 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, - 0x67, 0x72, 0x61, 0x70, 0x68, 0x79, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x63, - 0x72, 0x79, 0x70, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x79, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x70, 0x68, + 0x79, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, + 0x67, 0x72, 0x61, 0x70, 0x68, 0x79, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, }) var ( diff --git a/libs/public/go/sdk/gen/platform/cryptography/v2alpha/go.mod b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/go.mod new file mode 100644 index 00000000..f26e6948 --- /dev/null +++ b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/go.mod @@ -0,0 +1,14 @@ +// Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. +// source: platform/cryptography/v2alpha/encryption.proto +// sourcePath: libs/public/go/sdk/gen/cryptography/v2alpha +module github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cryptography/v2alpha +go 1.23.4 + +require connectrpc.com/connect v1.17.0 + +require github.com/google/go-cmp v0.6.0 // indirect + +require ( + golang.org/x/net v0.29.0 // indirect + google.golang.org/protobuf v1.34.2 // indirect +) diff --git a/libs/public/go/sdk/gen/cryptography/v2alpha/package.json b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/package.json similarity index 100% rename from libs/public/go/sdk/gen/cryptography/v2alpha/package.json rename to libs/public/go/sdk/gen/platform/cryptography/v2alpha/package.json diff --git a/libs/public/go/sdk/gen/cryptography/v2alpha/project.json b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/project.json similarity index 96% rename from libs/public/go/sdk/gen/cryptography/v2alpha/project.json rename to libs/public/go/sdk/gen/platform/cryptography/v2alpha/project.json index ccdbd21f..6d41c74d 100644 --- a/libs/public/go/sdk/gen/cryptography/v2alpha/project.json +++ b/libs/public/go/sdk/gen/platform/cryptography/v2alpha/project.json @@ -1,12 +1,9 @@ { "name": "libs-public-go-sdk-cryptography-v2alpha", - "$schema": "../../../../../../../node_modules/nx/schemas/project-schema.json", + "$schema": "../../../../../../../../node_modules/nx/schemas/project-schema.json", "projectType": "library", "sourceRoot": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/cryptography/v2alpha", - "implicitDependencies": [ - "proto" - ], "targets": { "build": { diff --git a/libs/public/go/sdk/gen/platform/dns/v2alpha/.goreleaser.yaml b/libs/public/go/sdk/gen/platform/dns/v2alpha/.goreleaser.yaml new file mode 100644 index 00000000..ac224b73 --- /dev/null +++ b/libs/public/go/sdk/gen/platform/dns/v2alpha/.goreleaser.yaml @@ -0,0 +1,27 @@ +# Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. +# source: platform/dns/v2alpha/dynamic_dns.proto +# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json +version: 2 +project_name: libs-public-go-sdk-dns-v2alpha + +variables: + path_to_repo_root: "../../../../../../" + path_to_project: "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/dns/v2alpha" + +dist: ./dist/libs/public/go/sdk/gen/dns/v2alpha + +monorepo: + tag_prefix: "libs-public-go-sdk-dns-v2alpha/" + dir: libs/public/go/sdk/gen/dns/v2alpha + +includes: + - from_file: + path: ./.config/goreleaser/goreleaser.sdk.yaml + - from_file: + path: ./.config/goreleaser/notarize.yaml + +nightly: + version_template: "{{ incpatch .Version }}-devel" + tag_name: "libs-public-go-sdk-dns-v2alpha/devel" + publish_release: true + keep_single_release: true \ No newline at end of file diff --git a/libs/public/go/sdk/gen/platform/dns/v2alpha/README.md b/libs/public/go/sdk/gen/platform/dns/v2alpha/README.md new file mode 100644 index 00000000..4244b94c --- /dev/null +++ b/libs/public/go/sdk/gen/platform/dns/v2alpha/README.md @@ -0,0 +1,4 @@ +// Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. +// source: platform/dns/v2alpha/dynamic_dns.proto + +# README \ No newline at end of file diff --git a/libs/public/go/protobuf/gen/platform/dns/v2alpha/dynamic_dns.pb.go b/libs/public/go/sdk/gen/platform/dns/v2alpha/dynamic_dns.pb.go similarity index 85% rename from libs/public/go/protobuf/gen/platform/dns/v2alpha/dynamic_dns.pb.go rename to libs/public/go/sdk/gen/platform/dns/v2alpha/dynamic_dns.pb.go index be4bddca..f22e8d24 100644 --- a/libs/public/go/protobuf/gen/platform/dns/v2alpha/dynamic_dns.pb.go +++ b/libs/public/go/sdk/gen/platform/dns/v2alpha/dynamic_dns.pb.go @@ -79,16 +79,15 @@ var file_platform_dns_v2alpha_dynamic_dns_proto_rawDesc = string([]byte{ 0x44, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x79, 0x6e, 0x61, 0x6d, 0x69, - 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x84, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x03, - 0x82, 0xb5, 0x18, 0x06, 0x08, 0x03, 0x10, 0x01, 0x18, 0x06, 0x92, 0xb5, 0x18, 0x03, 0x0a, 0x01, - 0x03, 0x9a, 0xb5, 0x18, 0x00, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x61, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x64, 0x6e, 0x73, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x3b, 0x64, 0x6e, 0x73, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x7f, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x03, 0x82, + 0xb5, 0x18, 0x06, 0x08, 0x03, 0x10, 0x01, 0x18, 0x06, 0x92, 0xb5, 0x18, 0x03, 0x0a, 0x01, 0x03, + 0x9a, 0xb5, 0x18, 0x00, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x5c, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, + 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, 0x73, + 0x64, 0x6b, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, + 0x64, 0x6e, 0x73, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x64, 0x6e, 0x73, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, }) var ( diff --git a/libs/public/go/sdk/gen/platform/dns/v2alpha/go.mod b/libs/public/go/sdk/gen/platform/dns/v2alpha/go.mod new file mode 100644 index 00000000..f8f86c6d --- /dev/null +++ b/libs/public/go/sdk/gen/platform/dns/v2alpha/go.mod @@ -0,0 +1,14 @@ +// Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. +// source: platform/dns/v2alpha/dynamic_dns.proto +// sourcePath: libs/public/go/sdk/gen/dns/v2alpha +module github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/dns/v2alpha +go 1.23.4 + +require connectrpc.com/connect v1.17.0 + +require github.com/google/go-cmp v0.6.0 // indirect + +require ( + golang.org/x/net v0.29.0 // indirect + google.golang.org/protobuf v1.34.2 // indirect +) diff --git a/libs/public/go/sdk/gen/platform/dns/v2alpha/package.json b/libs/public/go/sdk/gen/platform/dns/v2alpha/package.json new file mode 100644 index 00000000..45c3bd4d --- /dev/null +++ b/libs/public/go/sdk/gen/platform/dns/v2alpha/package.json @@ -0,0 +1,7 @@ + +{ + "name": "sdk-dns-v2alpha", + "version": "0.0.0", + "description": "Dns SDK version v2alpha", + "license": "Apache-2.0" +} diff --git a/libs/public/go/sdk/gen/platform/dns/v2alpha/project.json b/libs/public/go/sdk/gen/platform/dns/v2alpha/project.json new file mode 100644 index 00000000..8fa55262 --- /dev/null +++ b/libs/public/go/sdk/gen/platform/dns/v2alpha/project.json @@ -0,0 +1,98 @@ + +{ + "name": "libs-public-go-sdk-dns-v2alpha", + "$schema": "../../../../../../../../node_modules/nx/schemas/project-schema.json", + "projectType": "library", + "sourceRoot": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/dns/v2alpha", + "targets": { + + "build": { + "executor": "nx:run-commands", + "options": { + "command": "go build ./...", + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/dns/v2alpha" + } + }, + "test": { + "executor": "nx:run-commands", + "options": { + "command": "go test -v ./... -cover -race", + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/dns/v2alpha" + } + }, + "clean": { + "executor": "nx:run-commands", + "options": { + "command": "go clean", + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/dns/v2alpha" + } + }, + "lint": { + "executor": "nx:run-commands", + "options": { + "commands": ["golangci-lint run ./... --timeout=5m"], + "parallel": false, + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/dns/v2alpha" + } + }, + "format": { + "executor": "nx:run-commands", + "options": { + "commands": ["go mod tidy", "gofumpt -l -w .", "golangci-lint run ./... --timeout=5m --fix"], + "parallel": false, + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/dns/v2alpha" + } + }, + "distribute": { + "executor": "nx:run-commands", + "dependsOn": ["build"], + "outputs": ["{workspaceRoot}/dist/libs/public/go/sdk/gen/dns/v2alpha"], + "options": { + "commands": [ + "mkdir -p dist/libs/public/go/sdk/gen/dns/v2alpha", + "cp LICENSE.md dist/libs/public/go/sdk/gen/dns/v2alpha/LICENSE.md", + "cp libs/public/go/sdk/gen/dns/v2alpha/README.md dist/libs/public/go/sdk/gen/dns/v2alpha/README.md", + "goreleaser release --config libs/public/go/sdk/gen/dns/v2alpha/.goreleaser.yaml --clean" + ], + "parallel": false + } + }, + "snapshot": { + "executor": "nx:run-commands", + "dependsOn": ["build"], + "outputs": ["{workspaceRoot}/dist/libs/public/go/sdk/gen/dns/v2alpha"], + "options": { + "commands": [ + "mkdir -p dist/libs/public/go/sdk/gen/dns/v2alpha", + "cp LICENSE.md dist/libs/public/go/sdk/gen/dns/v2alpha/LICENSE.md", + "cp libs/public/go/sdk/gen/dns/v2alpha/README.md dist/libs/public/go/sdk/gen/dns/v2alpha/README.md", + "goreleaser release --config libs/public/go/sdk/gen/dns/v2alpha/.goreleaser.yaml --snapshot --clean --skip=sign,sbom" + ], + "parallel": false + } + }, + "nightly": { + "executor": "nx:run-commands", + "dependsOn": ["build"], + "outputs": ["{workspaceRoot}/dist/libs/public/go/sdk/gen/dns/v2alpha"], + "options": { + "commands": [ + "mkdir -p dist/libs/public/go/sdk/gen/dns/v2alpha", + "cp LICENSE.md dist/libs/public/go/sdk/gen/dns/v2alpha/LICENSE.md", + "cp libs/public/go/sdk/gen/dns/v2alpha/README.md dist/libs/public/go/sdk/gen/dns/v2alpha/README.md", + "goreleaser release --config libs/public/go/sdk/gen/dns/v2alpha/.goreleaser.yaml --nightly --clean" + ], + "parallel": false + } + } + }, + "tags": [ + "type:lib", + "cycle:public", + "language:golang", + "type:sdk", + "system:dns", + "version:v2alpha", + "exposure:external" + ] +} diff --git a/libs/public/go/sdk/gen/ecosystem/v2alpha/.goreleaser.yaml b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/.goreleaser.yaml similarity index 100% rename from libs/public/go/sdk/gen/ecosystem/v2alpha/.goreleaser.yaml rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/.goreleaser.yaml diff --git a/libs/public/go/sdk/gen/ecosystem/v2alpha/README.md b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/README.md similarity index 100% rename from libs/public/go/sdk/gen/ecosystem/v2alpha/README.md rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/README.md diff --git a/libs/public/go/model/gen/platform/ecosystem/v2alpha/ecosystem.pb.entity.go b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystem.pb.entity.go similarity index 84% rename from libs/public/go/model/gen/platform/ecosystem/v2alpha/ecosystem.pb.entity.go rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystem.pb.entity.go index cfc9b640..0f414fb1 100644 --- a/libs/public/go/model/gen/platform/ecosystem/v2alpha/ecosystem.pb.entity.go +++ b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystem.pb.entity.go @@ -1,14 +1,13 @@ // Code generated by protoc-gen-platform go/entity-unspecified. DO NOT EDIT. // source: platform/ecosystem/v2alpha/ecosystem.proto -package ecosystemv2alphapbmodel +package ecosystemv2alphapb import ( "context" "encoding/json" "errors" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "google.golang.org/protobuf/types/known/anypb" @@ -17,20 +16,20 @@ import ( ) type EcosystemSpecEntity struct { - Ecosystem *ecosystemv2alphapb.Ecosystem + Ecosystem *Ecosystem } func NewEcosystemSpecEntity(specContext *specv2pb.SpecContext) (*EcosystemSpecEntity, error) { return &EcosystemSpecEntity{ - Ecosystem: &ecosystemv2alphapb.Ecosystem{}, + Ecosystem: &Ecosystem{}, }, nil } func NewEcosystemSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*EcosystemSpecEntity, error) { - data := &ecosystemv2alphapb.Ecosystem{} - err := sdkv2alphalib.GetDataFromSpec[*ecosystemv2alphapb.Ecosystem](ctx, s, data) + data := &Ecosystem{} + err := sdkv2alphalib.GetDataFromSpec[*Ecosystem](ctx, s, data) if err != nil { return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(err) } @@ -40,7 +39,7 @@ func NewEcosystemSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*Eco }, nil } -func (entity *EcosystemSpecEntity) ToProto() (*ecosystemv2alphapb.Ecosystem, error) { +func (entity *EcosystemSpecEntity) ToProto() (*Ecosystem, error) { return entity.Ecosystem, nil @@ -130,8 +129,10 @@ func (entity *EcosystemSpecEntity) internal() { var _ timestamppb.Timestamp //updated_at - var _ *ecosystemv2alphapb.EcosystemType + // Enum + var _ *EcosystemType - var _ *ecosystemv2alphapb.EcosystemStatus + // Enum + var _ *EcosystemStatus } diff --git a/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha/ecosystem.pb.go b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystem.pb.go similarity index 99% rename from libs/public/go/protobuf/gen/platform/ecosystem/v2alpha/ecosystem.pb.go rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystem.pb.go index febcfdbd..aa53d413 100644 --- a/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha/ecosystem.pb.go +++ b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystem.pb.go @@ -1423,19 +1423,18 @@ var file_platform_ecosystem_v2alpha_ecosystem_proto_rawDesc = string([]byte{ 0x74, 0x65, 0xaa, 0xb6, 0x18, 0x02, 0x08, 0x04, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x2a, 0x19, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x7b, 0x73, 0x6c, 0x75, 0x67, 0x7d, 0x1a, 0x08, 0xd2, 0xb5, 0x18, 0x04, 0x08, - 0x03, 0x10, 0x01, 0x42, 0xb4, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x03, 0x82, 0xb5, 0x18, 0x06, + 0x03, 0x10, 0x01, 0x42, 0xaf, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x03, 0x82, 0xb5, 0x18, 0x06, 0x08, 0x03, 0x10, 0x01, 0x18, 0x02, 0x8a, 0xb5, 0x18, 0x20, 0x0a, 0x09, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x0a, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x03, 0x6a, 0x61, 0x6e, 0x28, 0x02, 0x38, 0x01, 0x92, 0xb5, 0x18, 0x03, 0x0a, 0x01, - 0x03, 0x9a, 0xb5, 0x18, 0x00, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x6d, 0x67, 0x69, 0x74, + 0x03, 0x9a, 0xb5, 0x18, 0x00, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x68, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x73, 0x64, 0x6b, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x3b, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, }) var ( diff --git a/libs/public/go/sdk/v2alpha/gen/platform/ecosystem/v2alpha/ecosystem.pb.multiplexer.go b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystem.pb.multiplexer.go similarity index 82% rename from libs/public/go/sdk/v2alpha/gen/platform/ecosystem/v2alpha/ecosystem.pb.multiplexer.go rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystem.pb.multiplexer.go index 00bc5611..a1762914 100644 --- a/libs/public/go/sdk/v2alpha/gen/platform/ecosystem/v2alpha/ecosystem.pb.multiplexer.go +++ b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystem.pb.multiplexer.go @@ -1,20 +1,15 @@ // Code generated by protoc-gen-platform go/multiplexer. DO NOT EDIT. // source: platform/ecosystem/v2alpha/ecosystem.proto -package ecosystemv2alphapbsrv +package ecosystemv2alphapb import ( - "context" - "errors" - "connectrpc.com/connect" - + "errors" "github.com/openecosystems/ecosystem/libs/partner/go/nats" "github.com/openecosystems/ecosystem/libs/partner/go/opentelemetry" "github.com/openecosystems/ecosystem/libs/partner/go/protovalidate" "github.com/openecosystems/ecosystem/libs/partner/go/zap" - "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/ecosystem/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "go.opentelemetry.io/otel/trace" "google.golang.org/protobuf/proto" @@ -23,12 +18,15 @@ import ( _ "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" _ "google.golang.org/protobuf/types/known/timestamppb" + + "context" ) // EcosystemServiceHandler is the domain level implementation of the server API for mutations of the EcosystemService service type EcosystemServiceHandler struct{} -func (s *EcosystemServiceHandler) CreateEcosystem(ctx context.Context, req *connect.Request[ecosystemv2alphapb.CreateEcosystemRequest]) (*connect.Response[ecosystemv2alphapb.CreateEcosystemResponse], error) { +func (s *EcosystemServiceHandler) CreateEcosystem(ctx context.Context, req *connect.Request[CreateEcosystemRequest]) (*connect.Response[CreateEcosystemResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -51,7 +49,7 @@ func (s *EcosystemServiceHandler) CreateEcosystem(ctx context.Context, req *conn // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&ecosystemv2alphapb.CreateEcosystemResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&CreateEcosystemResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -60,12 +58,12 @@ func (s *EcosystemServiceHandler) CreateEcosystem(ctx context.Context, req *conn // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := ecosystemv2alphapbmodel.EcosystemSpecEntity{} + entity := EcosystemSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: ecosystemv2alphapbmodel.CommandDataEcosystemTopic, + CommandTopic: CommandDataEcosystemTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -73,7 +71,7 @@ func (s *EcosystemServiceHandler) CreateEcosystem(ctx context.Context, req *conn return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd ecosystemv2alphapb.CreateEcosystemResponse + var dd CreateEcosystemResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -83,9 +81,11 @@ func (s *EcosystemServiceHandler) CreateEcosystem(ctx context.Context, req *conn handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *EcosystemServiceHandler) UpdateEcosystem(ctx context.Context, req *connect.Request[ecosystemv2alphapb.UpdateEcosystemRequest]) (*connect.Response[ecosystemv2alphapb.UpdateEcosystemResponse], error) { +func (s *EcosystemServiceHandler) UpdateEcosystem(ctx context.Context, req *connect.Request[UpdateEcosystemRequest]) (*connect.Response[UpdateEcosystemResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -108,7 +108,7 @@ func (s *EcosystemServiceHandler) UpdateEcosystem(ctx context.Context, req *conn // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&ecosystemv2alphapb.UpdateEcosystemResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&UpdateEcosystemResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -117,12 +117,12 @@ func (s *EcosystemServiceHandler) UpdateEcosystem(ctx context.Context, req *conn // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := ecosystemv2alphapbmodel.EcosystemSpecEntity{} + entity := EcosystemSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: ecosystemv2alphapbmodel.CommandDataEcosystemTopic, + CommandTopic: CommandDataEcosystemTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -130,7 +130,7 @@ func (s *EcosystemServiceHandler) UpdateEcosystem(ctx context.Context, req *conn return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd ecosystemv2alphapb.UpdateEcosystemResponse + var dd UpdateEcosystemResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -140,9 +140,11 @@ func (s *EcosystemServiceHandler) UpdateEcosystem(ctx context.Context, req *conn handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *EcosystemServiceHandler) DeleteEcosystem(ctx context.Context, req *connect.Request[ecosystemv2alphapb.DeleteEcosystemRequest]) (*connect.Response[ecosystemv2alphapb.DeleteEcosystemResponse], error) { +func (s *EcosystemServiceHandler) DeleteEcosystem(ctx context.Context, req *connect.Request[DeleteEcosystemRequest]) (*connect.Response[DeleteEcosystemResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -165,7 +167,7 @@ func (s *EcosystemServiceHandler) DeleteEcosystem(ctx context.Context, req *conn // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&ecosystemv2alphapb.DeleteEcosystemResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&DeleteEcosystemResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -174,12 +176,12 @@ func (s *EcosystemServiceHandler) DeleteEcosystem(ctx context.Context, req *conn // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := ecosystemv2alphapbmodel.EcosystemSpecEntity{} + entity := EcosystemSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: ecosystemv2alphapbmodel.CommandDataEcosystemTopic, + CommandTopic: CommandDataEcosystemTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -187,7 +189,7 @@ func (s *EcosystemServiceHandler) DeleteEcosystem(ctx context.Context, req *conn return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd ecosystemv2alphapb.DeleteEcosystemResponse + var dd DeleteEcosystemResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -197,9 +199,11 @@ func (s *EcosystemServiceHandler) DeleteEcosystem(ctx context.Context, req *conn handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *EcosystemServiceHandler) ListEcosystems(ctx context.Context, req *connect.Request[ecosystemv2alphapb.ListEcosystemsRequest]) (*connect.Response[ecosystemv2alphapb.ListEcosystemsResponse], error) { +func (s *EcosystemServiceHandler) ListEcosystems(ctx context.Context, req *connect.Request[ListEcosystemsRequest]) (*connect.Response[ListEcosystemsResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -222,7 +226,7 @@ func (s *EcosystemServiceHandler) ListEcosystems(ctx context.Context, req *conne // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&ecosystemv2alphapb.ListEcosystemsResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&ListEcosystemsResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -231,12 +235,12 @@ func (s *EcosystemServiceHandler) ListEcosystems(ctx context.Context, req *conne // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := ecosystemv2alphapbmodel.EcosystemSpecEntity{} + entity := EcosystemSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexEventSync(handlerCtx, spec, &natsnodev1.SpecEvent{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), EventName: "", - EventTopic: ecosystemv2alphapbmodel.EventDataEcosystemTopic, + EventTopic: EventDataEcosystemTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -244,7 +248,7 @@ func (s *EcosystemServiceHandler) ListEcosystems(ctx context.Context, req *conne return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd ecosystemv2alphapb.ListEcosystemsResponse + var dd ListEcosystemsResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -254,9 +258,11 @@ func (s *EcosystemServiceHandler) ListEcosystems(ctx context.Context, req *conne handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *EcosystemServiceHandler) GetEcosystem(ctx context.Context, req *connect.Request[ecosystemv2alphapb.GetEcosystemRequest]) (*connect.Response[ecosystemv2alphapb.GetEcosystemResponse], error) { +func (s *EcosystemServiceHandler) GetEcosystem(ctx context.Context, req *connect.Request[GetEcosystemRequest]) (*connect.Response[GetEcosystemResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -279,7 +285,7 @@ func (s *EcosystemServiceHandler) GetEcosystem(ctx context.Context, req *connect // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&ecosystemv2alphapb.GetEcosystemResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&GetEcosystemResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -288,12 +294,12 @@ func (s *EcosystemServiceHandler) GetEcosystem(ctx context.Context, req *connect // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := ecosystemv2alphapbmodel.EcosystemSpecEntity{} + entity := EcosystemSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexEventSync(handlerCtx, spec, &natsnodev1.SpecEvent{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), EventName: "", - EventTopic: ecosystemv2alphapbmodel.EventDataEcosystemTopic, + EventTopic: EventDataEcosystemTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -301,7 +307,7 @@ func (s *EcosystemServiceHandler) GetEcosystem(ctx context.Context, req *connect return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd ecosystemv2alphapb.GetEcosystemResponse + var dd GetEcosystemResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -311,4 +317,5 @@ func (s *EcosystemServiceHandler) GetEcosystem(ctx context.Context, req *connect handlerSpan.End() return connect.NewResponse(&dd), nil + } diff --git a/libs/public/go/model/gen/platform/ecosystem/v2alpha/ecosystem.pb.spec.go b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystem.pb.spec.go similarity index 99% rename from libs/public/go/model/gen/platform/ecosystem/v2alpha/ecosystem.pb.spec.go rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystem.pb.spec.go index 8d15df7f..86e03d86 100644 --- a/libs/public/go/model/gen/platform/ecosystem/v2alpha/ecosystem.pb.spec.go +++ b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystem.pb.spec.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/spec. DO NOT EDIT. // source: platform/ecosystem/v2alpha/ecosystem.proto -package ecosystemv2alphapbmodel +package ecosystemv2alphapb type EcosystemCommand int type EcosystemEvent int diff --git a/libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/create_ecosystem.pb.go b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/create_ecosystem.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/create_ecosystem.pb.go rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/create_ecosystem.cmd.go index 407a160c..b3e35e3e 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/create_ecosystem.pb.go +++ b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/create_ecosystem.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/ecosystem/v2alpha/ecosystem.proto -package ecosystemv2alphapbcmd +package ecosystemv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/ecosystem/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha" ) var ( @@ -32,7 +31,7 @@ var CreateEcosystemV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling createEcosystem ecosystem") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var CreateEcosystemV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *ecosystemv2alphapbsdk.NewEcosystemServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *ecosystemv2alphapbconnect.NewEcosystemServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.CreateEcosystem(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/delete_ecosystem.pb.go b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/delete_ecosystem.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/delete_ecosystem.pb.go rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/delete_ecosystem.cmd.go index 023aab64..4a3d02af 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/delete_ecosystem.pb.go +++ b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/delete_ecosystem.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/ecosystem/v2alpha/ecosystem.proto -package ecosystemv2alphapbcmd +package ecosystemv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/ecosystem/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha" ) var ( @@ -32,7 +31,7 @@ var DeleteEcosystemV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling deleteEcosystem ecosystem") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var DeleteEcosystemV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *ecosystemv2alphapbsdk.NewEcosystemServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *ecosystemv2alphapbconnect.NewEcosystemServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.DeleteEcosystem(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/ecosystem.cmd.go b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/ecosystem.cmd.go similarity index 94% rename from libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/ecosystem.cmd.go rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/ecosystem.cmd.go index 37b99166..dd50f872 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/ecosystem.cmd.go +++ b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/ecosystem.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-system. DO NOT EDIT. // source: platform/ecosystem/v2alpha/ecosystem.proto -package ecosystemv2alphapbcmd +package ecosystemv2alphapbcli import ( "github.com/spf13/cobra" diff --git a/libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/ecosystem.pb.cmd.go b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/ecosystem.cmds.go similarity index 96% rename from libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/ecosystem.pb.cmd.go rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/ecosystem.cmds.go index 29c41b02..bbefa62e 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/ecosystem.pb.cmd.go +++ b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/ecosystem.cmds.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-service. DO NOT EDIT. // source: platform/ecosystem/v2alpha/ecosystem.proto -package ecosystemv2alphapbcmd +package ecosystemv2alphapbcli import ( "github.com/spf13/cobra" diff --git a/libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/get_ecosystem.pb.go b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/get_ecosystem.cmd.go similarity index 78% rename from libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/get_ecosystem.pb.go rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/get_ecosystem.cmd.go index a093cc7c..383270f7 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/get_ecosystem.pb.go +++ b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/get_ecosystem.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/ecosystem/v2alpha/ecosystem.proto -package ecosystemv2alphapbcmd +package ecosystemv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/ecosystem/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha" ) var ( @@ -32,7 +31,7 @@ var GetEcosystemV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling getEcosystem ecosystem") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var GetEcosystemV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *ecosystemv2alphapbsdk.NewEcosystemServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *ecosystemv2alphapbconnect.NewEcosystemServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.GetEcosystem(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/list_ecosystems.pb.go b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/list_ecosystems.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/list_ecosystems.pb.go rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/list_ecosystems.cmd.go index d60cd939..3340b096 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/list_ecosystems.pb.go +++ b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/list_ecosystems.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/ecosystem/v2alpha/ecosystem.proto -package ecosystemv2alphapbcmd +package ecosystemv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/ecosystem/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha" ) var ( @@ -32,7 +31,7 @@ var ListEcosystemsV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling listEcosystems ecosystem") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var ListEcosystemsV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *ecosystemv2alphapbsdk.NewEcosystemServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *ecosystemv2alphapbconnect.NewEcosystemServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.ListEcosystems(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/update_ecosystem.pb.go b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/update_ecosystem.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/update_ecosystem.pb.go rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/update_ecosystem.cmd.go index 229ef508..64671b0d 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/ecosystem/v2alpha/update_ecosystem.pb.go +++ b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbcli/update_ecosystem.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/ecosystem/v2alpha/ecosystem.proto -package ecosystemv2alphapbcmd +package ecosystemv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/ecosystem/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha" ) var ( @@ -32,7 +31,7 @@ var UpdateEcosystemV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling updateEcosystem ecosystem") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var UpdateEcosystemV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *ecosystemv2alphapbsdk.NewEcosystemServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *ecosystemv2alphapbconnect.NewEcosystemServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.UpdateEcosystem(context.Background(), request) if err != nil { diff --git a/libs/public/go/sdk/gen/ecosystem/v2alpha/ecosystem.pb.client.go b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbconnect/ecosystem.client.go similarity index 57% rename from libs/public/go/sdk/gen/ecosystem/v2alpha/ecosystem.pb.client.go rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbconnect/ecosystem.client.go index 0a75e7cf..2aae72db 100644 --- a/libs/public/go/sdk/gen/ecosystem/v2alpha/ecosystem.pb.client.go +++ b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbconnect/ecosystem.client.go @@ -1,19 +1,22 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/ecosystem/v2alpha/ecosystem.proto -package ecosystemv2alphapbsdk +package ecosystemv2alphapbconnect import ( + //"net/http" + "connectrpc.com/connect" nebulav1 "github.com/openecosystems/ecosystem/libs/partner/go/nebula" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" - ecosystemv2alphapbconnect "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbconnect" ) -func NewEcosystemServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *ecosystemv2alphapbconnect.EcosystemServiceClient { +func NewEcosystemServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *EcosystemServiceClient { nebula := nebulav1.Binding{} httpClient := nebula.GetMeshHTTPClient(config, baseURL) - c := ecosystemv2alphapbconnect.NewEcosystemServiceClient(httpClient, baseURL, opts...) + //httpClient := http.DefaultClient + + c := NewEcosystemServiceClient(httpClient, baseURL, opts...) return &c } diff --git a/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbconnect/ecosystem.connect.go b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbconnect/ecosystem.connect.go similarity index 99% rename from libs/public/go/protobuf/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbconnect/ecosystem.connect.go rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbconnect/ecosystem.connect.go index ad80e46f..67fe8bd9 100644 --- a/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbconnect/ecosystem.connect.go +++ b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/ecosystemv2alphapbconnect/ecosystem.connect.go @@ -8,7 +8,7 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v2alpha "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha" + v2alpha "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha" http "net/http" strings "strings" ) diff --git a/libs/public/go/sdk/gen/ecosystem/v2alpha/go.mod b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/go.mod similarity index 68% rename from libs/public/go/sdk/gen/ecosystem/v2alpha/go.mod rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/go.mod index 49c2d91e..a6a981db 100644 --- a/libs/public/go/sdk/gen/ecosystem/v2alpha/go.mod +++ b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/go.mod @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/ecosystem/v2alpha/ecosystem.proto -module libs/public/go/sdk/gen/ecosystem/v2alpha - +// sourcePath: libs/public/go/sdk/gen/ecosystem/v2alpha +module github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha go 1.23.4 require connectrpc.com/connect v1.17.0 diff --git a/libs/public/go/sdk/gen/ecosystem/v2alpha/package.json b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/package.json similarity index 100% rename from libs/public/go/sdk/gen/ecosystem/v2alpha/package.json rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/package.json diff --git a/libs/public/go/sdk/gen/ecosystem/v2alpha/project.json b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/project.json similarity index 96% rename from libs/public/go/sdk/gen/ecosystem/v2alpha/project.json rename to libs/public/go/sdk/gen/platform/ecosystem/v2alpha/project.json index 9a4f727b..7488f1a3 100644 --- a/libs/public/go/sdk/gen/ecosystem/v2alpha/project.json +++ b/libs/public/go/sdk/gen/platform/ecosystem/v2alpha/project.json @@ -1,12 +1,9 @@ { "name": "libs-public-go-sdk-ecosystem-v2alpha", - "$schema": "../../../../../../../node_modules/nx/schemas/project-schema.json", + "$schema": "../../../../../../../../node_modules/nx/schemas/project-schema.json", "projectType": "library", "sourceRoot": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/ecosystem/v2alpha", - "implicitDependencies": [ - "proto" - ], "targets": { "build": { diff --git a/libs/public/go/sdk/gen/iam/v2alpha/.goreleaser.yaml b/libs/public/go/sdk/gen/platform/iam/v2alpha/.goreleaser.yaml similarity index 100% rename from libs/public/go/sdk/gen/iam/v2alpha/.goreleaser.yaml rename to libs/public/go/sdk/gen/platform/iam/v2alpha/.goreleaser.yaml diff --git a/libs/public/go/sdk/gen/iam/v2alpha/README.md b/libs/public/go/sdk/gen/platform/iam/v2alpha/README.md similarity index 100% rename from libs/public/go/sdk/gen/iam/v2alpha/README.md rename to libs/public/go/sdk/gen/platform/iam/v2alpha/README.md diff --git a/libs/public/go/model/gen/platform/iam/v2alpha/account.pb.entity.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/account.pb.entity.go similarity index 88% rename from libs/public/go/model/gen/platform/iam/v2alpha/account.pb.entity.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/account.pb.entity.go index 46fb2fc1..497d1c76 100644 --- a/libs/public/go/model/gen/platform/iam/v2alpha/account.pb.entity.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/account.pb.entity.go @@ -1,14 +1,13 @@ // Code generated by protoc-gen-platform go/entity-unspecified. DO NOT EDIT. // source: platform/iam/v2alpha/account.proto -package iamv2alphapbmodel +package iamv2alphapb import ( "context" "encoding/json" "errors" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "google.golang.org/protobuf/types/known/anypb" @@ -18,20 +17,20 @@ import ( ) type AccountSpecEntity struct { - Account *iamv2alphapb.Account + Account *Account } func NewAccountSpecEntity(specContext *specv2pb.SpecContext) (*AccountSpecEntity, error) { return &AccountSpecEntity{ - Account: &iamv2alphapb.Account{}, + Account: &Account{}, }, nil } func NewAccountSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*AccountSpecEntity, error) { - data := &iamv2alphapb.Account{} - err := sdkv2alphalib.GetDataFromSpec[*iamv2alphapb.Account](ctx, s, data) + data := &Account{} + err := sdkv2alphalib.GetDataFromSpec[*Account](ctx, s, data) if err != nil { return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(err) } @@ -41,7 +40,7 @@ func NewAccountSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*Accou }, nil } -func (entity *AccountSpecEntity) ToProto() (*iamv2alphapb.Account, error) { +func (entity *AccountSpecEntity) ToProto() (*Account, error) { return entity.Account, nil @@ -131,5 +130,6 @@ func (entity *AccountSpecEntity) internal() { var _ timestamppb.Timestamp //updated_at + // Struct var _ *typev2pb.Credential } diff --git a/libs/public/go/protobuf/gen/platform/iam/v2alpha/account.pb.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/account.pb.go similarity index 98% rename from libs/public/go/protobuf/gen/platform/iam/v2alpha/account.pb.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/account.pb.go index fa99bed8..e02eaf58 100644 --- a/libs/public/go/protobuf/gen/platform/iam/v2alpha/account.pb.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/account.pb.go @@ -843,18 +843,17 @@ var file_platform_iam_v2alpha_account_proto_rawDesc = string([]byte{ 0x73, 0x65, 0x22, 0x2e, 0xa2, 0xb6, 0x18, 0x06, 0x2a, 0x04, 0x73, 0x69, 0x67, 0x6e, 0xaa, 0xb6, 0x18, 0x02, 0x08, 0x03, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x3a, 0x01, 0x2a, 0x22, 0x13, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x2f, 0x73, 0x69, - 0x67, 0x6e, 0x42, 0xa6, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x01, 0x82, 0xb5, 0x18, 0x06, 0x08, + 0x67, 0x6e, 0x42, 0xa1, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x01, 0x82, 0xb5, 0x18, 0x06, 0x08, 0x03, 0x10, 0x01, 0x18, 0x02, 0x8a, 0xb5, 0x18, 0x1c, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x03, 0x6a, 0x61, 0x6e, 0x28, 0x02, 0x38, 0x01, 0x92, 0xb5, 0x18, 0x03, 0x0a, 0x01, 0x03, 0x9a, 0xb5, 0x18, 0x02, - 0x08, 0x01, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x61, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x08, 0x01, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x5c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6c, 0x69, - 0x62, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, - 0x72, 0x6d, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x69, - 0x61, 0x6d, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x62, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x64, 0x6b, + 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x69, 0x61, + 0x6d, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x69, 0x61, 0x6d, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, }) var ( diff --git a/libs/public/go/sdk/v2alpha/gen/platform/iam/v2alpha/account.pb.multiplexer.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/account.pb.multiplexer.go similarity index 84% rename from libs/public/go/sdk/v2alpha/gen/platform/iam/v2alpha/account.pb.multiplexer.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/account.pb.multiplexer.go index 61353c7d..acb246ef 100644 --- a/libs/public/go/sdk/v2alpha/gen/platform/iam/v2alpha/account.pb.multiplexer.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/account.pb.multiplexer.go @@ -1,20 +1,15 @@ // Code generated by protoc-gen-platform go/multiplexer. DO NOT EDIT. // source: platform/iam/v2alpha/account.proto -package iamv2alphapbsrv +package iamv2alphapb import ( - "context" - "errors" - "connectrpc.com/connect" - + "errors" "github.com/openecosystems/ecosystem/libs/partner/go/nats" "github.com/openecosystems/ecosystem/libs/partner/go/opentelemetry" "github.com/openecosystems/ecosystem/libs/partner/go/protovalidate" "github.com/openecosystems/ecosystem/libs/partner/go/zap" - "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/iam/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "go.opentelemetry.io/otel/trace" "google.golang.org/protobuf/proto" @@ -24,12 +19,15 @@ import ( _ "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" _ "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/type/v2" _ "google.golang.org/protobuf/types/known/timestamppb" + + "context" ) // AccountServiceHandler is the domain level implementation of the server API for mutations of the AccountService service type AccountServiceHandler struct{} -func (s *AccountServiceHandler) CreateAccount(ctx context.Context, req *connect.Request[iamv2alphapb.CreateAccountRequest]) (*connect.Response[iamv2alphapb.CreateAccountResponse], error) { +func (s *AccountServiceHandler) CreateAccount(ctx context.Context, req *connect.Request[CreateAccountRequest]) (*connect.Response[CreateAccountResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -52,7 +50,7 @@ func (s *AccountServiceHandler) CreateAccount(ctx context.Context, req *connect. // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&iamv2alphapb.CreateAccountResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&CreateAccountResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -61,12 +59,12 @@ func (s *AccountServiceHandler) CreateAccount(ctx context.Context, req *connect. // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := iamv2alphapbmodel.AccountSpecEntity{} + entity := AccountSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: iamv2alphapbmodel.CommandDataAccountTopic, + CommandTopic: CommandDataAccountTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -74,7 +72,7 @@ func (s *AccountServiceHandler) CreateAccount(ctx context.Context, req *connect. return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd iamv2alphapb.CreateAccountResponse + var dd CreateAccountResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -84,9 +82,11 @@ func (s *AccountServiceHandler) CreateAccount(ctx context.Context, req *connect. handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *AccountServiceHandler) VerifyAccount(ctx context.Context, req *connect.Request[iamv2alphapb.VerifyAccountRequest]) (*connect.Response[iamv2alphapb.VerifyAccountResponse], error) { +func (s *AccountServiceHandler) VerifyAccount(ctx context.Context, req *connect.Request[VerifyAccountRequest]) (*connect.Response[VerifyAccountResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -109,7 +109,7 @@ func (s *AccountServiceHandler) VerifyAccount(ctx context.Context, req *connect. // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&iamv2alphapb.VerifyAccountResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&VerifyAccountResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -118,12 +118,12 @@ func (s *AccountServiceHandler) VerifyAccount(ctx context.Context, req *connect. // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := iamv2alphapbmodel.AccountSpecEntity{} + entity := AccountSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: iamv2alphapbmodel.CommandDataAccountTopic, + CommandTopic: CommandDataAccountTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -131,7 +131,7 @@ func (s *AccountServiceHandler) VerifyAccount(ctx context.Context, req *connect. return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd iamv2alphapb.VerifyAccountResponse + var dd VerifyAccountResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -141,9 +141,11 @@ func (s *AccountServiceHandler) VerifyAccount(ctx context.Context, req *connect. handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *AccountServiceHandler) SignAccount(ctx context.Context, req *connect.Request[iamv2alphapb.SignAccountRequest]) (*connect.Response[iamv2alphapb.SignAccountResponse], error) { +func (s *AccountServiceHandler) SignAccount(ctx context.Context, req *connect.Request[SignAccountRequest]) (*connect.Response[SignAccountResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -166,7 +168,7 @@ func (s *AccountServiceHandler) SignAccount(ctx context.Context, req *connect.Re // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&iamv2alphapb.SignAccountResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&SignAccountResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -175,12 +177,12 @@ func (s *AccountServiceHandler) SignAccount(ctx context.Context, req *connect.Re // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := iamv2alphapbmodel.AccountSpecEntity{} + entity := AccountSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: iamv2alphapbmodel.CommandDataAccountTopic, + CommandTopic: CommandDataAccountTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -188,7 +190,7 @@ func (s *AccountServiceHandler) SignAccount(ctx context.Context, req *connect.Re return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd iamv2alphapb.SignAccountResponse + var dd SignAccountResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -198,4 +200,5 @@ func (s *AccountServiceHandler) SignAccount(ctx context.Context, req *connect.Re handlerSpan.End() return connect.NewResponse(&dd), nil + } diff --git a/libs/public/go/model/gen/platform/iam/v2alpha/account.pb.spec.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/account.pb.spec.go similarity index 99% rename from libs/public/go/model/gen/platform/iam/v2alpha/account.pb.spec.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/account.pb.spec.go index 3dce73e3..7d902b84 100644 --- a/libs/public/go/model/gen/platform/iam/v2alpha/account.pb.spec.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/account.pb.spec.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/spec. DO NOT EDIT. // source: platform/iam/v2alpha/account.proto -package iamv2alphapbmodel +package iamv2alphapb type AccountCommand int type AccountEvent int diff --git a/libs/public/go/model/gen/platform/iam/v2alpha/account_authority.pb.entity.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/account_authority.pb.entity.go similarity index 87% rename from libs/public/go/model/gen/platform/iam/v2alpha/account_authority.pb.entity.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/account_authority.pb.entity.go index 7edcad9f..bd52b1a1 100644 --- a/libs/public/go/model/gen/platform/iam/v2alpha/account_authority.pb.entity.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/account_authority.pb.entity.go @@ -1,14 +1,13 @@ // Code generated by protoc-gen-platform go/entity-unspecified. DO NOT EDIT. // source: platform/iam/v2alpha/account_authority.proto -package iamv2alphapbmodel +package iamv2alphapb import ( "context" "encoding/json" "errors" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "google.golang.org/protobuf/types/known/anypb" @@ -18,20 +17,20 @@ import ( ) type AccountAuthoritySpecEntity struct { - AccountAuthority *iamv2alphapb.AccountAuthority + AccountAuthority *AccountAuthority } func NewAccountAuthoritySpecEntity(specContext *specv2pb.SpecContext) (*AccountAuthoritySpecEntity, error) { return &AccountAuthoritySpecEntity{ - AccountAuthority: &iamv2alphapb.AccountAuthority{}, + AccountAuthority: &AccountAuthority{}, }, nil } func NewAccountAuthoritySpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*AccountAuthoritySpecEntity, error) { - data := &iamv2alphapb.AccountAuthority{} - err := sdkv2alphalib.GetDataFromSpec[*iamv2alphapb.AccountAuthority](ctx, s, data) + data := &AccountAuthority{} + err := sdkv2alphalib.GetDataFromSpec[*AccountAuthority](ctx, s, data) if err != nil { return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(err) } @@ -41,7 +40,7 @@ func NewAccountAuthoritySpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec }, nil } -func (entity *AccountAuthoritySpecEntity) ToProto() (*iamv2alphapb.AccountAuthority, error) { +func (entity *AccountAuthoritySpecEntity) ToProto() (*AccountAuthority, error) { return entity.AccountAuthority, nil @@ -131,5 +130,6 @@ func (entity *AccountAuthoritySpecEntity) internal() { var _ timestamppb.Timestamp //updated_at + // Struct var _ *typev2pb.Credential } diff --git a/libs/public/go/protobuf/gen/platform/iam/v2alpha/account_authority.pb.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/account_authority.pb.go similarity index 98% rename from libs/public/go/protobuf/gen/platform/iam/v2alpha/account_authority.pb.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/account_authority.pb.go index 5d2eab2e..188f1e0c 100644 --- a/libs/public/go/protobuf/gen/platform/iam/v2alpha/account_authority.pb.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/account_authority.pb.go @@ -567,19 +567,19 @@ var file_platform_iam_v2alpha_account_authority_proto_rawDesc = string([]byte{ 0x6e, 0x73, 0x65, 0x22, 0x33, 0xa2, 0xb6, 0x18, 0x08, 0x2a, 0x06, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0xaa, 0xb6, 0x18, 0x02, 0x08, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1b, 0x3a, 0x01, 0x2a, 0x22, 0x16, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x61, - 0x61, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0xbb, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, + 0x61, 0x2f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0xb6, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x01, 0x82, 0xb5, 0x18, 0x06, 0x08, 0x03, 0x10, 0x01, 0x18, 0x06, 0x8a, 0xb5, 0x18, 0x31, 0x0a, 0x11, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x13, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x03, 0x6a, 0x61, 0x6e, 0x28, 0x02, 0x38, 0x01, 0x92, 0xb5, 0x18, 0x03, 0x0a, 0x01, 0x03, 0x9a, 0xb5, 0x18, 0x02, 0x08, 0x01, 0xa2, 0xb5, 0x18, - 0x02, 0x08, 0x01, 0x5a, 0x61, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x02, 0x08, 0x01, 0x5a, 0x5c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x70, 0x75, - 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x69, 0x61, - 0x6d, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x69, 0x61, 0x6d, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x67, 0x65, 0x6e, 0x2f, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x69, 0x61, 0x6d, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, + 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, }) var ( diff --git a/libs/public/go/sdk/v2alpha/gen/platform/iam/v2alpha/account_authority.pb.multiplexer.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/account_authority.pb.multiplexer.go similarity index 82% rename from libs/public/go/sdk/v2alpha/gen/platform/iam/v2alpha/account_authority.pb.multiplexer.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/account_authority.pb.multiplexer.go index e3318cf9..92a0c39a 100644 --- a/libs/public/go/sdk/v2alpha/gen/platform/iam/v2alpha/account_authority.pb.multiplexer.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/account_authority.pb.multiplexer.go @@ -1,20 +1,15 @@ // Code generated by protoc-gen-platform go/multiplexer. DO NOT EDIT. // source: platform/iam/v2alpha/account_authority.proto -package iamv2alphapbsrv +package iamv2alphapb import ( - "context" - "errors" - "connectrpc.com/connect" - + "errors" "github.com/openecosystems/ecosystem/libs/partner/go/nats" "github.com/openecosystems/ecosystem/libs/partner/go/opentelemetry" "github.com/openecosystems/ecosystem/libs/partner/go/protovalidate" "github.com/openecosystems/ecosystem/libs/partner/go/zap" - "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/iam/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "go.opentelemetry.io/otel/trace" "google.golang.org/protobuf/proto" @@ -24,12 +19,15 @@ import ( _ "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" _ "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/type/v2" _ "google.golang.org/protobuf/types/known/timestamppb" + + "context" ) // AccountAuthorityServiceHandler is the domain level implementation of the server API for mutations of the AccountAuthorityService service type AccountAuthorityServiceHandler struct{} -func (s *AccountAuthorityServiceHandler) CreateAccountAuthority(ctx context.Context, req *connect.Request[iamv2alphapb.CreateAccountAuthorityRequest]) (*connect.Response[iamv2alphapb.CreateAccountAuthorityResponse], error) { +func (s *AccountAuthorityServiceHandler) CreateAccountAuthority(ctx context.Context, req *connect.Request[CreateAccountAuthorityRequest]) (*connect.Response[CreateAccountAuthorityResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -52,7 +50,7 @@ func (s *AccountAuthorityServiceHandler) CreateAccountAuthority(ctx context.Cont // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&iamv2alphapb.CreateAccountAuthorityResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&CreateAccountAuthorityResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -61,12 +59,12 @@ func (s *AccountAuthorityServiceHandler) CreateAccountAuthority(ctx context.Cont // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := iamv2alphapbmodel.AccountAuthoritySpecEntity{} + entity := AccountAuthoritySpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: iamv2alphapbmodel.CommandDataAccountAuthorityTopic, + CommandTopic: CommandDataAccountAuthorityTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -74,7 +72,7 @@ func (s *AccountAuthorityServiceHandler) CreateAccountAuthority(ctx context.Cont return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd iamv2alphapb.CreateAccountAuthorityResponse + var dd CreateAccountAuthorityResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -84,4 +82,5 @@ func (s *AccountAuthorityServiceHandler) CreateAccountAuthority(ctx context.Cont handlerSpan.End() return connect.NewResponse(&dd), nil + } diff --git a/libs/public/go/model/gen/platform/iam/v2alpha/account_authority.pb.spec.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/account_authority.pb.spec.go similarity index 99% rename from libs/public/go/model/gen/platform/iam/v2alpha/account_authority.pb.spec.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/account_authority.pb.spec.go index 644e2073..7277af20 100644 --- a/libs/public/go/model/gen/platform/iam/v2alpha/account_authority.pb.spec.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/account_authority.pb.spec.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/spec. DO NOT EDIT. // source: platform/iam/v2alpha/account_authority.proto -package iamv2alphapbmodel +package iamv2alphapb type AccountAuthorityCommand int type AccountAuthorityEvent int diff --git a/libs/public/go/sdk/gen/iam/v2alpha/go.mod b/libs/public/go/sdk/gen/platform/iam/v2alpha/go.mod similarity index 70% rename from libs/public/go/sdk/gen/iam/v2alpha/go.mod rename to libs/public/go/sdk/gen/platform/iam/v2alpha/go.mod index c114910d..187fda56 100644 --- a/libs/public/go/sdk/gen/iam/v2alpha/go.mod +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/go.mod @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/iam/v2alpha/account_authority.proto -module libs/public/go/sdk/gen/iam/v2alpha - +// sourcePath: libs/public/go/sdk/gen/iam/v2alpha +module github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha go 1.23.4 require connectrpc.com/connect v1.17.0 diff --git a/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/account.cmd.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/account.cmd.go new file mode 100644 index 00000000..e0c6ba5e --- /dev/null +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/account.cmd.go @@ -0,0 +1,25 @@ +// Code generated by protoc-gen-platform go/cli-system. DO NOT EDIT. +// source: platform/iam/v2alpha/account.proto + +package iamv2alphapbcli + +import ( + "github.com/spf13/cobra" + "os" +) + +var SystemCmd = &cobra.Command{ + Use: "iam", + Short: `iam system`, + Long: `Interact with the iam system`, + Run: func(cmd *cobra.Command, args []string) { + if err := cmd.Help(); err != nil { + os.Exit(0) + } + os.Exit(0) + }, +} + +func init() { + SystemCmd.AddCommand(AccountServiceServiceCmd) +} diff --git a/libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/account.pb.cmd.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/account.cmds.go similarity index 96% rename from libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/account.pb.cmd.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/account.cmds.go index 6bb52eaa..892aa2d5 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/account.pb.cmd.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/account.cmds.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-service. DO NOT EDIT. // source: platform/iam/v2alpha/account.proto -package iamv2alphapbcmd +package iamv2alphapbcli import ( "github.com/spf13/cobra" diff --git a/libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/iam.cmd.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/account_authority.cmd.go similarity index 95% rename from libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/iam.cmd.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/account_authority.cmd.go index ac3f7148..b4eac2a6 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/iam.cmd.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/account_authority.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-system. DO NOT EDIT. // source: platform/iam/v2alpha/account_authority.proto -package iamv2alphapbcmd +package iamv2alphapbcli import ( "github.com/spf13/cobra" diff --git a/libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/account_authority.pb.cmd.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/account_authority.cmds.go similarity index 95% rename from libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/account_authority.pb.cmd.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/account_authority.cmds.go index 8d2a67b7..de41aada 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/account_authority.pb.cmd.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/account_authority.cmds.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-service. DO NOT EDIT. // source: platform/iam/v2alpha/account_authority.proto -package iamv2alphapbcmd +package iamv2alphapbcli import ( "github.com/spf13/cobra" diff --git a/libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/create_account.pb.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/create_account.cmd.go similarity index 85% rename from libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/create_account.pb.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/create_account.cmd.go index fc537c4d..b05cc7ed 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/create_account.pb.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/create_account.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/iam/v2alpha/account.proto -package iamv2alphapbcmd +package iamv2alphapbcli import ( "connectrpc.com/connect" @@ -9,15 +9,14 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha/iamv2alphapbconnect" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "net/http" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" ) var ( @@ -34,7 +33,7 @@ Facilitates creating a PKI account and getting it signed by an Ecosystem Account Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling createAccount account") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -62,7 +61,7 @@ Facilitates creating a PKI account and getting it signed by an Ecosystem Account if settings.Platform.Insecure { url = "http://" + settings.Platform.Endpoint } - client := iamv2alphapbconnect.NewAccountServiceClient(httpClient, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := iamv2alphapbconnect.NewAccountServiceClient(httpClient, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.CreateAccount(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/create_account_authority.pb.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/create_account_authority.cmd.go similarity index 81% rename from libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/create_account_authority.pb.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/create_account_authority.cmd.go index b1704f95..6e74eb6d 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/create_account_authority.pb.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/create_account_authority.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/iam/v2alpha/account_authority.proto -package iamv2alphapbcmd +package iamv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/iam/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" ) var ( @@ -32,7 +31,7 @@ var CreateAccountAuthorityV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling createAccountAuthority accountAuthority") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var CreateAccountAuthorityV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *iamv2alphapbsdk.NewAccountAuthorityServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *iamv2alphapbconnect.NewAccountAuthorityServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.CreateAccountAuthority(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/sign_account.pb.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/sign_account.cmd.go similarity index 80% rename from libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/sign_account.pb.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/sign_account.cmd.go index e15aa948..346d2ea7 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/sign_account.pb.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/sign_account.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/iam/v2alpha/account.proto -package iamv2alphapbcmd +package iamv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/iam/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" ) var ( @@ -32,7 +31,7 @@ var SignAccountV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling signAccount account") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var SignAccountV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *iamv2alphapbsdk.NewAccountServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *iamv2alphapbconnect.NewAccountServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.SignAccount(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/verify_account.pb.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/verify_account.cmd.go similarity index 84% rename from libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/verify_account.pb.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/verify_account.cmd.go index 3743d8a0..62727301 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/iam/v2alpha/verify_account.pb.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbcli/verify_account.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/iam/v2alpha/account.proto -package iamv2alphapbcmd +package iamv2alphapbcli import ( "connectrpc.com/connect" @@ -9,15 +9,14 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha/iamv2alphapbconnect" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "net/http" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" ) var ( @@ -33,7 +32,7 @@ var VerifyAccountV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling verifyAccount account") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -61,7 +60,7 @@ var VerifyAccountV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Endpoint } - client := iamv2alphapbconnect.NewAccountServiceClient(httpClient, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := iamv2alphapbconnect.NewAccountServiceClient(httpClient, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.VerifyAccount(context.Background(), request) if err != nil { diff --git a/libs/public/go/sdk/gen/iam/v2alpha/account.pb.client.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect/account.client.go similarity index 60% rename from libs/public/go/sdk/gen/iam/v2alpha/account.pb.client.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect/account.client.go index 511f21d8..ad856d40 100644 --- a/libs/public/go/sdk/gen/iam/v2alpha/account.pb.client.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect/account.client.go @@ -1,19 +1,22 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/iam/v2alpha/account.proto -package iamv2alphapbsdk +package iamv2alphapbconnect import ( + //"net/http" + "connectrpc.com/connect" nebulav1 "github.com/openecosystems/ecosystem/libs/partner/go/nebula" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" - iamv2alphapbconnect "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha/iamv2alphapbconnect" ) -func NewAccountServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *iamv2alphapbconnect.AccountServiceClient { +func NewAccountServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *AccountServiceClient { nebula := nebulav1.Binding{} httpClient := nebula.GetMeshHTTPClient(config, baseURL) - c := iamv2alphapbconnect.NewAccountServiceClient(httpClient, baseURL, opts...) + //httpClient := http.DefaultClient + + c := NewAccountServiceClient(httpClient, baseURL, opts...) return &c } diff --git a/libs/public/go/protobuf/gen/platform/iam/v2alpha/iamv2alphapbconnect/account.connect.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect/account.connect.go similarity index 98% rename from libs/public/go/protobuf/gen/platform/iam/v2alpha/iamv2alphapbconnect/account.connect.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect/account.connect.go index d484790f..136857cd 100644 --- a/libs/public/go/protobuf/gen/platform/iam/v2alpha/iamv2alphapbconnect/account.connect.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect/account.connect.go @@ -8,7 +8,7 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v2alpha "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" + v2alpha "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" http "net/http" strings "strings" ) diff --git a/libs/public/go/sdk/gen/iam/v2alpha/account_authority.pb.client.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect/account_authority.client.go similarity index 58% rename from libs/public/go/sdk/gen/iam/v2alpha/account_authority.pb.client.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect/account_authority.client.go index 7f3b1388..5d50201e 100644 --- a/libs/public/go/sdk/gen/iam/v2alpha/account_authority.pb.client.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect/account_authority.client.go @@ -1,19 +1,22 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/iam/v2alpha/account_authority.proto -package iamv2alphapbsdk +package iamv2alphapbconnect import ( + //"net/http" + "connectrpc.com/connect" nebulav1 "github.com/openecosystems/ecosystem/libs/partner/go/nebula" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" - iamv2alphapbconnect "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha/iamv2alphapbconnect" ) -func NewAccountAuthorityServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *iamv2alphapbconnect.AccountAuthorityServiceClient { +func NewAccountAuthorityServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *AccountAuthorityServiceClient { nebula := nebulav1.Binding{} httpClient := nebula.GetMeshHTTPClient(config, baseURL) - c := iamv2alphapbconnect.NewAccountAuthorityServiceClient(httpClient, baseURL, opts...) + //httpClient := http.DefaultClient + + c := NewAccountAuthorityServiceClient(httpClient, baseURL, opts...) return &c } diff --git a/libs/public/go/protobuf/gen/platform/iam/v2alpha/iamv2alphapbconnect/account_authority.connect.go b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect/account_authority.connect.go similarity index 98% rename from libs/public/go/protobuf/gen/platform/iam/v2alpha/iamv2alphapbconnect/account_authority.connect.go rename to libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect/account_authority.connect.go index e833fde8..ad8b55fc 100644 --- a/libs/public/go/protobuf/gen/platform/iam/v2alpha/iamv2alphapbconnect/account_authority.connect.go +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/iamv2alphapbconnect/account_authority.connect.go @@ -8,7 +8,7 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v2alpha "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha" + v2alpha "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha" http "net/http" strings "strings" ) diff --git a/libs/public/go/sdk/gen/iam/v2alpha/package.json b/libs/public/go/sdk/gen/platform/iam/v2alpha/package.json similarity index 100% rename from libs/public/go/sdk/gen/iam/v2alpha/package.json rename to libs/public/go/sdk/gen/platform/iam/v2alpha/package.json diff --git a/libs/public/go/sdk/gen/iam/v2alpha/project.json b/libs/public/go/sdk/gen/platform/iam/v2alpha/project.json similarity index 96% rename from libs/public/go/sdk/gen/iam/v2alpha/project.json rename to libs/public/go/sdk/gen/platform/iam/v2alpha/project.json index c1bc8f72..91f46ed8 100644 --- a/libs/public/go/sdk/gen/iam/v2alpha/project.json +++ b/libs/public/go/sdk/gen/platform/iam/v2alpha/project.json @@ -1,12 +1,9 @@ { "name": "libs-public-go-sdk-iam-v2alpha", - "$schema": "../../../../../../../node_modules/nx/schemas/project-schema.json", + "$schema": "../../../../../../../../node_modules/nx/schemas/project-schema.json", "projectType": "library", "sourceRoot": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/iam/v2alpha", - "implicitDependencies": [ - "proto" - ], "targets": { "build": { diff --git a/libs/public/go/sdk/gen/platform/mesh/v2alpha/.goreleaser.yaml b/libs/public/go/sdk/gen/platform/mesh/v2alpha/.goreleaser.yaml new file mode 100644 index 00000000..11786103 --- /dev/null +++ b/libs/public/go/sdk/gen/platform/mesh/v2alpha/.goreleaser.yaml @@ -0,0 +1,27 @@ +# Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. +# source: platform/mesh/v2alpha/cryptographic_mesh.proto +# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json +version: 2 +project_name: libs-public-go-sdk-mesh-v2alpha + +variables: + path_to_repo_root: "../../../../../../" + path_to_project: "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/mesh/v2alpha" + +dist: ./dist/libs/public/go/sdk/gen/mesh/v2alpha + +monorepo: + tag_prefix: "libs-public-go-sdk-mesh-v2alpha/" + dir: libs/public/go/sdk/gen/mesh/v2alpha + +includes: + - from_file: + path: ./.config/goreleaser/goreleaser.sdk.yaml + - from_file: + path: ./.config/goreleaser/notarize.yaml + +nightly: + version_template: "{{ incpatch .Version }}-devel" + tag_name: "libs-public-go-sdk-mesh-v2alpha/devel" + publish_release: true + keep_single_release: true \ No newline at end of file diff --git a/libs/public/go/sdk/gen/platform/mesh/v2alpha/README.md b/libs/public/go/sdk/gen/platform/mesh/v2alpha/README.md new file mode 100644 index 00000000..d7e8f8eb --- /dev/null +++ b/libs/public/go/sdk/gen/platform/mesh/v2alpha/README.md @@ -0,0 +1,4 @@ +// Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. +// source: platform/mesh/v2alpha/cryptographic_mesh.proto + +# README \ No newline at end of file diff --git a/libs/public/go/protobuf/gen/platform/mesh/v2alpha/cryptographic_mesh.pb.go b/libs/public/go/sdk/gen/platform/mesh/v2alpha/cryptographic_mesh.pb.go similarity index 92% rename from libs/public/go/protobuf/gen/platform/mesh/v2alpha/cryptographic_mesh.pb.go rename to libs/public/go/sdk/gen/platform/mesh/v2alpha/cryptographic_mesh.pb.go index 6166ae48..da3dff27 100644 --- a/libs/public/go/protobuf/gen/platform/mesh/v2alpha/cryptographic_mesh.pb.go +++ b/libs/public/go/sdk/gen/platform/mesh/v2alpha/cryptographic_mesh.pb.go @@ -80,16 +80,15 @@ var file_platform_mesh_v2alpha_cryptographic_mesh_proto_rawDesc = string([]byte{ 0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x65, 0x73, 0x68, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x65, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x42, 0x88, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, 0x82, 0xb5, 0x18, 0x06, 0x08, 0x03, + 0x67, 0x42, 0x83, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, 0x82, 0xb5, 0x18, 0x06, 0x08, 0x03, 0x10, 0x01, 0x18, 0x06, 0x92, 0xb5, 0x18, 0x03, 0x0a, 0x01, 0x03, 0x9a, 0xb5, 0x18, 0x02, 0x08, - 0x01, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x63, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x01, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x5e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6c, 0x69, 0x62, - 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x2f, 0x6d, 0x65, 0x73, 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x6d, - 0x65, 0x73, 0x68, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x2f, + 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x6d, 0x65, 0x73, + 0x68, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x6d, 0x65, 0x73, 0x68, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, }) var ( diff --git a/libs/public/go/sdk/gen/platform/mesh/v2alpha/go.mod b/libs/public/go/sdk/gen/platform/mesh/v2alpha/go.mod new file mode 100644 index 00000000..a7096555 --- /dev/null +++ b/libs/public/go/sdk/gen/platform/mesh/v2alpha/go.mod @@ -0,0 +1,14 @@ +// Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. +// source: platform/mesh/v2alpha/cryptographic_mesh.proto +// sourcePath: libs/public/go/sdk/gen/mesh/v2alpha +module github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/mesh/v2alpha +go 1.23.4 + +require connectrpc.com/connect v1.17.0 + +require github.com/google/go-cmp v0.6.0 // indirect + +require ( + golang.org/x/net v0.29.0 // indirect + google.golang.org/protobuf v1.34.2 // indirect +) diff --git a/libs/public/go/sdk/gen/platform/mesh/v2alpha/package.json b/libs/public/go/sdk/gen/platform/mesh/v2alpha/package.json new file mode 100644 index 00000000..54ee588b --- /dev/null +++ b/libs/public/go/sdk/gen/platform/mesh/v2alpha/package.json @@ -0,0 +1,7 @@ + +{ + "name": "sdk-mesh-v2alpha", + "version": "0.0.0", + "description": "Mesh SDK version v2alpha", + "license": "Apache-2.0" +} diff --git a/libs/public/go/sdk/gen/platform/mesh/v2alpha/project.json b/libs/public/go/sdk/gen/platform/mesh/v2alpha/project.json new file mode 100644 index 00000000..8738f4aa --- /dev/null +++ b/libs/public/go/sdk/gen/platform/mesh/v2alpha/project.json @@ -0,0 +1,98 @@ + +{ + "name": "libs-public-go-sdk-mesh-v2alpha", + "$schema": "../../../../../../../../node_modules/nx/schemas/project-schema.json", + "projectType": "library", + "sourceRoot": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/mesh/v2alpha", + "targets": { + + "build": { + "executor": "nx:run-commands", + "options": { + "command": "go build ./...", + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/mesh/v2alpha" + } + }, + "test": { + "executor": "nx:run-commands", + "options": { + "command": "go test -v ./... -cover -race", + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/mesh/v2alpha" + } + }, + "clean": { + "executor": "nx:run-commands", + "options": { + "command": "go clean", + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/mesh/v2alpha" + } + }, + "lint": { + "executor": "nx:run-commands", + "options": { + "commands": ["golangci-lint run ./... --timeout=5m"], + "parallel": false, + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/mesh/v2alpha" + } + }, + "format": { + "executor": "nx:run-commands", + "options": { + "commands": ["go mod tidy", "gofumpt -l -w .", "golangci-lint run ./... --timeout=5m --fix"], + "parallel": false, + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/mesh/v2alpha" + } + }, + "distribute": { + "executor": "nx:run-commands", + "dependsOn": ["build"], + "outputs": ["{workspaceRoot}/dist/libs/public/go/sdk/gen/mesh/v2alpha"], + "options": { + "commands": [ + "mkdir -p dist/libs/public/go/sdk/gen/mesh/v2alpha", + "cp LICENSE.md dist/libs/public/go/sdk/gen/mesh/v2alpha/LICENSE.md", + "cp libs/public/go/sdk/gen/mesh/v2alpha/README.md dist/libs/public/go/sdk/gen/mesh/v2alpha/README.md", + "goreleaser release --config libs/public/go/sdk/gen/mesh/v2alpha/.goreleaser.yaml --clean" + ], + "parallel": false + } + }, + "snapshot": { + "executor": "nx:run-commands", + "dependsOn": ["build"], + "outputs": ["{workspaceRoot}/dist/libs/public/go/sdk/gen/mesh/v2alpha"], + "options": { + "commands": [ + "mkdir -p dist/libs/public/go/sdk/gen/mesh/v2alpha", + "cp LICENSE.md dist/libs/public/go/sdk/gen/mesh/v2alpha/LICENSE.md", + "cp libs/public/go/sdk/gen/mesh/v2alpha/README.md dist/libs/public/go/sdk/gen/mesh/v2alpha/README.md", + "goreleaser release --config libs/public/go/sdk/gen/mesh/v2alpha/.goreleaser.yaml --snapshot --clean --skip=sign,sbom" + ], + "parallel": false + } + }, + "nightly": { + "executor": "nx:run-commands", + "dependsOn": ["build"], + "outputs": ["{workspaceRoot}/dist/libs/public/go/sdk/gen/mesh/v2alpha"], + "options": { + "commands": [ + "mkdir -p dist/libs/public/go/sdk/gen/mesh/v2alpha", + "cp LICENSE.md dist/libs/public/go/sdk/gen/mesh/v2alpha/LICENSE.md", + "cp libs/public/go/sdk/gen/mesh/v2alpha/README.md dist/libs/public/go/sdk/gen/mesh/v2alpha/README.md", + "goreleaser release --config libs/public/go/sdk/gen/mesh/v2alpha/.goreleaser.yaml --nightly --clean" + ], + "parallel": false + } + } + }, + "tags": [ + "type:lib", + "cycle:public", + "language:golang", + "type:sdk", + "system:mesh", + "version:v2alpha", + "exposure:external" + ] +} diff --git a/libs/public/go/sdk/gen/platform/ontology/v2alpha/.goreleaser.yaml b/libs/public/go/sdk/gen/platform/ontology/v2alpha/.goreleaser.yaml new file mode 100644 index 00000000..e6eaff0a --- /dev/null +++ b/libs/public/go/sdk/gen/platform/ontology/v2alpha/.goreleaser.yaml @@ -0,0 +1,27 @@ +# Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. +# source: platform/ontology/v2alpha/spec_data_catalog.proto +# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json +version: 2 +project_name: libs-public-go-sdk-ontology-v2alpha + +variables: + path_to_repo_root: "../../../../../../" + path_to_project: "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/ontology/v2alpha" + +dist: ./dist/libs/public/go/sdk/gen/ontology/v2alpha + +monorepo: + tag_prefix: "libs-public-go-sdk-ontology-v2alpha/" + dir: libs/public/go/sdk/gen/ontology/v2alpha + +includes: + - from_file: + path: ./.config/goreleaser/goreleaser.sdk.yaml + - from_file: + path: ./.config/goreleaser/notarize.yaml + +nightly: + version_template: "{{ incpatch .Version }}-devel" + tag_name: "libs-public-go-sdk-ontology-v2alpha/devel" + publish_release: true + keep_single_release: true \ No newline at end of file diff --git a/libs/public/go/sdk/gen/platform/ontology/v2alpha/README.md b/libs/public/go/sdk/gen/platform/ontology/v2alpha/README.md new file mode 100644 index 00000000..acc7687f --- /dev/null +++ b/libs/public/go/sdk/gen/platform/ontology/v2alpha/README.md @@ -0,0 +1,4 @@ +// Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. +// source: platform/ontology/v2alpha/spec_data_catalog.proto + +# README \ No newline at end of file diff --git a/libs/public/go/sdk/gen/platform/ontology/v2alpha/go.mod b/libs/public/go/sdk/gen/platform/ontology/v2alpha/go.mod new file mode 100644 index 00000000..38d041ff --- /dev/null +++ b/libs/public/go/sdk/gen/platform/ontology/v2alpha/go.mod @@ -0,0 +1,14 @@ +// Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. +// source: platform/ontology/v2alpha/spec_data_catalog.proto +// sourcePath: libs/public/go/sdk/gen/ontology/v2alpha +module github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ontology/v2alpha +go 1.23.4 + +require connectrpc.com/connect v1.17.0 + +require github.com/google/go-cmp v0.6.0 // indirect + +require ( + golang.org/x/net v0.29.0 // indirect + google.golang.org/protobuf v1.34.2 // indirect +) diff --git a/libs/public/go/sdk/gen/platform/ontology/v2alpha/package.json b/libs/public/go/sdk/gen/platform/ontology/v2alpha/package.json new file mode 100644 index 00000000..a09b7556 --- /dev/null +++ b/libs/public/go/sdk/gen/platform/ontology/v2alpha/package.json @@ -0,0 +1,7 @@ + +{ + "name": "sdk-ontology-v2alpha", + "version": "0.0.0", + "description": "Ontology SDK version v2alpha", + "license": "Apache-2.0" +} diff --git a/libs/public/go/sdk/gen/platform/ontology/v2alpha/project.json b/libs/public/go/sdk/gen/platform/ontology/v2alpha/project.json new file mode 100644 index 00000000..61415951 --- /dev/null +++ b/libs/public/go/sdk/gen/platform/ontology/v2alpha/project.json @@ -0,0 +1,98 @@ + +{ + "name": "libs-public-go-sdk-ontology-v2alpha", + "$schema": "../../../../../../../../node_modules/nx/schemas/project-schema.json", + "projectType": "library", + "sourceRoot": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/ontology/v2alpha", + "targets": { + + "build": { + "executor": "nx:run-commands", + "options": { + "command": "go build ./...", + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/ontology/v2alpha" + } + }, + "test": { + "executor": "nx:run-commands", + "options": { + "command": "go test -v ./... -cover -race", + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/ontology/v2alpha" + } + }, + "clean": { + "executor": "nx:run-commands", + "options": { + "command": "go clean", + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/ontology/v2alpha" + } + }, + "lint": { + "executor": "nx:run-commands", + "options": { + "commands": ["golangci-lint run ./... --timeout=5m"], + "parallel": false, + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/ontology/v2alpha" + } + }, + "format": { + "executor": "nx:run-commands", + "options": { + "commands": ["go mod tidy", "gofumpt -l -w .", "golangci-lint run ./... --timeout=5m --fix"], + "parallel": false, + "cwd": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/ontology/v2alpha" + } + }, + "distribute": { + "executor": "nx:run-commands", + "dependsOn": ["build"], + "outputs": ["{workspaceRoot}/dist/libs/public/go/sdk/gen/ontology/v2alpha"], + "options": { + "commands": [ + "mkdir -p dist/libs/public/go/sdk/gen/ontology/v2alpha", + "cp LICENSE.md dist/libs/public/go/sdk/gen/ontology/v2alpha/LICENSE.md", + "cp libs/public/go/sdk/gen/ontology/v2alpha/README.md dist/libs/public/go/sdk/gen/ontology/v2alpha/README.md", + "goreleaser release --config libs/public/go/sdk/gen/ontology/v2alpha/.goreleaser.yaml --clean" + ], + "parallel": false + } + }, + "snapshot": { + "executor": "nx:run-commands", + "dependsOn": ["build"], + "outputs": ["{workspaceRoot}/dist/libs/public/go/sdk/gen/ontology/v2alpha"], + "options": { + "commands": [ + "mkdir -p dist/libs/public/go/sdk/gen/ontology/v2alpha", + "cp LICENSE.md dist/libs/public/go/sdk/gen/ontology/v2alpha/LICENSE.md", + "cp libs/public/go/sdk/gen/ontology/v2alpha/README.md dist/libs/public/go/sdk/gen/ontology/v2alpha/README.md", + "goreleaser release --config libs/public/go/sdk/gen/ontology/v2alpha/.goreleaser.yaml --snapshot --clean --skip=sign,sbom" + ], + "parallel": false + } + }, + "nightly": { + "executor": "nx:run-commands", + "dependsOn": ["build"], + "outputs": ["{workspaceRoot}/dist/libs/public/go/sdk/gen/ontology/v2alpha"], + "options": { + "commands": [ + "mkdir -p dist/libs/public/go/sdk/gen/ontology/v2alpha", + "cp LICENSE.md dist/libs/public/go/sdk/gen/ontology/v2alpha/LICENSE.md", + "cp libs/public/go/sdk/gen/ontology/v2alpha/README.md dist/libs/public/go/sdk/gen/ontology/v2alpha/README.md", + "goreleaser release --config libs/public/go/sdk/gen/ontology/v2alpha/.goreleaser.yaml --nightly --clean" + ], + "parallel": false + } + } + }, + "tags": [ + "type:lib", + "cycle:public", + "language:golang", + "type:sdk", + "system:ontology", + "version:v2alpha", + "exposure:external" + ] +} diff --git a/libs/public/go/protobuf/gen/platform/ontology/v2alpha/spec_data_catalog.pb.go b/libs/public/go/sdk/gen/platform/ontology/v2alpha/spec_data_catalog.pb.go similarity index 62% rename from libs/public/go/protobuf/gen/platform/ontology/v2alpha/spec_data_catalog.pb.go rename to libs/public/go/sdk/gen/platform/ontology/v2alpha/spec_data_catalog.pb.go index 48715565..40cdebb3 100644 --- a/libs/public/go/protobuf/gen/platform/ontology/v2alpha/spec_data_catalog.pb.go +++ b/libs/public/go/sdk/gen/platform/ontology/v2alpha/spec_data_catalog.pb.go @@ -26,23 +26,22 @@ const ( type SpecDataCatalog struct { state protoimpl.MessageState `protogen:"open.v1"` - Advertisement *Advertisement `protobuf:"bytes,1,opt,name=advertisement,proto3" json:"advertisement,omitempty"` - Audit *Audit `protobuf:"bytes,2,opt,name=audit,proto3" json:"audit,omitempty"` - Cli *Cli `protobuf:"bytes,3,opt,name=cli,proto3" json:"cli,omitempty"` - Communication *Communication `protobuf:"bytes,4,opt,name=communication,proto3" json:"communication,omitempty"` - Configuration *Configuration `protobuf:"bytes,5,opt,name=configuration,proto3" json:"configuration,omitempty"` - Cryptography *Cryptography `protobuf:"bytes,6,opt,name=cryptography,proto3" json:"cryptography,omitempty"` - Dns *Dns `protobuf:"bytes,7,opt,name=dns,proto3" json:"dns,omitempty"` - Ecosystem *Ecosystem `protobuf:"bytes,8,opt,name=ecosystem,proto3" json:"ecosystem,omitempty"` - Edge *Edge `protobuf:"bytes,9,opt,name=edge,proto3" json:"edge,omitempty"` - Iam *Iam `protobuf:"bytes,10,opt,name=iam,proto3" json:"iam,omitempty"` - Mesh *Mesh `protobuf:"bytes,11,opt,name=mesh,proto3" json:"mesh,omitempty"` - Ontology *Ontology `protobuf:"bytes,12,opt,name=ontology,proto3" json:"ontology,omitempty"` - Options *Options `protobuf:"bytes,13,opt,name=options,proto3" json:"options,omitempty"` - Reference *Reference `protobuf:"bytes,14,opt,name=reference,proto3" json:"reference,omitempty"` - Spec *Spec `protobuf:"bytes,15,opt,name=spec,proto3" json:"spec,omitempty"` - System *System `protobuf:"bytes,16,opt,name=system,proto3" json:"system,omitempty"` - Type *Type `protobuf:"bytes,17,opt,name=type,proto3" json:"type,omitempty"` + Audit *Audit `protobuf:"bytes,1,opt,name=audit,proto3" json:"audit,omitempty"` + Cli *Cli `protobuf:"bytes,2,opt,name=cli,proto3" json:"cli,omitempty"` + Communication *Communication `protobuf:"bytes,3,opt,name=communication,proto3" json:"communication,omitempty"` + Configuration *Configuration `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"` + Cryptography *Cryptography `protobuf:"bytes,5,opt,name=cryptography,proto3" json:"cryptography,omitempty"` + Dns *Dns `protobuf:"bytes,6,opt,name=dns,proto3" json:"dns,omitempty"` + Ecosystem *Ecosystem `protobuf:"bytes,7,opt,name=ecosystem,proto3" json:"ecosystem,omitempty"` + Edge *Edge `protobuf:"bytes,8,opt,name=edge,proto3" json:"edge,omitempty"` + Iam *Iam `protobuf:"bytes,9,opt,name=iam,proto3" json:"iam,omitempty"` + Mesh *Mesh `protobuf:"bytes,10,opt,name=mesh,proto3" json:"mesh,omitempty"` + Ontology *Ontology `protobuf:"bytes,11,opt,name=ontology,proto3" json:"ontology,omitempty"` + Options *Options `protobuf:"bytes,12,opt,name=options,proto3" json:"options,omitempty"` + Reference *Reference `protobuf:"bytes,13,opt,name=reference,proto3" json:"reference,omitempty"` + Spec *Spec `protobuf:"bytes,14,opt,name=spec,proto3" json:"spec,omitempty"` + System *System `protobuf:"bytes,15,opt,name=system,proto3" json:"system,omitempty"` + Type *Type `protobuf:"bytes,16,opt,name=type,proto3" json:"type,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } @@ -77,13 +76,6 @@ func (*SpecDataCatalog) Descriptor() ([]byte, []int) { return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{0} } -func (x *SpecDataCatalog) GetAdvertisement() *Advertisement { - if x != nil { - return x.Advertisement - } - return nil -} - func (x *SpecDataCatalog) GetAudit() *Audit { if x != nil { return x.Audit @@ -196,60 +188,16 @@ func (x *SpecDataCatalog) GetType() *Type { return nil } -type Advertisement struct { - state protoimpl.MessageState `protogen:"open.v1"` - DecisionV1 *DecisionV1 `protobuf:"bytes,1,opt,name=decision_v1,json=decisionV1,proto3" json:"decision_v1,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *Advertisement) Reset() { - *x = Advertisement{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *Advertisement) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Advertisement) ProtoMessage() {} - -func (x *Advertisement) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[1] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Advertisement.ProtoReflect.Descriptor instead. -func (*Advertisement) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{1} -} - -func (x *Advertisement) GetDecisionV1() *DecisionV1 { - if x != nil { - return x.DecisionV1 - } - return nil -} - type Audit struct { state protoimpl.MessageState `protogen:"open.v1"` - AuditV2Alpha *AuditV2Alpha `protobuf:"bytes,2,opt,name=audit_v2alpha,json=auditV2alpha,proto3" json:"audit_v2alpha,omitempty"` + AuditV2Alpha *AuditV2Alpha `protobuf:"bytes,1,opt,name=audit_v2alpha,json=auditV2alpha,proto3" json:"audit_v2alpha,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Audit) Reset() { *x = Audit{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[2] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -261,7 +209,7 @@ func (x *Audit) String() string { func (*Audit) ProtoMessage() {} func (x *Audit) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[2] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -274,7 +222,7 @@ func (x *Audit) ProtoReflect() protoreflect.Message { // Deprecated: Use Audit.ProtoReflect.Descriptor instead. func (*Audit) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{2} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{1} } func (x *Audit) GetAuditV2Alpha() *AuditV2Alpha { @@ -292,7 +240,7 @@ type Cli struct { func (x *Cli) Reset() { *x = Cli{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[3] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -304,7 +252,7 @@ func (x *Cli) String() string { func (*Cli) ProtoMessage() {} func (x *Cli) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[3] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -317,20 +265,20 @@ func (x *Cli) ProtoReflect() protoreflect.Message { // Deprecated: Use Cli.ProtoReflect.Descriptor instead. func (*Cli) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{3} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{2} } type Communication struct { state protoimpl.MessageState `protogen:"open.v1"` + PreferenceCenterV1Beta *PreferenceCenterV1Beta `protobuf:"bytes,2,opt,name=preference_center_v1beta,json=preferenceCenterV1beta,proto3" json:"preference_center_v1beta,omitempty"` PreferenceCenterV1Alpha *PreferenceCenterV1Alpha `protobuf:"bytes,3,opt,name=preference_center_v1alpha,json=preferenceCenterV1alpha,proto3" json:"preference_center_v1alpha,omitempty"` - PreferenceCenterV1Beta *PreferenceCenterV1Beta `protobuf:"bytes,4,opt,name=preference_center_v1beta,json=preferenceCenterV1beta,proto3" json:"preference_center_v1beta,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Communication) Reset() { *x = Communication{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[4] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -342,7 +290,7 @@ func (x *Communication) String() string { func (*Communication) ProtoMessage() {} func (x *Communication) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[4] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -355,33 +303,33 @@ func (x *Communication) ProtoReflect() protoreflect.Message { // Deprecated: Use Communication.ProtoReflect.Descriptor instead. func (*Communication) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{4} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{3} } -func (x *Communication) GetPreferenceCenterV1Alpha() *PreferenceCenterV1Alpha { +func (x *Communication) GetPreferenceCenterV1Beta() *PreferenceCenterV1Beta { if x != nil { - return x.PreferenceCenterV1Alpha + return x.PreferenceCenterV1Beta } return nil } -func (x *Communication) GetPreferenceCenterV1Beta() *PreferenceCenterV1Beta { +func (x *Communication) GetPreferenceCenterV1Alpha() *PreferenceCenterV1Alpha { if x != nil { - return x.PreferenceCenterV1Beta + return x.PreferenceCenterV1Alpha } return nil } type Configuration struct { state protoimpl.MessageState `protogen:"open.v1"` - ConfigurationV2Alpha *ConfigurationV2Alpha `protobuf:"bytes,5,opt,name=configuration_v2alpha,json=configurationV2alpha,proto3" json:"configuration_v2alpha,omitempty"` + ConfigurationV2Alpha *ConfigurationV2Alpha `protobuf:"bytes,4,opt,name=configuration_v2alpha,json=configurationV2alpha,proto3" json:"configuration_v2alpha,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Configuration) Reset() { *x = Configuration{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[5] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -393,7 +341,7 @@ func (x *Configuration) String() string { func (*Configuration) ProtoMessage() {} func (x *Configuration) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[5] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -406,7 +354,7 @@ func (x *Configuration) ProtoReflect() protoreflect.Message { // Deprecated: Use Configuration.ProtoReflect.Descriptor instead. func (*Configuration) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{5} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{4} } func (x *Configuration) GetConfigurationV2Alpha() *ConfigurationV2Alpha { @@ -418,14 +366,14 @@ func (x *Configuration) GetConfigurationV2Alpha() *ConfigurationV2Alpha { type Cryptography struct { state protoimpl.MessageState `protogen:"open.v1"` - CertificateV2Alpha *CertificateV2Alpha `protobuf:"bytes,6,opt,name=certificate_v2alpha,json=certificateV2alpha,proto3" json:"certificate_v2alpha,omitempty"` + CertificateV2Alpha *CertificateV2Alpha `protobuf:"bytes,5,opt,name=certificate_v2alpha,json=certificateV2alpha,proto3" json:"certificate_v2alpha,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Cryptography) Reset() { *x = Cryptography{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[6] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -437,7 +385,7 @@ func (x *Cryptography) String() string { func (*Cryptography) ProtoMessage() {} func (x *Cryptography) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[6] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -450,7 +398,7 @@ func (x *Cryptography) ProtoReflect() protoreflect.Message { // Deprecated: Use Cryptography.ProtoReflect.Descriptor instead. func (*Cryptography) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{6} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{5} } func (x *Cryptography) GetCertificateV2Alpha() *CertificateV2Alpha { @@ -468,7 +416,7 @@ type Dns struct { func (x *Dns) Reset() { *x = Dns{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[7] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -480,7 +428,7 @@ func (x *Dns) String() string { func (*Dns) ProtoMessage() {} func (x *Dns) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[7] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -493,19 +441,19 @@ func (x *Dns) ProtoReflect() protoreflect.Message { // Deprecated: Use Dns.ProtoReflect.Descriptor instead. func (*Dns) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{7} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{6} } type Ecosystem struct { state protoimpl.MessageState `protogen:"open.v1"` - EcosystemV2Alpha *EcosystemV2Alpha `protobuf:"bytes,7,opt,name=ecosystem_v2alpha,json=ecosystemV2alpha,proto3" json:"ecosystem_v2alpha,omitempty"` + EcosystemV2Alpha *EcosystemV2Alpha `protobuf:"bytes,6,opt,name=ecosystem_v2alpha,json=ecosystemV2alpha,proto3" json:"ecosystem_v2alpha,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Ecosystem) Reset() { *x = Ecosystem{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[8] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -517,7 +465,7 @@ func (x *Ecosystem) String() string { func (*Ecosystem) ProtoMessage() {} func (x *Ecosystem) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[8] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -530,7 +478,7 @@ func (x *Ecosystem) ProtoReflect() protoreflect.Message { // Deprecated: Use Ecosystem.ProtoReflect.Descriptor instead. func (*Ecosystem) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{8} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{7} } func (x *Ecosystem) GetEcosystemV2Alpha() *EcosystemV2Alpha { @@ -548,7 +496,7 @@ type Edge struct { func (x *Edge) Reset() { *x = Edge{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[9] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -560,7 +508,7 @@ func (x *Edge) String() string { func (*Edge) ProtoMessage() {} func (x *Edge) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[9] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -573,20 +521,20 @@ func (x *Edge) ProtoReflect() protoreflect.Message { // Deprecated: Use Edge.ProtoReflect.Descriptor instead. func (*Edge) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{9} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{8} } type Iam struct { state protoimpl.MessageState `protogen:"open.v1"` - AccountV2Alpha *AccountV2Alpha `protobuf:"bytes,8,opt,name=account_v2alpha,json=accountV2alpha,proto3" json:"account_v2alpha,omitempty"` - AccountAuthorityV2Alpha *AccountAuthorityV2Alpha `protobuf:"bytes,9,opt,name=account_authority_v2alpha,json=accountAuthorityV2alpha,proto3" json:"account_authority_v2alpha,omitempty"` + AccountV2Alpha *AccountV2Alpha `protobuf:"bytes,7,opt,name=account_v2alpha,json=accountV2alpha,proto3" json:"account_v2alpha,omitempty"` + AccountAuthorityV2Alpha *AccountAuthorityV2Alpha `protobuf:"bytes,8,opt,name=account_authority_v2alpha,json=accountAuthorityV2alpha,proto3" json:"account_authority_v2alpha,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Iam) Reset() { *x = Iam{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[10] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -598,7 +546,7 @@ func (x *Iam) String() string { func (*Iam) ProtoMessage() {} func (x *Iam) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[10] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -611,7 +559,7 @@ func (x *Iam) ProtoReflect() protoreflect.Message { // Deprecated: Use Iam.ProtoReflect.Descriptor instead. func (*Iam) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{10} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{9} } func (x *Iam) GetAccountV2Alpha() *AccountV2Alpha { @@ -636,7 +584,7 @@ type Mesh struct { func (x *Mesh) Reset() { *x = Mesh{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[11] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -648,7 +596,7 @@ func (x *Mesh) String() string { func (*Mesh) ProtoMessage() {} func (x *Mesh) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[11] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -661,7 +609,7 @@ func (x *Mesh) ProtoReflect() protoreflect.Message { // Deprecated: Use Mesh.ProtoReflect.Descriptor instead. func (*Mesh) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{11} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{10} } type Ontology struct { @@ -672,7 +620,7 @@ type Ontology struct { func (x *Ontology) Reset() { *x = Ontology{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[12] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -684,7 +632,7 @@ func (x *Ontology) String() string { func (*Ontology) ProtoMessage() {} func (x *Ontology) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[12] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -697,7 +645,7 @@ func (x *Ontology) ProtoReflect() protoreflect.Message { // Deprecated: Use Ontology.ProtoReflect.Descriptor instead. func (*Ontology) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{12} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{11} } type Options struct { @@ -708,7 +656,7 @@ type Options struct { func (x *Options) Reset() { *x = Options{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[13] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -720,7 +668,7 @@ func (x *Options) String() string { func (*Options) ProtoMessage() {} func (x *Options) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[13] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[12] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -733,19 +681,19 @@ func (x *Options) ProtoReflect() protoreflect.Message { // Deprecated: Use Options.ProtoReflect.Descriptor instead. func (*Options) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{13} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{12} } type Reference struct { state protoimpl.MessageState `protogen:"open.v1"` - ReferenceV2Alpha *ReferenceV2Alpha `protobuf:"bytes,10,opt,name=reference_v2alpha,json=referenceV2alpha,proto3" json:"reference_v2alpha,omitempty"` + ReferenceV2Alpha *ReferenceV2Alpha `protobuf:"bytes,9,opt,name=reference_v2alpha,json=referenceV2alpha,proto3" json:"reference_v2alpha,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Reference) Reset() { *x = Reference{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[14] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -757,7 +705,7 @@ func (x *Reference) String() string { func (*Reference) ProtoMessage() {} func (x *Reference) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[14] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[13] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -770,7 +718,7 @@ func (x *Reference) ProtoReflect() protoreflect.Message { // Deprecated: Use Reference.ProtoReflect.Descriptor instead. func (*Reference) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{14} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{13} } func (x *Reference) GetReferenceV2Alpha() *ReferenceV2Alpha { @@ -788,7 +736,7 @@ type Spec struct { func (x *Spec) Reset() { *x = Spec{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[15] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -800,7 +748,7 @@ func (x *Spec) String() string { func (*Spec) ProtoMessage() {} func (x *Spec) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[15] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -813,19 +761,19 @@ func (x *Spec) ProtoReflect() protoreflect.Message { // Deprecated: Use Spec.ProtoReflect.Descriptor instead. func (*Spec) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{15} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{14} } type System struct { state protoimpl.MessageState `protogen:"open.v1"` - SystemV2Alpha *SystemV2Alpha `protobuf:"bytes,11,opt,name=system_v2alpha,json=systemV2alpha,proto3" json:"system_v2alpha,omitempty"` + SystemV2Alpha *SystemV2Alpha `protobuf:"bytes,10,opt,name=system_v2alpha,json=systemV2alpha,proto3" json:"system_v2alpha,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *System) Reset() { *x = System{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[16] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -837,7 +785,7 @@ func (x *System) String() string { func (*System) ProtoMessage() {} func (x *System) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[16] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[15] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -850,7 +798,7 @@ func (x *System) ProtoReflect() protoreflect.Message { // Deprecated: Use System.ProtoReflect.Descriptor instead. func (*System) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{16} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{15} } func (x *System) GetSystemV2Alpha() *SystemV2Alpha { @@ -868,7 +816,7 @@ type Type struct { func (x *Type) Reset() { *x = Type{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[17] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -880,7 +828,7 @@ func (x *Type) String() string { func (*Type) ProtoMessage() {} func (x *Type) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[17] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[16] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -893,7 +841,7 @@ func (x *Type) ProtoReflect() protoreflect.Message { // Deprecated: Use Type.ProtoReflect.Descriptor instead. func (*Type) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{17} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{16} } type AuditV2Alpha struct { @@ -909,7 +857,7 @@ type AuditV2Alpha struct { func (x *AuditV2Alpha) Reset() { *x = AuditV2Alpha{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[18] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -921,7 +869,7 @@ func (x *AuditV2Alpha) String() string { func (*AuditV2Alpha) ProtoMessage() {} func (x *AuditV2Alpha) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[18] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[17] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -934,7 +882,7 @@ func (x *AuditV2Alpha) ProtoReflect() protoreflect.Message { // Deprecated: Use AuditV2Alpha.ProtoReflect.Descriptor instead. func (*AuditV2Alpha) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{18} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{17} } func (x *AuditV2Alpha) GetId() v2.ClassificationType { @@ -996,7 +944,7 @@ type ConfigurationV2Alpha struct { func (x *ConfigurationV2Alpha) Reset() { *x = ConfigurationV2Alpha{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[19] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1008,7 +956,7 @@ func (x *ConfigurationV2Alpha) String() string { func (*ConfigurationV2Alpha) ProtoMessage() {} func (x *ConfigurationV2Alpha) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[19] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[18] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1021,7 +969,7 @@ func (x *ConfigurationV2Alpha) ProtoReflect() protoreflect.Message { // Deprecated: Use ConfigurationV2Alpha.ProtoReflect.Descriptor instead. func (*ConfigurationV2Alpha) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{19} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{18} } func (x *ConfigurationV2Alpha) GetId() v2.ClassificationType { @@ -1150,7 +1098,7 @@ type CertificateV2Alpha struct { func (x *CertificateV2Alpha) Reset() { *x = CertificateV2Alpha{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[20] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1162,7 +1110,7 @@ func (x *CertificateV2Alpha) String() string { func (*CertificateV2Alpha) ProtoMessage() {} func (x *CertificateV2Alpha) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[20] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[19] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1175,7 +1123,7 @@ func (x *CertificateV2Alpha) ProtoReflect() protoreflect.Message { // Deprecated: Use CertificateV2Alpha.ProtoReflect.Descriptor instead. func (*CertificateV2Alpha) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{20} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{19} } func (x *CertificateV2Alpha) GetId() v2.ClassificationType { @@ -1240,7 +1188,7 @@ type EcosystemV2Alpha struct { func (x *EcosystemV2Alpha) Reset() { *x = EcosystemV2Alpha{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[21] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1252,7 +1200,7 @@ func (x *EcosystemV2Alpha) String() string { func (*EcosystemV2Alpha) ProtoMessage() {} func (x *EcosystemV2Alpha) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[21] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[20] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1265,7 +1213,7 @@ func (x *EcosystemV2Alpha) ProtoReflect() protoreflect.Message { // Deprecated: Use EcosystemV2Alpha.ProtoReflect.Descriptor instead. func (*EcosystemV2Alpha) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{21} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{20} } func (x *EcosystemV2Alpha) GetId() v2.ClassificationType { @@ -1364,7 +1312,7 @@ type AccountV2Alpha struct { func (x *AccountV2Alpha) Reset() { *x = AccountV2Alpha{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[22] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1376,7 +1324,7 @@ func (x *AccountV2Alpha) String() string { func (*AccountV2Alpha) ProtoMessage() {} func (x *AccountV2Alpha) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[22] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[21] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1389,7 +1337,7 @@ func (x *AccountV2Alpha) ProtoReflect() protoreflect.Message { // Deprecated: Use AccountV2Alpha.ProtoReflect.Descriptor instead. func (*AccountV2Alpha) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{22} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{21} } func (x *AccountV2Alpha) GetId() v2.ClassificationType { @@ -1432,7 +1380,7 @@ type AccountAuthorityV2Alpha struct { func (x *AccountAuthorityV2Alpha) Reset() { *x = AccountAuthorityV2Alpha{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[23] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1444,7 +1392,7 @@ func (x *AccountAuthorityV2Alpha) String() string { func (*AccountAuthorityV2Alpha) ProtoMessage() {} func (x *AccountAuthorityV2Alpha) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[23] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[22] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1457,7 +1405,7 @@ func (x *AccountAuthorityV2Alpha) ProtoReflect() protoreflect.Message { // Deprecated: Use AccountAuthorityV2Alpha.ProtoReflect.Descriptor instead. func (*AccountAuthorityV2Alpha) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{23} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{22} } func (x *AccountAuthorityV2Alpha) GetId() v2.ClassificationType { @@ -1499,7 +1447,7 @@ type ReferenceV2Alpha struct { func (x *ReferenceV2Alpha) Reset() { *x = ReferenceV2Alpha{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[24] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1511,7 +1459,7 @@ func (x *ReferenceV2Alpha) String() string { func (*ReferenceV2Alpha) ProtoMessage() {} func (x *ReferenceV2Alpha) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[24] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[23] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1524,7 +1472,7 @@ func (x *ReferenceV2Alpha) ProtoReflect() protoreflect.Message { // Deprecated: Use ReferenceV2Alpha.ProtoReflect.Descriptor instead. func (*ReferenceV2Alpha) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{24} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{23} } func (x *ReferenceV2Alpha) GetId() v2.ClassificationType { @@ -1560,7 +1508,7 @@ type SystemV2Alpha struct { func (x *SystemV2Alpha) Reset() { *x = SystemV2Alpha{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[25] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1572,7 +1520,7 @@ func (x *SystemV2Alpha) String() string { func (*SystemV2Alpha) ProtoMessage() {} func (x *SystemV2Alpha) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[25] + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[24] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1585,7 +1533,7 @@ func (x *SystemV2Alpha) ProtoReflect() protoreflect.Message { // Deprecated: Use SystemV2Alpha.ProtoReflect.Descriptor instead. func (*SystemV2Alpha) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{25} + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{24} } func (x *SystemV2Alpha) GetId() v2.ClassificationType { @@ -1616,7 +1564,7 @@ func (x *SystemV2Alpha) GetUpdatedAt() v2.ClassificationType { return v2.ClassificationType(0) } -type PreferenceCenterV1Alpha struct { +type PreferenceCenterV1Beta struct { state protoimpl.MessageState `protogen:"open.v1"` Id v2.ClassificationType `protobuf:"varint,1,opt,name=id,proto3,enum=platform.options.v2.ClassificationType" json:"id,omitempty"` CreatedAt v2.ClassificationType `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,enum=platform.options.v2.ClassificationType" json:"created_at,omitempty"` @@ -1638,21 +1586,21 @@ type PreferenceCenterV1Alpha struct { sizeCache protoimpl.SizeCache } -func (x *PreferenceCenterV1Alpha) Reset() { - *x = PreferenceCenterV1Alpha{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[26] +func (x *PreferenceCenterV1Beta) Reset() { + *x = PreferenceCenterV1Beta{} + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } -func (x *PreferenceCenterV1Alpha) String() string { +func (x *PreferenceCenterV1Beta) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PreferenceCenterV1Alpha) ProtoMessage() {} +func (*PreferenceCenterV1Beta) ProtoMessage() {} -func (x *PreferenceCenterV1Alpha) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[26] +func (x *PreferenceCenterV1Beta) ProtoReflect() protoreflect.Message { + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[25] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1663,124 +1611,124 @@ func (x *PreferenceCenterV1Alpha) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PreferenceCenterV1Alpha.ProtoReflect.Descriptor instead. -func (*PreferenceCenterV1Alpha) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{26} +// Deprecated: Use PreferenceCenterV1Beta.ProtoReflect.Descriptor instead. +func (*PreferenceCenterV1Beta) Descriptor() ([]byte, []int) { + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{25} } -func (x *PreferenceCenterV1Alpha) GetId() v2.ClassificationType { +func (x *PreferenceCenterV1Beta) GetId() v2.ClassificationType { if x != nil { return x.Id } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Alpha) GetCreatedAt() v2.ClassificationType { +func (x *PreferenceCenterV1Beta) GetCreatedAt() v2.ClassificationType { if x != nil { return x.CreatedAt } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Alpha) GetUpdatedAt() v2.ClassificationType { +func (x *PreferenceCenterV1Beta) GetUpdatedAt() v2.ClassificationType { if x != nil { return x.UpdatedAt } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Alpha) GetAnonymousId() v2.ClassificationType { +func (x *PreferenceCenterV1Beta) GetAnonymousId() v2.ClassificationType { if x != nil { return x.AnonymousId } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Alpha) GetEmail() v2.ClassificationType { +func (x *PreferenceCenterV1Beta) GetEmail() v2.ClassificationType { if x != nil { return x.Email } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Alpha) GetExternalId() v2.ClassificationType { +func (x *PreferenceCenterV1Beta) GetExternalId() v2.ClassificationType { if x != nil { return x.ExternalId } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Alpha) GetPhoneNumber() v2.ClassificationType { +func (x *PreferenceCenterV1Beta) GetPhoneNumber() v2.ClassificationType { if x != nil { return x.PhoneNumber } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Alpha) GetFirstName() v2.ClassificationType { +func (x *PreferenceCenterV1Beta) GetFirstName() v2.ClassificationType { if x != nil { return x.FirstName } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Alpha) GetLastName() v2.ClassificationType { +func (x *PreferenceCenterV1Beta) GetLastName() v2.ClassificationType { if x != nil { return x.LastName } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Alpha) GetPostalCode() v2.ClassificationType { +func (x *PreferenceCenterV1Beta) GetPostalCode() v2.ClassificationType { if x != nil { return x.PostalCode } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Alpha) GetCity() v2.ClassificationType { +func (x *PreferenceCenterV1Beta) GetCity() v2.ClassificationType { if x != nil { return x.City } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Alpha) GetStateProvinceRegion() v2.ClassificationType { +func (x *PreferenceCenterV1Beta) GetStateProvinceRegion() v2.ClassificationType { if x != nil { return x.StateProvinceRegion } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Alpha) GetCountry() v2.ClassificationType { +func (x *PreferenceCenterV1Beta) GetCountry() v2.ClassificationType { if x != nil { return x.Country } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Alpha) GetListIds() v2.ClassificationType { +func (x *PreferenceCenterV1Beta) GetListIds() v2.ClassificationType { if x != nil { return x.ListIds } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Alpha) GetSegmentIds() v2.ClassificationType { +func (x *PreferenceCenterV1Beta) GetSegmentIds() v2.ClassificationType { if x != nil { return x.SegmentIds } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Alpha) GetEmailSubscription() v2.ClassificationType { +func (x *PreferenceCenterV1Beta) GetEmailSubscription() v2.ClassificationType { if x != nil { return x.EmailSubscription } return v2.ClassificationType(0) } -type PreferenceCenterV1Beta struct { +type PreferenceCenterV1Alpha struct { state protoimpl.MessageState `protogen:"open.v1"` Id v2.ClassificationType `protobuf:"varint,1,opt,name=id,proto3,enum=platform.options.v2.ClassificationType" json:"id,omitempty"` CreatedAt v2.ClassificationType `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3,enum=platform.options.v2.ClassificationType" json:"created_at,omitempty"` @@ -1802,21 +1750,21 @@ type PreferenceCenterV1Beta struct { sizeCache protoimpl.SizeCache } -func (x *PreferenceCenterV1Beta) Reset() { - *x = PreferenceCenterV1Beta{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[27] +func (x *PreferenceCenterV1Alpha) Reset() { + *x = PreferenceCenterV1Alpha{} + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } -func (x *PreferenceCenterV1Beta) String() string { +func (x *PreferenceCenterV1Alpha) String() string { return protoimpl.X.MessageStringOf(x) } -func (*PreferenceCenterV1Beta) ProtoMessage() {} +func (*PreferenceCenterV1Alpha) ProtoMessage() {} -func (x *PreferenceCenterV1Beta) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[27] +func (x *PreferenceCenterV1Alpha) ProtoReflect() protoreflect.Message { + mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[26] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1827,255 +1775,123 @@ func (x *PreferenceCenterV1Beta) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use PreferenceCenterV1Beta.ProtoReflect.Descriptor instead. -func (*PreferenceCenterV1Beta) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{27} +// Deprecated: Use PreferenceCenterV1Alpha.ProtoReflect.Descriptor instead. +func (*PreferenceCenterV1Alpha) Descriptor() ([]byte, []int) { + return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{26} } -func (x *PreferenceCenterV1Beta) GetId() v2.ClassificationType { +func (x *PreferenceCenterV1Alpha) GetId() v2.ClassificationType { if x != nil { return x.Id } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Beta) GetCreatedAt() v2.ClassificationType { +func (x *PreferenceCenterV1Alpha) GetCreatedAt() v2.ClassificationType { if x != nil { return x.CreatedAt } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Beta) GetUpdatedAt() v2.ClassificationType { +func (x *PreferenceCenterV1Alpha) GetUpdatedAt() v2.ClassificationType { if x != nil { return x.UpdatedAt } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Beta) GetAnonymousId() v2.ClassificationType { +func (x *PreferenceCenterV1Alpha) GetAnonymousId() v2.ClassificationType { if x != nil { return x.AnonymousId } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Beta) GetEmail() v2.ClassificationType { +func (x *PreferenceCenterV1Alpha) GetEmail() v2.ClassificationType { if x != nil { return x.Email } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Beta) GetExternalId() v2.ClassificationType { +func (x *PreferenceCenterV1Alpha) GetExternalId() v2.ClassificationType { if x != nil { return x.ExternalId } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Beta) GetPhoneNumber() v2.ClassificationType { +func (x *PreferenceCenterV1Alpha) GetPhoneNumber() v2.ClassificationType { if x != nil { return x.PhoneNumber } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Beta) GetFirstName() v2.ClassificationType { +func (x *PreferenceCenterV1Alpha) GetFirstName() v2.ClassificationType { if x != nil { return x.FirstName } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Beta) GetLastName() v2.ClassificationType { +func (x *PreferenceCenterV1Alpha) GetLastName() v2.ClassificationType { if x != nil { return x.LastName } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Beta) GetPostalCode() v2.ClassificationType { +func (x *PreferenceCenterV1Alpha) GetPostalCode() v2.ClassificationType { if x != nil { return x.PostalCode } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Beta) GetCity() v2.ClassificationType { +func (x *PreferenceCenterV1Alpha) GetCity() v2.ClassificationType { if x != nil { return x.City } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Beta) GetStateProvinceRegion() v2.ClassificationType { +func (x *PreferenceCenterV1Alpha) GetStateProvinceRegion() v2.ClassificationType { if x != nil { return x.StateProvinceRegion } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Beta) GetCountry() v2.ClassificationType { +func (x *PreferenceCenterV1Alpha) GetCountry() v2.ClassificationType { if x != nil { return x.Country } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Beta) GetListIds() v2.ClassificationType { +func (x *PreferenceCenterV1Alpha) GetListIds() v2.ClassificationType { if x != nil { return x.ListIds } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Beta) GetSegmentIds() v2.ClassificationType { +func (x *PreferenceCenterV1Alpha) GetSegmentIds() v2.ClassificationType { if x != nil { return x.SegmentIds } return v2.ClassificationType(0) } -func (x *PreferenceCenterV1Beta) GetEmailSubscription() v2.ClassificationType { +func (x *PreferenceCenterV1Alpha) GetEmailSubscription() v2.ClassificationType { if x != nil { return x.EmailSubscription } return v2.ClassificationType(0) } -type DecisionV1 struct { - state protoimpl.MessageState `protogen:"open.v1"` - AdId v2.ClassificationType `protobuf:"varint,1,opt,name=ad_id,json=adId,proto3,enum=platform.options.v2.ClassificationType" json:"ad_id,omitempty"` - AdvertiserId v2.ClassificationType `protobuf:"varint,2,opt,name=advertiser_id,json=advertiserId,proto3,enum=platform.options.v2.ClassificationType" json:"advertiser_id,omitempty"` - CreativeId v2.ClassificationType `protobuf:"varint,3,opt,name=creative_id,json=creativeId,proto3,enum=platform.options.v2.ClassificationType" json:"creative_id,omitempty"` - FlightId v2.ClassificationType `protobuf:"varint,4,opt,name=flight_id,json=flightId,proto3,enum=platform.options.v2.ClassificationType" json:"flight_id,omitempty"` - CampaignId v2.ClassificationType `protobuf:"varint,5,opt,name=campaign_id,json=campaignId,proto3,enum=platform.options.v2.ClassificationType" json:"campaign_id,omitempty"` - PriorityId v2.ClassificationType `protobuf:"varint,6,opt,name=priority_id,json=priorityId,proto3,enum=platform.options.v2.ClassificationType" json:"priority_id,omitempty"` - ClickUrl v2.ClassificationType `protobuf:"varint,7,opt,name=click_url,json=clickUrl,proto3,enum=platform.options.v2.ClassificationType" json:"click_url,omitempty"` - Contents v2.ClassificationType `protobuf:"varint,8,opt,name=contents,proto3,enum=platform.options.v2.ClassificationType" json:"contents,omitempty"` - ImpressionUrl v2.ClassificationType `protobuf:"varint,9,opt,name=impression_url,json=impressionUrl,proto3,enum=platform.options.v2.ClassificationType" json:"impression_url,omitempty"` - Events v2.ClassificationType `protobuf:"varint,10,opt,name=events,proto3,enum=platform.options.v2.ClassificationType" json:"events,omitempty"` - MatchedPoints v2.ClassificationType `protobuf:"varint,11,opt,name=matched_points,json=matchedPoints,proto3,enum=platform.options.v2.ClassificationType" json:"matched_points,omitempty"` - Pricing v2.ClassificationType `protobuf:"varint,12,opt,name=pricing,proto3,enum=platform.options.v2.ClassificationType" json:"pricing,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache -} - -func (x *DecisionV1) Reset() { - *x = DecisionV1{} - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) -} - -func (x *DecisionV1) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DecisionV1) ProtoMessage() {} - -func (x *DecisionV1) ProtoReflect() protoreflect.Message { - mi := &file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes[28] - if x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use DecisionV1.ProtoReflect.Descriptor instead. -func (*DecisionV1) Descriptor() ([]byte, []int) { - return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP(), []int{28} -} - -func (x *DecisionV1) GetAdId() v2.ClassificationType { - if x != nil { - return x.AdId - } - return v2.ClassificationType(0) -} - -func (x *DecisionV1) GetAdvertiserId() v2.ClassificationType { - if x != nil { - return x.AdvertiserId - } - return v2.ClassificationType(0) -} - -func (x *DecisionV1) GetCreativeId() v2.ClassificationType { - if x != nil { - return x.CreativeId - } - return v2.ClassificationType(0) -} - -func (x *DecisionV1) GetFlightId() v2.ClassificationType { - if x != nil { - return x.FlightId - } - return v2.ClassificationType(0) -} - -func (x *DecisionV1) GetCampaignId() v2.ClassificationType { - if x != nil { - return x.CampaignId - } - return v2.ClassificationType(0) -} - -func (x *DecisionV1) GetPriorityId() v2.ClassificationType { - if x != nil { - return x.PriorityId - } - return v2.ClassificationType(0) -} - -func (x *DecisionV1) GetClickUrl() v2.ClassificationType { - if x != nil { - return x.ClickUrl - } - return v2.ClassificationType(0) -} - -func (x *DecisionV1) GetContents() v2.ClassificationType { - if x != nil { - return x.Contents - } - return v2.ClassificationType(0) -} - -func (x *DecisionV1) GetImpressionUrl() v2.ClassificationType { - if x != nil { - return x.ImpressionUrl - } - return v2.ClassificationType(0) -} - -func (x *DecisionV1) GetEvents() v2.ClassificationType { - if x != nil { - return x.Events - } - return v2.ClassificationType(0) -} - -func (x *DecisionV1) GetMatchedPoints() v2.ClassificationType { - if x != nil { - return x.MatchedPoints - } - return v2.ClassificationType(0) -} - -func (x *DecisionV1) GetPricing() v2.ClassificationType { - if x != nil { - return x.Pricing - } - return v2.ClassificationType(0) -} - var File_platform_ontology_v2alpha_spec_data_catalog_proto protoreflect.FileDescriptor var file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDesc = string([]byte{ @@ -2086,371 +1902,342 @@ var file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDesc = string([]by 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x25, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x08, 0x0a, 0x0f, 0x53, 0x70, 0x65, 0x63, 0x44, 0x61, - 0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x4e, 0x0a, 0x0d, 0x61, 0x64, 0x76, - 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x28, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, - 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x64, 0x76, - 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0d, 0x61, 0x64, 0x76, 0x65, - 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x75, 0x64, - 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x07, 0x0a, 0x0f, 0x53, 0x70, 0x65, 0x63, 0x44, 0x61, + 0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x36, 0x0a, 0x05, 0x61, 0x75, 0x64, + 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x52, 0x05, 0x61, 0x75, 0x64, 0x69, - 0x74, 0x12, 0x30, 0x0a, 0x03, 0x63, 0x6c, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x74, 0x12, 0x30, 0x0a, 0x03, 0x63, 0x6c, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6c, 0x69, 0x52, 0x03, 0x63, 0x6c, 0x69, 0x12, 0x4e, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x6c, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x6c, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4b, 0x0a, 0x0c, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x67, 0x72, 0x61, - 0x70, 0x68, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, + 0x70, 0x68, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x79, 0x52, 0x0c, 0x63, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x79, - 0x12, 0x30, 0x0a, 0x03, 0x64, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x12, 0x30, 0x0a, 0x03, 0x64, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x6e, 0x73, 0x52, 0x03, 0x64, 0x6e, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, - 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x45, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x09, 0x65, 0x63, 0x6f, - 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x33, 0x0a, 0x04, 0x65, 0x64, 0x67, 0x65, 0x18, 0x09, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x33, 0x0a, 0x04, 0x65, 0x64, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x45, 0x64, 0x67, 0x65, 0x52, 0x04, 0x65, 0x64, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x03, 0x69, - 0x61, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x61, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x49, 0x61, 0x6d, 0x52, 0x03, 0x69, 0x61, 0x6d, 0x12, 0x33, 0x0a, - 0x04, 0x6d, 0x65, 0x73, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x6c, + 0x04, 0x6d, 0x65, 0x73, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4d, 0x65, 0x73, 0x68, 0x52, 0x04, 0x6d, 0x65, - 0x73, 0x68, 0x12, 0x3f, 0x0a, 0x08, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x18, 0x0c, + 0x73, 0x68, 0x12, 0x3f, 0x0a, 0x08, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x52, 0x08, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, - 0x6f, 0x67, 0x79, 0x12, 0x3c, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0d, + 0x6f, 0x67, 0x79, 0x12, 0x3c, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x42, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x0e, + 0x73, 0x12, 0x42, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x0f, 0x20, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x39, 0x0a, 0x06, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x6c, 0x61, + 0x73, 0x74, 0x65, 0x6d, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x06, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x11, 0x20, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x33, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x57, 0x0a, 0x0d, 0x41, 0x64, - 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x46, 0x0a, 0x0b, 0x64, - 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x25, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, - 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x65, 0x63, - 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x56, 0x31, 0x52, 0x0a, 0x64, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x56, 0x31, 0x22, 0x55, 0x0a, 0x05, 0x41, 0x75, 0x64, 0x69, 0x74, 0x12, 0x4c, 0x0a, 0x0d, - 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, - 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, - 0x41, 0x75, 0x64, 0x69, 0x74, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x52, 0x0c, 0x61, 0x75, - 0x64, 0x69, 0x74, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x05, 0x0a, 0x03, 0x43, 0x6c, - 0x69, 0x22, 0xec, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x6e, 0x0a, 0x19, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, - 0x65, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, - 0x74, 0x65, 0x72, 0x56, 0x31, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x52, 0x17, 0x70, 0x72, 0x65, 0x66, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x56, 0x31, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x12, 0x6b, 0x0a, 0x18, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, - 0x65, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x2e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, 0x74, - 0x65, 0x72, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x52, 0x16, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x22, 0x75, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x64, 0x0a, 0x15, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2f, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, - 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x52, 0x14, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x6e, 0x0a, 0x0c, 0x43, 0x72, 0x79, 0x70, 0x74, - 0x6f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x79, 0x12, 0x5e, 0x0a, 0x13, 0x63, 0x65, 0x72, 0x74, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, - 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x56, 0x32, 0x41, 0x6c, - 0x70, 0x68, 0x61, 0x52, 0x12, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, - 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x05, 0x0a, 0x03, 0x44, 0x6e, 0x73, 0x22, 0x65, - 0x0a, 0x09, 0x45, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x58, 0x0a, 0x11, 0x65, - 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x2e, 0x45, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x56, 0x32, 0x41, 0x6c, - 0x70, 0x68, 0x61, 0x52, 0x10, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x56, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x06, 0x0a, 0x04, 0x45, 0x64, 0x67, 0x65, 0x22, 0xc9, 0x01, - 0x0a, 0x03, 0x49, 0x61, 0x6d, 0x12, 0x52, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x5f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, - 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, - 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x6e, 0x0a, 0x19, 0x61, 0x63, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x70, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x55, 0x0a, 0x05, 0x41, 0x75, + 0x64, 0x69, 0x74, 0x12, 0x4c, 0x0a, 0x0d, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x56, 0x32, 0x41, 0x6c, + 0x70, 0x68, 0x61, 0x52, 0x0c, 0x61, 0x75, 0x64, 0x69, 0x74, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x22, 0x05, 0x0a, 0x03, 0x43, 0x6c, 0x69, 0x22, 0xec, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, + 0x6d, 0x75, 0x6e, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6b, 0x0a, 0x18, 0x70, 0x72, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, - 0x52, 0x17, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, - 0x74, 0x79, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x06, 0x0a, 0x04, 0x4d, 0x65, 0x73, - 0x68, 0x22, 0x0a, 0x0a, 0x08, 0x4f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x22, 0x09, 0x0a, - 0x07, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x65, 0x0a, 0x09, 0x52, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x58, 0x0a, 0x11, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x5f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2b, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, - 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x66, - 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x52, 0x10, 0x72, - 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, - 0x06, 0x0a, 0x04, 0x53, 0x70, 0x65, 0x63, 0x22, 0x59, 0x0a, 0x06, 0x53, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x12, 0x4f, 0x0a, 0x0e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x56, 0x32, 0x41, 0x6c, - 0x70, 0x68, 0x61, 0x52, 0x0d, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x56, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x22, 0x06, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x22, 0xe3, 0x02, 0x0a, 0x0c, 0x41, - 0x75, 0x64, 0x69, 0x74, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x37, 0x0a, 0x02, 0x69, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, + 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x52, + 0x16, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, + 0x72, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x12, 0x6e, 0x0a, 0x19, 0x70, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x76, 0x31, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x56, 0x31, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x52, 0x17, + 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, + 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x75, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x64, 0x0a, 0x15, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x52, 0x14, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x6e, + 0x0a, 0x0c, 0x43, 0x72, 0x79, 0x70, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x79, 0x12, 0x5e, + 0x0a, 0x13, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x65, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x52, 0x12, 0x63, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x05, + 0x0a, 0x03, 0x44, 0x6e, 0x73, 0x22, 0x65, 0x0a, 0x09, 0x45, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x12, 0x58, 0x0a, 0x11, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, + 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x45, 0x63, 0x6f, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x52, 0x10, 0x65, 0x63, 0x6f, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x06, 0x0a, 0x04, + 0x45, 0x64, 0x67, 0x65, 0x22, 0xc9, 0x01, 0x0a, 0x03, 0x49, 0x61, 0x6d, 0x12, 0x52, 0x0a, 0x0f, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, + 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x12, 0x6e, 0x0a, 0x19, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x75, 0x74, 0x68, + 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, + 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, + 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x52, 0x17, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x22, 0x06, 0x0a, 0x04, 0x4d, 0x65, 0x73, 0x68, 0x22, 0x0a, 0x0a, 0x08, 0x4f, 0x6e, 0x74, 0x6f, + 0x6c, 0x6f, 0x67, 0x79, 0x22, 0x09, 0x0a, 0x07, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, + 0x65, 0x0a, 0x09, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x58, 0x0a, 0x11, + 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x2e, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x41, + 0x6c, 0x70, 0x68, 0x61, 0x52, 0x10, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x56, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x06, 0x0a, 0x04, 0x53, 0x70, 0x65, 0x63, 0x22, 0x59, + 0x0a, 0x06, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x4f, 0x0a, 0x0e, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x5f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x28, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x6e, 0x74, 0x6f, + 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x53, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x52, 0x0d, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x22, 0x06, 0x0a, 0x04, 0x54, 0x79, 0x70, + 0x65, 0x22, 0xe3, 0x02, 0x0a, 0x0c, 0x41, 0x75, 0x64, 0x69, 0x74, 0x56, 0x32, 0x41, 0x6c, 0x70, + 0x68, 0x61, 0x12, 0x37, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, + 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x02, 0x69, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, - 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, - 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x0a, - 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x64, 0x41, 0x74, 0x12, 0x3d, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x65, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x4b, 0x0a, 0x0c, 0x6a, 0x75, 0x72, 0x69, 0x73, 0x64, 0x69, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x0c, 0x6a, 0x75, 0x72, 0x69, 0x73, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x87, 0x0a, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x37, 0x0a, 0x02, 0x69, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, - 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x54, 0x0a, 0x11, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x73, 0x6c, 0x75, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, - 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x10, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6c, 0x75, 0x67, 0x12, 0x4e, 0x0a, 0x0e, 0x77, 0x6f, 0x72, 0x6b, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x6c, 0x75, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, + 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3d, 0x0a, 0x05, 0x65, + 0x6e, 0x74, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, + 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x05, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x4b, 0x0a, 0x0c, 0x6a, 0x75, + 0x72, 0x69, 0x73, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x53, 0x6c, 0x75, 0x67, 0x12, 0x46, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x6a, 0x75, 0x72, 0x69, 0x73, + 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x87, 0x0a, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, + 0x12, 0x37, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, - 0x12, 0x46, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x54, 0x0a, 0x11, 0x6f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x6c, 0x75, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x75, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x44, 0x0a, 0x09, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x10, 0x6f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x6c, 0x75, 0x67, 0x12, + 0x4e, 0x0a, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x73, 0x6c, 0x75, + 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x6c, 0x75, 0x67, 0x12, + 0x46, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x3b, - 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x73, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, + 0x44, 0x0a, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x4e, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x64, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4e, 0x0a, 0x0e, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x09, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x73, 0x12, 0x44, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x4a, 0x0a, 0x0c, 0x64, 0x61, 0x74, + 0x61, 0x5f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x43, 0x61, + 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x52, 0x0a, 0x10, 0x63, 0x6c, 0x69, 0x6e, 0x69, 0x63, 0x61, + 0x6c, 0x5f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0f, 0x63, 0x6c, 0x69, 0x6e, 0x69, 0x63, + 0x61, 0x6c, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x5e, 0x0a, 0x16, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, + 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x15, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x60, 0x0a, 0x17, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, + 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x16, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x60, 0x0a, 0x17, 0x73, + 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x16, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x62, 0x0a, + 0x18, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x17, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x22, 0xaa, 0x03, 0x0a, 0x12, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x37, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x73, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x44, 0x0a, 0x09, - 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, + 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, + 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x49, 0x64, 0x12, 0x4a, 0x0a, 0x0c, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x61, 0x74, 0x61, 0x6c, - 0x6f, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, - 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x52, - 0x0a, 0x10, 0x63, 0x6c, 0x69, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x5f, 0x63, 0x61, 0x74, 0x61, 0x6c, - 0x6f, 0x67, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, + 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0f, 0x63, 0x6c, 0x69, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x43, 0x61, 0x74, 0x61, 0x6c, - 0x6f, 0x67, 0x12, 0x5e, 0x0a, 0x16, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x15, 0x70, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x60, 0x0a, 0x17, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x10, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x16, 0x70, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x60, 0x0a, 0x17, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, - 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x65, 0x52, 0x0b, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0xc7, + 0x06, 0x0a, 0x10, 0x45, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x56, 0x32, 0x41, 0x6c, + 0x70, 0x68, 0x61, 0x12, 0x37, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x04, + 0x73, 0x6c, 0x75, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, + 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x04, 0x73, 0x6c, 0x75, 0x67, 0x12, 0x46, 0x0a, 0x0a, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, + 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, - 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x16, - 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x62, 0x0a, 0x18, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, - 0x74, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, - 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x17, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xaa, 0x03, 0x0a, 0x12, 0x43, - 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x12, 0x37, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, + 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x44, 0x0a, 0x09, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, + 0x3b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, - 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x41, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, - 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, - 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x0b, - 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x63, 0x65, 0x72, 0x74, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0xc7, 0x06, 0x0a, 0x10, 0x45, 0x63, 0x6f, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x37, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, - 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3b, 0x0a, 0x04, 0x73, 0x6c, 0x75, 0x67, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, - 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x73, 0x6c, - 0x75, 0x67, 0x12, 0x46, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, - 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x75, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, - 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, - 0x41, 0x74, 0x12, 0x44, 0x0a, 0x09, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3f, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4e, 0x0a, + 0x0e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, - 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, - 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x3f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x3b, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x11, 0x73, 0x68, + 0x6f, 0x72, 0x74, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, - 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4e, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, - 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x44, - 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, - 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x11, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x5f, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, - 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x10, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x44, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, - 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x04, 0x63, 0x69, 0x64, 0x72, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x63, 0x69, 0x64, - 0x72, 0x22, 0xa2, 0x02, 0x0a, 0x0e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x32, 0x41, - 0x6c, 0x70, 0x68, 0x61, 0x12, 0x37, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x46, 0x0a, - 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, - 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, + 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x10, + 0x73, 0x68, 0x6f, 0x72, 0x74, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x49, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, + 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, + 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x04, 0x63, + 0x69, 0x64, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x47, 0x0a, - 0x0a, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x22, 0xab, 0x02, 0x0a, 0x17, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x56, 0x32, 0x41, 0x6c, 0x70, - 0x68, 0x61, 0x12, 0x37, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, - 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x70, 0x65, 0x52, 0x04, 0x63, 0x69, 0x64, 0x72, 0x22, 0xa2, 0x02, 0x0a, 0x0e, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x37, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, - 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x47, 0x0a, 0x0a, 0x63, - 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x61, 0x6c, 0x22, 0xdb, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x37, 0x0a, 0x02, 0x69, 0x64, 0x18, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, + 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x0a, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x64, 0x41, 0x74, 0x12, 0x47, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, + 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x22, 0xab, 0x02, + 0x0a, 0x17, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x74, 0x79, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x37, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, @@ -2463,236 +2250,199 @@ var file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDesc = string([]by 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, - 0x41, 0x74, 0x22, 0xa0, 0x02, 0x0a, 0x0d, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x56, 0x32, 0x41, - 0x6c, 0x70, 0x68, 0x61, 0x12, 0x37, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x46, 0x0a, - 0x0a, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x65, 0x6e, 0x61, 0x62, - 0x6c, 0x65, 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, - 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x9e, 0x09, 0x0a, 0x17, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, - 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x56, 0x31, 0x41, 0x6c, 0x70, 0x68, - 0x61, 0x12, 0x37, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, + 0x41, 0x74, 0x12, 0x47, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x0a, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x22, 0xdb, 0x01, 0x0a, 0x10, + 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, + 0x12, 0x37, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, - 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x41, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, + 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, + 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0xa0, 0x02, 0x0a, 0x0d, 0x53, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x37, 0x0a, 0x02, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, + 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x09, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x0a, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, + 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x9d, 0x09, 0x0a, + 0x16, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, + 0x72, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x12, 0x37, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, 0x69, 0x64, + 0x12, 0x46, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x63, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, + 0x12, 0x4a, 0x0a, 0x0c, 0x61, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x5f, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x4a, 0x0a, 0x0c, 0x61, 0x6e, - 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, + 0x0b, 0x61, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x05, + 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x48, 0x0a, 0x0b, 0x65, + 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x61, 0x6e, 0x6f, 0x6e, 0x79, - 0x6d, 0x6f, 0x75, 0x73, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x4a, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, + 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, + 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, + 0x72, 0x12, 0x46, 0x0a, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, - 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, - 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x48, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, - 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, - 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, - 0x4a, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, + 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x09, 0x6c, 0x61, 0x73, + 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x48, 0x0a, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x70, + 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x3b, 0x0a, 0x04, 0x63, 0x69, 0x74, + 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x04, 0x63, 0x69, 0x74, 0x79, 0x12, 0x5b, 0x0a, 0x15, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, + 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, - 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, - 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x46, 0x0a, 0x0a, 0x66, - 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, - 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x0b, 0x70, 0x6f, 0x73, - 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, - 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, - 0x6f, 0x64, 0x65, 0x12, 0x3b, 0x0a, 0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x63, 0x69, 0x74, 0x79, - 0x12, 0x5b, 0x0a, 0x15, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, - 0x63, 0x65, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x13, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x42, 0x0a, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x69, + 0x64, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, + 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x07, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x73, 0x12, 0x48, 0x0a, 0x0b, 0x73, 0x65, + 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x13, 0x73, 0x74, 0x61, 0x74, 0x65, 0x50, - 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, - 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, - 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x42, 0x0a, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0e, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x6c, 0x69, 0x73, - 0x74, 0x49, 0x64, 0x73, 0x12, 0x48, 0x0a, 0x0b, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, - 0x69, 0x64, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x0a, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x56, - 0x0a, 0x12, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, - 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x11, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9d, 0x09, 0x0a, 0x16, 0x50, 0x72, 0x65, 0x66, 0x65, - 0x72, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x56, 0x31, 0x42, 0x65, 0x74, - 0x61, 0x12, 0x37, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, - 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, - 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, - 0x41, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, - 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x4a, 0x0a, 0x0c, 0x61, 0x6e, - 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, + 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, + 0x74, 0x49, 0x64, 0x73, 0x12, 0x56, 0x0a, 0x12, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x73, 0x75, + 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x61, 0x6e, 0x6f, 0x6e, 0x79, - 0x6d, 0x6f, 0x75, 0x73, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, - 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, - 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x48, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, - 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, - 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, - 0x4a, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x65, 0x6d, 0x61, 0x69, 0x6c, + 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x09, 0x0a, + 0x17, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, + 0x72, 0x56, 0x31, 0x41, 0x6c, 0x70, 0x68, 0x61, 0x12, 0x37, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, - 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, - 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x46, 0x0a, 0x0a, 0x66, - 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, - 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x48, 0x0a, 0x0b, 0x70, 0x6f, 0x73, - 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, - 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, - 0x6f, 0x64, 0x65, 0x12, 0x3b, 0x0a, 0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, + 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x46, 0x0a, 0x0a, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, + 0x74, 0x12, 0x4a, 0x0a, 0x0c, 0x61, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, + 0x52, 0x0b, 0x61, 0x6e, 0x6f, 0x6e, 0x79, 0x6d, 0x6f, 0x75, 0x73, 0x49, 0x64, 0x12, 0x3d, 0x0a, + 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x48, 0x0a, 0x0b, + 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x63, 0x69, 0x74, 0x79, - 0x12, 0x5b, 0x0a, 0x15, 0x73, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, - 0x63, 0x65, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x13, 0x73, 0x74, 0x61, 0x74, 0x65, 0x50, - 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, - 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, - 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x42, 0x0a, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0e, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x6c, 0x69, 0x73, - 0x74, 0x49, 0x64, 0x73, 0x12, 0x48, 0x0a, 0x0b, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, - 0x69, 0x64, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, - 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x0a, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x56, - 0x0a, 0x12, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, - 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x11, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xeb, 0x06, 0x0a, 0x0a, 0x44, 0x65, 0x63, 0x69, 0x73, - 0x69, 0x6f, 0x6e, 0x56, 0x31, 0x12, 0x3c, 0x0a, 0x05, 0x61, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, - 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x61, - 0x64, 0x49, 0x64, 0x12, 0x4c, 0x0a, 0x0d, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, - 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, - 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x0c, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x65, 0x72, 0x49, - 0x64, 0x12, 0x48, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, - 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x76, 0x65, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x09, 0x66, - 0x6c, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, - 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x49, - 0x64, 0x12, 0x48, 0x0a, 0x0b, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x5f, 0x69, 0x64, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, + 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x4a, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, + 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x12, 0x46, 0x0a, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x0a, 0x63, 0x61, 0x6d, 0x70, 0x61, 0x69, 0x67, 0x6e, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x0b, 0x70, - 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x6f, 0x72, - 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x09, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x5f, 0x75, - 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, - 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x63, 0x6b, 0x55, 0x72, 0x6c, 0x12, 0x43, 0x0a, 0x08, 0x63, - 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, + 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x09, 0x6c, 0x61, + 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, - 0x12, 0x4e, 0x0a, 0x0e, 0x69, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x75, - 0x72, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x48, 0x0a, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, + 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, + 0x70, 0x6f, 0x73, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x3b, 0x0a, 0x04, 0x63, 0x69, + 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0d, 0x69, 0x6d, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x72, 0x6c, - 0x12, 0x3f, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, - 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x73, 0x12, 0x4e, 0x0a, 0x0e, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x70, 0x6f, 0x69, - 0x6e, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, + 0x65, 0x52, 0x04, 0x63, 0x69, 0x74, 0x79, 0x12, 0x5b, 0x0a, 0x15, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, + 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x13, 0x73, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x52, 0x65, + 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, + 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x42, 0x0a, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x5f, + 0x69, 0x64, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, - 0x70, 0x65, 0x52, 0x0d, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, - 0x73, 0x12, 0x41, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x63, 0x69, 0x6e, 0x67, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x70, 0x72, 0x69, - 0x63, 0x69, 0x6e, 0x67, 0x42, 0x7d, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, 0x82, 0xb5, 0x18, 0x06, - 0x08, 0x03, 0x10, 0x01, 0x18, 0x02, 0x5a, 0x6b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6c, 0x69, 0x62, 0x73, - 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x2f, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x3b, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x70, 0x65, 0x52, 0x07, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x73, 0x12, 0x48, 0x0a, 0x0b, 0x73, + 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x65, 0x67, 0x6d, 0x65, + 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x56, 0x0a, 0x12, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x5f, 0x73, + 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x10, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x27, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x65, 0x6d, 0x61, 0x69, + 0x6c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x78, 0x82, + 0xc4, 0x13, 0x02, 0x08, 0x02, 0x82, 0xb5, 0x18, 0x06, 0x08, 0x03, 0x10, 0x01, 0x18, 0x02, 0x5a, + 0x66, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, + 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2f, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x6f, 0x6e, 0x74, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, }) var ( @@ -2707,171 +2457,155 @@ func file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescGZIP() []byte return file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDescData } -var file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes = make([]protoimpl.MessageInfo, 29) +var file_platform_ontology_v2alpha_spec_data_catalog_proto_msgTypes = make([]protoimpl.MessageInfo, 27) var file_platform_ontology_v2alpha_spec_data_catalog_proto_goTypes = []any{ (*SpecDataCatalog)(nil), // 0: platform.ontology.v2alpha.SpecDataCatalog - (*Advertisement)(nil), // 1: platform.ontology.v2alpha.Advertisement - (*Audit)(nil), // 2: platform.ontology.v2alpha.Audit - (*Cli)(nil), // 3: platform.ontology.v2alpha.Cli - (*Communication)(nil), // 4: platform.ontology.v2alpha.Communication - (*Configuration)(nil), // 5: platform.ontology.v2alpha.Configuration - (*Cryptography)(nil), // 6: platform.ontology.v2alpha.Cryptography - (*Dns)(nil), // 7: platform.ontology.v2alpha.Dns - (*Ecosystem)(nil), // 8: platform.ontology.v2alpha.Ecosystem - (*Edge)(nil), // 9: platform.ontology.v2alpha.Edge - (*Iam)(nil), // 10: platform.ontology.v2alpha.Iam - (*Mesh)(nil), // 11: platform.ontology.v2alpha.Mesh - (*Ontology)(nil), // 12: platform.ontology.v2alpha.Ontology - (*Options)(nil), // 13: platform.ontology.v2alpha.Options - (*Reference)(nil), // 14: platform.ontology.v2alpha.Reference - (*Spec)(nil), // 15: platform.ontology.v2alpha.Spec - (*System)(nil), // 16: platform.ontology.v2alpha.System - (*Type)(nil), // 17: platform.ontology.v2alpha.Type - (*AuditV2Alpha)(nil), // 18: platform.ontology.v2alpha.AuditV2Alpha - (*ConfigurationV2Alpha)(nil), // 19: platform.ontology.v2alpha.ConfigurationV2Alpha - (*CertificateV2Alpha)(nil), // 20: platform.ontology.v2alpha.CertificateV2Alpha - (*EcosystemV2Alpha)(nil), // 21: platform.ontology.v2alpha.EcosystemV2Alpha - (*AccountV2Alpha)(nil), // 22: platform.ontology.v2alpha.AccountV2Alpha - (*AccountAuthorityV2Alpha)(nil), // 23: platform.ontology.v2alpha.AccountAuthorityV2Alpha - (*ReferenceV2Alpha)(nil), // 24: platform.ontology.v2alpha.ReferenceV2Alpha - (*SystemV2Alpha)(nil), // 25: platform.ontology.v2alpha.SystemV2Alpha + (*Audit)(nil), // 1: platform.ontology.v2alpha.Audit + (*Cli)(nil), // 2: platform.ontology.v2alpha.Cli + (*Communication)(nil), // 3: platform.ontology.v2alpha.Communication + (*Configuration)(nil), // 4: platform.ontology.v2alpha.Configuration + (*Cryptography)(nil), // 5: platform.ontology.v2alpha.Cryptography + (*Dns)(nil), // 6: platform.ontology.v2alpha.Dns + (*Ecosystem)(nil), // 7: platform.ontology.v2alpha.Ecosystem + (*Edge)(nil), // 8: platform.ontology.v2alpha.Edge + (*Iam)(nil), // 9: platform.ontology.v2alpha.Iam + (*Mesh)(nil), // 10: platform.ontology.v2alpha.Mesh + (*Ontology)(nil), // 11: platform.ontology.v2alpha.Ontology + (*Options)(nil), // 12: platform.ontology.v2alpha.Options + (*Reference)(nil), // 13: platform.ontology.v2alpha.Reference + (*Spec)(nil), // 14: platform.ontology.v2alpha.Spec + (*System)(nil), // 15: platform.ontology.v2alpha.System + (*Type)(nil), // 16: platform.ontology.v2alpha.Type + (*AuditV2Alpha)(nil), // 17: platform.ontology.v2alpha.AuditV2Alpha + (*ConfigurationV2Alpha)(nil), // 18: platform.ontology.v2alpha.ConfigurationV2Alpha + (*CertificateV2Alpha)(nil), // 19: platform.ontology.v2alpha.CertificateV2Alpha + (*EcosystemV2Alpha)(nil), // 20: platform.ontology.v2alpha.EcosystemV2Alpha + (*AccountV2Alpha)(nil), // 21: platform.ontology.v2alpha.AccountV2Alpha + (*AccountAuthorityV2Alpha)(nil), // 22: platform.ontology.v2alpha.AccountAuthorityV2Alpha + (*ReferenceV2Alpha)(nil), // 23: platform.ontology.v2alpha.ReferenceV2Alpha + (*SystemV2Alpha)(nil), // 24: platform.ontology.v2alpha.SystemV2Alpha + (*PreferenceCenterV1Beta)(nil), // 25: platform.ontology.v2alpha.PreferenceCenterV1Beta (*PreferenceCenterV1Alpha)(nil), // 26: platform.ontology.v2alpha.PreferenceCenterV1Alpha - (*PreferenceCenterV1Beta)(nil), // 27: platform.ontology.v2alpha.PreferenceCenterV1Beta - (*DecisionV1)(nil), // 28: platform.ontology.v2alpha.DecisionV1 - (v2.ClassificationType)(0), // 29: platform.options.v2.ClassificationType + (v2.ClassificationType)(0), // 27: platform.options.v2.ClassificationType } var file_platform_ontology_v2alpha_spec_data_catalog_proto_depIdxs = []int32{ - 1, // 0: platform.ontology.v2alpha.SpecDataCatalog.advertisement:type_name -> platform.ontology.v2alpha.Advertisement - 2, // 1: platform.ontology.v2alpha.SpecDataCatalog.audit:type_name -> platform.ontology.v2alpha.Audit - 3, // 2: platform.ontology.v2alpha.SpecDataCatalog.cli:type_name -> platform.ontology.v2alpha.Cli - 4, // 3: platform.ontology.v2alpha.SpecDataCatalog.communication:type_name -> platform.ontology.v2alpha.Communication - 5, // 4: platform.ontology.v2alpha.SpecDataCatalog.configuration:type_name -> platform.ontology.v2alpha.Configuration - 6, // 5: platform.ontology.v2alpha.SpecDataCatalog.cryptography:type_name -> platform.ontology.v2alpha.Cryptography - 7, // 6: platform.ontology.v2alpha.SpecDataCatalog.dns:type_name -> platform.ontology.v2alpha.Dns - 8, // 7: platform.ontology.v2alpha.SpecDataCatalog.ecosystem:type_name -> platform.ontology.v2alpha.Ecosystem - 9, // 8: platform.ontology.v2alpha.SpecDataCatalog.edge:type_name -> platform.ontology.v2alpha.Edge - 10, // 9: platform.ontology.v2alpha.SpecDataCatalog.iam:type_name -> platform.ontology.v2alpha.Iam - 11, // 10: platform.ontology.v2alpha.SpecDataCatalog.mesh:type_name -> platform.ontology.v2alpha.Mesh - 12, // 11: platform.ontology.v2alpha.SpecDataCatalog.ontology:type_name -> platform.ontology.v2alpha.Ontology - 13, // 12: platform.ontology.v2alpha.SpecDataCatalog.options:type_name -> platform.ontology.v2alpha.Options - 14, // 13: platform.ontology.v2alpha.SpecDataCatalog.reference:type_name -> platform.ontology.v2alpha.Reference - 15, // 14: platform.ontology.v2alpha.SpecDataCatalog.spec:type_name -> platform.ontology.v2alpha.Spec - 16, // 15: platform.ontology.v2alpha.SpecDataCatalog.system:type_name -> platform.ontology.v2alpha.System - 17, // 16: platform.ontology.v2alpha.SpecDataCatalog.type:type_name -> platform.ontology.v2alpha.Type - 28, // 17: platform.ontology.v2alpha.Advertisement.decision_v1:type_name -> platform.ontology.v2alpha.DecisionV1 - 18, // 18: platform.ontology.v2alpha.Audit.audit_v2alpha:type_name -> platform.ontology.v2alpha.AuditV2Alpha - 26, // 19: platform.ontology.v2alpha.Communication.preference_center_v1alpha:type_name -> platform.ontology.v2alpha.PreferenceCenterV1Alpha - 27, // 20: platform.ontology.v2alpha.Communication.preference_center_v1beta:type_name -> platform.ontology.v2alpha.PreferenceCenterV1Beta - 19, // 21: platform.ontology.v2alpha.Configuration.configuration_v2alpha:type_name -> platform.ontology.v2alpha.ConfigurationV2Alpha - 20, // 22: platform.ontology.v2alpha.Cryptography.certificate_v2alpha:type_name -> platform.ontology.v2alpha.CertificateV2Alpha - 21, // 23: platform.ontology.v2alpha.Ecosystem.ecosystem_v2alpha:type_name -> platform.ontology.v2alpha.EcosystemV2Alpha - 22, // 24: platform.ontology.v2alpha.Iam.account_v2alpha:type_name -> platform.ontology.v2alpha.AccountV2Alpha - 23, // 25: platform.ontology.v2alpha.Iam.account_authority_v2alpha:type_name -> platform.ontology.v2alpha.AccountAuthorityV2Alpha - 24, // 26: platform.ontology.v2alpha.Reference.reference_v2alpha:type_name -> platform.ontology.v2alpha.ReferenceV2Alpha - 25, // 27: platform.ontology.v2alpha.System.system_v2alpha:type_name -> platform.ontology.v2alpha.SystemV2Alpha - 29, // 28: platform.ontology.v2alpha.AuditV2Alpha.id:type_name -> platform.options.v2.ClassificationType - 29, // 29: platform.ontology.v2alpha.AuditV2Alpha.created_at:type_name -> platform.options.v2.ClassificationType - 29, // 30: platform.ontology.v2alpha.AuditV2Alpha.updated_at:type_name -> platform.options.v2.ClassificationType - 29, // 31: platform.ontology.v2alpha.AuditV2Alpha.entry:type_name -> platform.options.v2.ClassificationType - 29, // 32: platform.ontology.v2alpha.AuditV2Alpha.jurisdiction:type_name -> platform.options.v2.ClassificationType - 29, // 33: platform.ontology.v2alpha.ConfigurationV2Alpha.id:type_name -> platform.options.v2.ClassificationType - 29, // 34: platform.ontology.v2alpha.ConfigurationV2Alpha.organization_slug:type_name -> platform.options.v2.ClassificationType - 29, // 35: platform.ontology.v2alpha.ConfigurationV2Alpha.workspace_slug:type_name -> platform.options.v2.ClassificationType - 29, // 36: platform.ontology.v2alpha.ConfigurationV2Alpha.created_at:type_name -> platform.options.v2.ClassificationType - 29, // 37: platform.ontology.v2alpha.ConfigurationV2Alpha.updated_at:type_name -> platform.options.v2.ClassificationType - 29, // 38: platform.ontology.v2alpha.ConfigurationV2Alpha.source_id:type_name -> platform.options.v2.ClassificationType - 29, // 39: platform.ontology.v2alpha.ConfigurationV2Alpha.type:type_name -> platform.options.v2.ClassificationType - 29, // 40: platform.ontology.v2alpha.ConfigurationV2Alpha.status:type_name -> platform.options.v2.ClassificationType - 29, // 41: platform.ontology.v2alpha.ConfigurationV2Alpha.status_details:type_name -> platform.options.v2.ClassificationType - 29, // 42: platform.ontology.v2alpha.ConfigurationV2Alpha.parent_id:type_name -> platform.options.v2.ClassificationType - 29, // 43: platform.ontology.v2alpha.ConfigurationV2Alpha.data_catalog:type_name -> platform.options.v2.ClassificationType - 29, // 44: platform.ontology.v2alpha.ConfigurationV2Alpha.clinical_catalog:type_name -> platform.options.v2.ClassificationType - 29, // 45: platform.ontology.v2alpha.ConfigurationV2Alpha.platform_configuration:type_name -> platform.options.v2.ClassificationType - 29, // 46: platform.ontology.v2alpha.ConfigurationV2Alpha.platform_configurations:type_name -> platform.options.v2.ClassificationType - 29, // 47: platform.ontology.v2alpha.ConfigurationV2Alpha.solution_configurations:type_name -> platform.options.v2.ClassificationType - 29, // 48: platform.ontology.v2alpha.ConfigurationV2Alpha.connector_configurations:type_name -> platform.options.v2.ClassificationType - 29, // 49: platform.ontology.v2alpha.CertificateV2Alpha.id:type_name -> platform.options.v2.ClassificationType - 29, // 50: platform.ontology.v2alpha.CertificateV2Alpha.created_at:type_name -> platform.options.v2.ClassificationType - 29, // 51: platform.ontology.v2alpha.CertificateV2Alpha.updated_at:type_name -> platform.options.v2.ClassificationType - 29, // 52: platform.ontology.v2alpha.CertificateV2Alpha.name:type_name -> platform.options.v2.ClassificationType - 29, // 53: platform.ontology.v2alpha.CertificateV2Alpha.duration:type_name -> platform.options.v2.ClassificationType - 29, // 54: platform.ontology.v2alpha.CertificateV2Alpha.certificate:type_name -> platform.options.v2.ClassificationType - 29, // 55: platform.ontology.v2alpha.EcosystemV2Alpha.id:type_name -> platform.options.v2.ClassificationType - 29, // 56: platform.ontology.v2alpha.EcosystemV2Alpha.slug:type_name -> platform.options.v2.ClassificationType - 29, // 57: platform.ontology.v2alpha.EcosystemV2Alpha.created_at:type_name -> platform.options.v2.ClassificationType - 29, // 58: platform.ontology.v2alpha.EcosystemV2Alpha.updated_at:type_name -> platform.options.v2.ClassificationType - 29, // 59: platform.ontology.v2alpha.EcosystemV2Alpha.source_id:type_name -> platform.options.v2.ClassificationType - 29, // 60: platform.ontology.v2alpha.EcosystemV2Alpha.type:type_name -> platform.options.v2.ClassificationType - 29, // 61: platform.ontology.v2alpha.EcosystemV2Alpha.status:type_name -> platform.options.v2.ClassificationType - 29, // 62: platform.ontology.v2alpha.EcosystemV2Alpha.status_details:type_name -> platform.options.v2.ClassificationType - 29, // 63: platform.ontology.v2alpha.EcosystemV2Alpha.name:type_name -> platform.options.v2.ClassificationType - 29, // 64: platform.ontology.v2alpha.EcosystemV2Alpha.short_description:type_name -> platform.options.v2.ClassificationType - 29, // 65: platform.ontology.v2alpha.EcosystemV2Alpha.description:type_name -> platform.options.v2.ClassificationType - 29, // 66: platform.ontology.v2alpha.EcosystemV2Alpha.cidr:type_name -> platform.options.v2.ClassificationType - 29, // 67: platform.ontology.v2alpha.AccountV2Alpha.id:type_name -> platform.options.v2.ClassificationType - 29, // 68: platform.ontology.v2alpha.AccountV2Alpha.created_at:type_name -> platform.options.v2.ClassificationType - 29, // 69: platform.ontology.v2alpha.AccountV2Alpha.updated_at:type_name -> platform.options.v2.ClassificationType - 29, // 70: platform.ontology.v2alpha.AccountV2Alpha.credential:type_name -> platform.options.v2.ClassificationType - 29, // 71: platform.ontology.v2alpha.AccountAuthorityV2Alpha.id:type_name -> platform.options.v2.ClassificationType - 29, // 72: platform.ontology.v2alpha.AccountAuthorityV2Alpha.created_at:type_name -> platform.options.v2.ClassificationType - 29, // 73: platform.ontology.v2alpha.AccountAuthorityV2Alpha.updated_at:type_name -> platform.options.v2.ClassificationType - 29, // 74: platform.ontology.v2alpha.AccountAuthorityV2Alpha.credential:type_name -> platform.options.v2.ClassificationType - 29, // 75: platform.ontology.v2alpha.ReferenceV2Alpha.id:type_name -> platform.options.v2.ClassificationType - 29, // 76: platform.ontology.v2alpha.ReferenceV2Alpha.created_at:type_name -> platform.options.v2.ClassificationType - 29, // 77: platform.ontology.v2alpha.ReferenceV2Alpha.updated_at:type_name -> platform.options.v2.ClassificationType - 29, // 78: platform.ontology.v2alpha.SystemV2Alpha.id:type_name -> platform.options.v2.ClassificationType - 29, // 79: platform.ontology.v2alpha.SystemV2Alpha.enabled_at:type_name -> platform.options.v2.ClassificationType - 29, // 80: platform.ontology.v2alpha.SystemV2Alpha.created_at:type_name -> platform.options.v2.ClassificationType - 29, // 81: platform.ontology.v2alpha.SystemV2Alpha.updated_at:type_name -> platform.options.v2.ClassificationType - 29, // 82: platform.ontology.v2alpha.PreferenceCenterV1Alpha.id:type_name -> platform.options.v2.ClassificationType - 29, // 83: platform.ontology.v2alpha.PreferenceCenterV1Alpha.created_at:type_name -> platform.options.v2.ClassificationType - 29, // 84: platform.ontology.v2alpha.PreferenceCenterV1Alpha.updated_at:type_name -> platform.options.v2.ClassificationType - 29, // 85: platform.ontology.v2alpha.PreferenceCenterV1Alpha.anonymous_id:type_name -> platform.options.v2.ClassificationType - 29, // 86: platform.ontology.v2alpha.PreferenceCenterV1Alpha.email:type_name -> platform.options.v2.ClassificationType - 29, // 87: platform.ontology.v2alpha.PreferenceCenterV1Alpha.external_id:type_name -> platform.options.v2.ClassificationType - 29, // 88: platform.ontology.v2alpha.PreferenceCenterV1Alpha.phone_number:type_name -> platform.options.v2.ClassificationType - 29, // 89: platform.ontology.v2alpha.PreferenceCenterV1Alpha.first_name:type_name -> platform.options.v2.ClassificationType - 29, // 90: platform.ontology.v2alpha.PreferenceCenterV1Alpha.last_name:type_name -> platform.options.v2.ClassificationType - 29, // 91: platform.ontology.v2alpha.PreferenceCenterV1Alpha.postal_code:type_name -> platform.options.v2.ClassificationType - 29, // 92: platform.ontology.v2alpha.PreferenceCenterV1Alpha.city:type_name -> platform.options.v2.ClassificationType - 29, // 93: platform.ontology.v2alpha.PreferenceCenterV1Alpha.state_province_region:type_name -> platform.options.v2.ClassificationType - 29, // 94: platform.ontology.v2alpha.PreferenceCenterV1Alpha.country:type_name -> platform.options.v2.ClassificationType - 29, // 95: platform.ontology.v2alpha.PreferenceCenterV1Alpha.list_ids:type_name -> platform.options.v2.ClassificationType - 29, // 96: platform.ontology.v2alpha.PreferenceCenterV1Alpha.segment_ids:type_name -> platform.options.v2.ClassificationType - 29, // 97: platform.ontology.v2alpha.PreferenceCenterV1Alpha.email_subscription:type_name -> platform.options.v2.ClassificationType - 29, // 98: platform.ontology.v2alpha.PreferenceCenterV1Beta.id:type_name -> platform.options.v2.ClassificationType - 29, // 99: platform.ontology.v2alpha.PreferenceCenterV1Beta.created_at:type_name -> platform.options.v2.ClassificationType - 29, // 100: platform.ontology.v2alpha.PreferenceCenterV1Beta.updated_at:type_name -> platform.options.v2.ClassificationType - 29, // 101: platform.ontology.v2alpha.PreferenceCenterV1Beta.anonymous_id:type_name -> platform.options.v2.ClassificationType - 29, // 102: platform.ontology.v2alpha.PreferenceCenterV1Beta.email:type_name -> platform.options.v2.ClassificationType - 29, // 103: platform.ontology.v2alpha.PreferenceCenterV1Beta.external_id:type_name -> platform.options.v2.ClassificationType - 29, // 104: platform.ontology.v2alpha.PreferenceCenterV1Beta.phone_number:type_name -> platform.options.v2.ClassificationType - 29, // 105: platform.ontology.v2alpha.PreferenceCenterV1Beta.first_name:type_name -> platform.options.v2.ClassificationType - 29, // 106: platform.ontology.v2alpha.PreferenceCenterV1Beta.last_name:type_name -> platform.options.v2.ClassificationType - 29, // 107: platform.ontology.v2alpha.PreferenceCenterV1Beta.postal_code:type_name -> platform.options.v2.ClassificationType - 29, // 108: platform.ontology.v2alpha.PreferenceCenterV1Beta.city:type_name -> platform.options.v2.ClassificationType - 29, // 109: platform.ontology.v2alpha.PreferenceCenterV1Beta.state_province_region:type_name -> platform.options.v2.ClassificationType - 29, // 110: platform.ontology.v2alpha.PreferenceCenterV1Beta.country:type_name -> platform.options.v2.ClassificationType - 29, // 111: platform.ontology.v2alpha.PreferenceCenterV1Beta.list_ids:type_name -> platform.options.v2.ClassificationType - 29, // 112: platform.ontology.v2alpha.PreferenceCenterV1Beta.segment_ids:type_name -> platform.options.v2.ClassificationType - 29, // 113: platform.ontology.v2alpha.PreferenceCenterV1Beta.email_subscription:type_name -> platform.options.v2.ClassificationType - 29, // 114: platform.ontology.v2alpha.DecisionV1.ad_id:type_name -> platform.options.v2.ClassificationType - 29, // 115: platform.ontology.v2alpha.DecisionV1.advertiser_id:type_name -> platform.options.v2.ClassificationType - 29, // 116: platform.ontology.v2alpha.DecisionV1.creative_id:type_name -> platform.options.v2.ClassificationType - 29, // 117: platform.ontology.v2alpha.DecisionV1.flight_id:type_name -> platform.options.v2.ClassificationType - 29, // 118: platform.ontology.v2alpha.DecisionV1.campaign_id:type_name -> platform.options.v2.ClassificationType - 29, // 119: platform.ontology.v2alpha.DecisionV1.priority_id:type_name -> platform.options.v2.ClassificationType - 29, // 120: platform.ontology.v2alpha.DecisionV1.click_url:type_name -> platform.options.v2.ClassificationType - 29, // 121: platform.ontology.v2alpha.DecisionV1.contents:type_name -> platform.options.v2.ClassificationType - 29, // 122: platform.ontology.v2alpha.DecisionV1.impression_url:type_name -> platform.options.v2.ClassificationType - 29, // 123: platform.ontology.v2alpha.DecisionV1.events:type_name -> platform.options.v2.ClassificationType - 29, // 124: platform.ontology.v2alpha.DecisionV1.matched_points:type_name -> platform.options.v2.ClassificationType - 29, // 125: platform.ontology.v2alpha.DecisionV1.pricing:type_name -> platform.options.v2.ClassificationType - 126, // [126:126] is the sub-list for method output_type - 126, // [126:126] is the sub-list for method input_type - 126, // [126:126] is the sub-list for extension type_name - 126, // [126:126] is the sub-list for extension extendee - 0, // [0:126] is the sub-list for field type_name + 1, // 0: platform.ontology.v2alpha.SpecDataCatalog.audit:type_name -> platform.ontology.v2alpha.Audit + 2, // 1: platform.ontology.v2alpha.SpecDataCatalog.cli:type_name -> platform.ontology.v2alpha.Cli + 3, // 2: platform.ontology.v2alpha.SpecDataCatalog.communication:type_name -> platform.ontology.v2alpha.Communication + 4, // 3: platform.ontology.v2alpha.SpecDataCatalog.configuration:type_name -> platform.ontology.v2alpha.Configuration + 5, // 4: platform.ontology.v2alpha.SpecDataCatalog.cryptography:type_name -> platform.ontology.v2alpha.Cryptography + 6, // 5: platform.ontology.v2alpha.SpecDataCatalog.dns:type_name -> platform.ontology.v2alpha.Dns + 7, // 6: platform.ontology.v2alpha.SpecDataCatalog.ecosystem:type_name -> platform.ontology.v2alpha.Ecosystem + 8, // 7: platform.ontology.v2alpha.SpecDataCatalog.edge:type_name -> platform.ontology.v2alpha.Edge + 9, // 8: platform.ontology.v2alpha.SpecDataCatalog.iam:type_name -> platform.ontology.v2alpha.Iam + 10, // 9: platform.ontology.v2alpha.SpecDataCatalog.mesh:type_name -> platform.ontology.v2alpha.Mesh + 11, // 10: platform.ontology.v2alpha.SpecDataCatalog.ontology:type_name -> platform.ontology.v2alpha.Ontology + 12, // 11: platform.ontology.v2alpha.SpecDataCatalog.options:type_name -> platform.ontology.v2alpha.Options + 13, // 12: platform.ontology.v2alpha.SpecDataCatalog.reference:type_name -> platform.ontology.v2alpha.Reference + 14, // 13: platform.ontology.v2alpha.SpecDataCatalog.spec:type_name -> platform.ontology.v2alpha.Spec + 15, // 14: platform.ontology.v2alpha.SpecDataCatalog.system:type_name -> platform.ontology.v2alpha.System + 16, // 15: platform.ontology.v2alpha.SpecDataCatalog.type:type_name -> platform.ontology.v2alpha.Type + 17, // 16: platform.ontology.v2alpha.Audit.audit_v2alpha:type_name -> platform.ontology.v2alpha.AuditV2Alpha + 25, // 17: platform.ontology.v2alpha.Communication.preference_center_v1beta:type_name -> platform.ontology.v2alpha.PreferenceCenterV1Beta + 26, // 18: platform.ontology.v2alpha.Communication.preference_center_v1alpha:type_name -> platform.ontology.v2alpha.PreferenceCenterV1Alpha + 18, // 19: platform.ontology.v2alpha.Configuration.configuration_v2alpha:type_name -> platform.ontology.v2alpha.ConfigurationV2Alpha + 19, // 20: platform.ontology.v2alpha.Cryptography.certificate_v2alpha:type_name -> platform.ontology.v2alpha.CertificateV2Alpha + 20, // 21: platform.ontology.v2alpha.Ecosystem.ecosystem_v2alpha:type_name -> platform.ontology.v2alpha.EcosystemV2Alpha + 21, // 22: platform.ontology.v2alpha.Iam.account_v2alpha:type_name -> platform.ontology.v2alpha.AccountV2Alpha + 22, // 23: platform.ontology.v2alpha.Iam.account_authority_v2alpha:type_name -> platform.ontology.v2alpha.AccountAuthorityV2Alpha + 23, // 24: platform.ontology.v2alpha.Reference.reference_v2alpha:type_name -> platform.ontology.v2alpha.ReferenceV2Alpha + 24, // 25: platform.ontology.v2alpha.System.system_v2alpha:type_name -> platform.ontology.v2alpha.SystemV2Alpha + 27, // 26: platform.ontology.v2alpha.AuditV2Alpha.id:type_name -> platform.options.v2.ClassificationType + 27, // 27: platform.ontology.v2alpha.AuditV2Alpha.created_at:type_name -> platform.options.v2.ClassificationType + 27, // 28: platform.ontology.v2alpha.AuditV2Alpha.updated_at:type_name -> platform.options.v2.ClassificationType + 27, // 29: platform.ontology.v2alpha.AuditV2Alpha.entry:type_name -> platform.options.v2.ClassificationType + 27, // 30: platform.ontology.v2alpha.AuditV2Alpha.jurisdiction:type_name -> platform.options.v2.ClassificationType + 27, // 31: platform.ontology.v2alpha.ConfigurationV2Alpha.id:type_name -> platform.options.v2.ClassificationType + 27, // 32: platform.ontology.v2alpha.ConfigurationV2Alpha.organization_slug:type_name -> platform.options.v2.ClassificationType + 27, // 33: platform.ontology.v2alpha.ConfigurationV2Alpha.workspace_slug:type_name -> platform.options.v2.ClassificationType + 27, // 34: platform.ontology.v2alpha.ConfigurationV2Alpha.created_at:type_name -> platform.options.v2.ClassificationType + 27, // 35: platform.ontology.v2alpha.ConfigurationV2Alpha.updated_at:type_name -> platform.options.v2.ClassificationType + 27, // 36: platform.ontology.v2alpha.ConfigurationV2Alpha.source_id:type_name -> platform.options.v2.ClassificationType + 27, // 37: platform.ontology.v2alpha.ConfigurationV2Alpha.type:type_name -> platform.options.v2.ClassificationType + 27, // 38: platform.ontology.v2alpha.ConfigurationV2Alpha.status:type_name -> platform.options.v2.ClassificationType + 27, // 39: platform.ontology.v2alpha.ConfigurationV2Alpha.status_details:type_name -> platform.options.v2.ClassificationType + 27, // 40: platform.ontology.v2alpha.ConfigurationV2Alpha.parent_id:type_name -> platform.options.v2.ClassificationType + 27, // 41: platform.ontology.v2alpha.ConfigurationV2Alpha.data_catalog:type_name -> platform.options.v2.ClassificationType + 27, // 42: platform.ontology.v2alpha.ConfigurationV2Alpha.clinical_catalog:type_name -> platform.options.v2.ClassificationType + 27, // 43: platform.ontology.v2alpha.ConfigurationV2Alpha.platform_configuration:type_name -> platform.options.v2.ClassificationType + 27, // 44: platform.ontology.v2alpha.ConfigurationV2Alpha.platform_configurations:type_name -> platform.options.v2.ClassificationType + 27, // 45: platform.ontology.v2alpha.ConfigurationV2Alpha.solution_configurations:type_name -> platform.options.v2.ClassificationType + 27, // 46: platform.ontology.v2alpha.ConfigurationV2Alpha.connector_configurations:type_name -> platform.options.v2.ClassificationType + 27, // 47: platform.ontology.v2alpha.CertificateV2Alpha.id:type_name -> platform.options.v2.ClassificationType + 27, // 48: platform.ontology.v2alpha.CertificateV2Alpha.created_at:type_name -> platform.options.v2.ClassificationType + 27, // 49: platform.ontology.v2alpha.CertificateV2Alpha.updated_at:type_name -> platform.options.v2.ClassificationType + 27, // 50: platform.ontology.v2alpha.CertificateV2Alpha.name:type_name -> platform.options.v2.ClassificationType + 27, // 51: platform.ontology.v2alpha.CertificateV2Alpha.duration:type_name -> platform.options.v2.ClassificationType + 27, // 52: platform.ontology.v2alpha.CertificateV2Alpha.certificate:type_name -> platform.options.v2.ClassificationType + 27, // 53: platform.ontology.v2alpha.EcosystemV2Alpha.id:type_name -> platform.options.v2.ClassificationType + 27, // 54: platform.ontology.v2alpha.EcosystemV2Alpha.slug:type_name -> platform.options.v2.ClassificationType + 27, // 55: platform.ontology.v2alpha.EcosystemV2Alpha.created_at:type_name -> platform.options.v2.ClassificationType + 27, // 56: platform.ontology.v2alpha.EcosystemV2Alpha.updated_at:type_name -> platform.options.v2.ClassificationType + 27, // 57: platform.ontology.v2alpha.EcosystemV2Alpha.source_id:type_name -> platform.options.v2.ClassificationType + 27, // 58: platform.ontology.v2alpha.EcosystemV2Alpha.type:type_name -> platform.options.v2.ClassificationType + 27, // 59: platform.ontology.v2alpha.EcosystemV2Alpha.status:type_name -> platform.options.v2.ClassificationType + 27, // 60: platform.ontology.v2alpha.EcosystemV2Alpha.status_details:type_name -> platform.options.v2.ClassificationType + 27, // 61: platform.ontology.v2alpha.EcosystemV2Alpha.name:type_name -> platform.options.v2.ClassificationType + 27, // 62: platform.ontology.v2alpha.EcosystemV2Alpha.short_description:type_name -> platform.options.v2.ClassificationType + 27, // 63: platform.ontology.v2alpha.EcosystemV2Alpha.description:type_name -> platform.options.v2.ClassificationType + 27, // 64: platform.ontology.v2alpha.EcosystemV2Alpha.cidr:type_name -> platform.options.v2.ClassificationType + 27, // 65: platform.ontology.v2alpha.AccountV2Alpha.id:type_name -> platform.options.v2.ClassificationType + 27, // 66: platform.ontology.v2alpha.AccountV2Alpha.created_at:type_name -> platform.options.v2.ClassificationType + 27, // 67: platform.ontology.v2alpha.AccountV2Alpha.updated_at:type_name -> platform.options.v2.ClassificationType + 27, // 68: platform.ontology.v2alpha.AccountV2Alpha.credential:type_name -> platform.options.v2.ClassificationType + 27, // 69: platform.ontology.v2alpha.AccountAuthorityV2Alpha.id:type_name -> platform.options.v2.ClassificationType + 27, // 70: platform.ontology.v2alpha.AccountAuthorityV2Alpha.created_at:type_name -> platform.options.v2.ClassificationType + 27, // 71: platform.ontology.v2alpha.AccountAuthorityV2Alpha.updated_at:type_name -> platform.options.v2.ClassificationType + 27, // 72: platform.ontology.v2alpha.AccountAuthorityV2Alpha.credential:type_name -> platform.options.v2.ClassificationType + 27, // 73: platform.ontology.v2alpha.ReferenceV2Alpha.id:type_name -> platform.options.v2.ClassificationType + 27, // 74: platform.ontology.v2alpha.ReferenceV2Alpha.created_at:type_name -> platform.options.v2.ClassificationType + 27, // 75: platform.ontology.v2alpha.ReferenceV2Alpha.updated_at:type_name -> platform.options.v2.ClassificationType + 27, // 76: platform.ontology.v2alpha.SystemV2Alpha.id:type_name -> platform.options.v2.ClassificationType + 27, // 77: platform.ontology.v2alpha.SystemV2Alpha.enabled_at:type_name -> platform.options.v2.ClassificationType + 27, // 78: platform.ontology.v2alpha.SystemV2Alpha.created_at:type_name -> platform.options.v2.ClassificationType + 27, // 79: platform.ontology.v2alpha.SystemV2Alpha.updated_at:type_name -> platform.options.v2.ClassificationType + 27, // 80: platform.ontology.v2alpha.PreferenceCenterV1Beta.id:type_name -> platform.options.v2.ClassificationType + 27, // 81: platform.ontology.v2alpha.PreferenceCenterV1Beta.created_at:type_name -> platform.options.v2.ClassificationType + 27, // 82: platform.ontology.v2alpha.PreferenceCenterV1Beta.updated_at:type_name -> platform.options.v2.ClassificationType + 27, // 83: platform.ontology.v2alpha.PreferenceCenterV1Beta.anonymous_id:type_name -> platform.options.v2.ClassificationType + 27, // 84: platform.ontology.v2alpha.PreferenceCenterV1Beta.email:type_name -> platform.options.v2.ClassificationType + 27, // 85: platform.ontology.v2alpha.PreferenceCenterV1Beta.external_id:type_name -> platform.options.v2.ClassificationType + 27, // 86: platform.ontology.v2alpha.PreferenceCenterV1Beta.phone_number:type_name -> platform.options.v2.ClassificationType + 27, // 87: platform.ontology.v2alpha.PreferenceCenterV1Beta.first_name:type_name -> platform.options.v2.ClassificationType + 27, // 88: platform.ontology.v2alpha.PreferenceCenterV1Beta.last_name:type_name -> platform.options.v2.ClassificationType + 27, // 89: platform.ontology.v2alpha.PreferenceCenterV1Beta.postal_code:type_name -> platform.options.v2.ClassificationType + 27, // 90: platform.ontology.v2alpha.PreferenceCenterV1Beta.city:type_name -> platform.options.v2.ClassificationType + 27, // 91: platform.ontology.v2alpha.PreferenceCenterV1Beta.state_province_region:type_name -> platform.options.v2.ClassificationType + 27, // 92: platform.ontology.v2alpha.PreferenceCenterV1Beta.country:type_name -> platform.options.v2.ClassificationType + 27, // 93: platform.ontology.v2alpha.PreferenceCenterV1Beta.list_ids:type_name -> platform.options.v2.ClassificationType + 27, // 94: platform.ontology.v2alpha.PreferenceCenterV1Beta.segment_ids:type_name -> platform.options.v2.ClassificationType + 27, // 95: platform.ontology.v2alpha.PreferenceCenterV1Beta.email_subscription:type_name -> platform.options.v2.ClassificationType + 27, // 96: platform.ontology.v2alpha.PreferenceCenterV1Alpha.id:type_name -> platform.options.v2.ClassificationType + 27, // 97: platform.ontology.v2alpha.PreferenceCenterV1Alpha.created_at:type_name -> platform.options.v2.ClassificationType + 27, // 98: platform.ontology.v2alpha.PreferenceCenterV1Alpha.updated_at:type_name -> platform.options.v2.ClassificationType + 27, // 99: platform.ontology.v2alpha.PreferenceCenterV1Alpha.anonymous_id:type_name -> platform.options.v2.ClassificationType + 27, // 100: platform.ontology.v2alpha.PreferenceCenterV1Alpha.email:type_name -> platform.options.v2.ClassificationType + 27, // 101: platform.ontology.v2alpha.PreferenceCenterV1Alpha.external_id:type_name -> platform.options.v2.ClassificationType + 27, // 102: platform.ontology.v2alpha.PreferenceCenterV1Alpha.phone_number:type_name -> platform.options.v2.ClassificationType + 27, // 103: platform.ontology.v2alpha.PreferenceCenterV1Alpha.first_name:type_name -> platform.options.v2.ClassificationType + 27, // 104: platform.ontology.v2alpha.PreferenceCenterV1Alpha.last_name:type_name -> platform.options.v2.ClassificationType + 27, // 105: platform.ontology.v2alpha.PreferenceCenterV1Alpha.postal_code:type_name -> platform.options.v2.ClassificationType + 27, // 106: platform.ontology.v2alpha.PreferenceCenterV1Alpha.city:type_name -> platform.options.v2.ClassificationType + 27, // 107: platform.ontology.v2alpha.PreferenceCenterV1Alpha.state_province_region:type_name -> platform.options.v2.ClassificationType + 27, // 108: platform.ontology.v2alpha.PreferenceCenterV1Alpha.country:type_name -> platform.options.v2.ClassificationType + 27, // 109: platform.ontology.v2alpha.PreferenceCenterV1Alpha.list_ids:type_name -> platform.options.v2.ClassificationType + 27, // 110: platform.ontology.v2alpha.PreferenceCenterV1Alpha.segment_ids:type_name -> platform.options.v2.ClassificationType + 27, // 111: platform.ontology.v2alpha.PreferenceCenterV1Alpha.email_subscription:type_name -> platform.options.v2.ClassificationType + 112, // [112:112] is the sub-list for method output_type + 112, // [112:112] is the sub-list for method input_type + 112, // [112:112] is the sub-list for extension type_name + 112, // [112:112] is the sub-list for extension extendee + 0, // [0:112] is the sub-list for field type_name } func init() { file_platform_ontology_v2alpha_spec_data_catalog_proto_init() } @@ -2885,7 +2619,7 @@ func file_platform_ontology_v2alpha_spec_data_catalog_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDesc), len(file_platform_ontology_v2alpha_spec_data_catalog_proto_rawDesc)), NumEnums: 0, - NumMessages: 29, + NumMessages: 27, NumExtensions: 0, NumServices: 0, }, diff --git a/libs/public/go/sdk/gen/system/v2alpha/.goreleaser.yaml b/libs/public/go/sdk/gen/platform/system/v2alpha/.goreleaser.yaml similarity index 100% rename from libs/public/go/sdk/gen/system/v2alpha/.goreleaser.yaml rename to libs/public/go/sdk/gen/platform/system/v2alpha/.goreleaser.yaml diff --git a/libs/public/go/sdk/gen/system/v2alpha/README.md b/libs/public/go/sdk/gen/platform/system/v2alpha/README.md similarity index 100% rename from libs/public/go/sdk/gen/system/v2alpha/README.md rename to libs/public/go/sdk/gen/platform/system/v2alpha/README.md diff --git a/libs/public/go/sdk/gen/system/v2alpha/go.mod b/libs/public/go/sdk/gen/platform/system/v2alpha/go.mod similarity index 68% rename from libs/public/go/sdk/gen/system/v2alpha/go.mod rename to libs/public/go/sdk/gen/platform/system/v2alpha/go.mod index d34e4f8c..6c75017f 100644 --- a/libs/public/go/sdk/gen/system/v2alpha/go.mod +++ b/libs/public/go/sdk/gen/platform/system/v2alpha/go.mod @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/system/v2alpha/system.proto -module libs/public/go/sdk/gen/system/v2alpha - +// sourcePath: libs/public/go/sdk/gen/system/v2alpha +module github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/system/v2alpha go 1.23.4 require connectrpc.com/connect v1.17.0 diff --git a/libs/public/go/sdk/gen/system/v2alpha/package.json b/libs/public/go/sdk/gen/platform/system/v2alpha/package.json similarity index 100% rename from libs/public/go/sdk/gen/system/v2alpha/package.json rename to libs/public/go/sdk/gen/platform/system/v2alpha/package.json diff --git a/libs/public/go/sdk/gen/system/v2alpha/project.json b/libs/public/go/sdk/gen/platform/system/v2alpha/project.json similarity index 96% rename from libs/public/go/sdk/gen/system/v2alpha/project.json rename to libs/public/go/sdk/gen/platform/system/v2alpha/project.json index fc5598b8..8385e4f3 100644 --- a/libs/public/go/sdk/gen/system/v2alpha/project.json +++ b/libs/public/go/sdk/gen/platform/system/v2alpha/project.json @@ -1,12 +1,9 @@ { "name": "libs-public-go-sdk-system-v2alpha", - "$schema": "../../../../../../../node_modules/nx/schemas/project-schema.json", + "$schema": "../../../../../../../../node_modules/nx/schemas/project-schema.json", "projectType": "library", "sourceRoot": "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/system/v2alpha", - "implicitDependencies": [ - "proto" - ], "targets": { "build": { diff --git a/libs/public/go/model/gen/platform/system/v2alpha/system.pb.entity.go b/libs/public/go/sdk/gen/platform/system/v2alpha/system.pb.entity.go similarity index 87% rename from libs/public/go/model/gen/platform/system/v2alpha/system.pb.entity.go rename to libs/public/go/sdk/gen/platform/system/v2alpha/system.pb.entity.go index d10529dc..6faf76ec 100644 --- a/libs/public/go/model/gen/platform/system/v2alpha/system.pb.entity.go +++ b/libs/public/go/sdk/gen/platform/system/v2alpha/system.pb.entity.go @@ -1,14 +1,13 @@ // Code generated by protoc-gen-platform go/entity-unspecified. DO NOT EDIT. // source: platform/system/v2alpha/system.proto -package systemv2alphapbmodel +package systemv2alphapb import ( "context" "encoding/json" "errors" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/system/v2alpha" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "google.golang.org/protobuf/types/known/anypb" @@ -17,20 +16,20 @@ import ( ) type SystemSpecEntity struct { - System *systemv2alphapb.System + System *System } func NewSystemSpecEntity(specContext *specv2pb.SpecContext) (*SystemSpecEntity, error) { return &SystemSpecEntity{ - System: &systemv2alphapb.System{}, + System: &System{}, }, nil } func NewSystemSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*SystemSpecEntity, error) { - data := &systemv2alphapb.System{} - err := sdkv2alphalib.GetDataFromSpec[*systemv2alphapb.System](ctx, s, data) + data := &System{} + err := sdkv2alphalib.GetDataFromSpec[*System](ctx, s, data) if err != nil { return nil, sdkv2alphalib.ErrServerInternal.WithInternalErrorDetail(err) } @@ -40,7 +39,7 @@ func NewSystemSpecEntityFromSpec(ctx context.Context, s *specv2pb.Spec) (*System }, nil } -func (entity *SystemSpecEntity) ToProto() (*systemv2alphapb.System, error) { +func (entity *SystemSpecEntity) ToProto() (*System, error) { return entity.System, nil diff --git a/libs/public/go/protobuf/gen/platform/system/v2alpha/system.pb.go b/libs/public/go/sdk/gen/platform/system/v2alpha/system.pb.go similarity index 98% rename from libs/public/go/protobuf/gen/platform/system/v2alpha/system.pb.go rename to libs/public/go/sdk/gen/platform/system/v2alpha/system.pb.go index c6afbe13..9fd1eb88 100644 --- a/libs/public/go/protobuf/gen/platform/system/v2alpha/system.pb.go +++ b/libs/public/go/sdk/gen/platform/system/v2alpha/system.pb.go @@ -740,18 +740,18 @@ var file_platform_system_v2alpha_system_proto_rawDesc = string([]byte{ 0x6e, 0x73, 0x65, 0x22, 0x35, 0xa2, 0xb6, 0x18, 0x09, 0x2a, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0xaa, 0xb6, 0x18, 0x02, 0x08, 0x04, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x3a, 0x01, 0x2a, 0x22, 0x17, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x2f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0xa8, 0x01, 0x82, 0xc4, 0x13, + 0x65, 0x6d, 0x2f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x42, 0xa3, 0x01, 0x82, 0xc4, 0x13, 0x02, 0x08, 0x02, 0x82, 0xb5, 0x18, 0x06, 0x08, 0x03, 0x10, 0x01, 0x18, 0x02, 0x8a, 0xb5, 0x18, 0x18, 0x0a, 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x07, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x03, 0x6a, 0x61, 0x6e, 0x28, 0x02, 0x92, 0xb5, 0x18, 0x03, 0x0a, 0x01, 0x03, - 0x9a, 0xb5, 0x18, 0x02, 0x08, 0x01, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x67, 0x67, 0x69, + 0x9a, 0xb5, 0x18, 0x02, 0x08, 0x01, 0xa2, 0xb5, 0x18, 0x02, 0x08, 0x01, 0x5a, 0x62, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2f, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6c, 0x69, 0x62, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x67, 0x6f, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x3b, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x70, 0x62, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, }) var ( diff --git a/libs/public/go/sdk/v2alpha/gen/platform/system/v2alpha/system.pb.multiplexer.go b/libs/public/go/sdk/gen/platform/system/v2alpha/system.pb.multiplexer.go similarity index 84% rename from libs/public/go/sdk/v2alpha/gen/platform/system/v2alpha/system.pb.multiplexer.go rename to libs/public/go/sdk/gen/platform/system/v2alpha/system.pb.multiplexer.go index d36e6d30..cc8cbd50 100644 --- a/libs/public/go/sdk/v2alpha/gen/platform/system/v2alpha/system.pb.multiplexer.go +++ b/libs/public/go/sdk/gen/platform/system/v2alpha/system.pb.multiplexer.go @@ -1,20 +1,15 @@ // Code generated by protoc-gen-platform go/multiplexer. DO NOT EDIT. // source: platform/system/v2alpha/system.proto -package systemv2alphapbsrv +package systemv2alphapb import ( - "context" - "errors" - "connectrpc.com/connect" - + "errors" "github.com/openecosystems/ecosystem/libs/partner/go/nats" "github.com/openecosystems/ecosystem/libs/partner/go/opentelemetry" "github.com/openecosystems/ecosystem/libs/partner/go/protovalidate" "github.com/openecosystems/ecosystem/libs/partner/go/zap" - "github.com/openecosystems/ecosystem/libs/public/go/model/gen/platform/system/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/system/v2alpha" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "go.opentelemetry.io/otel/trace" "google.golang.org/protobuf/proto" @@ -23,12 +18,15 @@ import ( _ "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" _ "google.golang.org/protobuf/types/known/timestamppb" + + "context" ) // SystemServiceHandler is the domain level implementation of the server API for mutations of the SystemService service type SystemServiceHandler struct{} -func (s *SystemServiceHandler) Enable(ctx context.Context, req *connect.Request[systemv2alphapb.EnableRequest]) (*connect.Response[systemv2alphapb.EnableResponse], error) { +func (s *SystemServiceHandler) Enable(ctx context.Context, req *connect.Request[EnableRequest]) (*connect.Response[EnableResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -51,7 +49,7 @@ func (s *SystemServiceHandler) Enable(ctx context.Context, req *connect.Request[ // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&systemv2alphapb.EnableResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&EnableResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -60,12 +58,12 @@ func (s *SystemServiceHandler) Enable(ctx context.Context, req *connect.Request[ // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := systemv2alphapbmodel.SystemSpecEntity{} + entity := SystemSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: systemv2alphapbmodel.CommandDataSystemTopic, + CommandTopic: CommandDataSystemTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -73,7 +71,7 @@ func (s *SystemServiceHandler) Enable(ctx context.Context, req *connect.Request[ return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd systemv2alphapb.EnableResponse + var dd EnableResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -83,9 +81,11 @@ func (s *SystemServiceHandler) Enable(ctx context.Context, req *connect.Request[ handlerSpan.End() return connect.NewResponse(&dd), nil + } -func (s *SystemServiceHandler) Disable(ctx context.Context, req *connect.Request[systemv2alphapb.DisableRequest]) (*connect.Response[systemv2alphapb.DisableResponse], error) { +func (s *SystemServiceHandler) Disable(ctx context.Context, req *connect.Request[DisableRequest]) (*connect.Response[DisableResponse], error) { + tracer := *opentelemetryv1.Bound.Tracer log := *zaploggerv1.Bound.Logger @@ -108,7 +108,7 @@ func (s *SystemServiceHandler) Disable(ctx context.Context, req *connect.Request // Validate field mask if spec.SpecData.FieldMask != nil && len(spec.SpecData.FieldMask.Paths) > 0 { spec.SpecData.FieldMask.Normalize() - if !spec.SpecData.FieldMask.IsValid(&systemv2alphapb.DisableResponse{}) { + if !spec.SpecData.FieldMask.IsValid(&DisableResponse{}) { log.Error("Invalid field mask") return nil, sdkv2alphalib.ErrServerPreconditionFailed.WithInternalErrorDetail(errors.New("Invalid field mask")) } @@ -117,12 +117,12 @@ func (s *SystemServiceHandler) Disable(ctx context.Context, req *connect.Request // Distributed Domain Handler handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - entity := systemv2alphapbmodel.SystemSpecEntity{} + entity := SystemSpecEntity{} reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ Request: req.Msg, Stream: natsnodev1.NewInboundStream(), CommandName: "", - CommandTopic: systemv2alphapbmodel.CommandDataSystemTopic, + CommandTopic: CommandDataSystemTopic, EntityTypeName: entity.TypeName(), }) if err2 != nil { @@ -130,7 +130,7 @@ func (s *SystemServiceHandler) Disable(ctx context.Context, req *connect.Request return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) } - var dd systemv2alphapb.DisableResponse + var dd DisableResponse err3 := proto.Unmarshal(reply.Data, &dd) if err3 != nil { log.Error(err3.Error()) @@ -140,4 +140,5 @@ func (s *SystemServiceHandler) Disable(ctx context.Context, req *connect.Request handlerSpan.End() return connect.NewResponse(&dd), nil + } diff --git a/libs/public/go/model/gen/platform/system/v2alpha/system.pb.spec.go b/libs/public/go/sdk/gen/platform/system/v2alpha/system.pb.spec.go similarity index 99% rename from libs/public/go/model/gen/platform/system/v2alpha/system.pb.spec.go rename to libs/public/go/sdk/gen/platform/system/v2alpha/system.pb.spec.go index 529734c9..bbe3e8c2 100644 --- a/libs/public/go/model/gen/platform/system/v2alpha/system.pb.spec.go +++ b/libs/public/go/sdk/gen/platform/system/v2alpha/system.pb.spec.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/spec. DO NOT EDIT. // source: platform/system/v2alpha/system.proto -package systemv2alphapbmodel +package systemv2alphapb type SystemCommand int type SystemEvent int diff --git a/libs/public/go/cli/v2alpha/gen/platform/system/v2alpha/disable.pb.go b/libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbcli/disable.cmd.go similarity index 79% rename from libs/public/go/cli/v2alpha/gen/platform/system/v2alpha/disable.pb.go rename to libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbcli/disable.cmd.go index 3736dd0d..3f03323c 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/system/v2alpha/disable.pb.go +++ b/libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbcli/disable.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/system/v2alpha/system.proto -package systemv2alphapbcmd +package systemv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/system/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/system/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/system/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/system/v2alpha" ) var ( @@ -32,7 +31,7 @@ var DisableV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling disable system") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var DisableV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *systemv2alphapbsdk.NewSystemServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *systemv2alphapbconnect.NewSystemServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.Disable(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/system/v2alpha/enable.pb.go b/libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbcli/enable.cmd.go similarity index 78% rename from libs/public/go/cli/v2alpha/gen/platform/system/v2alpha/enable.pb.go rename to libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbcli/enable.cmd.go index 982a7c78..cfc95217 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/system/v2alpha/enable.pb.go +++ b/libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbcli/enable.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-methods. DO NOT EDIT. // source: platform/system/v2alpha/system.proto -package systemv2alphapbcmd +package systemv2alphapbcli import ( "connectrpc.com/connect" @@ -9,14 +9,13 @@ import ( "encoding/json" "fmt" "github.com/apex/log" - cliv2alphalib "github.com/openecosystems/ecosystem/libs/public/go/cli/v2alpha" - "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/system/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/system/v2alpha" + "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbconnect" "github.com/openecosystems/ecosystem/libs/public/go/sdk/v2alpha" "github.com/spf13/cobra" "google.golang.org/protobuf/encoding/protojson" "os" - - "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/system/v2alpha" + //"github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/system/v2alpha" ) var ( @@ -32,7 +31,7 @@ var EnableV2AlphaCmd = &cobra.Command{ Run: func(cmd *cobra.Command, args []string) { log.Debug("Calling enable system") - settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*cliv2alphalib.Configuration) + settings := cmd.Root().Context().Value(sdkv2alphalib.SettingsContextKey).(*sdkv2alphalib.CLIConfiguration) _request, err := cmd.Flags().GetString("request") if err != nil { @@ -59,7 +58,7 @@ var EnableV2AlphaCmd = &cobra.Command{ if settings.Platform.Insecure { url = "http://" + settings.Platform.Mesh.Endpoint } - client := *systemv2alphapbsdk.NewSystemServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(cliv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) + client := *systemv2alphapbconnect.NewSystemServiceSpecClient(&settings.Platform, url, connect.WithInterceptors(sdkv2alphalib.NewCLIInterceptor(settings, sdkv2alphalib.Overrides))) response, err := client.Enable(context.Background(), request) if err != nil { diff --git a/libs/public/go/cli/v2alpha/gen/platform/system/v2alpha/system.cmd.go b/libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbcli/system.cmd.go similarity index 94% rename from libs/public/go/cli/v2alpha/gen/platform/system/v2alpha/system.cmd.go rename to libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbcli/system.cmd.go index d5647af4..d07ca04e 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/system/v2alpha/system.cmd.go +++ b/libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbcli/system.cmd.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-system. DO NOT EDIT. // source: platform/system/v2alpha/system.proto -package systemv2alphapbcmd +package systemv2alphapbcli import ( "github.com/spf13/cobra" diff --git a/libs/public/go/cli/v2alpha/gen/platform/system/v2alpha/system.pb.cmd.go b/libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbcli/system.cmds.go similarity index 95% rename from libs/public/go/cli/v2alpha/gen/platform/system/v2alpha/system.pb.cmd.go rename to libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbcli/system.cmds.go index b7c60c43..25ad46ae 100644 --- a/libs/public/go/cli/v2alpha/gen/platform/system/v2alpha/system.pb.cmd.go +++ b/libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbcli/system.cmds.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-platform go/cli-service. DO NOT EDIT. // source: platform/system/v2alpha/system.proto -package systemv2alphapbcmd +package systemv2alphapbcli import ( "github.com/spf13/cobra" diff --git a/libs/public/go/sdk/gen/system/v2alpha/system.pb.client.go b/libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbconnect/system.client.go similarity index 59% rename from libs/public/go/sdk/gen/system/v2alpha/system.pb.client.go rename to libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbconnect/system.client.go index 7f08167c..441389f8 100644 --- a/libs/public/go/sdk/gen/system/v2alpha/system.pb.client.go +++ b/libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbconnect/system.client.go @@ -1,19 +1,22 @@ // Code generated by protoc-gen-platform go/sdk. DO NOT EDIT. // source: platform/system/v2alpha/system.proto -package systemv2alphapbsdk +package systemv2alphapbconnect import ( + //"net/http" + "connectrpc.com/connect" nebulav1 "github.com/openecosystems/ecosystem/libs/partner/go/nebula" specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" - systemv2alphapbconnect "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/system/v2alpha/systemv2alphapbconnect" ) -func NewSystemServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *systemv2alphapbconnect.SystemServiceClient { +func NewSystemServiceSpecClient(config *specv2pb.Platform, baseURL string, opts ...connect.ClientOption) *SystemServiceClient { nebula := nebulav1.Binding{} httpClient := nebula.GetMeshHTTPClient(config, baseURL) - c := systemv2alphapbconnect.NewSystemServiceClient(httpClient, baseURL, opts...) + //httpClient := http.DefaultClient + + c := NewSystemServiceClient(httpClient, baseURL, opts...) return &c } diff --git a/libs/public/go/protobuf/gen/platform/system/v2alpha/systemv2alphapbconnect/system.connect.go b/libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbconnect/system.connect.go similarity index 98% rename from libs/public/go/protobuf/gen/platform/system/v2alpha/systemv2alphapbconnect/system.connect.go rename to libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbconnect/system.connect.go index a0a67ccc..0561440e 100644 --- a/libs/public/go/protobuf/gen/platform/system/v2alpha/systemv2alphapbconnect/system.connect.go +++ b/libs/public/go/sdk/gen/platform/system/v2alpha/systemv2alphapbconnect/system.connect.go @@ -8,7 +8,7 @@ import ( connect "connectrpc.com/connect" context "context" errors "errors" - v2alpha "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/system/v2alpha" + v2alpha "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/system/v2alpha" http "net/http" strings "strings" ) diff --git a/libs/public/go/sdk/gen/system/v2alpha/CHANGELOG.md b/libs/public/go/sdk/gen/system/v2alpha/CHANGELOG.md deleted file mode 100644 index 6b887a3f..00000000 --- a/libs/public/go/sdk/gen/system/v2alpha/CHANGELOG.md +++ /dev/null @@ -1,77 +0,0 @@ -## 0.1.1 (2024-12-28) - -### 🩹 Fixes - -- stabilizing ([154a00a](https://github.com/openecosystems/ecosystem/commit/154a00a)) -- stabilizing ([bb7fdbf](https://github.com/openecosystems/ecosystem/commit/bb7fdbf)) -- stabilizing ([49ae473](https://github.com/openecosystems/ecosystem/commit/49ae473)) -- stabilizing ([7bc34a6](https://github.com/openecosystems/ecosystem/commit/7bc34a6)) -- stabilizing ([6d6d904](https://github.com/openecosystems/ecosystem/commit/6d6d904)) -- stabilizing ([86a41b4](https://github.com/openecosystems/ecosystem/commit/86a41b4)) -- stabilizing ([904b3c8](https://github.com/openecosystems/ecosystem/commit/904b3c8)) -- stabilizing ([6c1336e](https://github.com/openecosystems/ecosystem/commit/6c1336e)) -- stabilizing ([cf9de6c](https://github.com/openecosystems/ecosystem/commit/cf9de6c)) -- stabilizing ([a2d04a3](https://github.com/openecosystems/ecosystem/commit/a2d04a3)) -- stabilizing ([5f65e48](https://github.com/openecosystems/ecosystem/commit/5f65e48)) -- stabilizing ([9e3f78b](https://github.com/openecosystems/ecosystem/commit/9e3f78b)) -- stabilizing ([8d1d6da](https://github.com/openecosystems/ecosystem/commit/8d1d6da)) -- stabilizing ([d165d69](https://github.com/openecosystems/ecosystem/commit/d165d69)) -- stabilizing ([469e899](https://github.com/openecosystems/ecosystem/commit/469e899)) -- stabilizing ([0568e0c](https://github.com/openecosystems/ecosystem/commit/0568e0c)) - -### ❤️ Thank You - -- Dimy Jeannot - -## 0.4.0 (2024-12-27) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.3.0 (2024-12-23) - -### 🩹 Fixes - -- stabilizing ([2011bac](https://github.com/openecosystems/ecosystem/commit/2011bac)) -- stabilizing ([70c7403](https://github.com/openecosystems/ecosystem/commit/70c7403)) -- stabilizing ([03299c1](https://github.com/openecosystems/ecosystem/commit/03299c1)) -- stabilizing ([b79685e](https://github.com/openecosystems/ecosystem/commit/b79685e)) -- stabilizing ([a200f97](https://github.com/openecosystems/ecosystem/commit/a200f97)) -- updating dependencies to resolve security issues ([dd7b347](https://github.com/openecosystems/ecosystem/commit/dd7b347)) -- working on cicd ([fdc04a5](https://github.com/openecosystems/ecosystem/commit/fdc04a5)) -- working on cicd ([426ec24](https://github.com/openecosystems/ecosystem/commit/426ec24)) -- working on cicd ([b204f77](https://github.com/openecosystems/ecosystem/commit/b204f77)) -- working on cicd ([7626cae](https://github.com/openecosystems/ecosystem/commit/7626cae)) -- working on cicd ([#5](https://github.com/openecosystems/ecosystem/pull/5)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.2.0 (2024-12-23) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot - -## 0.1.0 (2024-12-11) - -### 🚀 Features - -- additional capabilities ([#1](https://github.com/openecosystems/ecosystem/pull/1)) -- initial commit made open source ([f53e868](https://github.com/openecosystems/ecosystem/commit/f53e868)) - -### ❤️ Thank You - -- Dimy Jeannot @dimyjeannot \ No newline at end of file diff --git a/libs/public/go/sdk/gen/system/v2alpha/go.sum b/libs/public/go/sdk/gen/system/v2alpha/go.sum deleted file mode 100644 index d1c71933..00000000 --- a/libs/public/go/sdk/gen/system/v2alpha/go.sum +++ /dev/null @@ -1,10 +0,0 @@ -connectrpc.com/connect v1.17.0 h1:W0ZqMhtVzn9Zhn2yATuUokDLO5N+gIuBWMOnsQrfmZk= -connectrpc.com/connect v1.17.0/go.mod h1:0292hj1rnx8oFrStN7cB4jjVBeqs+Yx5yDIC2prWDO8= -github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= -github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo= -golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0= -golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224= -golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= -google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= -google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= diff --git a/libs/public/go/sdk/v2alpha/cli.go b/libs/public/go/sdk/v2alpha/cli.go new file mode 100644 index 00000000..eefd742f --- /dev/null +++ b/libs/public/go/sdk/v2alpha/cli.go @@ -0,0 +1,255 @@ +package sdkv2alphalib + +import ( + "context" + "encoding/json" + "fmt" + "net/url" + + "connectrpc.com/connect" + + specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" +) + +// CLI represents the core structure for managing CLI operations, bindings, and their configuration. +type CLI struct { + Bindings *Bindings + Bounds []Binding + ConfigurationProvider BaseSpecConfigurationProvider + + options *cliOptions +} + +// NewCLI initializes a new CLI instance by registering the provided bindings and returns the CLI object. +func NewCLI(ctx context.Context, opts ...CLIOption) *CLI { + options, _ := newCLIOptions(opts) + + cli := CLI{ + Bounds: options.Bounds, + + options: options, + } + + provider := options.ConfigurationProvider + if provider == nil { + panic("configuration provider is nil. Please provide a configuration provider to the server.") + } + + cli.ConfigurationProvider = provider + t := options.ConfigurationProvider + + var copts []ConfigurationProviderOption + if options.RuntimeConfigurationOverrides.Overridden { + copts = append(copts, WithRuntimeOverrides(options.RuntimeConfigurationOverrides)) + } + + configurer, err := t.ResolveConfiguration(copts...) + if err != nil { + fmt.Println(err) + return nil + } + err = t.ValidateConfiguration() + if err != nil { + fmt.Println(err) + panic(err) + } + + copts = append(copts, WithConfigurer(configurer)) + + bindings := RegisterBindings(ctx, options.Bounds, copts...) + cli.Bindings = bindings + + return &cli +} + +// GracefulShutdown gracefully shuts down the CLI by cleaning up resources and closing bindings within a timeout context. +func (cli *CLI) GracefulShutdown() { + _, cancel := context.WithTimeout(context.Background(), 30) + defer cancel() + + ShutdownBindings(cli.Bindings) +} + +// GetConfiguration retrieves and returns the configuration from the CLI's ConfigurationProvider if implemented. +func (cli *CLI) GetConfiguration() *CLIConfiguration { + t := cli.ConfigurationProvider + + bytes, err := t.GetConfigurationBytes() + if err != nil { + fmt.Println(err) + return nil + } + + c := CLIConfiguration{} + err = json.Unmarshal(bytes, &c) + if err != nil { + fmt.Println(err) + return nil + } + + return &c +} + +// A CLIOption configures a [Server]. +type CLIOption interface { + apply(*cliOptions) +} + +type cliOptions struct { + URL *url.URL + MeshVPN bool + + Bounds []Binding + PlatformContext string + RuntimeConfigurationOverrides RuntimeConfigurationOverrides + ConfigurationProvider BaseSpecConfigurationProvider +} + +type cliOptionFunc func(*cliOptions) + +func (f cliOptionFunc) apply(cfg *cliOptions) { f(cfg) } + +//nolint:unparam +func newCLIOptions(options []CLIOption) (*cliOptions, *connect.Error) { + // Defaults + config := cliOptions{ + MeshVPN: false, + } + + for _, opt := range options { + opt.apply(&config) + } + + if err := config.validate(); err != nil { + return nil, err + } + + return &config, nil +} + +func (c *cliOptions) validate() *connect.Error { + return nil +} + +// WithCLIOptions composes multiple Options into one. +func WithCLIOptions(opts ...CLIOption) CLIOption { + return cliOptionFunc(func(cfg *cliOptions) { + for _, opt := range opts { + opt.apply(cfg) + } + }) +} + +// WithCLIBounds configures the server with the specified bounds, overriding the default bindings list in server options. +func WithCLIBounds(bounds []Binding) CLIOption { + return cliOptionFunc(func(cfg *cliOptions) { + cfg.Bounds = bounds + }) +} + +// WithCLIPlatformContext sets the platform context in the server options configuration. +func WithCLIPlatformContext(context string) CLIOption { + return cliOptionFunc(func(cfg *cliOptions) { + cfg.PlatformContext = context + }) +} + +// WithCLIConfigurationProvider sets the SpecConfigurationProvider for the server configuration and applies it as a CLIOption. +func WithCLIConfigurationProvider(settings BaseSpecConfigurationProvider) CLIOption { + return cliOptionFunc(func(cfg *cliOptions) { + cfg.ConfigurationProvider = settings + }) +} + +// WithCLIRuntimeOverrides sets runtime configuration overrides for the CLI, modifying default behavior based on the provided settings. +func WithCLIRuntimeOverrides(overrides RuntimeConfigurationOverrides) CLIOption { + overrides.Overridden = true + return cliOptionFunc(func(cfg *cliOptions) { + cfg.RuntimeConfigurationOverrides = overrides + }) +} + +// CLIConfiguration represents a structure for application configuration settings, including app, GRPC, and HTTP details. +type CLIConfiguration struct { + App specv2pb.App `yaml:"app,omitempty"` + Platform specv2pb.Platform `yaml:"platform,omitempty"` + Context specv2pb.Context `yaml:"context,omitempty"` + Systems []specv2pb.SpecSystem + + configuration *CLIConfiguration + // err error +} + +// ResolveConfiguration merges and resolves the environment and default configuration settings into a unified structure. +func (c *CLIConfiguration) ResolveConfiguration(opts ...ConfigurationProviderOption) (*Configurer, error) { + var config CLIConfiguration + + opts = append(opts, WithConfigPath(ContextDirectory)) + configurer, err := NewConfigurer(opts...) + if err != nil { + return nil, err + } + + Resolve(configurer, &config, c.GetDefaultConfiguration()) + + config.configuration = &config + c.configuration = &config + + return configurer, nil +} + +// ValidateConfiguration checks if the configuration instance is valid and returns an error if validation fails. +func (c *CLIConfiguration) ValidateConfiguration() error { + return nil +} + +// GetDefaultConfiguration returns a default `CLIConfiguration` instance with preset values for App, Grpc, and Http fields. +func (c *CLIConfiguration) GetDefaultConfiguration() *CLIConfiguration { + return &CLIConfiguration{ + App: specv2pb.App{ + Name: "oeco", + Version: "0.0.0", + EnvironmentName: "local-1", + EnvironmentType: "local", + }, + Platform: specv2pb.Platform{ + Endpoint: "http://localhost:6577", + Insecure: true, + DnsEndpoints: []string{"45.63.49.173:4242"}, + DynamicConfigReload: false, + Mesh: &specv2pb.Mesh{ + Enabled: true, + Endpoint: "http://192.168.100.5:6477", + Insecure: true, + DnsEndpoint: "192.168.100.1", + Punchy: true, + }, + }, + } +} + +// CreateConfiguration generates and returns a default or custom configuration for the Binding instance. +func (c *CLIConfiguration) CreateConfiguration() (*CLIConfiguration, error) { + return nil, nil +} + +// GetConfiguration retrieves the configuration of the binding instance. Returns the configuration as an interface{}. +func (c *CLIConfiguration) GetConfiguration() *CLIConfiguration { + return c.configuration +} + +// GetConfigurationBytes retrieves the configuration of the binding instance. Returns the configuration as an interface{}. +func (c *CLIConfiguration) GetConfigurationBytes() ([]byte, error) { + byteArray, err := json.Marshal(c.GetConfiguration()) + if err != nil { + fmt.Println("Error:", err) + return nil, err + } + return byteArray, nil +} + +// WatchConfigurations observes changes in the binding's configuration and updates the internal state accordingly. +func (c *CLIConfiguration) WatchConfigurations(directories ...string) error { + fmt.Println("Watch settings ecosystem internal directories:", directories) + return nil +} diff --git a/libs/public/go/sdk/v2alpha/configurer.go.notused b/libs/public/go/sdk/v2alpha/configurer.go.notused deleted file mode 100644 index 595c9bbd..00000000 --- a/libs/public/go/sdk/v2alpha/configurer.go.notused +++ /dev/null @@ -1,18 +0,0 @@ -package sdkv2alphalib - -import specv2pb "libs/protobuf/go/protobuf/gen/platform/spec/v2" - -// ResolvedConfiguration holds the final resolved and unified configuration settings for the application at runtime. -var ResolvedConfiguration *Configuration - -// Configurable represents an interface for components capable of resolving, validating, and providing default configurations. -type Configurable interface { - ResolveConfiguration() - GetDefaultConfiguration() interface{} - ValidateConfiguration() error -} - -// Configuration represents the main structure for application-specific configuration settings. -type Configuration struct { - App specv2pb.App `yaml:"app,omitempty"` -} diff --git a/libs/public/go/sdk/v2alpha/connector.go b/libs/public/go/sdk/v2alpha/connector.go index 3984a0dc..fd885d5d 100644 --- a/libs/public/go/sdk/v2alpha/connector.go +++ b/libs/public/go/sdk/v2alpha/connector.go @@ -6,17 +6,13 @@ import ( "net/http" "os" "os/signal" - "strings" "syscall" "connectrpc.com/connect" "github.com/slackhq/nebula/service" "google.golang.org/protobuf/reflect/protoreflect" - "google.golang.org/protobuf/reflect/protoregistry" - specv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/spec/v2" typev2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/type/v2" - v2alpha "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha" ) var connectorQuit = make(chan os.Signal, 1) @@ -138,106 +134,107 @@ func NewDynamicConnectorWithSchema(ctx context.Context, service protoreflect.Ser return connector } -// NewDynamicConnector creates a new instance of Connector based on the given service path, bindings, and optional configurations. -// It resolves the service schema dynamically and initializes the Connector with methods and bindings information. -// Returns a Connector, which may include an error if schema resolution fails. -func NewDynamicConnector(ctx context.Context, servicePath string, bounds []Binding, opts ...ConnectorOption) *Connector { - serviceName := strings.TrimSuffix(strings.TrimPrefix(servicePath, "/"), "/") - desc, err := protoregistry.GlobalFiles.FindDescriptorByName(protoreflect.FullName(serviceName)) - if err != nil { - return &Connector{Err: fmt.Errorf("could not resolve schema for service at path %q: %w", servicePath, err)} - } - svcDesc, ok := desc.(protoreflect.ServiceDescriptor) - if !ok { - return &Connector{ - Err: fmt.Errorf("could not resolve schema for service at path %q: resolved descriptor is %s, not a service", servicePath, descKind(desc)), - } - } - return NewDynamicConnectorWithSchema(ctx, svcDesc, bounds, opts...) -} - -// func (ImplementedDynamicServiceHandler) DynamicUnary(context.Context, *connect.Request[dynamicpb.Message]) (*connect.Response[dynamicpb.Message], error) { - -// DynamicUnary processes a CreateConfigurationRequest and returns a CreateConfigurationResponse or an error. -func (connector *Connector) DynamicUnary(_ context.Context, req *connect.Request[v2alpha.CreateConfigurationRequest]) (*connect.Response[v2alpha.CreateConfigurationResponse], error) { - // fmt.Println(req.HTTPMethod()) - // fmt.Println(req.Spec().Schema) - // fmt.Println(req.Spec().StreamType) - fmt.Println(req.Spec().Procedure) - // fmt.Println(req.Spec().IdempotencyLevel) - // fmt.Println(req.Spec().IsClient) - - fmt.Println(req.Msg) - - return connect.NewResponse(&v2alpha.CreateConfigurationResponse{ - SpecContext: &specv2pb.SpecResponseContext{ - ResponseValidation: &typev2pb.ResponseValidation{ - ValidateOnly: true, - }, - OrganizationSlug: "hello", - WorkspaceSlug: "world", - WorkspaceJan: 1, - RoutineId: "123", - }, - Configuration: &v2alpha.Configuration{ - Id: "123", - OrganizationSlug: "hello", - WorkspaceSlug: "world", - }, - }), nil - // - //tracer := *opentelemetryv1.Bound.Tracer - //log := *zaploggerv1.Bound.Logger - // - //// Get it from the GlobalSystem Registry - //_, err := GlobalSystems.GetSystemByName(req.Spec().Procedure) - //if err != nil { - // return nil, err - //} - // - //// Executes top level validation, no business domain validation - //validationCtx, validationSpan := tracer.Start(ctx, "request-validation", trace.WithSpanKind(trace.SpanKindInternal)) - //v := *protovalidatev0.Bound.Validator - //if err := v.Validate(req.Msg); err != nil { - // return nil, ErrServerPreconditionFailed.WithInternalErrorDetail(err) - //} - //validationSpan.End() - // - //// Spec Propagation - //specCtx, specSpan := tracer.Start(validationCtx, "spec-propagation", trace.WithSpanKind(trace.SpanKindInternal)) - //spec, ok := ctx.Value("spec").(*specv2pb.Spec) - //if !ok { - // return nil, ErrServerInternal.WithInternalErrorDetail(errors.New("cannot propagate spec to context")) - //} - //specSpan.End() - // - //// Distributed Domain Handler - //handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) - // - //entity := DynamicSpecEntity{} - //reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ - // Request: req.Msg, - // Stream: natsnodev1.NewInboundStream(), - // CommandName: "", - // CommandTopic: EventDataDynamicTopic, - // EntityTypeName: entity.TypeName(), - //}) - //if err2 != nil { - // log.Error(err2.Error()) - // return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - //} - // - //var dd v2alpha.CreateConfigurationResponse - //err3 := proto.Unmarshal(reply.Data, &dd) - //if err3 != nil { - // log.Error(err3.Error()) - // return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) - //} - // - //handlerSpan.End() - // - //return connect.NewResponse(&dd), nil -} +// +//// NewDynamicConnector creates a new instance of Connector based on the given service path, bindings, and optional configurations. +//// It resolves the service schema dynamically and initializes the Connector with methods and bindings information. +//// Returns a Connector, which may include an error if schema resolution fails. +//func NewDynamicConnector(ctx context.Context, servicePath string, bounds []Binding, opts ...ConnectorOption) *Connector { +// serviceName := strings.TrimSuffix(strings.TrimPrefix(servicePath, "/"), "/") +// desc, err := protoregistry.GlobalFiles.FindDescriptorByName(protoreflect.FullName(serviceName)) +// if err != nil { +// return &Connector{Err: fmt.Errorf("could not resolve schema for service at path %q: %w", servicePath, err)} +// } +// svcDesc, ok := desc.(protoreflect.ServiceDescriptor) +// if !ok { +// return &Connector{ +// Err: fmt.Errorf("could not resolve schema for service at path %q: resolved descriptor is %s, not a service", servicePath, descKind(desc)), +// } +// } +// return NewDynamicConnectorWithSchema(ctx, svcDesc, bounds, opts...) +//} +// +//// func (ImplementedDynamicServiceHandler) DynamicUnary(context.Context, *connect.Request[dynamicpb.Message]) (*connect.Response[dynamicpb.Message], error) { +// +//// DynamicUnary processes a CreateConfigurationRequest and returns a CreateConfigurationResponse or an error. +//func (connector *Connector) DynamicUnary(_ context.Context, req *connect.Request[v2alpha.CreateConfigurationRequest]) (*connect.Response[v2alpha.CreateConfigurationResponse], error) { +// // fmt.Println(req.HTTPMethod()) +// // fmt.Println(req.Spec().Schema) +// // fmt.Println(req.Spec().StreamType) +// fmt.Println(req.Spec().Procedure) +// // fmt.Println(req.Spec().IdempotencyLevel) +// // fmt.Println(req.Spec().IsClient) +// +// fmt.Println(req.Msg) +// +// return connect.NewResponse(&v2alpha.CreateConfigurationResponse{ +// SpecContext: &specv2pb.SpecResponseContext{ +// ResponseValidation: &typev2pb.ResponseValidation{ +// ValidateOnly: true, +// }, +// OrganizationSlug: "hello", +// WorkspaceSlug: "world", +// WorkspaceJan: 1, +// RoutineId: "123", +// }, +// Configuration: &v2alpha.Configuration{ +// Id: "123", +// OrganizationSlug: "hello", +// WorkspaceSlug: "world", +// }, +// }), nil +// // +// //tracer := *opentelemetryv1.Bound.Tracer +// //log := *zaploggerv1.Bound.Logger +// // +// //// Get it from the GlobalSystem Registry +// //_, err := GlobalSystems.GetSystemByName(req.Spec().Procedure) +// //if err != nil { +// // return nil, err +// //} +// // +// //// Executes top level validation, no business domain validation +// //validationCtx, validationSpan := tracer.Start(ctx, "request-validation", trace.WithSpanKind(trace.SpanKindInternal)) +// //v := *protovalidatev0.Bound.Validator +// //if err := v.Validate(req.Msg); err != nil { +// // return nil, ErrServerPreconditionFailed.WithInternalErrorDetail(err) +// //} +// //validationSpan.End() +// // +// //// Spec Propagation +// //specCtx, specSpan := tracer.Start(validationCtx, "spec-propagation", trace.WithSpanKind(trace.SpanKindInternal)) +// //spec, ok := ctx.Value("spec").(*specv2pb.Spec) +// //if !ok { +// // return nil, ErrServerInternal.WithInternalErrorDetail(errors.New("cannot propagate spec to context")) +// //} +// //specSpan.End() +// // +// //// Distributed Domain Handler +// //handlerCtx, handlerSpan := tracer.Start(specCtx, "event-generation", trace.WithSpanKind(trace.SpanKindInternal)) +// // +// //entity := DynamicSpecEntity{} +// //reply, err2 := natsnodev1.Bound.MultiplexCommandSync(handlerCtx, spec, &natsnodev1.SpecCommand{ +// // Request: req.Msg, +// // Stream: natsnodev1.NewInboundStream(), +// // CommandName: "", +// // CommandTopic: EventDataDynamicTopic, +// // EntityTypeName: entity.TypeName(), +// //}) +// //if err2 != nil { +// // log.Error(err2.Error()) +// // return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) +// //} +// // +// //var dd v2alpha.CreateConfigurationResponse +// //err3 := proto.Unmarshal(reply.Data, &dd) +// //if err3 != nil { +// // log.Error(err3.Error()) +// // return nil, connect.NewError(connect.CodeInternal, errors.New("internal error")) +// //} +// // +// //handlerSpan.End() +// // +// //return connect.NewResponse(&dd), nil +//} // ListenAndProcess initializes the connector's context, manages its lifecycle, and delegates processing tasks with context. func (connector *Connector) ListenAndProcess() { diff --git a/libs/public/go/sdk/v2alpha/handler.go b/libs/public/go/sdk/v2alpha/handler.go index 8bd5289b..06ea892a 100644 --- a/libs/public/go/sdk/v2alpha/handler.go +++ b/libs/public/go/sdk/v2alpha/handler.go @@ -1,134 +1,126 @@ package sdkv2alphalib import ( - "context" - "errors" "fmt" - "net/http" "reflect" - "strings" - - "connectrpc.com/connect" - - v2alpha "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha" "google.golang.org/protobuf/reflect/protoreflect" "google.golang.org/protobuf/types/dynamicpb" - "google.golang.org/protobuf/types/known/emptypb" -) - -// ConfigurationServiceCreateConfigurationProcedure defines the RPC procedure path for creating a new configuration. -const ( - ConfigurationServiceCreateConfigurationProcedure = "/platform.configuration.v2alpha.ConfigurationService/CreateConfiguration" ) -// configurationServiceServiceDescriptor describes the ConfigurationService service descriptor from the proto file. -// configurationServiceCreateConfigurationMethodDescriptor describes the CreateConfiguration method descriptor. -var ( - configurationServiceServiceDescriptor = v2alpha.File_platform_configuration_v2alpha_configuration_proto.Services().ByName("ConfigurationService") - configurationServiceCreateConfigurationMethodDescriptor = configurationServiceServiceDescriptor.Methods().ByName("CreateConfiguration") -) - -// DynamicConnectorClient is an interface that defines a dynamic gRPC client for creating configurations. -// DynamicUnary sends a dynamic unary request to create a configuration and returns the response or an error. -type DynamicConnectorClient interface { - DynamicUnary(context.Context, *connect.Request[v2alpha.CreateConfigurationRequest]) (*connect.Response[v2alpha.CreateConfigurationResponse], error) -} - -// NewDynamicConnectorClient creates a new client for dynamic connector operations using the provided HTTP client and base URL. -func NewDynamicConnectorClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) DynamicConnectorClient { - baseURL = strings.TrimRight(baseURL, "/") - return &dynamicConnectorClient{ - createConfiguration: connect.NewClient[v2alpha.CreateConfigurationRequest, v2alpha.CreateConfigurationResponse]( - httpClient, - baseURL+ConfigurationServiceCreateConfigurationProcedure, - connect.WithSchema(configurationServiceCreateConfigurationMethodDescriptor), - connect.WithClientOptions(opts...), - ), - } -} - -// dynamicConnectorClient represents a client for managing dynamic configurations via remote API operations. -type dynamicConnectorClient struct { - createConfiguration *connect.Client[v2alpha.CreateConfigurationRequest, v2alpha.CreateConfigurationResponse] -} - -// DynamicUnary performs a unary RPC call using the createConfiguration client to handle configuration creation requests. -func (c *dynamicConnectorClient) DynamicUnary(ctx context.Context, req *connect.Request[v2alpha.CreateConfigurationRequest]) (*connect.Response[v2alpha.CreateConfigurationResponse], error) { - return c.createConfiguration.CallUnary(ctx, req) -} - -// DynamicConnectorHandler defines an interface for dynamically handling unary requests with context and specific responses. -type DynamicConnectorHandler interface { - DynamicUnary(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[v2alpha.CreateConfigurationResponse], error) -} - -// NewDynamicConnectorHandler creates an HTTP handler that dynamically resolves methods for a given Connector with options. -func NewDynamicConnectorHandler(c *Connectable, opts ...connect.HandlerOption) http.Handler { - _c := *c - _c.MethodsByPath() - mpb := _c.MethodsByPath() - - return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - if method, ok := mpb[r.URL.Path]; ok { - // i := dynamicpb.NewMessage(method.Input).Type() - // o := dynamicpb.NewMessage(method.Output).Type() - g := func(_ context.Context, _ *connect.Request[emptypb.Empty]) (*connect.Response[emptypb.Empty], error) { - //example := v2alpha.CreateConfigurationResponse{ - // SpecContext: &specv2pb.SpecResponseContext{ - // ResponseValidation: &typev2pb.ResponseValidation{ - // ValidateOnly: true, - // }, - // OrganizationSlug: "hello", - // WorkspaceSlug: "world", - // WorkspaceJan: 1, - // RoutineId: "123", - // }, - // Configuration: &v2alpha.Configuration{ - // Id: "123", - // OrganizationSlug: "hello", - // WorkspaceSlug: "world", - // }, - //} - - //a := typev2pb.SpecErrorDetail{ - // CorrelationId: "123", - // UserMessage: "hello world", - //} - - //marshal, err := protopb.Marshal(&a) - //if err != nil { - // return nil, err - //} - - // Convert the struct to a dynamicpb.Message - //message, err := ConvertStructToDynamicMessage(example, method.Output) - //if err != nil { - // fmt.Println("Failed to convert struct to dynamic message: ", err) - //} - - // val := reflect.ValueOf(example) - // typ := val.Type() - - return nil, errors.New("error message from test") - - // return connect.NewResponse[bytes.Buffer](bytes.NewBuffer(marshal)), nil - } - - _method := *method - - connectorDynamicHandler := connect.NewUnaryHandler( - r.URL.Path, - g, // c.DynamicUnary, - connect.WithSchema(_method.Schema()), - connect.WithHandlerOptions(opts...), - ) - connectorDynamicHandler.ServeHTTP(w, r) - } else { - http.NotFound(w, r) - } - }) -} +// +//// ConfigurationServiceCreateConfigurationProcedure defines the RPC procedure path for creating a new configuration. +//const ( +// ConfigurationServiceCreateConfigurationProcedure = "/platform.configuration.v2alpha.ConfigurationService/CreateConfiguration" +//) +// +//// configurationServiceServiceDescriptor describes the ConfigurationService service descriptor from the proto file. +//// configurationServiceCreateConfigurationMethodDescriptor describes the CreateConfiguration method descriptor. +//var ( +// configurationServiceServiceDescriptor = v2alpha.File_platform_configuration_v2alpha_configuration_proto.Services().ByName("ConfigurationService") +// configurationServiceCreateConfigurationMethodDescriptor = configurationServiceServiceDescriptor.Methods().ByName("CreateConfiguration") +//) +// +//// DynamicConnectorClient is an interface that defines a dynamic gRPC client for creating configurations. +//// DynamicUnary sends a dynamic unary request to create a configuration and returns the response or an error. +//type DynamicConnectorClient interface { +// DynamicUnary(context.Context, *connect.Request[v2alpha.CreateConfigurationRequest]) (*connect.Response[v2alpha.CreateConfigurationResponse], error) +//} +// +//// NewDynamicConnectorClient creates a new client for dynamic connector operations using the provided HTTP client and base URL. +//func NewDynamicConnectorClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) DynamicConnectorClient { +// baseURL = strings.TrimRight(baseURL, "/") +// return &dynamicConnectorClient{ +// createConfiguration: connect.NewClient[v2alpha.CreateConfigurationRequest, v2alpha.CreateConfigurationResponse]( +// httpClient, +// baseURL+ConfigurationServiceCreateConfigurationProcedure, +// connect.WithSchema(configurationServiceCreateConfigurationMethodDescriptor), +// connect.WithClientOptions(opts...), +// ), +// } +//} +// +//// dynamicConnectorClient represents a client for managing dynamic configurations via remote API operations. +//type dynamicConnectorClient struct { +// createConfiguration *connect.Client[v2alpha.CreateConfigurationRequest, v2alpha.CreateConfigurationResponse] +//} +// +//// DynamicUnary performs a unary RPC call using the createConfiguration client to handle configuration creation requests. +//func (c *dynamicConnectorClient) DynamicUnary(ctx context.Context, req *connect.Request[v2alpha.CreateConfigurationRequest]) (*connect.Response[v2alpha.CreateConfigurationResponse], error) { +// return c.createConfiguration.CallUnary(ctx, req) +//} +// +//// DynamicConnectorHandler defines an interface for dynamically handling unary requests with context and specific responses. +//type DynamicConnectorHandler interface { +// DynamicUnary(context.Context, *connect.Request[emptypb.Empty]) (*connect.Response[v2alpha.CreateConfigurationResponse], error) +//} +// +//// NewDynamicConnectorHandler creates an HTTP handler that dynamically resolves methods for a given Connector with options. +//func NewDynamicConnectorHandler(c *Connectable, opts ...connect.HandlerOption) http.Handler { +// _c := *c +// _c.MethodsByPath() +// mpb := _c.MethodsByPath() +// +// return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { +// if method, ok := mpb[r.URL.Path]; ok { +// // i := dynamicpb.NewMessage(method.Input).Type() +// // o := dynamicpb.NewMessage(method.Output).Type() +// g := func(_ context.Context, _ *connect.Request[emptypb.Empty]) (*connect.Response[emptypb.Empty], error) { +// //example := v2alpha.CreateConfigurationResponse{ +// // SpecContext: &specv2pb.SpecResponseContext{ +// // ResponseValidation: &typev2pb.ResponseValidation{ +// // ValidateOnly: true, +// // }, +// // OrganizationSlug: "hello", +// // WorkspaceSlug: "world", +// // WorkspaceJan: 1, +// // RoutineId: "123", +// // }, +// // Configuration: &v2alpha.Configuration{ +// // Id: "123", +// // OrganizationSlug: "hello", +// // WorkspaceSlug: "world", +// // }, +// //} +// +// //a := typev2pb.SpecErrorDetail{ +// // CorrelationId: "123", +// // UserMessage: "hello world", +// //} +// +// //marshal, err := protopb.Marshal(&a) +// //if err != nil { +// // return nil, err +// //} +// +// // Convert the struct to a dynamicpb.Message +// //message, err := ConvertStructToDynamicMessage(example, method.Output) +// //if err != nil { +// // fmt.Println("Failed to convert struct to dynamic message: ", err) +// //} +// +// // val := reflect.ValueOf(example) +// // typ := val.Type() +// +// return nil, errors.New("error message from test") +// +// // return connect.NewResponse[bytes.Buffer](bytes.NewBuffer(marshal)), nil +// } +// +// _method := *method +// +// connectorDynamicHandler := connect.NewUnaryHandler( +// r.URL.Path, +// g, // c.DynamicUnary, +// connect.WithSchema(_method.Schema()), +// connect.WithHandlerOptions(opts...), +// ) +// connectorDynamicHandler.ServeHTTP(w, r) +// } else { +// http.NotFound(w, r) +// } +// }) +//} // ConvertStructToDynamicMessage converts a Go struct into a protobuf dynamic message using the provided message descriptor. // input is the Go struct to convert; messageDescriptor defines the structure of the target dynamic message. diff --git a/libs/public/go/sdk/v2alpha/infrastructure.go b/libs/public/go/sdk/v2alpha/infrastructure.go new file mode 100644 index 00000000..07584a5a --- /dev/null +++ b/libs/public/go/sdk/v2alpha/infrastructure.go @@ -0,0 +1,161 @@ +package sdkv2alphalib + +import ( + "context" + "fmt" + "strings" + "unicode/utf8" + + "connectrpc.com/connect" + typev2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/type/v2" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Infrastructure represents the core structure for managing configuration, bindings, and their associated instances. +type Infrastructure struct { + Bindings *Bindings + Bounds []Binding + ConfigurationProvider *BaseSpecConfigurationProvider + + options *infrastructureOptions +} + +// NewInfrastructure initializes a new Infrastructure instance with specified bindings and resolved configuration. +func NewInfrastructure(ctx context.Context, opts ...InfrastructureOption) *Infrastructure { + options, err := newInfrastructureOptions(opts) + if err != nil { + fmt.Println("new connector options error: ") + fmt.Println(err) + } + + infrastructure := &Infrastructure{ + Bounds: options.Bounds, + options: options, + } + + provider := options.ConfigurationProvider + if provider == nil { + panic("configuration provider is nil. Please provide a configuration provider to the server.") + } + + infrastructure.ConfigurationProvider = &provider + t := options.ConfigurationProvider + + configurer, cerr := t.ResolveConfiguration() + if cerr != nil { + return nil + } + cerr = t.ValidateConfiguration() + if cerr != nil { + fmt.Println(cerr) + panic(cerr) + } + + bindings := RegisterBindings(ctx, options.Bounds, WithConfigurer(configurer)) + infrastructure.Bindings = bindings + + return infrastructure +} + +// Run executes a Pulumi program using the provided RunFunc and optional runtime configuration options. +func (infrastructure *Infrastructure) Run(runFunc pulumi.RunFunc, opts ...pulumi.RunOption) { + pulumi.Run(runFunc, opts...) +} + +// ShortenString truncates the input string `s` to the specified `limit` while ensuring it remains a valid UTF-8 string. +func ShortenString(s string, limit int) string { + if len(s) < limit { + return s + } + + if utf8.ValidString(s[:limit]) { + return s[:limit] + } + return s[:limit+1] +} + +// WriteIndentedMultilineText takes a multiline string and returns it with each line prefixed by an 8-space indentation. +func WriteIndentedMultilineText(text string) string { + indent := " " + lines := strings.Split(text, "\n") + + var builder strings.Builder + + for _, line := range lines { + _, err := builder.WriteString(indent + line + "\n") + if err != nil { + fmt.Println(err) + } + } + return builder.String() +} + +// InfrastructureOption defines an interface for applying custom configuration to a infrastructureOptions object. +type InfrastructureOption interface { + apply(*infrastructureOptions) +} + +// infrastructureOptions defines the configuration options for a infrastructure, including supported protocols and codecs. +type infrastructureOptions struct { + Bounds []Binding + ConfigurationProvider BaseSpecConfigurationProvider + + protocols map[typev2pb.Protocol]struct{} + // codecNames map[string]struct{} + // preferredCodec string +} + +// infrastructureOptionFunc is a function type that modifies the settings of a infrastructureOptions instance. +type infrastructureOptionFunc func(*infrastructureOptions) + +// apply applies the infrastructureOptionFunc to the given infrastructureOptions. +func (f infrastructureOptionFunc) apply(opts *infrastructureOptions) { + f(opts) +} + +// newInfrastructureOptions creates and configures a new infrastructureOptions instance using the provided InfrastructureOption slice. +// Returns the configured infrastructureOptions and an error if validation fails. +func newInfrastructureOptions(options []InfrastructureOption) (*infrastructureOptions, *connect.Error) { + config := infrastructureOptions{ + protocols: nil, + } + + for _, opt := range options { + opt.apply(&config) + } + + if err := config.validate(); err != nil { + return nil, err + } + + return &config, nil +} + +// validate checks the integrity and consistency of the infrastructureOptions fields. +// Returns a *connect.Error if validation fails or nil if successful. +func (c *infrastructureOptions) validate() *connect.Error { + return nil +} + +// WithInfrastructureOptions composes multiple Options into one. +func WithInfrastructureOptions(opts ...InfrastructureOption) InfrastructureOption { + return infrastructureOptionFunc(func(cfg *infrastructureOptions) { + for _, opt := range opts { + opt.apply(cfg) + } + }) +} + +// WithInfrastructureBounds configures the infrastructure with the specified bounds, overriding the default bindings list in server options. +func WithInfrastructureBounds(bounds []Binding) InfrastructureOption { + return infrastructureOptionFunc(func(cfg *infrastructureOptions) { + cfg.Bounds = bounds + }) +} + +// WithInfrastructureConfigurationProvider sets the SpecConfigurationProvider for the server configuration and applies it as a ServerOption. +func WithInfrastructureConfigurationProvider(settings BaseSpecConfigurationProvider) InfrastructureOption { + return infrastructureOptionFunc(func(cfg *infrastructureOptions) { + cfg.ConfigurationProvider = settings + }) +} diff --git a/libs/private/go/ontology/v2alpha/defaults/hippa.go b/libs/public/go/sdk/v2alpha/ontology/hippa.go similarity index 97% rename from libs/private/go/ontology/v2alpha/defaults/hippa.go rename to libs/public/go/sdk/v2alpha/ontology/hippa.go index 95458ad4..7ba2aace 100644 --- a/libs/private/go/ontology/v2alpha/defaults/hippa.go +++ b/libs/public/go/sdk/v2alpha/ontology/hippa.go @@ -1,7 +1,7 @@ -package ontologydefaultsv2alphalib +package ontology import ( - ontologyv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ontology/v2alpha" + ontologyv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ontology/v2alpha" optionv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/options/v2" ) diff --git a/libs/private/go/ontology/v2alpha/defaults/pci.go b/libs/public/go/sdk/v2alpha/ontology/pci.go similarity index 97% rename from libs/private/go/ontology/v2alpha/defaults/pci.go rename to libs/public/go/sdk/v2alpha/ontology/pci.go index fbf92304..e98ea5ed 100644 --- a/libs/private/go/ontology/v2alpha/defaults/pci.go +++ b/libs/public/go/sdk/v2alpha/ontology/pci.go @@ -1,7 +1,7 @@ -package ontologydefaultsv2alphalib +package ontology import ( - ontologyv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ontology/v2alpha" + ontologyv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ontology/v2alpha" optionv2pb "github.com/openecosystems/ecosystem/libs/protobuf/go/protobuf/gen/platform/options/v2" ) diff --git a/libs/public/go/sdk/v2alpha/platform/cryptography/v2alpha/encryption.server.go b/libs/public/go/sdk/v2alpha/platform/cryptography/v2alpha/encryption.server.go index b470f3f9..a67a6817 100644 --- a/libs/public/go/sdk/v2alpha/platform/cryptography/v2alpha/encryption.server.go +++ b/libs/public/go/sdk/v2alpha/platform/cryptography/v2alpha/encryption.server.go @@ -5,11 +5,11 @@ import ( "fmt" opentelemetryv1 "github.com/openecosystems/ecosystem/libs/partner/go/opentelemetry" - cryptographyv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/cryptography/v2alpha" + cryptographyv2alphapb "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cryptography/v2alpha" "connectrpc.com/connect" - tinkv2 "github.com/openecosystems/ecosystem/libs/partner/go/tink/v2" + tinkv2 "github.com/openecosystems/ecosystem/libs/partner/go/tink" zaploggerv1 "github.com/openecosystems/ecosystem/libs/partner/go/zap" "go.opentelemetry.io/otel/trace" diff --git a/libs/public/go/sdk/v2alpha/spec_interceptor.go b/libs/public/go/sdk/v2alpha/spec_interceptor.go index efb34464..4bc5e7a6 100644 --- a/libs/public/go/sdk/v2alpha/spec_interceptor.go +++ b/libs/public/go/sdk/v2alpha/spec_interceptor.go @@ -2,8 +2,10 @@ package sdkv2alphalib import ( "context" + "strconv" "connectrpc.com/connect" + "google.golang.org/protobuf/types/known/timestamppb" ) // SpecInterceptor represents a structure that contains the platform specification defined by specv2pb.Spec. @@ -31,3 +33,54 @@ func NewSpecInterceptor() connect.UnaryInterceptorFunc { } return interceptor } + +// DecorateCLIRequest modifies request headers with metadata values like timestamps, device details, configuration, and API context. +func DecorateCLIRequest(_ context.Context, req connect.AnyRequest, settings *CLIConfiguration, overrides *RuntimeConfigurationOverrides) { + req.Header().Set(SentAtKey, timestamppb.Now().String()) + req.Header().Set(RequestIdKey, "") + req.Header().Set(DeviceIdKey, "mac") + req.Header().Set(DeviceAdvertisingIdKey, "749393") + req.Header().Set(DeviceManufacturerKey, OSData.Family) + req.Header().Set(DeviceModelKey, "") + req.Header().Set(DeviceNameKey, "") + req.Header().Set(DeviceTypeKey, "") + req.Header().Set(DeviceTokenKey, "") + req.Header().Set(OsNameKey, OSData.Platform) + req.Header().Set(OsVersionKey, OSData.PlatformVersion) + + if overrides != nil { + req.Header().Set(FieldMask, overrides.FieldMask) + req.Header().Set(ValidateOnlyKey, strconv.FormatBool(overrides.ValidateOnly)) + } + + if settings != nil { + // req.Header().Set(ApiKey, settings.Context.ApiKey) + for _, header := range settings.Context.Headers { + for _, v := range header.Values { + req.Header().Add(header.Key, v) + } + } + } +} + +// NewCLIInterceptor creates a unary interceptor function to decorate requests with headers based on given settings and overrides. +func NewCLIInterceptor(settings *CLIConfiguration, overrides *RuntimeConfigurationOverrides) connect.UnaryInterceptorFunc { + interceptor := func(next connect.UnaryFunc) connect.UnaryFunc { + return func(ctx context.Context, req connect.AnyRequest) (connect.AnyResponse, error) { + DecorateCLIRequest(ctx, req, settings, overrides) + return next(ctx, req) + } + } + return interceptor +} + +// NewApplyHeadersInterceptor creates a unary interceptor to apply headers to requests using provided SpecSettings. +func NewApplyHeadersInterceptor(settings *CLIConfiguration) connect.UnaryInterceptorFunc { + interceptor := func(next connect.UnaryFunc) connect.UnaryFunc { + return func(ctx context.Context, req connect.AnyRequest) (connect.AnyResponse, error) { + DecorateCLIRequest(ctx, req, settings, &RuntimeConfigurationOverrides{}) + return next(ctx, req) + } + } + return interceptor +} diff --git a/libs/public/typescript/protobuf/src/gen/platform/audit/v2alpha/audit_pb.js b/libs/public/typescript/protobuf/src/gen/platform/audit/v2alpha/audit_pb.js index 400d582f..69ba4388 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/audit/v2alpha/audit_pb.js +++ b/libs/public/typescript/protobuf/src/gen/platform/audit/v2alpha/audit_pb.js @@ -13,7 +13,7 @@ import { file_platform_type_v2_jurisdiction } from "../../type/v2/jurisdiction_p * Describes the file platform/audit/v2alpha/audit.proto. */ export const file_platform_audit_v2alpha_audit = /*@__PURE__*/ - fileDesc("CiJwbGF0Zm9ybS9hdWRpdC92MmFscGhhL2F1ZGl0LnByb3RvEhZwbGF0Zm9ybS5hdWRpdC52MmFscGhhIj4KEkF1ZGl0Q29uZmlndXJhdGlvbhIoCgJpZBgBIAEoCUIc0rcYGAoWGhJUaGlzIGlzIGEgYXVkaXQgaWQoASKYAQoNU2VhcmNoUmVxdWVzdBIsCghzdGFydF9hdBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASKgoGZW5kX2F0GAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIRCglwYWdlX3NpemUYBCABKAUSEgoKcGFnZV90b2tlbhgFIAEoCToG+rYYAggBIrEBCg5TZWFyY2hSZXNwb25zZRI7CgxzcGVjX2NvbnRleHQYASABKAsyJS5wbGF0Zm9ybS5zcGVjLnYyLlNwZWNSZXNwb25zZUNvbnRleHQSE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djJhbHBoYXBigsQTAggBgrUYBggBEAEYAoq1GBYKBWF1ZGl0EgZhdWRpdHMiA2phbigCkrUYAwoBA5q1GAIIAaK1GAIIAWIGcHJvdG8z", [file_google_api_annotations, file_google_protobuf_any, file_google_protobuf_timestamp, file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_platform_type_v2_jurisdiction]); + fileDesc("CiJwbGF0Zm9ybS9hdWRpdC92MmFscGhhL2F1ZGl0LnByb3RvEhZwbGF0Zm9ybS5hdWRpdC52MmFscGhhIj4KEkF1ZGl0Q29uZmlndXJhdGlvbhIoCgJpZBgBIAEoCUIc0rcYGAoWGhJUaGlzIGlzIGEgYXVkaXQgaWQoASKYAQoNU2VhcmNoUmVxdWVzdBIsCghzdGFydF9hdBgCIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASKgoGZW5kX2F0GAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIRCglwYWdlX3NpemUYBCABKAUSEgoKcGFnZV90b2tlbhgFIAEoCToG+rYYAggBIrEBCg5TZWFyY2hSZXNwb25zZRI7CgxzcGVjX2NvbnRleHQYASABKAsyJS5wbGF0Zm9ybS5zcGVjLnYyLlNwZWNSZXNwb25zZUNvbnRleHQSEgoKdG90YWxfc2l6ZRgCIAEoBRIXCg9uZXh0X3BhZ2VfdG9rZW4YAyABKAkSLQoGYXVkaXRzGAQgAygLMh0ucGxhdGZvcm0uYXVkaXQudjJhbHBoYS5BdWRpdDoG+rYYAggCIjgKCkF1ZGl0RW50cnkSIgoEZGF0YRgBIAEoCzIULmdvb2dsZS5wcm90b2J1Zi5Bbnk6Bvq2GAIIAiLsAQoFQXVkaXQSEgoCaWQYASABKAlCBsq3GAIIARIuCgpjcmVhdGVkX2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgp1cGRhdGVkX2F0GAMgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIxCgVlbnRyeRgEIAEoCzIiLnBsYXRmb3JtLmF1ZGl0LnYyYWxwaGEuQXVkaXRFbnRyeRI0CgxqdXJpc2RpY3Rpb24YBSABKA4yHi5wbGF0Zm9ybS50eXBlLnYyLkp1cmlzZGljdGlvbjoG+rYYAggCKjcKDUF1ZGl0Q29tbWFuZHMSHgoaQVVESVRfQ09NTUFORFNfVU5TUEVDSUZJRUQQABoGkrgYAggDKlUKC0F1ZGl0RXZlbnRzEhwKGEFVRElUX0VWRU5UU19VTlNQRUNJRklFRBAAEiAKFEFVRElUX0VWRU5UU19DUkVBVEVEEAEaBuK4GAIIARoGkrgYAggEMpEBCgxBdWRpdFNlcnZpY2USgAEKBlNlYXJjaBIlLnBsYXRmb3JtLmF1ZGl0LnYyYWxwaGEuU2VhcmNoUmVxdWVzdBomLnBsYXRmb3JtLmF1ZGl0LnYyYWxwaGEuU2VhcmNoUmVzcG9uc2UiJ6K2GAgqBnNlYXJjaKq2GAIICILT5JMCDzoBKiIKL3YyL3NlYXJjaEKgAVphZ2l0aHViLmNvbS9vcGVuZWNvc3lzdGVtcy9lY29zeXN0ZW0vbGlicy9wcml2YXRlL2dvL3Nkay9nZW4vcGxhdGZvcm0vYXVkaXQvdjJhbHBoYTthdWRpdHYyYWxwaGFwYoLEEwIIAYK1GAYIARABGAKKtRgWCgVhdWRpdBIGYXVkaXRzIgNqYW4oApK1GAMKAQOatRgCCAGitRgCCAFiBnByb3RvMw", [file_google_api_annotations, file_google_protobuf_any, file_google_protobuf_timestamp, file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_platform_type_v2_jurisdiction]); /** * Describes the message platform.audit.v2alpha.AuditConfiguration. diff --git a/libs/public/typescript/protobuf/src/gen/platform/cli/v2alpha/oeco_pb.js b/libs/public/typescript/protobuf/src/gen/platform/cli/v2alpha/oeco_pb.js index 5fdcfd16..48146a28 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/cli/v2alpha/oeco_pb.js +++ b/libs/public/typescript/protobuf/src/gen/platform/cli/v2alpha/oeco_pb.js @@ -9,7 +9,7 @@ import { file_platform_options_v2_annotations } from "../../options/v2/annotatio * Describes the file platform/cli/v2alpha/oeco.proto. */ export const file_platform_cli_v2alpha_oeco = /*@__PURE__*/ - fileDesc("Ch9wbGF0Zm9ybS9jbGkvdjJhbHBoYS9vZWNvLnByb3RvEhRwbGF0Zm9ybS5jbGkudjJhbHBoYSIhChFPZWNvQ29uZmlndXJhdGlvbhIMCgRvZWNvGAEgASgJQoQBWmFnaXRodWIuY29tL29wZW5lY29zeXN0ZW1zL2Vjb3N5c3RlbS9saWJzL3B1YmxpYy9nby9wcm90b2J1Zi9nZW4vcGxhdGZvcm0vY2xpL3YyYWxwaGE7Y2xpdjJhbHBoYXBigsQTAggCgrUYBggDEAEYBpK1GAMKAQOatRgAorUYAggBYgZwcm90bzM", [file_platform_options_v2_annotations]); + fileDesc("Ch9wbGF0Zm9ybS9jbGkvdjJhbHBoYS9vZWNvLnByb3RvEhRwbGF0Zm9ybS5jbGkudjJhbHBoYSIhChFPZWNvQ29uZmlndXJhdGlvbhIMCgRvZWNvGAEgASgJQn9aXGdpdGh1Yi5jb20vb3BlbmVjb3N5c3RlbXMvZWNvc3lzdGVtL2xpYnMvcHVibGljL2dvL3Nkay9nZW4vcGxhdGZvcm0vY2xpL3YyYWxwaGE7Y2xpdjJhbHBoYXBigsQTAggCgrUYBggDEAEYBpK1GAMKAQOatRgAorUYAggBYgZwcm90bzM", [file_platform_options_v2_annotations]); /** * Describes the message platform.cli.v2alpha.OecoConfiguration. diff --git a/libs/public/typescript/protobuf/src/gen/platform/communication/v1alpha/preference_center_pb.js b/libs/public/typescript/protobuf/src/gen/platform/communication/v1alpha/preference_center_pb.js index 825f3bb4..cfebdde4 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/communication/v1alpha/preference_center_pb.js +++ b/libs/public/typescript/protobuf/src/gen/platform/communication/v1alpha/preference_center_pb.js @@ -13,7 +13,7 @@ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb"; * Describes the file platform/communication/v1alpha/preference_center.proto. */ export const file_platform_communication_v1alpha_preference_center = /*@__PURE__*/ - fileDesc("CjZwbGF0Zm9ybS9jb21tdW5pY2F0aW9uL3YxYWxwaGEvcHJlZmVyZW5jZV9jZW50ZXIucHJvdG8SHnBsYXRmb3JtLmNvbW11bmljYXRpb24udjFhbHBoYSIfCh1QcmVmZXJlbmNlQ2VudGVyQ29uZmlndXJhdGlvbiLzAgofQ3JlYXRlT3JVcGRhdGVQcmVmZXJlbmNlUmVxdWVzdBIeCgxhbm9ueW1vdXNfaWQYASABKAlCCLpIBXIDGIACEhkKBWVtYWlsGAIgASgJQgq6SAdyBRiAAmABEhMKC2V4dGVybmFsX2lkGAMgASgJEh0KDHBob25lX251bWJlchgEIAEoCUIHukgEcgIYChIcCgpmaXJzdF9uYW1lGAUgASgJQgi6SAVyAxiAAhIbCglsYXN0X25hbWUYBiABKAlCCLpIBXIDGIACEhwKC3Bvc3RhbF9jb2RlGAcgASgJQge6SARyAhgKEhUKBGNpdHkYCCABKAlCB7pIBHICGEASJwoVc3RhdGVfcHJvdmluY2VfcmVnaW9uGAkgASgJQgi6SAVyAxiAARIZCgdjb3VudHJ5GAogASgJQgi6SAVyAxiAARIQCghsaXN0X2lkcxgLIAMoCRITCgtzZWdtZW50X2lkcxgMIAMoCToG+rYYAggBIrQBCiBDcmVhdGVPclVwZGF0ZVByZWZlcmVuY2VSZXNwb25zZRI7CgxzcGVjX2NvbnRleHQYASABKAsyJS5wbGF0Zm9ybS5zcGVjLnYyLlNwZWNSZXNwb25zZUNvbnRleHQSSwoRcHJlZmVyZW5jZV9jZW50ZXIYAiABKAsyMC5wbGF0Zm9ybS5jb21tdW5pY2F0aW9uLnYxYWxwaGEuUHJlZmVyZW5jZUNlbnRlcjoG+rYYAggCIo4BChdEZWxldGVQcmVmZXJlbmNlUmVxdWVzdBIeCgxhbm9ueW1vdXNfaWQYASABKAlCCLpIBXIDGIACEhcKBWVtYWlsGAIg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FhbHBoYS5HZXRQcmVmZXJlbmNlUmVxdWVzdBo1LnBsYXRmb3JtLmNvbW11bmljYXRpb24udjFhbHBoYS5HZXRQcmVmZXJlbmNlUmVzcG9uc2UiO6q2GAIICoLT5JMCLxItL3YxYWxwaGEvY29tbXVuaWNhdGlvbi9wcmVmZXJlbmNlLWNlbnRlci97aWR9EtEBChRHZXRQcmVmZXJlbmNlT3B0aW9ucxI7LnBsYXRmb3JtLmNvbW11bmljYXRpb24udjFhbHBoYS5HZXRQcmVmZXJlbmNlT3B0aW9uc1JlcXVlc3QaPC5wbGF0Zm9ybS5jb21tdW5pY2F0aW9uLnYxYWxwaGEuR2V0UHJlZmVyZW5jZU9wdGlvbnNSZXNwb25zZSI+qrYYAggKgtPkkwIyEjAvdjFhbHBoYS9jb21tdW5pY2F0aW9uL3ByZWZlcmVuY2UtY2VudGVyL29wdGlvbnNCzAFadWdpdGh1Yi5jb20vb3BlbmVjb3N5c3RlbXMvZWNvc3lzdGVtL2xpYnMvcHVibGljL2dvL3Byb3RvYnVmL2dlbi9wbGF0Zm9ybS9jb21tdW5pY2F0aW9uL3YxYWxwaGE7Y29tbXVuaWNhdGlvbnYxYWxwaGFwYoLEEwIIAoK1GAYIAxABGAKKtRguChFwcmVmZXJlbmNlX2NlbnRlchIScHJlZmVyZW5jZV9jZW50ZXJzIgNqYW4oApK1GAMKAQOatRgCCAGitRgCCAFiBnByb3RvMw", [file_google_api_annotations, file_google_protobuf_timestamp, file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_buf_validate_validate]); + fileDesc("CjZwbGF0Zm9ybS9jb21tdW5pY2F0aW9uL3YxYWxwaGEvcHJlZmVyZW5jZV9jZW50ZXIucHJvdG8SHnBsYXRmb3JtLmNvbW11bmljYXRpb24udjFhbHBoYSIfCh1QcmVmZXJlbmNlQ2VudGVyQ29uZmlndXJhdGlvbiLzAgofQ3JlYXRlT3JVcGRhdGVQcmVmZXJlbmNlUmVxdWVzdBIeCgxhbm9ueW1vdXNf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Zm9ybS5jb21tdW5pY2F0aW9uLnYxYWxwaGEuR2V0UHJlZmVyZW5jZU9wdGlvbnNSZXNwb25zZSI+qrYYAggKgtPkkwIyEjAvdjFhbHBoYS9jb21tdW5pY2F0aW9uL3ByZWZlcmVuY2UtY2VudGVyL29wdGlvbnNCxwFacGdpdGh1Yi5jb20vb3BlbmVjb3N5c3RlbXMvZWNvc3lzdGVtL2xpYnMvcHVibGljL2dvL3Nkay9nZW4vcGxhdGZvcm0vY29tbXVuaWNhdGlvbi92MWFscGhhO2NvbW11bmljYXRpb252MWFscGhhcGKCxBMCCAKCtRgGCAMQARgCirUYLgoRcHJlZmVyZW5jZV9jZW50ZXISEnByZWZlcmVuY2VfY2VudGVycyIDamFuKAKStRgDCgEDmrUYAggBorUYAggBYgZwcm90bzM", [file_google_api_annotations, file_google_protobuf_timestamp, file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_buf_validate_validate]); /** * Describes the message platform.communication.v1alpha.PreferenceCenterConfiguration. diff --git a/libs/public/typescript/protobuf/src/gen/platform/communication/v1beta/preference_center_pb.js b/libs/public/typescript/protobuf/src/gen/platform/communication/v1beta/preference_center_pb.js index 538110d3..4fe68139 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/communication/v1beta/preference_center_pb.js +++ b/libs/public/typescript/protobuf/src/gen/platform/communication/v1beta/preference_center_pb.js @@ -13,7 +13,7 @@ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb"; * Describes the file platform/communication/v1beta/preference_center.proto. */ export const file_platform_communication_v1beta_preference_center = /*@__PURE__*/ - fileDesc("CjVwbGF0Zm9ybS9jb21tdW5pY2F0aW9uL3YxYmV0YS9wcmVmZXJlbmNlX2NlbnRlci5wcm90bxIdcGxhdGZvcm0uY29tbXVuaWNhdGlvbi52MWJldGEiHwodUHJlZmVyZW5jZUNlbnRlckNvbmZpZ3VyYXRpb24i8wIKH0NyZWF0ZU9yVXBkYXRlUHJlZmVyZW5jZVJlcXVlc3QSHgoMYW5vbn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pb24udjFiZXRhLkdldFByZWZlcmVuY2VPcHRpb25zUmVzcG9uc2UiPaq2GAIICoLT5JMCMRIvL3YxYmV0YS9jb21tdW5pY2F0aW9uL3ByZWZlcmVuY2UtY2VudGVyL29wdGlvbnNCygFac2dpdGh1Yi5jb20vb3BlbmVjb3N5c3RlbXMvZWNvc3lzdGVtL2xpYnMvcHVibGljL2dvL3Byb3RvYnVmL2dlbi9wbGF0Zm9ybS9jb21tdW5pY2F0aW9uL3YxYmV0YTtjb21tdW5pY2F0aW9udjFiZXRhcGKCxBMCCAKCtRgGCAMQARgCirUYLgoRcHJlZmVyZW5jZV9jZW50ZXISEnByZWZlcmVuY2VfY2VudGVycyIDamFuKAKStRgDCgEDmrUYAggBorUYAggBYgZwcm90bzM", [file_google_api_annotations, file_google_protobuf_timestamp, file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_buf_validate_validate]); + fileDesc("CjVwbGF0Zm9ybS9jb21tdW5pY2F0aW9uL3YxYmV0YS9wcmVmZXJlbmNlX2NlbnRlci5wcm90bxIdcGxhdGZvcm0uY29tbXVuaWNhdGlvbi52MWJldGEiHwodUHJlZmVyZW5jZUNlbnRlckNvbmZpZ3VyYXRpb24i8wIKH0NyZWF0ZU9yVXBkYXRlUHJlZmVyZW5jZVJlcXVlc3QSHgoMYW5vbnltb3VzX2lkGAEgASgJQgi6SAVyAxiAAhIZCgVlbWFpbBgCIAEoCUIKukgHcgUYgAJgARITCgtleHRlcm5hbF9pZBgDIAEoCRIdCgxwaG9uZV9udW1iZXIYBCABKAlCB7pIBHICGAoSHAoKZmlyc3RfbmFtZRgFIAEoCUIIukgFcgMYgAISGwoJbGFzdF9uYW1lGAYgASgJQgi6SAVyAxiAAhIcCgtwb3N0YWxfY29kZRgHIAEoCUIHukgEcgIYChIVCgRjaXR5GAggASgJQge6SARyAhhAEicKFXN0YXRlX3Byb3ZpbmNlX3JlZ2lvbhgJIAEoCUIIukgFcgMYgAESGQoHY291bnRyeRgKIAEoCUIIukg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nMiA2phbigCkrUYAwoBA5q1GAIIAaK1GAIIAWIGcHJvdG8z", [file_google_api_annotations, file_google_protobuf_timestamp, file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_buf_validate_validate]); /** * Describes the message platform.communication.v1beta.PreferenceCenterConfiguration. diff --git a/libs/public/typescript/protobuf/src/gen/platform/configuration/v2alpha/configuration_pb.js b/libs/public/typescript/protobuf/src/gen/platform/configuration/v2alpha/configuration_pb.js index 580f88ec..b385414b 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/configuration/v2alpha/configuration_pb.js +++ b/libs/public/typescript/protobuf/src/gen/platform/configuration/v2alpha/configuration_pb.js @@ -15,7 +15,7 @@ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb"; * Describes the file platform/configuration/v2alpha/configuration.proto. */ export const file_platform_configuration_v2alpha_configuration = /*@__PURE__*/ - fileDesc("CjJwbGF0Zm9ybS9jb25maWd1cmF0aW9uL3YyYWxwaGEvY29uZmlndXJhdGlvbi5wcm90bxIecGxhdGZvcm0uY29uZmlndXJhdGlvbi52MmFscGhhIngKGkNyZWF0ZUNvbmZpZ3VyYXRpb25SZXF1ZXN0Ej8KBHR5cGUYAiABKA4yMS5wbGF0Zm9ybS5jb25maWd1cmF0aW9uLnYyYWxwaGEuQ29uZmlndXJhdGlvblR5cGUSEQoJcGFyZW50X2lkGAMgASgJOgb6thgCCAEiqAEKG0NyZWF0ZUNvbmZpZ3VyYXRpb25SZXNwb25zZRI7CgxzcGVjX2NvbnRleHQYASABKAsyJS5wbGF0Zm9ybS5zcGVjLnYyLlNwZWNSZXNwb25zZUNvbnRleHQSRAoNY29uZmlndXJhdGlvbhgCIAEoCzItLnBsYXRmb3JtLmNvbmZpZ3VyYXRpb24udjJhbHBoYS5Db25maWd1cmF0aW9uOgb6thgCCAIiLQoXR2V0Q29uZmlndXJhdGlvblJlcXVlc3QSCgoCaWQYAiABKAk6Bvq2GAIIASKlAQoYR2V0Q29uZmlndXJhdGlvblJlc3BvbnN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vY29uZmlndXJhdGlvbnMvYXJjaGl2ZS97aWR9QsQBWnVnaXRodWIuY29tL29wZW5lY29zeXN0ZW1zL2Vjb3N5c3RlbS9saWJzL3B1YmxpYy9nby9wcm90b2J1Zi9nZW4vcGxhdGZvcm0vY29uZmlndXJhdGlvbi92MmFscGhhO2NvbmZpZ3VyYXRpb252MmFscGhhcGKCxBMCCAKCtRgGCAMQARgCirUYKAoNY29uZmlndXJhdGlvbhIOY29uZmlndXJhdGlvbnMiA2phbigCOAGStRgDCgEDmrUYAggBorUYAGIGcHJvdG8z", [file_google_protobuf_any, file_google_api_annotations, file_google_protobuf_timestamp, file_platform_configuration_v2alpha_spec_configuration, file_platform_ontology_v2alpha_spec_data_catalog, file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_buf_validate_validate]); + fileDesc("CjJwbGF0Zm9ybS9jb25maWd1cmF0aW9uL3YyYWxwaGEvY29uZmlndXJhdGlvbi5wcm90bxIecGxhdGZvcm0uY29uZmlndXJhdGlvbi52MmFscGhhIngKGkNyZWF0ZUNvbmZpZ3VyYXRpb25SZXF1ZXN0Ej8KBHR5cGUYAiABKA4yMS5wbGF0Zm9ybS5jb25maWd1cmF0aW9uLnYyYWxwaGEuQ29uZmlndXJhdGlvblR5cGUSEQoJcGFyZW50X2lkGAMgASgJOgb6thgCCAEiqAEKG0NyZWF0ZUNvbmZpZ3VyYXRpb25SZXNwb25zZRI7CgxzcGVjX2NvbnRleHQYASABKAsyJS5wbGF0Zm9ybS5zcGVjLnYyLlNwZWNSZXNwb25zZUNvbnRleHQSRAoNY29uZmlndXJhdGlvbhgCIAEoCzItLnBsYXRmb3JtLmNvbmZpZ3VyYXRpb24udjJhbHBoYS5Db25maWd1cmF0aW9uOgb6thgCCAIiLQoXR2V0Q29uZmlndXJhdGlvblJlcXVlc3QSCgoCaWQYAiABKAk6Bvq2GAIIASKlAQoYR2V0Q29uZmlndXJhdGlvblJlc3BvbnNlEjsKDHNwZWNfY29udGV4dBgBIAEoCzIl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aWR9Qr8BWnBnaXRodWIuY29tL29wZW5lY29zeXN0ZW1zL2Vjb3N5c3RlbS9saWJzL3B1YmxpYy9nby9zZGsvZ2VuL3BsYXRmb3JtL2NvbmZpZ3VyYXRpb24vdjJhbHBoYTtjb25maWd1cmF0aW9udjJhbHBoYXBigsQTAggCgrUYBggDEAEYAoq1GCgKDWNvbmZpZ3VyYXRpb24SDmNvbmZpZ3VyYXRpb25zIgNqYW4oAjgBkrUYAwoBA5q1GAIIAaK1GABiBnByb3RvMw", [file_google_protobuf_any, file_google_api_annotations, file_google_protobuf_timestamp, file_platform_configuration_v2alpha_spec_configuration, file_platform_ontology_v2alpha_spec_data_catalog, file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_buf_validate_validate]); /** * Describes the message platform.configuration.v2alpha.CreateConfigurationRequest. diff --git a/libs/public/typescript/protobuf/src/gen/platform/configuration/v2alpha/spec_configuration_pb.d.ts b/libs/public/typescript/protobuf/src/gen/platform/configuration/v2alpha/spec_configuration_pb.d.ts index a35ebadc..6dd9adff 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/configuration/v2alpha/spec_configuration_pb.d.ts +++ b/libs/public/typescript/protobuf/src/gen/platform/configuration/v2alpha/spec_configuration_pb.d.ts @@ -6,6 +6,8 @@ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Message } from "@bufbuild/protobuf"; +import type { PreferenceCenterConfiguration } from "../../communication/v1alpha/preference_center_pb"; +import type { PreferenceCenterConfiguration as PreferenceCenterConfiguration$1 } from "../../communication/v1beta/preference_center_pb"; import type { AuditConfiguration } from "../../audit/v2alpha/audit_pb"; import type { OecoConfiguration } from "../../cli/v2alpha/oeco_pb"; import type { CertificateConfiguration } from "../../cryptography/v2alpha/certificate_pb"; @@ -18,8 +20,6 @@ import type { AccountAuthorityConfiguration } from "../../iam/v2alpha/account_au import type { CryptographicMeshConfiguration } from "../../mesh/v2alpha/cryptographic_mesh_pb"; import type { ReferenceConfiguration } from "../../reference/v2alpha/reference_pb"; import type { SystemConfiguration } from "../../system/v2alpha/system_pb"; -import type { PreferenceCenterConfiguration } from "../../communication/v1alpha/preference_center_pb"; -import type { PreferenceCenterConfiguration as PreferenceCenterConfiguration$1 } from "../../communication/v1beta/preference_center_pb"; /** * Describes the file platform/configuration/v2alpha/spec_configuration.proto. @@ -31,74 +31,74 @@ export declare const file_platform_configuration_v2alpha_spec_configuration: Gen */ export declare type SpecPlatformConfiguration = Message<"platform.configuration.v2alpha.SpecPlatformConfiguration"> & { /** - * @generated from field: platform.audit.v2alpha.AuditConfiguration audit_configuration_v2alpha = 2; + * @generated from field: platform.communication.v1alpha.PreferenceCenterConfiguration preference_center_configuration_v1alpha = 2; + */ + preferenceCenterConfigurationV1alpha?: PreferenceCenterConfiguration; + + /** + * @generated from field: platform.communication.v1beta.PreferenceCenterConfiguration preference_center_configuration_v1beta = 3; + */ + preferenceCenterConfigurationV1beta?: PreferenceCenterConfiguration$1; + + /** + * @generated from field: platform.audit.v2alpha.AuditConfiguration audit_configuration_v2alpha = 4; */ auditConfigurationV2alpha?: AuditConfiguration; /** - * @generated from field: platform.cli.v2alpha.OecoConfiguration oeco_configuration_v2alpha = 3; + * @generated from field: platform.cli.v2alpha.OecoConfiguration oeco_configuration_v2alpha = 5; */ oecoConfigurationV2alpha?: OecoConfiguration; /** - * @generated from field: platform.cryptography.v2alpha.CertificateConfiguration certificate_configuration_v2alpha = 4; + * @generated from field: platform.cryptography.v2alpha.CertificateConfiguration certificate_configuration_v2alpha = 6; */ certificateConfigurationV2alpha?: CertificateConfiguration; /** - * @generated from field: platform.cryptography.v2alpha.EncryptionConfiguration encryption_configuration_v2alpha = 5; + * @generated from field: platform.cryptography.v2alpha.EncryptionConfiguration encryption_configuration_v2alpha = 7; */ encryptionConfigurationV2alpha?: EncryptionConfiguration; /** - * @generated from field: platform.dns.v2alpha.DynamicDnsConfiguration dynamic_dns_configuration_v2alpha = 6; + * @generated from field: platform.dns.v2alpha.DynamicDnsConfiguration dynamic_dns_configuration_v2alpha = 8; */ dynamicDnsConfigurationV2alpha?: DynamicDnsConfiguration; /** - * @generated from field: platform.ecosystem.v2alpha.EcosystemConfiguration ecosystem_configuration_v2alpha = 7; + * @generated from field: platform.ecosystem.v2alpha.EcosystemConfiguration ecosystem_configuration_v2alpha = 9; */ ecosystemConfigurationV2alpha?: EcosystemConfiguration; /** - * @generated from field: platform.edge.v2alpha.EdgeRouterConfiguration edge_router_configuration_v2alpha = 8; + * @generated from field: platform.edge.v2alpha.EdgeRouterConfiguration edge_router_configuration_v2alpha = 10; */ edgeRouterConfigurationV2alpha?: EdgeRouterConfiguration; /** - * @generated from field: platform.iam.v2alpha.AccountConfiguration account_configuration_v2alpha = 9; + * @generated from field: platform.iam.v2alpha.AccountConfiguration account_configuration_v2alpha = 11; */ accountConfigurationV2alpha?: AccountConfiguration; /** - * @generated from field: platform.iam.v2alpha.AccountAuthorityConfiguration account_authority_configuration_v2alpha = 10; + * @generated from field: platform.iam.v2alpha.AccountAuthorityConfiguration account_authority_configuration_v2alpha = 12; */ accountAuthorityConfigurationV2alpha?: AccountAuthorityConfiguration; /** - * @generated from field: platform.mesh.v2alpha.CryptographicMeshConfiguration cryptographic_mesh_configuration_v2alpha = 11; + * @generated from field: platform.mesh.v2alpha.CryptographicMeshConfiguration cryptographic_mesh_configuration_v2alpha = 13; */ cryptographicMeshConfigurationV2alpha?: CryptographicMeshConfiguration; /** - * @generated from field: platform.reference.v2alpha.ReferenceConfiguration reference_configuration_v2alpha = 12; + * @generated from field: platform.reference.v2alpha.ReferenceConfiguration reference_configuration_v2alpha = 14; */ referenceConfigurationV2alpha?: ReferenceConfiguration; /** - * @generated from field: platform.system.v2alpha.SystemConfiguration system_configuration_v2alpha = 13; + * @generated from field: platform.system.v2alpha.SystemConfiguration system_configuration_v2alpha = 15; */ systemConfigurationV2alpha?: SystemConfiguration; - - /** - * @generated from field: platform.communication.v1alpha.PreferenceCenterConfiguration preference_center_configuration_v1alpha = 14; - */ - preferenceCenterConfigurationV1alpha?: PreferenceCenterConfiguration; - - /** - * @generated from field: platform.communication.v1beta.PreferenceCenterConfiguration preference_center_configuration_v1beta = 15; - */ - preferenceCenterConfigurationV1beta?: PreferenceCenterConfiguration$1; }; /** diff --git a/libs/public/typescript/protobuf/src/gen/platform/configuration/v2alpha/spec_configuration_pb.js b/libs/public/typescript/protobuf/src/gen/platform/configuration/v2alpha/spec_configuration_pb.js index bcff275c..569ed55e 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/configuration/v2alpha/spec_configuration_pb.js +++ b/libs/public/typescript/protobuf/src/gen/platform/configuration/v2alpha/spec_configuration_pb.js @@ -6,7 +6,6 @@ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1"; import { file_platform_options_v2_annotations } from "../../options/v2/annotations_pb"; -import { file_platform_communication_v1beta_preference_center } from "../../communication/v1beta/preference_center_pb"; import { file_platform_audit_v2alpha_audit } from "../../audit/v2alpha/audit_pb"; import { file_platform_cli_v2alpha_oeco } from "../../cli/v2alpha/oeco_pb"; import { file_platform_cryptography_v2alpha_certificate } from "../../cryptography/v2alpha/certificate_pb"; @@ -20,12 +19,13 @@ import { file_platform_mesh_v2alpha_cryptographic_mesh } from "../../mesh/v2alph import { file_platform_reference_v2alpha_reference } from "../../reference/v2alpha/reference_pb"; import { file_platform_system_v2alpha_system } from "../../system/v2alpha/system_pb"; import { file_platform_communication_v1alpha_preference_center } from "../../communication/v1alpha/preference_center_pb"; +import { file_platform_communication_v1beta_preference_center } from "../../communication/v1beta/preference_center_pb"; /** * Describes the file platform/configuration/v2alpha/spec_configuration.proto. */ export const file_platform_configuration_v2alpha_spec_configuration = /*@__PURE__*/ - fileDesc("CjdwbGF0Zm9ybS9jb25maWd1cmF0aW9uL3YyYWxwaGEvc3BlY19jb25maWd1cmF0aW9uLnByb3RvEh5wbGF0Zm9ybS5jb25maWd1cmF0aW9uLnYyYWxwaGEiwgoKGVNwZWNQbGF0Zm9ybUNvbmZpZ3VyYXRpb24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mlndXJhdGlvbhJnCihjcnlwdG9ncmFwaGljX21lc2hfY29uZmlndXJhdGlvbl92MmFscGhhGAsgASgLMjUucGxhdGZvcm0ubWVzaC52MmFscGhhLkNyeXB0b2dyYXBoaWNNZXNoQ29uZmlndXJhdGlvbhJbCh9yZWZlcmVuY2VfY29uZmlndXJhdGlvbl92MmFscGhhGAwgASgLMjIucGxhdGZvcm0ucmVmZXJlbmNlLnYyYWxwaGEuUmVmZXJlbmNlQ29uZmlndXJhdGlvbhJSChxzeXN0ZW1fY29uZmlndXJhdGlvbl92MmFscGhhGA0gASgLMiwucGxhdGZvcm0uc3lzdGVtLnYyYWxwaGEuU3lzdGVtQ29uZmlndXJhdGlvbhJuCidwcmVmZXJlbmNlX2NlbnRlcl9jb25maWd1cmF0aW9uX3YxYWxwaGEYDiABKAsyPS5wbGF0Zm9ybS5jb21tdW5pY2F0aW9uLnYxYWxwaGEuUHJlZmVyZW5jZUNlbnRlckNvbmZpZ3VyYXRpb24SbAomcHJlZmVyZW5jZV9jZW50ZXJfY29uZmlndXJhdGlvbl92MWJldGEYDyABKAsyPC5wbGF0Zm9ybS5jb21tdW5pY2F0aW9uLnYxYmV0YS5QcmVmZXJlbmNlQ2VudGVyQ29uZmlndXJhdGlvbkKHAVp1Z2l0aHViLmNvbS9vcGVuZWNvc3lzdGVtcy9lY29zeXN0ZW0vbGlicy9wdWJsaWMvZ28vcHJvdG9idWYvZ2VuL3BsYXRmb3JtL2NvbmZpZ3VyYXRpb24vdjJhbHBoYTtjb25maWd1cmF0aW9udjJhbHBoYXBigsQTAggCgrUYBggDEAEYAmIGcHJvdG8z", [file_platform_options_v2_annotations, file_platform_communication_v1beta_preference_center, file_platform_audit_v2alpha_audit, file_platform_cli_v2alpha_oeco, file_platform_cryptography_v2alpha_certificate, file_platform_cryptography_v2alpha_encryption, file_platform_dns_v2alpha_dynamic_dns, file_platform_ecosystem_v2alpha_ecosystem, file_platform_edge_v2alpha_edge_router, file_platform_iam_v2alpha_account, file_platform_iam_v2alpha_account_authority, file_platform_mesh_v2alpha_cryptographic_mesh, file_platform_reference_v2alpha_reference, file_platform_system_v2alpha_system, file_platform_communication_v1alpha_preference_center]); + fileDesc("CjdwbGF0Zm9ybS9jb25maWd1cmF0aW9uL3YyYWxwaGEvc3BlY19jb25maWd1cmF0aW9uLnByb3RvEh5wbGF0Zm9ybS5jb25maWd1cmF0aW9uLnYyYWxwaGEiwgoKGVNwZWNQbGF0Zm9ybUNvbmZpZ3VyYXRpb24SbgoncHJlZmVyZW5jZV9jZW50ZXJfY29uZmlndXJhdGlvbl92MWFscGhhGAIgASgLMj0ucGxhdGZvcm0uY29tbXVuaWNhdGlvbi52MWFscGhhLlByZWZlcmVuY2VDZW50ZXJDb25maWd1cmF0aW9uEmwKJnByZWZlcmVuY2VfY2VudGVyX2NvbmZpZ3VyYXRpb25fdjFiZXRhGAMgASgLMjwucGxhdGZvcm0uY29tbXVuaWNhdGlvbi52MWJldGEuUHJlZmVyZW5jZUNlbnRlckNvbmZpZ3VyYXRpb24STwobYXVkaXRfY29uZmlndXJhdGlvbl92MmFscGhhGAQgASgLMioucGxhdGZvcm0uYXVkaXQudjJhbHBoYS5BdWRpdENvbmZpZ3VyYXRpb24SSwoab2Vjb19jb25maWd1cmF0aW9uX3YyYWxwaGEYBSABKAsyJy5wbGF0Zm9ybS5jbGkudjJhbHBoYS5PZWNvQ29uZmlndXJhdGlvbhJiCiFjZXJ0aWZpY2F0ZV9jb25maWd1cmF0aW9uX3YyYWxwaGEYBiABKAsyNy5wbGF0Zm9ybS5jcnlwdG9ncmFwaHkudjJhbHBoYS5DZXJ0aWZpY2F0ZUNvbmZpZ3VyYXRpb24SYAogZW5jcnlwdGlvbl9jb25maWd1cmF0aW9uX3YyYWxwaGEYByABKAsyNi5wbGF0Zm9ybS5jcnlwdG9ncmFwaHkudjJhbHBoYS5FbmNyeXB0aW9uQ29uZmlndXJhdGlvbhJYCiFkeW5hbWljX2Ruc19jb25maWd1cmF0aW9uX3Yy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XJhdGlvbnYyYWxwaGFwYoLEEwIIAoK1GAYIAxABGAJiBnByb3RvMw", [file_platform_options_v2_annotations, file_platform_audit_v2alpha_audit, file_platform_cli_v2alpha_oeco, file_platform_cryptography_v2alpha_certificate, file_platform_cryptography_v2alpha_encryption, file_platform_dns_v2alpha_dynamic_dns, file_platform_ecosystem_v2alpha_ecosystem, file_platform_edge_v2alpha_edge_router, file_platform_iam_v2alpha_account, file_platform_iam_v2alpha_account_authority, file_platform_mesh_v2alpha_cryptographic_mesh, file_platform_reference_v2alpha_reference, file_platform_system_v2alpha_system, file_platform_communication_v1alpha_preference_center, file_platform_communication_v1beta_preference_center]); /** * Describes the message platform.configuration.v2alpha.SpecPlatformConfiguration. diff --git a/libs/public/typescript/protobuf/src/gen/platform/cryptography/v2alpha/certificate_pb.js b/libs/public/typescript/protobuf/src/gen/platform/cryptography/v2alpha/certificate_pb.js index d746e5a0..f399fc09 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/cryptography/v2alpha/certificate_pb.js +++ b/libs/public/typescript/protobuf/src/gen/platform/cryptography/v2alpha/certificate_pb.js @@ -13,7 +13,7 @@ import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@ * Describes the file platform/cryptography/v2alpha/certificate.proto. */ export const file_platform_cryptography_v2alpha_certificate = /*@__PURE__*/ - fileDesc("Ci9wbGF0Zm9ybS9jcnlwdG9ncmFwaHkvdjJhbHBoYS9jZXJ0aWZpY2F0ZS5wcm90bxIdcGxhdGZvcm0uY3J5cHRvZ3JhcGh5LnYyYWxwaGEiJwoYQ2VydGlmaWNhdGVDb25maWd1cmF0aW9uEgsKA3BraRgBIAEoCSJPChhWZXJpZnlDZXJ0aWZpY2F0ZVJlcXVlc3QSKwoLY2VydGlmaWNhdGUYASABKAsyFi5wbGF0Zm9ybS50eXBlLnYyLkZpbGU6Bvq2GAIIASKhAQoZVmVyaWZ5Q2VydGlmaWNhdGVSZXNwb25zZRI7CgxzcGVjX2NvbnRleHQYASABKAsyJS5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mL2dlbi9wbGF0Zm9ybS9jcnlwdG9ncmFwaHkvdjJhbHBoYTtjcnlwdG9ncmFwaHl2MmFscGhhcGKCxBMCCAKCtRgGCAMQARgGirUYJAoLY2VydGlmaWNhdGUSDGNlcnRpZmljYXRlcyIDamFuKAI4AZK1GAMKAQOatRgCCAGitRgCCAFiBnByb3RvMw", [file_google_api_annotations, file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_platform_type_v2_file, file_google_protobuf_duration, file_google_protobuf_timestamp]); + fileDesc("Ci9wbGF0Zm9ybS9jcnlwdG9ncmFwaHkvdjJhbHBoYS9jZXJ0aWZpY2F0ZS5wcm90bxIdcGxhdGZvcm0uY3J5cHRvZ3JhcGh5LnYyYWxwaGEiJwoYQ2VydGlmaWNhdGVDb25maWd1cmF0aW9uEgsKA3BraRgBIAEoCSJPChhWZXJpZnlDZXJ0aWZpY2F0ZVJlcXVlc3QSKwoLY2VydGlmaWNhdGUYASABKAsyFi5wbGF0Zm9ybS50eXBlLnYyLkZpbGU6Bvq2GAIIASKhAQoZVmVyaWZ5Q2VydGlmaWNhdGVSZXNwb25zZRI7CgxzcGVjX2NvbnRleHQYASABKAsyJS5wbGF0Zm9ybS5zcGVjLnYyLlNwZWNSZXNwb25zZUNvbnRleHQSPwoLY2VydGlmaWNhdGUYAiABKAsyKi5wbGF0Zm9ybS5jcnlwdG9ncmFwaHkudjJhbHBoYS5DZXJ0aWZpY2F0ZToG+rYYAggCIk0KFlNpZ25DZXJ0aWZpY2F0ZVJlcXVlc3QSKwoLY2VydGlmaWNhdGUYASABKAsyFi5wbGF0Zm9ybS50eXBlLnYyLkZpbGU6Bvq2GAIIASKfAQoXU2lnbkNlcnRpZmljYXRlUmVzcG9uc2USOwoMc3BlY19jb250ZXh0GAEgASgLMiUucGxhdGZvcm0uc3BlYy52Mi5TcGVjUmVzcG9uc2VDb250ZXh0Ej8KC2NlcnRpZmljYXRlGAIgASgLMioucGxhdGZvcm0uY3J5cHRvZ3JhcGh5LnYy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2VydGlmaWNhdGUSNy5wbGF0Zm9ybS5jcnlwdG9ncmFwaHkudjJhbHBoYS5WZXJpZnlDZXJ0aWZpY2F0ZVJlcXVlc3QaOC5wbGF0Zm9ybS5jcnlwdG9ncmFwaHkudjJhbHBoYS5WZXJpZnlDZXJ0aWZpY2F0ZVJlc3BvbnNlIkWithgIKgZ2ZXJpZnmqthgCCAOC0+STAi06ASoiKC92MmFscGhhL2NyeXB0b2dyYXBoeS9jZXJ0aWZpY2F0ZS92ZXJpZnkSwwEKD1NpZ25DZXJ0aWZpY2F0ZRI1LnBsYXRmb3JtLmNyeXB0b2dyYXBoeS52MmFscGhhLlNpZ25DZXJ0aWZpY2F0ZVJlcXVlc3QaNi5wbGF0Zm9ybS5jcnlwdG9ncmFwaHkudjJhbHBoYS5TaWduQ2VydGlmaWNhdGVSZXNwb25zZSJBorYYBioEc2lnbqq2GAIIA4LT5JMCKzoBKiImL3YyYWxwaGEvY3J5cHRvZ3JhcGh5L2NlcnRpZmljYXRlL3NpZ25CuwFabmdpdGh1Yi5jb20vb3BlbmVjb3N5c3RlbXMvZWNvc3lzdGVtL2xpYnMvcHVibGljL2dvL3Nkay9nZW4vcGxhdGZvcm0vY3J5cHRvZ3JhcGh5L3YyYWxwaGE7Y3J5cHRvZ3JhcGh5djJhbHBoYXBigsQTAggCgrUYBggDEAEYBoq1GCQKC2NlcnRpZmljYXRlEgxjZXJ0aWZpY2F0ZXMiA2phbigCOAGStRgDCgEDmrUYAggBorUYAggBYgZwcm90bzM", [file_google_api_annotations, file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_platform_type_v2_file, file_google_protobuf_duration, file_google_protobuf_timestamp]); /** * Describes the message platform.cryptography.v2alpha.CertificateConfiguration. diff --git a/libs/public/typescript/protobuf/src/gen/platform/cryptography/v2alpha/encryption_pb.js b/libs/public/typescript/protobuf/src/gen/platform/cryptography/v2alpha/encryption_pb.js index 02069fb8..5e6ef77f 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/cryptography/v2alpha/encryption_pb.js +++ b/libs/public/typescript/protobuf/src/gen/platform/cryptography/v2alpha/encryption_pb.js @@ -9,7 +9,7 @@ import { file_platform_options_v2_annotations } from "../../options/v2/annotatio * Describes the file platform/cryptography/v2alpha/encryption.proto. */ export const file_platform_cryptography_v2alpha_encryption = /*@__PURE__*/ - fileDesc("Ci5wbGF0Zm9ybS9jcnlwdG9ncmFwaHkvdjJhbHBoYS9lbmNyeXB0aW9uLnByb3RvEh1wbGF0Zm9ybS5jcnlwdG9ncmFwaHkudjJhbHBoYSIZChdFbmNyeXB0aW9uQ29uZmlndXJhdGlvbiJUChFFbmNyeXB0aW9uQ29udGV4dBIMCgR1c2VyGAEgASgJEg4KBmVudGl0eRgCIAEoCRIRCglwcmluY2lwYWwYAyABKAkSDgoGaW50ZW50GAQgASgJIm8KCkNpcGhlclRleHQSEwoLY2lwaGVyX3RleHQYASABKAwSTAoSZW5jcnlwdGlvbl9jb250ZXh0GAIgASgLMjAucGxhdGZvcm0uY3J5cHRvZ3JhcGh5LnYyYWxwaGEuRW5jcnlwdGlvbkNvbnRleHQiPQoORW5jcnlwdFJlcXVlc3QSEgoKcGxhaW5fdGV4dBgBIAEoDBIXCg9hc3NvY2lhdGVkX2RhdGEYAiABKAwibAoPRW5jcnlwdFJlc3BvbnNlEkAKC2NpcGhlcl90ZXh0GAEgASgLMikucGxhdGZvcm0uY3J5cHRvZ3JhcGh5LnYyYWxwaGEuQ2lwaGVyVGV4dEgAEg0KA2VychgCIAEoCUgAQggKBnJlc3VsdCJpCg5EZWNyeXB0UmVxdWVzdBI+CgtjaXBoZXJfdGV4dBgBIAEoCzIpLnBsYXRmb3JtLmNyeXB0b2dyYXBoeS52MmFscGhhLkNpcGhlclRleHQSFwoPYXNzb2NpYXRlZF9kYXRhGAIgASgMIkAKD0RlY3J5cHRSZXNwb25zZRIUCgpwbGFpbl90ZXh0GAEgASgMSAASDQoDZXJyGAIgASgJSABCCAoGcmVzdWx0MusBChFFbmNyeXB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BvbnNlEkAKC2NpcGhlcl90ZXh0GAEgASgLMikucGxhdGZvcm0uY3J5cHRvZ3JhcGh5LnYyYWxwaGEuQ2lwaGVyVGV4dEgAEg0KA2VychgCIAEoCUgAQggKBnJlc3VsdCJpCg5EZWNyeXB0UmVxdWVzdBI+CgtjaXBoZXJfdGV4dBgBIAEoCzIpLnBsYXRmb3JtLmNyeXB0b2dyYXBoeS52MmFscGhhLkNpcGhlclRleHQSFwoPYXNzb2NpYXRlZF9kYXRhGAIgASgMIkAKD0RlY3J5cHRSZXNwb25zZRIUCgpwbGFpbl90ZXh0GAEgASgMSAASDQoDZXJyGAIgASgJSABCCAoGcmVzdWx0MusBChFFbmNyeXB0aW9uU2VydmljZRJqCgdFbmNyeXB0Ei0ucGxhdGZvcm0uY3J5cHRvZ3JhcGh5LnYyYWxwaGEuRW5jcnlwdFJlcXVlc3QaLi5wbGF0Zm9ybS5jcnlwdG9ncmFwaHkudjJhbHBoYS5FbmNyeXB0UmVzcG9uc2UiABJqCgdEZWNyeXB0Ei0ucGxhdGZvcm0uY3J5cHRvZ3JhcGh5LnYyYWxwaGEuRGVjcnlwdFJlcXVlc3QaLi5wbGF0Zm9ybS5jcnlwdG9ncmFwaHkudjJhbHBoYS5EZWNyeXB0UmVzcG9uc2UiAEKSAVpuZ2l0aHViLmNvbS9vcGVuZWNvc3lzdGVtcy9lY29zeXN0ZW0vbGlicy9wdWJsaWMvZ28vc2RrL2dlbi9wbGF0Zm9ybS9jcnlwdG9ncmFwaHkvdjJhbHBoYTtjcnlwdG9ncmFwaHl2MmFscGhhcGKCxBMCCAGCtRgGCAMQARgCkrUYBAoCAwGatRgAorUYAggBYgZwcm90bzM", [file_platform_options_v2_annotations]); /** * Describes the message platform.cryptography.v2alpha.EncryptionConfiguration. diff --git a/libs/public/typescript/protobuf/src/gen/platform/dns/v2alpha/dynamic_dns_pb.js b/libs/public/typescript/protobuf/src/gen/platform/dns/v2alpha/dynamic_dns_pb.js index 1b1c96e9..d9e38de3 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/dns/v2alpha/dynamic_dns_pb.js +++ b/libs/public/typescript/protobuf/src/gen/platform/dns/v2alpha/dynamic_dns_pb.js @@ -9,7 +9,7 @@ import { file_platform_options_v2_annotations } from "../../options/v2/annotatio * Describes the file platform/dns/v2alpha/dynamic_dns.proto. */ export const file_platform_dns_v2alpha_dynamic_dns = /*@__PURE__*/ - fileDesc("CiZwbGF0Zm9ybS9kbnMvdjJhbHBoYS9keW5hbWljX2Rucy5wcm90bxIUcGxhdGZvcm0uZG5zLnYyYWxwaGEiMQoXRHluYW1pY0Ruc0NvbmZpZ3VyYXRpb24SFgoOZHluYW1pY19jb25maWcYASABKAlChAFaYWdpdGh1Yi5jb20vb3BlbmVjb3N5c3RlbXMvZWNvc3lzdGVtL2xpYnMvcHVibGljL2dvL3Byb3RvYnVmL2dlbi9wbGF0Zm9ybS9kbnMvdjJhbHBoYTtkbnN2MmFscGhhcGKCxBMCCAOCtRgGCAMQARgGkrUYAwoBA5q1GACitRgCCAFiBnByb3RvMw", [file_platform_options_v2_annotations]); + fileDesc("CiZwbGF0Zm9ybS9kbnMvdjJhbHBoYS9keW5hbWljX2Rucy5wcm90bxIUcGxhdGZvcm0uZG5zLnYyYWxwaGEiMQoXRHluYW1pY0Ruc0NvbmZpZ3VyYXRpb24SFgoOZHluYW1pY19jb25maWcYASABKAlCf1pcZ2l0aHViLmNvbS9vcGVuZWNvc3lzdGVtcy9lY29zeXN0ZW0vbGlicy9wdWJsaWMvZ28vc2RrL2dlbi9wbGF0Zm9ybS9kbnMvdjJhbHBoYTtkbnN2MmFscGhhcGKCxBMCCAOCtRgGCAMQARgGkrUYAwoBA5q1GACitRgCCAFiBnByb3RvMw", [file_platform_options_v2_annotations]); /** * Describes the message platform.dns.v2alpha.DynamicDnsConfiguration. diff --git a/libs/public/typescript/protobuf/src/gen/platform/ecosystem/v2alpha/ecosystem_pb.js b/libs/public/typescript/protobuf/src/gen/platform/ecosystem/v2alpha/ecosystem_pb.js index bc730ed5..47d777b0 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/ecosystem/v2alpha/ecosystem_pb.js +++ b/libs/public/typescript/protobuf/src/gen/platform/ecosystem/v2alpha/ecosystem_pb.js @@ -13,7 +13,7 @@ import { file_buf_validate_validate } from "../../../buf/validate/validate_pb"; * Describes the file platform/ecosystem/v2alpha/ecosystem.proto. */ export const file_platform_ecosystem_v2alpha_ecosystem = /*@__PURE__*/ - fileDesc("CipwbGF0Zm9ybS9lY29zeXN0ZW0vdjJhbHBoYS9lY29zeXN0ZW0ucHJvdG8SGnBsYXRmb3JtLmVjb3N5c3RlbS52MmFscGhhIloKFkVjb3N5c3RlbUNvbmZpZ3VyYXRpb24SQAoGY2xvc2VkGAEgASgIQjDStxgsCioaJklzIHRoaXMgZWNvc3lzdGVtIG9wZW4gdG8gY29ubmVjdGlvbnM/KAEihwMKFkNyZWF0ZUVjb3N5c3RlbVJlcXVlc3QSkAEKBHNsdWcYASABKAlCgQG6SH66AXsKC3NsdWdfZm9ybWF0EkdzbHVnIG11c3QgYmUgMyAtIDI0IGNoYXJhY3RlcnMgbG9uZyBhbmQgb25seSBjb250YWluIGxldHRlcnMgYW5kIGRpZ2l0cxojdGhpcy5tYXRjaGVzKCdeW0EtWmEtejAtOV17MywyNH0kJykSNwoEdHlwZRgDIAEoDjIpLnBsYXRmb3JtLmVjb3N5c3RlbS52MmFscGhhLkVjb3N5c3RlbVR5cGUSFwoEbmFtZRgEIAEoCUIJukgGcgQQAxgQEiUKEXNob3J0X2Rlc2NyaXB0aW9uGAUgASgJQgq6SAdyBRAFGP8BEh8KC2Rlc2NyaXB0aW9uGAYgASgJQgq6SAdyBRAFGIAIEjgKBGNpZHIYByABKAlCKrpIJ7oBJAoMdmFsaWRfcHJlZml4EgEuGhF0aGlzLmlzSXBQcmVmaXgoKToG+rYYAggBIpgBChdDcmVhdGVFY29zeXN0ZW1SZXNwb25zZRI7CgxzcGVjX2NvbnRleHQYASABKAsy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qMBCgxHZXRFY29zeXN0ZW0SLy5wbGF0Zm9ybS5lY29zeXN0ZW0udjJhbHBoYS5HZXRFY29zeXN0ZW1SZXF1ZXN0GjAucGxhdGZvcm0uZWNvc3lzdGVtLnYyYWxwaGEuR2V0RWNvc3lzdGVtUmVzcG9uc2UiMKK2GAUqA2dldKq2GAIICoLT5JMCGxIZL3YyYWxwaGEvZWNvc3lzdGVtL3tzbHVnfRKyAQoPVXBkYXRlRWNvc3lzdGVtEjIucGxhdGZvcm0uZWNvc3lzdGVtLnYyYWxwaGEuVXBkYXRlRWNvc3lzdGVtUmVxdWVzdBozLnBsYXRmb3JtLmVjb3N5c3RlbS52MmFscGhhLlVwZGF0ZUVjb3N5c3RlbVJlc3BvbnNlIjaithgIKgZ1cGRhdGWqthgCCAOC0+STAh46ASoaGS92MmFscGhhL2Vjb3N5c3RlbS97c2x1Z30SrwEKD0RlbGV0ZUVjb3N5c3RlbRIyLnBsYXRmb3JtLmVjb3N5c3RlbS52MmFscGhhLkRlbGV0ZUVjb3N5c3RlbVJlcXVlc3QaMy5wbGF0Zm9ybS5lY29zeXN0ZW0udjJhbHBoYS5EZWxldGVFY29zeXN0ZW1SZXNwb25zZSIzorYYCCoGZGVsZXRlqrYYAggEgtPkkwIbKhkvdjJhbHBoYS9lY29zeXN0ZW0ve3NsdWd9GgjStRgECAMQAUK0AVptZ2l0aHViLmNvbS9vcGVuZWNvc3lzdGVtcy9lY29zeXN0ZW0vbGlicy9wdWJsaWMvZ28vcHJvdG9idWYvZ2VuL3BsYXRmb3JtL2Vjb3N5c3RlbS92MmFscGhhO2Vjb3N5c3RlbXYyYWxwaGFwYoLEEwIIA4K1GAYIAxABGAKKtRggCgllY29zeXN0ZW0SCmVjb3N5c3RlbXMiA2phbigCOAGStRgDCgEDmrUYAKK1GAIIAWIGcHJvdG8z", [file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_google_api_annotations, file_google_protobuf_timestamp, file_buf_validate_validate]); + fileDesc("CipwbGF0Z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cm0uZWNvc3lzdGVtLnYyYWxwaGEuVXBkYXRlRWNvc3lzdGVtUmVxdWVzdBozLnBsYXRmb3JtLmVjb3N5c3RlbS52MmFscGhhLlVwZGF0ZUVjb3N5c3RlbVJlc3BvbnNlIjaithgIKgZ1cGRhdGWqthgCCAOC0+STAh46ASoaGS92MmFscGhhL2Vjb3N5c3RlbS97c2x1Z30SrwEKD0RlbGV0ZUVjb3N5c3RlbRIyLnBsYXRmb3JtLmVjb3N5c3RlbS52MmFscGhhLkRlbGV0ZUVjb3N5c3RlbVJlcXVlc3QaMy5wbGF0Zm9ybS5lY29zeXN0ZW0udjJhbHBoYS5EZWxldGVFY29zeXN0ZW1SZXNwb25zZSIzorYYCCoGZGVsZXRlqrYYAggEgtPkkwIbKhkvdjJhbHBoYS9lY29zeXN0ZW0ve3NsdWd9GgjStRgECAMQAUKvAVpoZ2l0aHViLmNvbS9vcGVuZWNvc3lzdGVtcy9lY29zeXN0ZW0vbGlicy9wdWJsaWMvZ28vc2RrL2dlbi9wbGF0Zm9ybS9lY29zeXN0ZW0vdjJhbHBoYTtlY29zeXN0ZW12MmFscGhhcGKCxBMCCAOCtRgGCAMQARgCirUYIAoJZWNvc3lzdGVtEgplY29zeXN0ZW1zIgNqYW4oAjgBkrUYAwoBA5q1GACitRgCCAFiBnByb3RvMw", [file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_google_api_annotations, file_google_protobuf_timestamp, file_buf_validate_validate]); /** * Describes the message platform.ecosystem.v2alpha.EcosystemConfiguration. diff --git a/libs/public/typescript/protobuf/src/gen/platform/edge/v2alpha/edge_router_pb.js b/libs/public/typescript/protobuf/src/gen/platform/edge/v2alpha/edge_router_pb.js index 1b018e15..e4335f46 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/edge/v2alpha/edge_router_pb.js +++ b/libs/public/typescript/protobuf/src/gen/platform/edge/v2alpha/edge_router_pb.js @@ -9,7 +9,7 @@ import { file_platform_options_v2_annotations } from "../../options/v2/annotatio * Describes the file platform/edge/v2alpha/edge_router.proto. */ export const file_platform_edge_v2alpha_edge_router = /*@__PURE__*/ - fileDesc("CidwbGF0Zm9ybS9lZGdlL3YyYWxwaGEvZWRnZV9yb3V0ZXIucHJvdG8SFXBsYXRmb3JtLmVkZ2UudjJhbHBoYSI1ChdFZGdlUm91dGVyQ29uZmlndXJhdGlvbhIaChJlZGdlX3JvdXRlcl9jb25maWcYASABKAlChwFaZGdpdGh1Yi5jb20vb3BlbmVjb3N5c3RlbXMvZWNvc3lzdGVtL2xpYnMvcHJpdmF0ZS9nby9wcm90b2J1Zi9nZW4vcGxhdGZvcm0vZWRnZS92MmFscGhhO2VkZ2V2MmFscGhhcGKCxBMCCAKCtRgGCAEQARgGkrUYAwoBApq1GACitRgCCAFiBnByb3RvMw", [file_platform_options_v2_annotations]); + fileDesc("CidwbGF0Zm9ybS9lZGdlL3YyYWxwaGEvZWRnZV9yb3V0ZXIucHJvdG8SFXBsYXRmb3JtLmVkZ2UudjJhbHBoYSI1ChdFZGdlUm91dGVyQ29uZmlndXJhdGlvbhIaChJlZGdlX3JvdXRlcl9jb25maWcYASABKAlCggFaX2dpdGh1Yi5jb20vb3BlbmVjb3N5c3RlbXMvZWNvc3lzdGVtL2xpYnMvcHJpdmF0ZS9nby9zZGsvZ2VuL3BsYXRmb3JtL2VkZ2UvdjJhbHBoYTtlZGdldjJhbHBoYXBigsQTAggCgrUYBggBEAEYBpK1GAMKAQKatRgAorUYAggBYgZwcm90bzM", [file_platform_options_v2_annotations]); /** * Describes the message platform.edge.v2alpha.EdgeRouterConfiguration. diff --git a/libs/public/typescript/protobuf/src/gen/platform/iam/v2alpha/account_authority_pb.js b/libs/public/typescript/protobuf/src/gen/platform/iam/v2alpha/account_authority_pb.js index 94f61b39..858e97a9 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/iam/v2alpha/account_authority_pb.js +++ b/libs/public/typescript/protobuf/src/gen/platform/iam/v2alpha/account_authority_pb.js @@ -14,7 +14,7 @@ import { file_platform_type_v2_credential } from "../../type/v2/credential_pb"; * Describes the file platform/iam/v2alpha/account_authority.proto. */ export const file_platform_iam_v2alpha_account_authority = /*@__PURE__*/ - fileDesc("CixwbGF0Zm9ybS9pYW0vdjJhbHBoYS9hY2NvdW50X2F1dGhvcml0eS5wcm90bxIUcGxhdGZvcm0uaWFtLnYyYWxwaGEiLAodQWNjb3VudEF1dGhvcml0eUNvbmZpZ3VyYXRpb24SCwoDcGtpGAEgASgJIn0KHUNyZWF0ZUFjY291bnRBdXRob3JpdHlSZXF1ZXN0EgwKBG5hbWUYASABKAkSJgoFY3VydmUYAiABKA4yFy5wbGF0Zm9ybS50eXBlLnYyLkN1cnZlEh4KFmVuY3J5cHRfa2V5X3Bhc3NwaHJhc2UYBCABKAk6Bvq2GAIIASKoAQoeQ3JlYXRlQWNjb3VudEF1dGhvcml0eVJlc3BvbnNlEjsKDHNwZWNfY29udGV4dBgBIAEoCzIlLnBsYXRmb3JtLnNwZWMudjIuU3BlY1Jlc3BvbnNlQ29udGV4dBJBChFhY2NvdW50X2F1dGhvcml0eRgCIAEoCzImLnBsYXRmb3JtLmlhbS52MmFscGhhLkFjY291bnRBdXRob3JpdHk6Bvq2GAIIAiLAAQoQQWNjb3VudEF1dGhvcml0eRISCgJpZBgBIAEoCUIGyrcYAggBEi4KCmNyZWF0ZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCnVwZGF0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjAKCmNyZWRlbnRpYWwYBCABKAsyHC5wbGF0Zm9ybS50eXBlLnYyLkNyZWRlbnRpYWw6Bvq2GAIIAiquAQoUQWNjb3VudEF1dGhvcml0eVR5cGUSJgoiQUNDT1VOVF9BVVRIT1JJVFlfVFlQRV9VTlNQRUNJRklFRBAAEicKI0FDQ09VTlRfQVVUSE9SSVRZX1RZUEVfT1JHQU5JWkFUSU9OEAESJAogQUNDT1VOVF9BVVRIT1J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S92MmFscGhhO2lhbXYyYWxwaGFwYoLEEwIIAYK1GAYIAxABGAaKtRgxChFhY2NvdW50X2F1dGhvcml0eRITYWNjb3VudF9hdXRob3JpdGllcyIDamFuKAI4AZK1GAMKAQOatRgCCAGitRgCCAFiBnByb3RvMw", [file_google_api_annotations, file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_google_protobuf_timestamp, file_platform_type_v2_file, file_platform_type_v2_credential]); + fileDesc("CixwbGF0Zm9ybS9pYW0vdjJhbHBoYS9hY2NvdW50X2F1dGhvcml0eS5wcm90bxIUcGxhdGZvcm0uaWFtLnYyYWxwaGEiLAodQWNjb3VudEF1dGhvcml0eUNvbmZpZ3VyYXRpb24SCwoDcGtpGAEgASgJIn0KHUNyZWF0ZUFjY291bnRBdXRob3JpdHlSZXF1ZXN0EgwKBG5hbWUYASABKAkSJgoFY3VydmUYAiABKA4yFy5wbGF0Zm9ybS50eXBlLnYyLkN1cnZlEh4KFmVuY3J5cHRfa2V5X3Bhc3NwaHJhc2UYBCABKAk6Bvq2GAIIASKoAQoeQ3JlYXRlQWNjb3VudEF1dGhvcml0eVJlc3BvbnNlEjsKDHNwZWNfY29udGV4dBgBIAEoCzIlLnBsYXRmb3JtLnNwZWMudjIuU3BlY1Jlc3BvbnNlQ29udGV4dBJBChFhY2NvdW50X2F1dGhvcml0eRgCIAEoCzImLnBsYXRmb3JtLmlhbS52MmFscGhhLkFjY291bnRBdXRob3JpdHk6Bvq2GAIIAiLAAQoQQWNjb3VudEF1dGhvcml0eRISCgJpZBgBIAEoCUIGyrcYAggBEi4KCmNyZWF0ZWRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCnVwZGF0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjAKCmNyZWRlbnRpYWwYBCABKAsyHC5wbGF0Zm9ybS50eXBlLnYyLkNyZWRlbnRpYWw6Bvq2GAIIAiquAQoUQWNjb3VudEF1dGhv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IWL3YyYWxwaGEvaWFtL2FhL2NyZWF0ZUK2AVpcZ2l0aHViLmNvbS9vcGVuZWNvc3lzdGVtcy9lY29zeXN0ZW0vbGlicy9wdWJsaWMvZ28vc2RrL2dlbi9wbGF0Zm9ybS9pYW0vdjJhbHBoYTtpYW12MmFscGhhcGKCxBMCCAGCtRgGCAMQARgGirUYMQoRYWNjb3VudF9hdXRob3JpdHkSE2FjY291bnRfYXV0aG9yaXRpZXMiA2phbigCOAGStRgDCgEDmrUYAggBorUYAggBYgZwcm90bzM", [file_google_api_annotations, file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_google_protobuf_timestamp, file_platform_type_v2_file, file_platform_type_v2_credential]); /** * Describes the message platform.iam.v2alpha.AccountAuthorityConfiguration. diff --git a/libs/public/typescript/protobuf/src/gen/platform/iam/v2alpha/account_pb.js b/libs/public/typescript/protobuf/src/gen/platform/iam/v2alpha/account_pb.js index 8e811aa2..e39a602b 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/iam/v2alpha/account_pb.js +++ b/libs/public/typescript/protobuf/src/gen/platform/iam/v2alpha/account_pb.js @@ -16,7 +16,7 @@ import { file_platform_type_v2_peer } from "../../type/v2/peer_pb"; * Describes the file platform/iam/v2alpha/account.proto. */ export const file_platform_iam_v2alpha_account = /*@__PURE__*/ - fileDesc("CiJwbGF0Zm9ybS9pYW0vdjJhbHBoYS9hY2NvdW50LnByb3RvEhRwbGF0Zm9ybS5pYW0udjJhbHBoYSIWChRBY2NvdW50Q29uZmlndXJhdGlvbiJ6ChRDcmVhdGVBY2NvdW50UmVxdWVzdBIMCgRuYW1lGAEgASgJEiYKBWN1cnZlGAIgASgOMhcucGxhdGZvcm0udHlwZS52Mi5DdXJ2ZRIkCgRjZXJ0GAMgASgLMhYucGxhdGZvcm0udHlwZS52Mi5GaWxlOgb6thgCCAEijAEKFUNyZWF0ZUFjY291bnRSZXNwb25zZRI7CgxzcGVjX2NvbnRleHQYASABKAsyJS5wbGF0Zm9ybS5zcG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Zm9ybS5pYW0udjJhbHBoYS5WZXJpZnlBY2NvdW50UmVxdWVzdBorLnBsYXRmb3JtLmlhbS52MmFscGhhLlZlcmlmeUFjY291bnRSZXNwb25zZSI0orYYCiACKgZ2ZXJpZnmqthgCCAOC0+STAho6ASoiFS92MmFscGhhL2lhbS9hL3ZlcmlmeRKSAQoLU2lnbkFjY291bnQSKC5wbGF0Zm9ybS5pYW0udjJhbHBoYS5TaWduQWNjb3VudFJlcXVlc3QaKS5wbGF0Zm9ybS5pYW0udjJhbHBoYS5TaWduQWNjb3VudFJlc3BvbnNlIi6ithgGKgRzaWduqrYYAggDgtPkkwIYOgEqIhMvdjJhbHBoYS9pYW0vYS9zaWduQqYBWmFnaXRodWIuY29tL29wZW5lY29zeXN0ZW1zL2Vjb3N5c3RlbS9saWJzL3B1YmxpYy9nby9wcm90b2J1Zi9nZW4vcGxhdGZvcm0vaWFtL3YyYWxwaGE7aWFtdjJhbHBoYXBigsQTAggBgrUYBggDEAEYAoq1GBwKB2FjY291bnQSCGFjY291bnRzIgNqYW4oAjgBkrUYAwoBA5q1GAIIAaK1GAIIAWIGcHJvdG8z", [file_google_api_annotations, file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_google_protobuf_duration, file_google_protobuf_timestamp, file_platform_type_v2_file, file_platform_type_v2_credential, file_platform_iam_v2alpha_account_authority, file_platform_type_v2_peer]); + fileDesc("CiJwbGF0Zm9ybS9pYW0vdjJhbHBoYS9hY2NvdW50LnByb3RvEhRwbGF0Zm9ybS5pYW0udjJhbHBoYSIWChRBY2NvdW50Q29uZmlndXJhdGlvbiJ6ChRDcmVhdGVBY2NvdW50UmVxdWVzdBIMCgRuYW1lGAEgASgJEiYKBWN1cnZlGAIgASgOMhcucGxhdGZvcm0udHlwZS52Mi5DdXJ2ZRIkCgRjZXJ0GAMgASgLMhYucGxhdGZvcm0udHlwZS52Mi5GaWxlOgb6thgCCAEijAEKFUNyZWF0ZUFjY291bnRSZXNwb25zZRI7CgxzcGVjX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FtL2ESngEKDVZlcmlmeUFjY291bnQSKi5wbGF0Zm9ybS5pYW0udjJhbHBoYS5WZXJpZnlBY2NvdW50UmVxdWVzdBorLnBsYXRmb3JtLmlhbS52MmFscGhhLlZlcmlmeUFjY291bnRSZXNwb25zZSI0orYYCiACKgZ2ZXJpZnmqthgCCAOC0+STAho6ASoiFS92MmFscGhhL2lhbS9hL3ZlcmlmeRKSAQoLU2lnbkFjY291bnQSKC5wbGF0Zm9ybS5pYW0udjJhbHBoYS5TaWduQWNjb3VudFJlcXVlc3QaKS5wbGF0Zm9ybS5pYW0udjJhbHBoYS5TaWduQWNjb3VudFJlc3BvbnNlIi6ithgGKgRzaWduqrYYAggDgtPkkwIYOgEqIhMvdjJhbHBoYS9pYW0vYS9zaWduQqEBWlxnaXRodWIuY29tL29wZW5lY29zeXN0ZW1zL2Vjb3N5c3RlbS9saWJzL3B1YmxpYy9nby9zZGsvZ2VuL3BsYXRmb3JtL2lhbS92MmFscGhhO2lhbXYyYWxwaGFwYoLEEwIIAYK1GAYIAxABGAKKtRgcCgdhY2NvdW50EghhY2NvdW50cyIDamFuKAI4AZK1GAMKAQOatRgCCAGitRgCCAFiBnByb3RvMw", [file_google_api_annotations, file_platform_options_v2_annotations, file_platform_spec_v2_spec, file_google_protobuf_duration, file_google_protobuf_timestamp, file_platform_type_v2_file, file_platform_type_v2_credential, file_platform_iam_v2alpha_account_authority, file_platform_type_v2_peer]); /** * Describes the message platform.iam.v2alpha.AccountConfiguration. diff --git a/libs/public/typescript/protobuf/src/gen/platform/mesh/v2alpha/cryptographic_mesh_pb.js b/libs/public/typescript/protobuf/src/gen/platform/mesh/v2alpha/cryptographic_mesh_pb.js index 977ff759..5ad7ce6d 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/mesh/v2alpha/cryptographic_mesh_pb.js +++ b/libs/public/typescript/protobuf/src/gen/platform/mesh/v2alpha/cryptographic_mesh_pb.js @@ -9,7 +9,7 @@ import { file_platform_options_v2_annotations } from "../../options/v2/annotatio * Describes the file platform/mesh/v2alpha/cryptographic_mesh.proto. */ export const file_platform_mesh_v2alpha_cryptographic_mesh = /*@__PURE__*/ - fileDesc("Ci5wbGF0Zm9ybS9tZXNoL3YyYWxwaGEvY3J5cHRvZ3JhcGhpY19tZXNoLnByb3RvEhVwbGF0Zm9ybS5tZXNoLnYyYWxwaGEiNQoeQ3J5cHRvZ3JhcGhpY01lc2hDb25maWd1cmF0aW9uEhMKC21lc2hfY29uZmlnGAEgASgJQogBWmNnaXRodWIuY29tL29wZW5lY29zeXN0ZW1zL2Vjb3N5c3RlbS9saWJzL3B1YmxpYy9nby9wcm90b2J1Zi9nZW4vcGxhdGZvcm0vbWVzaC92MmFscGhhO21lc2h2MmFscGhhcGKCxBMCCAKCtRgGCAMQARgGkrUYAwoBA5q1GAIIAaK1GAIIAWIGcHJvdG8z", [file_platform_options_v2_annotations]); + fileDesc("Ci5wbGF0Zm9ybS9tZXNoL3YyYWxwaGEvY3J5cHRvZ3JhcGhpY19tZXNoLnByb3RvEhVwbGF0Zm9ybS5tZXNoLnYyYWxwaGEiNQoeQ3J5cHRvZ3JhcGhpY01lc2hDb25maWd1cmF0aW9uEhMKC21lc2hfY29uZmlnGAEgASgJQoMBWl5naXRodWIuY29tL29wZW5lY29zeXN0ZW1zL2Vjb3N5c3RlbS9saWJzL3B1YmxpYy9nby9zZGsvZ2VuL3BsYXRmb3JtL21lc2gvdjJhbHBoYTttZXNodjJhbHBoYXBigsQTAggCgrUYBggDEAEYBpK1GAMKAQOatRgCCAGitRgCCAFiBnByb3RvMw", [file_platform_options_v2_annotations]); /** * Describes the message platform.mesh.v2alpha.CryptographicMeshConfiguration. diff --git a/libs/public/typescript/protobuf/src/gen/platform/ontology/v2alpha/spec_data_catalog_pb.d.ts b/libs/public/typescript/protobuf/src/gen/platform/ontology/v2alpha/spec_data_catalog_pb.d.ts index 1988d7cd..6c18ef88 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/ontology/v2alpha/spec_data_catalog_pb.d.ts +++ b/libs/public/typescript/protobuf/src/gen/platform/ontology/v2alpha/spec_data_catalog_pb.d.ts @@ -18,87 +18,82 @@ export declare const file_platform_ontology_v2alpha_spec_data_catalog: GenFile; */ export declare type SpecDataCatalog = Message<"platform.ontology.v2alpha.SpecDataCatalog"> & { /** - * @generated from field: platform.ontology.v2alpha.Advertisement advertisement = 1; - */ - advertisement?: Advertisement; - - /** - * @generated from field: platform.ontology.v2alpha.Audit audit = 2; + * @generated from field: platform.ontology.v2alpha.Audit audit = 1; */ audit?: Audit; /** - * @generated from field: platform.ontology.v2alpha.Cli cli = 3; + * @generated from field: platform.ontology.v2alpha.Cli cli = 2; */ cli?: Cli; /** - * @generated from field: platform.ontology.v2alpha.Communication communication = 4; + * @generated from field: platform.ontology.v2alpha.Communication communication = 3; */ communication?: Communication; /** - * @generated from field: platform.ontology.v2alpha.Configuration configuration = 5; + * @generated from field: platform.ontology.v2alpha.Configuration configuration = 4; */ configuration?: Configuration; /** - * @generated from field: platform.ontology.v2alpha.Cryptography cryptography = 6; + * @generated from field: platform.ontology.v2alpha.Cryptography cryptography = 5; */ cryptography?: Cryptography; /** - * @generated from field: platform.ontology.v2alpha.Dns dns = 7; + * @generated from field: platform.ontology.v2alpha.Dns dns = 6; */ dns?: Dns; /** - * @generated from field: platform.ontology.v2alpha.Ecosystem ecosystem = 8; + * @generated from field: platform.ontology.v2alpha.Ecosystem ecosystem = 7; */ ecosystem?: Ecosystem; /** - * @generated from field: platform.ontology.v2alpha.Edge edge = 9; + * @generated from field: platform.ontology.v2alpha.Edge edge = 8; */ edge?: Edge; /** - * @generated from field: platform.ontology.v2alpha.Iam iam = 10; + * @generated from field: platform.ontology.v2alpha.Iam iam = 9; */ iam?: Iam; /** - * @generated from field: platform.ontology.v2alpha.Mesh mesh = 11; + * @generated from field: platform.ontology.v2alpha.Mesh mesh = 10; */ mesh?: Mesh; /** - * @generated from field: platform.ontology.v2alpha.Ontology ontology = 12; + * @generated from field: platform.ontology.v2alpha.Ontology ontology = 11; */ ontology?: Ontology; /** - * @generated from field: platform.ontology.v2alpha.Options options = 13; + * @generated from field: platform.ontology.v2alpha.Options options = 12; */ options?: Options; /** - * @generated from field: platform.ontology.v2alpha.Reference reference = 14; + * @generated from field: platform.ontology.v2alpha.Reference reference = 13; */ reference?: Reference; /** - * @generated from field: platform.ontology.v2alpha.Spec spec = 15; + * @generated from field: platform.ontology.v2alpha.Spec spec = 14; */ spec?: Spec; /** - * @generated from field: platform.ontology.v2alpha.System system = 16; + * @generated from field: platform.ontology.v2alpha.System system = 15; */ system?: System; /** - * @generated from field: platform.ontology.v2alpha.Type type = 17; + * @generated from field: platform.ontology.v2alpha.Type type = 16; */ type?: Type; }; @@ -109,28 +104,12 @@ export declare type SpecDataCatalog = Message<"platform.ontology.v2alpha.SpecDat */ export declare const SpecDataCatalogSchema: GenMessage; -/** - * @generated from message platform.ontology.v2alpha.Advertisement - */ -export declare type Advertisement = Message<"platform.ontology.v2alpha.Advertisement"> & { - /** - * @generated from field: platform.ontology.v2alpha.DecisionV1 decision_v1 = 1; - */ - decisionV1?: DecisionV1; -}; - -/** - * Describes the message platform.ontology.v2alpha.Advertisement. - * Use `create(AdvertisementSchema)` to create a new message. - */ -export declare const AdvertisementSchema: GenMessage; - /** * @generated from message platform.ontology.v2alpha.Audit */ export declare type Audit = Message<"platform.ontology.v2alpha.Audit"> & { /** - * @generated from field: platform.ontology.v2alpha.AuditV2Alpha audit_v2alpha = 2; + * @generated from field: platform.ontology.v2alpha.AuditV2Alpha audit_v2alpha = 1; */ auditV2alpha?: AuditV2Alpha; }; @@ -158,14 +137,14 @@ export declare const CliSchema: GenMessage; */ export declare type Communication = Message<"platform.ontology.v2alpha.Communication"> & { /** - * @generated from field: platform.ontology.v2alpha.PreferenceCenterV1Alpha preference_center_v1alpha = 3; + * @generated from field: platform.ontology.v2alpha.PreferenceCenterV1Beta preference_center_v1beta = 2; */ - preferenceCenterV1alpha?: PreferenceCenterV1Alpha; + preferenceCenterV1beta?: PreferenceCenterV1Beta; /** - * @generated from field: platform.ontology.v2alpha.PreferenceCenterV1Beta preference_center_v1beta = 4; + * @generated from field: platform.ontology.v2alpha.PreferenceCenterV1Alpha preference_center_v1alpha = 3; */ - preferenceCenterV1beta?: PreferenceCenterV1Beta; + preferenceCenterV1alpha?: PreferenceCenterV1Alpha; }; /** @@ -179,7 +158,7 @@ export declare const CommunicationSchema: GenMessage; */ export declare type Configuration = Message<"platform.ontology.v2alpha.Configuration"> & { /** - * @generated from field: platform.ontology.v2alpha.ConfigurationV2Alpha configuration_v2alpha = 5; + * @generated from field: platform.ontology.v2alpha.ConfigurationV2Alpha configuration_v2alpha = 4; */ configurationV2alpha?: ConfigurationV2Alpha; }; @@ -195,7 +174,7 @@ export declare const ConfigurationSchema: GenMessage; */ export declare type Cryptography = Message<"platform.ontology.v2alpha.Cryptography"> & { /** - * @generated from field: platform.ontology.v2alpha.CertificateV2Alpha certificate_v2alpha = 6; + * @generated from field: platform.ontology.v2alpha.CertificateV2Alpha certificate_v2alpha = 5; */ certificateV2alpha?: CertificateV2Alpha; }; @@ -223,7 +202,7 @@ export declare const DnsSchema: GenMessage; */ export declare type Ecosystem = Message<"platform.ontology.v2alpha.Ecosystem"> & { /** - * @generated from field: platform.ontology.v2alpha.EcosystemV2Alpha ecosystem_v2alpha = 7; + * @generated from field: platform.ontology.v2alpha.EcosystemV2Alpha ecosystem_v2alpha = 6; */ ecosystemV2alpha?: EcosystemV2Alpha; }; @@ -251,12 +230,12 @@ export declare const EdgeSchema: GenMessage; */ export declare type Iam = Message<"platform.ontology.v2alpha.Iam"> & { /** - * @generated from field: platform.ontology.v2alpha.AccountV2Alpha account_v2alpha = 8; + * @generated from field: platform.ontology.v2alpha.AccountV2Alpha account_v2alpha = 7; */ accountV2alpha?: AccountV2Alpha; /** - * @generated from field: platform.ontology.v2alpha.AccountAuthorityV2Alpha account_authority_v2alpha = 9; + * @generated from field: platform.ontology.v2alpha.AccountAuthorityV2Alpha account_authority_v2alpha = 8; */ accountAuthorityV2alpha?: AccountAuthorityV2Alpha; }; @@ -308,7 +287,7 @@ export declare const OptionsSchema: GenMessage; */ export declare type Reference = Message<"platform.ontology.v2alpha.Reference"> & { /** - * @generated from field: platform.ontology.v2alpha.ReferenceV2Alpha reference_v2alpha = 10; + * @generated from field: platform.ontology.v2alpha.ReferenceV2Alpha reference_v2alpha = 9; */ referenceV2alpha?: ReferenceV2Alpha; }; @@ -336,7 +315,7 @@ export declare const SpecSchema: GenMessage; */ export declare type System = Message<"platform.ontology.v2alpha.System"> & { /** - * @generated from field: platform.ontology.v2alpha.SystemV2Alpha system_v2alpha = 11; + * @generated from field: platform.ontology.v2alpha.SystemV2Alpha system_v2alpha = 10; */ systemV2alpha?: SystemV2Alpha; }; @@ -718,9 +697,9 @@ export declare type SystemV2Alpha = Message<"platform.ontology.v2alpha.SystemV2A export declare const SystemV2AlphaSchema: GenMessage; /** - * @generated from message platform.ontology.v2alpha.PreferenceCenterV1Alpha + * @generated from message platform.ontology.v2alpha.PreferenceCenterV1Beta */ -export declare type PreferenceCenterV1Alpha = Message<"platform.ontology.v2alpha.PreferenceCenterV1Alpha"> & { +export declare type PreferenceCenterV1Beta = Message<"platform.ontology.v2alpha.PreferenceCenterV1Beta"> & { /** * @generated from field: platform.options.v2.ClassificationType id = 1; */ @@ -803,86 +782,15 @@ export declare type PreferenceCenterV1Alpha = Message<"platform.ontology.v2alpha }; /** - * Describes the message platform.ontology.v2alpha.PreferenceCenterV1Alpha. - * Use `create(PreferenceCenterV1AlphaSchema)` to create a new message. - */ -export declare const PreferenceCenterV1AlphaSchema: GenMessage; - -/** - * @generated from message platform.ontology.v2alpha.DecisionV1 - */ -export declare type DecisionV1 = Message<"platform.ontology.v2alpha.DecisionV1"> & { - /** - * @generated from field: platform.options.v2.ClassificationType ad_id = 1; - */ - adId: ClassificationType; - - /** - * @generated from field: platform.options.v2.ClassificationType advertiser_id = 2; - */ - advertiserId: ClassificationType; - - /** - * @generated from field: platform.options.v2.ClassificationType creative_id = 3; - */ - creativeId: ClassificationType; - - /** - * @generated from field: platform.options.v2.ClassificationType flight_id = 4; - */ - flightId: ClassificationType; - - /** - * @generated from field: platform.options.v2.ClassificationType campaign_id = 5; - */ - campaignId: ClassificationType; - - /** - * @generated from field: platform.options.v2.ClassificationType priority_id = 6; - */ - priorityId: ClassificationType; - - /** - * @generated from field: platform.options.v2.ClassificationType click_url = 7; - */ - clickUrl: ClassificationType; - - /** - * @generated from field: platform.options.v2.ClassificationType contents = 8; - */ - contents: ClassificationType; - - /** - * @generated from field: platform.options.v2.ClassificationType impression_url = 9; - */ - impressionUrl: ClassificationType; - - /** - * @generated from field: platform.options.v2.ClassificationType events = 10; - */ - events: ClassificationType; - - /** - * @generated from field: platform.options.v2.ClassificationType matched_points = 11; - */ - matchedPoints: ClassificationType; - - /** - * @generated from field: platform.options.v2.ClassificationType pricing = 12; - */ - pricing: ClassificationType; -}; - -/** - * Describes the message platform.ontology.v2alpha.DecisionV1. - * Use `create(DecisionV1Schema)` to create a new message. + * Describes the message platform.ontology.v2alpha.PreferenceCenterV1Beta. + * Use `create(PreferenceCenterV1BetaSchema)` to create a new message. */ -export declare const DecisionV1Schema: GenMessage; +export declare const PreferenceCenterV1BetaSchema: GenMessage; /** - * @generated from message platform.ontology.v2alpha.PreferenceCenterV1Beta + * @generated from message platform.ontology.v2alpha.PreferenceCenterV1Alpha */ -export declare type PreferenceCenterV1Beta = Message<"platform.ontology.v2alpha.PreferenceCenterV1Beta"> & { +export declare type PreferenceCenterV1Alpha = Message<"platform.ontology.v2alpha.PreferenceCenterV1Alpha"> & { /** * @generated from field: platform.options.v2.ClassificationType id = 1; */ @@ -965,8 +873,8 @@ export declare type PreferenceCenterV1Beta = Message<"platform.ontology.v2alpha. }; /** - * Describes the message platform.ontology.v2alpha.PreferenceCenterV1Beta. - * Use `create(PreferenceCenterV1BetaSchema)` to create a new message. + * Describes the message platform.ontology.v2alpha.PreferenceCenterV1Alpha. + * Use `create(PreferenceCenterV1AlphaSchema)` to create a new message. */ -export declare const PreferenceCenterV1BetaSchema: GenMessage; +export declare const PreferenceCenterV1AlphaSchema: GenMessage; diff --git a/libs/public/typescript/protobuf/src/gen/platform/ontology/v2alpha/spec_data_catalog_pb.js b/libs/public/typescript/protobuf/src/gen/platform/ontology/v2alpha/spec_data_catalog_pb.js index 005808c7..2fbb50fe 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/ontology/v2alpha/spec_data_catalog_pb.js +++ b/libs/public/typescript/protobuf/src/gen/platform/ontology/v2alpha/spec_data_catalog_pb.js @@ -11,7 +11,7 @@ import { file_platform_options_v2_annotations } from "../../options/v2/annotatio * Describes the file platform/ontology/v2alpha/spec_data_catalog.proto. */ export const file_platform_ontology_v2alpha_spec_data_catalog = /*@__PURE__*/ - fileDesc("CjFwbGF0Zm9ybS9vbnRvbG9neS92MmFscGhhL3NwZWNfZGF0YV9jYXRhbG9nLnByb3RvEhlwbGF0Zm9ybS5vbnRvbG9neS52MmFscGhhIpgHCg9TcGVjRGF0YUNhdGFsb2cSPwoNYWR2ZXJ0aXNlbWVudBgBIAEoCzIoLnBsYXRmb3JtLm9udG9sb2d5LnYyYWxwaGEuQWR2ZXJ0aXNlbWVudBIvCgVhdWRpdBgCIAEoCzIgLnBsYXRmb3JtLm9udG9sb2d5LnYyYWxwaGEuQXVkaXQSKwoDY2xpGAMgASgLMh4ucGxhdGZvcm0ub250b2xvZ3kudjJhbHBoYS5DbGkSPwoNY29tbXVuaWNhdGlvbhgEIAEoCzIoLnBsYXRmb3JtLm9udG9sb2d5LnYyYWxwaGEuQ29tbXVuaWNhdGlvbhI/Cg1jb25maWd1cmF0aW9uGAUgASgLMigucGxhdGZvcm0ub250b2xvZ3kudjJhbHBoYS5Db25maWd1cmF0aW9uEj0KDGNyeXB0b2dyYXBoeRgGIAEoCzInLnBsYXRmb3JtLm9udG9sb2d5LnYyYWxwaGEuQ3J5cHRvZ3JhcGh5EisKA2RucxgHIAEoCzIeLnBsYXR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aHViLmNvbS9vcGVuZWNvc3lzdGVtcy9lY29zeXN0ZW0vbGlicy9wdWJsaWMvZ28vc2RrL2dlbi9wbGF0Zm9ybS9vbnRvbG9neS92MmFscGhhO29udG9sb2d5djJhbHBoYXBigsQTAggCgrUYBggDEAEYAmIGcHJvdG8z", [file_platform_options_v2_annotations]); /** * Describes the message platform.ontology.v2alpha.SpecDataCatalog. @@ -20,179 +20,179 @@ export const file_platform_ontology_v2alpha_spec_data_catalog = /*@__PURE__*/ export const SpecDataCatalogSchema = /*@__PURE__*/ messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 0); -/** - * Describes the message platform.ontology.v2alpha.Advertisement. - * Use `create(AdvertisementSchema)` to create a new message. - */ -export const AdvertisementSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 1); - /** * Describes the message platform.ontology.v2alpha.Audit. * Use `create(AuditSchema)` to create a new message. */ export const AuditSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 2); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 1); /** * Describes the message platform.ontology.v2alpha.Cli. * Use `create(CliSchema)` to create a new message. */ export const CliSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 3); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 2); /** * Describes the message platform.ontology.v2alpha.Communication. * Use `create(CommunicationSchema)` to create a new message. */ export const CommunicationSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 4); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 3); /** * Describes the message platform.ontology.v2alpha.Configuration. * Use `create(ConfigurationSchema)` to create a new message. */ export const ConfigurationSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 5); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 4); /** * Describes the message platform.ontology.v2alpha.Cryptography. * Use `create(CryptographySchema)` to create a new message. */ export const CryptographySchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 6); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 5); /** * Describes the message platform.ontology.v2alpha.Dns. * Use `create(DnsSchema)` to create a new message. */ export const DnsSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 7); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 6); /** * Describes the message platform.ontology.v2alpha.Ecosystem. * Use `create(EcosystemSchema)` to create a new message. */ export const EcosystemSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 8); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 7); /** * Describes the message platform.ontology.v2alpha.Edge. * Use `create(EdgeSchema)` to create a new message. */ export const EdgeSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 9); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 8); /** * Describes the message platform.ontology.v2alpha.Iam. * Use `create(IamSchema)` to create a new message. */ export const IamSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 10); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 9); /** * Describes the message platform.ontology.v2alpha.Mesh. * Use `create(MeshSchema)` to create a new message. */ export const MeshSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 11); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 10); /** * Describes the message platform.ontology.v2alpha.Ontology. * Use `create(OntologySchema)` to create a new message. */ export const OntologySchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 12); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 11); /** * Describes the message platform.ontology.v2alpha.Options. * Use `create(OptionsSchema)` to create a new message. */ export const OptionsSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 13); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 12); /** * Describes the message platform.ontology.v2alpha.Reference. * Use `create(ReferenceSchema)` to create a new message. */ export const ReferenceSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 14); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 13); /** * Describes the message platform.ontology.v2alpha.Spec. * Use `create(SpecSchema)` to create a new message. */ export const SpecSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 15); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 14); /** * Describes the message platform.ontology.v2alpha.System. * Use `create(SystemSchema)` to create a new message. */ export const SystemSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 16); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 15); /** * Describes the message platform.ontology.v2alpha.Type. * Use `create(TypeSchema)` to create a new message. */ export const TypeSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 17); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 16); /** * Describes the message platform.ontology.v2alpha.AuditV2Alpha. * Use `create(AuditV2AlphaSchema)` to create a new message. */ export const AuditV2AlphaSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 18); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 17); /** * Describes the message platform.ontology.v2alpha.ConfigurationV2Alpha. * Use `create(ConfigurationV2AlphaSchema)` to create a new message. */ export const ConfigurationV2AlphaSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 19); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 18); /** * Describes the message platform.ontology.v2alpha.CertificateV2Alpha. * Use `create(CertificateV2AlphaSchema)` to create a new message. */ export const CertificateV2AlphaSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 20); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 19); /** * Describes the message platform.ontology.v2alpha.EcosystemV2Alpha. * Use `create(EcosystemV2AlphaSchema)` to create a new message. */ export const EcosystemV2AlphaSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 21); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 20); /** * Describes the message platform.ontology.v2alpha.AccountV2Alpha. * Use `create(AccountV2AlphaSchema)` to create a new message. */ export const AccountV2AlphaSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 22); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 21); /** * Describes the message platform.ontology.v2alpha.AccountAuthorityV2Alpha. * Use `create(AccountAuthorityV2AlphaSchema)` to create a new message. */ export const AccountAuthorityV2AlphaSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 23); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 22); /** * Describes the message platform.ontology.v2alpha.ReferenceV2Alpha. * Use `create(ReferenceV2AlphaSchema)` to create a new message. */ export const ReferenceV2AlphaSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 24); + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 23); /** * Describes the message platform.ontology.v2alpha.SystemV2Alpha. * Use `create(SystemV2AlphaSchema)` to create a new message. */ export const SystemV2AlphaSchema = /*@__PURE__*/ + messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 24); + +/** + * Describes the message platform.ontology.v2alpha.PreferenceCenterV1Beta. + * Use `create(PreferenceCenterV1BetaSchema)` to create a new message. + */ +export const PreferenceCenterV1BetaSchema = /*@__PURE__*/ messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 25); /** @@ -202,17 +202,3 @@ export const SystemV2AlphaSchema = /*@__PURE__*/ export const PreferenceCenterV1AlphaSchema = /*@__PURE__*/ messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 26); -/** - * Describes the message platform.ontology.v2alpha.DecisionV1. - * Use `create(DecisionV1Schema)` to create a new message. - */ -export const DecisionV1Schema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 27); - -/** - * Describes the message platform.ontology.v2alpha.PreferenceCenterV1Beta. - * Use `create(PreferenceCenterV1BetaSchema)` to create a new message. - */ -export const PreferenceCenterV1BetaSchema = /*@__PURE__*/ - messageDesc(file_platform_ontology_v2alpha_spec_data_catalog, 28); - diff --git a/libs/public/typescript/protobuf/src/gen/platform/reference/v2alpha/reference_pb.js b/libs/public/typescript/protobuf/src/gen/platform/reference/v2alpha/reference_pb.js index d7681798..1e912310 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/reference/v2alpha/reference_pb.js +++ b/libs/public/typescript/protobuf/src/gen/platform/reference/v2alpha/reference_pb.js @@ -11,7 +11,7 @@ import { file_platform_spec_v2_spec } from "../../spec/v2/spec_pb"; * Describes the file platform/reference/v2alpha/reference.proto. */ export const file_platform_reference_v2alpha_reference = /*@__PURE__*/ - fileDesc("CipwbGF0Zm9ybS9yZWZlcmVuY2UvdjJhbHBoYS9yZWZlcmVuY2UucHJvdG8SGnBsYXRmb3JtLnJlZmVyZW5jZS52MmFscGhhIhgKFlJlZmVyZW5jZUNvbmZpZ3VyYXRpb24iSgoMVW5hcnlSZXF1ZXN0EjoKB21lc3NhZ2UYASABKAsyKS5wbGF0Zm9ybS5yZWZlcmVuY2UudjJhbHBoYS5DbGllbnRNZXNzYWdlIogBCg1VbmFyeVJlc3BvbnNlEjsKDHNwZWNfY29udGV4dBgBIAEoCzIlLnBsYXRmb3JtLnNwZWMudjIuU3BlY1Jlc3BvbnNlQ29udGV4dBI6CgdtZXNzYWdlGAIgASgLMikucGxhdGZvcm0ucmVmZXJlbmNlLnYyYWxwaGEuU2VydmVyTWVzc2FnZSJUChZTZXJ2ZXJTdHJlYW1pbmdSZXF1ZXN0EjoKB21lc3NhZ2UYASABKAsyKS5wbGF0Zm9ybS5yZWZlcm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ltZXN0YW1wEi4KCnVwZGF0ZWRfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wKj8KEVJlZmVyZW5jZUNvbW1hbmRzEiIKHlJFRkVSRU5DRV9DT01NQU5EU19VTlNQRUNJRklFRBAAGgaSuBgCCAMqOwoPUmVmZXJlbmNlRXZlbnRzEiAKHFJFRkVSRU5DRV9FVkVOVFNfVU5TUEVDSUZJRUQQABoGkrgYAggEMvIBChBSZWZlcmVuY2VTZXJ2aWNlEl4KBVVuYXJ5EigucGxhdGZvcm0ucmVmZXJlbmNlLnYyYWxwaGEuVW5hcnlSZXF1ZXN0GikucGxhdGZvcm0ucmVmZXJlbmNlLnYyYWxwaGEuVW5hcnlSZXNwb25zZSIAEn4KD1NlcnZlclN0cmVhbWluZxIyLnBsYXRmb3JtLnJlZmVyZW5jZS52MmFscGhhLlNlcnZlclN0cmVhbWluZ1JlcXVlc3QaMy5wbGF0Zm9ybS5yZWZlcmVuY2UudjJhbHBoYS5TZXJ2ZXJTdHJlYW1pbmdSZXNwb25zZSIAMAFCrgFaZWdpdGh1Yi5jb20vb3BlbmVjb3N5c3RlbXMvZWNvc3lzdGVtL2xpYnMvcG9jL2dvL3Nkay9nZW4vcGxhdGZvcm0vcmVmZXJlbmNlL3YyYWxwaGE7cmVmZXJlbmNldjJhbHBoYXBigsQTAggCgrUYBggEEAEYAoq1GB4KCXJlZmVyZW5jZRIKcmVmZXJlbmNlcyIDamFuKAKStRgFCgMCAwaatRgCCAGitRgCCAFiBnByb3RvMw", [file_platform_options_v2_annotations, file_google_protobuf_timestamp, file_platform_spec_v2_spec]); /** * Describes the message platform.reference.v2alpha.ReferenceConfiguration. diff --git a/libs/public/typescript/protobuf/src/gen/platform/system/v2alpha/system_pb.js b/libs/public/typescript/protobuf/src/gen/platform/system/v2alpha/system_pb.js index fc40944b..d9d3c21f 100644 --- a/libs/public/typescript/protobuf/src/gen/platform/system/v2alpha/system_pb.js +++ b/libs/public/typescript/protobuf/src/gen/platform/system/v2alpha/system_pb.js @@ -12,7 +12,7 @@ import { file_platform_spec_v2_spec } from "../../spec/v2/spec_pb"; * Describes the file platform/system/v2alpha/system.proto. */ export const file_platform_system_v2alpha_system = /*@__PURE__*/ - fileDesc("CiRwbGF0Zm9ybS9zeXN0ZW0vdjJhbHBoYS9zeXN0ZW0ucHJvdG8SF3BsYXRmb3JtLnN5c3RlbS52MmFscGhhImsKDVB1YmxpY1N5c3RlbXMSFQoNY29tbXVuaWNhdGlvbhgBIAEoCBIVCg1jb25maWd1cmF0aW9uGAIgASgIEg0KBWV2ZW50GAMgASgIEgsKA2lhbRgEIAEoCBIQCghvbnRvbG9neRgFIAEoCCJQCg5Qcml2YXRlU3lzdGVtcxINCgVhdWRpdBgBIAEoCBIMCgRlZGdlGAIgASgIEhIKCmVuY3J5cHRpb24YAyABKAgSDQoFZXZlbnQYBCABKAgiHwoKUG9jU3lzdGVtcxIRCglyZWZlcmVuY2UYASABKAgi0QEKE1N5c3RlbUNvbmZpZ3VyYXRpb24SPgoOcHVibGljX3N5c3RlbXMYASABKAsyJi5wbGF0Zm9ybS5zeXN0ZW0udjJhbHBoYS5QdWJsaWNTeXN0ZW1zEkAKD3ByaXZhdGVfc3lzdGVtcxgCIAEoCzInLnBsYXRmb3JtLnN5c3RlbS52MmFscGhhLlByaXZhdGVTeXN0ZW1zEjgKC3BvY19zeXN0ZW1zGAMgASgLMiMucGxhdGZvcm0uc3lzdGVtLnYyYWxwaGEuUG9jU3lzdGVtcyIXCg1FbmFibGVSZXF1ZXN0Ogb6thgCCAEihgEKDkVuYWJsZVJlc3BvbnNlEjsKDHNwZWNfY29udGV4dBgBIAEoCzIlLnBsYXRmb3JtLnNwZWMudjIuU3BlY1Jlc3BvbnNlQ29udGV4dBIvCgZzeXN0ZW0YAiABKAsyHy5wbGF0Zm9ybS5zeXN0ZW0udjJhbHBoYS5TeXN0ZW06Bvq2GAIIAiIYCg5EaXNhYmxlUmVxdWVzdDoG+rYYAggBIocBC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aXNhYmxlqrYYAggEgtPkkwIcOgEqIhcvdjJhbHBoYS9zeXN0ZW0vZGlzYWJsZUKoAVpnZ2l0aHViLmNvbS9vcGVuZWNvc3lzdGVtcy9lY29zeXN0ZW0vbGlicy9wdWJsaWMvZ28vcHJvdG9idWYvZ2VuL3BsYXRmb3JtL3N5c3RlbS92MmFscGhhO3N5c3RlbXYyYWxwaGFwYoLEEwIIAoK1GAYIAxABGAKKtRgYCgZzeXN0ZW0SB3N5c3RlbXMiA2phbigCkrUYAwoBA5q1GAIIAaK1GAIIAWIGcHJvdG8z", [file_google_api_annotations, file_google_protobuf_timestamp, file_platform_options_v2_annotations, file_platform_spec_v2_spec]); + fileDesc("CiRwbGF0Zm9ybS9zeXN0ZW0vdjJhbHBoYS9zeXN0ZW0ucHJvdG8SF3BsYXRmb3JtLnN5c3RlbS52MmFscGhhImsKDVB1YmxpY1N5c3RlbXMSFQoNY29tbXVuaWNhdGlvbhgBIAEoCBIVCg1jb25maWd1cmF0aW9uGAIgASgIEg0KBWV2ZW50GAMgASgIEgsKA2lhbRgEIAEoCBIQCghvbnRvbG9neRgFIAEoCCJQCg5Qcml2YXRlU3lzdGVtcxINCgVhdWRpdBgBIAEoCBIMCgRlZGdlGAIgASgIEhIKCmVuY3J5cHRpb24YAyABKAgSDQoFZXZlbnQYBCABKAgiHwoKUG9jU3lzdGVtcxIRCglyZWZlcmVuY2UYASABKAgi0QEKE1N5c3RlbUNvbmZpZ3VyYXRpb24SPgoOcHVibGljX3N5c3RlbXMYASABKAsyJi5wbGF0Zm9ybS5zeXN0ZW0udjJhbHBoYS5QdWJsaWNTeXN0ZW1zEkAKD3ByaXZhdGVfc3lzdGVtcxgCIAEoCzInLnBsYXRmb3JtLnN5c3RlbS52MmFscGhhLlByaXZhdGVTeXN0ZW1zEjgKC3BvY19zeXN0ZW1zGAMgASgLMiMucGxhdGZvcm0uc3lzdGVtLnYyYWxwaGEuUG9jU3lzdGVtcyIXCg1FbmFibGVSZXF1ZXN0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RlbS52MmFscGhhLkVuYWJsZVJlc3BvbnNlIjOithgIKgZlbmFibGWqthgCCAKC0+STAhs6ASoiFi92MmFscGhhL3N5c3RlbS9lbmFibGUwARKTAQoHRGlzYWJsZRInLnBsYXRmb3JtLnN5c3RlbS52MmFscGhhLkRpc2FibGVSZXF1ZXN0GigucGxhdGZvcm0uc3lzdGVtLnYyYWxwaGEuRGlzYWJsZVJlc3BvbnNlIjWithgJKgdkaXNhYmxlqrYYAggEgtPkkwIcOgEqIhcvdjJhbHBoYS9zeXN0ZW0vZGlzYWJsZUKjAVpiZ2l0aHViLmNvbS9vcGVuZWNvc3lzdGVtcy9lY29zeXN0ZW0vbGlicy9wdWJsaWMvZ28vc2RrL2dlbi9wbGF0Zm9ybS9zeXN0ZW0vdjJhbHBoYTtzeXN0ZW12MmFscGhhcGKCxBMCCAKCtRgGCAMQARgCirUYGAoGc3lzdGVtEgdzeXN0ZW1zIgNqYW4oApK1GAMKAQOatRgCCAGitRgCCAFiBnByb3RvMw", [file_google_api_annotations, file_google_protobuf_timestamp, file_platform_options_v2_annotations, file_platform_spec_v2_spec]); /** * Describes the message platform.system.v2alpha.PublicSystems. diff --git a/proto/buf.yaml b/proto/buf.yaml index 18404d47..83f61dc5 100644 --- a/proto/buf.yaml +++ b/proto/buf.yaml @@ -7,8 +7,8 @@ modules: - path: public name: buf.build/openecosystems/public # 30000 - - path: partner - name: buf.build/openecosystems/partner +# - path: partner +# name: buf.build/openecosystems/partner # 40000 - path: private name: buf.build/openecosystems/private diff --git a/proto/partner/buf.gen.yaml b/proto/partner/buf.gen.yaml.notused similarity index 100% rename from proto/partner/buf.gen.yaml rename to proto/partner/buf.gen.yaml.notused diff --git a/proto/partner/kevel/advertisement/v1/decision.proto b/proto/partner/kevel/advertisement/v1/decision.proto.notused similarity index 99% rename from proto/partner/kevel/advertisement/v1/decision.proto rename to proto/partner/kevel/advertisement/v1/decision.proto.notused index 22377281..b5708b03 100644 --- a/proto/partner/kevel/advertisement/v1/decision.proto +++ b/proto/partner/kevel/advertisement/v1/decision.proto.notused @@ -25,7 +25,7 @@ option (platform.options.v2.entity) = { versionable: true; }; -option go_package = "github.com/openecosystems/ecosystem/libs/partner/go/protobuf/gen/kevel/advertisement/v1;advertisementv1pb"; +option go_package = "github.com/openecosystems/ecosystem/libs/partner/go/sdk/gen/kevel/advertisement/v1;advertisementv1pb"; service DecisionService { rpc GetDecisions ( GetDecisionsRequest ) returns ( GetDecisionsResponse ) { diff --git a/proto/partner/project.json b/proto/partner/project.json index aa375328..97577663 100644 --- a/proto/partner/project.json +++ b/proto/partner/project.json @@ -4,13 +4,7 @@ "projectType": "proto", "sourceRoot": "proto/partner", "targets": { - "generate": { - "executor": "nx:run-commands", - "options": { - "command": "buf generate", - "cwd": "proto/partner" - } - } + }, "tags": [] } diff --git a/proto/poc/platform/reference/v2alpha/reference.proto b/proto/poc/platform/reference/v2alpha/reference.proto index 74230aeb..73d4fff5 100644 --- a/proto/poc/platform/reference/v2alpha/reference.proto +++ b/proto/poc/platform/reference/v2alpha/reference.proto @@ -23,7 +23,7 @@ option (platform.options.v2.entity) = { consistency: ENTITY_CONSISTENCY_EVENTUAL; }; -option go_package = "github.com/openecosystems/ecosystem/libs/poc/go/protobuf/gen/platform/reference/v2alpha;referencev2alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/poc/go/sdk/gen/platform/reference/v2alpha;referencev2alphapb"; message ReferenceConfiguration { diff --git a/proto/private/platform/audit/v2alpha/audit.proto b/proto/private/platform/audit/v2alpha/audit.proto index 2eaafc63..bfccd736 100644 --- a/proto/private/platform/audit/v2alpha/audit.proto +++ b/proto/private/platform/audit/v2alpha/audit.proto @@ -26,7 +26,7 @@ option (platform.options.v2.entity) = { consistency: ENTITY_CONSISTENCY_EVENTUAL; }; -option go_package = "github.com/openecosystems/ecosystem/libs/private/go/protobuf/gen/platform/audit/v2alpha;auditv2alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/private/go/sdk/gen/platform/audit/v2alpha;auditv2alphapb"; message AuditConfiguration { string id = 1 [(platform.options.v2.configuration_field) = { diff --git a/proto/private/platform/edge/v2alpha/edge_router.proto b/proto/private/platform/edge/v2alpha/edge_router.proto index d31b72fd..61450abc 100644 --- a/proto/private/platform/edge/v2alpha/edge_router.proto +++ b/proto/private/platform/edge/v2alpha/edge_router.proto @@ -14,7 +14,7 @@ option (platform.options.v2.api_file) = { interface: API_INTERFACE_TYPE_DISCOVERABLE; }; -option go_package = "github.com/openecosystems/ecosystem/libs/private/go/protobuf/gen/platform/edge/v2alpha;edgev2alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/private/go/sdk/gen/platform/edge/v2alpha;edgev2alphapb"; // Edge Waf Configuration data message EdgeRouterConfiguration { diff --git a/proto/public/platform/cli/v2alpha/oeco.proto b/proto/public/platform/cli/v2alpha/oeco.proto index c19b6583..f44eaf12 100644 --- a/proto/public/platform/cli/v2alpha/oeco.proto +++ b/proto/public/platform/cli/v2alpha/oeco.proto @@ -14,7 +14,7 @@ option (platform.options.v2.api_file) = { interface: API_INTERFACE_TYPE_DISCOVERABLE; }; -option go_package = "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/cli/v2alpha;cliv2alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cli/v2alpha;cliv2alphapb"; message OecoConfiguration { diff --git a/proto/public/platform/communication/v1alpha/preference_center.proto b/proto/public/platform/communication/v1alpha/preference_center.proto index 57645d65..8864b418 100644 --- a/proto/public/platform/communication/v1alpha/preference_center.proto +++ b/proto/public/platform/communication/v1alpha/preference_center.proto @@ -25,7 +25,7 @@ option (platform.options.v2.entity) = { consistency: ENTITY_CONSISTENCY_EVENTUAL; }; -option go_package = "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1alpha;communicationv1alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1alpha;communicationv1alphapb"; message PreferenceCenterConfiguration { diff --git a/proto/public/platform/communication/v1beta/preference_center.proto b/proto/public/platform/communication/v1beta/preference_center.proto index 68f35e53..82036d9a 100644 --- a/proto/public/platform/communication/v1beta/preference_center.proto +++ b/proto/public/platform/communication/v1beta/preference_center.proto @@ -25,7 +25,7 @@ option (platform.options.v2.entity) = { consistency: ENTITY_CONSISTENCY_EVENTUAL; }; -option go_package = "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/communication/v1beta;communicationv1betapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/communication/v1beta;communicationv1betapb"; message PreferenceCenterConfiguration { diff --git a/proto/public/platform/configuration/v2alpha/configuration.proto b/proto/public/platform/configuration/v2alpha/configuration.proto index e1857ade..e3e31e1b 100644 --- a/proto/public/platform/configuration/v2alpha/configuration.proto +++ b/proto/public/platform/configuration/v2alpha/configuration.proto @@ -29,7 +29,7 @@ option (platform.options.v2.entity) = { versionable: true; }; -option go_package = "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha;configurationv2alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha;configurationv2alphapb"; service ConfigurationService { diff --git a/proto/public/platform/configuration/v2alpha/spec_configuration.proto b/proto/public/platform/configuration/v2alpha/spec_configuration.proto index 05e9c34e..41fe452e 100644 --- a/proto/public/platform/configuration/v2alpha/spec_configuration.proto +++ b/proto/public/platform/configuration/v2alpha/spec_configuration.proto @@ -5,7 +5,6 @@ package platform.configuration.v2alpha; import "platform/options/v2/annotations.proto"; -import "platform/communication/v1beta/preference_center.proto"; import "platform/audit/v2alpha/audit.proto"; import "platform/cli/v2alpha/oeco.proto"; import "platform/cryptography/v2alpha/certificate.proto"; @@ -18,6 +17,7 @@ import "platform/iam/v2alpha/account_authority.proto"; import "platform/mesh/v2alpha/cryptographic_mesh.proto"; import "platform/reference/v2alpha/reference.proto"; import "platform/system/v2alpha/system.proto"; +import "platform/communication/v1beta/preference_center.proto"; import "platform/communication/v1alpha/preference_center.proto"; option (platform.options.v2.network_file) = {type: NETWORK_TYPE_INTERNET;}; @@ -27,7 +27,7 @@ option (platform.options.v2.api_file) = { interface: API_INTERFACE_TYPE_OPERATIONAL; }; -option go_package = "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/configuration/v2alpha;configurationv2alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/configuration/v2alpha;configurationv2alphapb"; message SpecPlatformConfiguration { @@ -55,7 +55,7 @@ message SpecPlatformConfiguration { platform.system.v2alpha.SystemConfiguration system_configuration_v2alpha = 13; - platform.communication.v1alpha.PreferenceCenterConfiguration preference_center_configuration_v1alpha = 14; + platform.communication.v1beta.PreferenceCenterConfiguration preference_center_configuration_v1beta = 14; - platform.communication.v1beta.PreferenceCenterConfiguration preference_center_configuration_v1beta = 15; + platform.communication.v1alpha.PreferenceCenterConfiguration preference_center_configuration_v1alpha = 15; } diff --git a/proto/public/platform/cryptography/v2alpha/certificate.proto b/proto/public/platform/cryptography/v2alpha/certificate.proto index 022d3996..528cee49 100644 --- a/proto/public/platform/cryptography/v2alpha/certificate.proto +++ b/proto/public/platform/cryptography/v2alpha/certificate.proto @@ -27,7 +27,7 @@ option (platform.options.v2.entity) = { versionable: true; }; -option go_package = "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/cryptography/v2alpha;cryptographyv2alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cryptography/v2alpha;cryptographyv2alphapb"; message CertificateConfiguration { diff --git a/proto/public/platform/cryptography/v2alpha/encryption.proto b/proto/public/platform/cryptography/v2alpha/encryption.proto index 6470c25f..476ae734 100644 --- a/proto/public/platform/cryptography/v2alpha/encryption.proto +++ b/proto/public/platform/cryptography/v2alpha/encryption.proto @@ -14,7 +14,7 @@ option (platform.options.v2.api_file) = { interface: API_INTERFACE_TYPE_OPERATIONAL; }; -option go_package = "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/cryptography/v2alpha;cryptographyv2alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/cryptography/v2alpha;cryptographyv2alphapb"; message EncryptionConfiguration { diff --git a/proto/public/platform/dns/v2alpha/dynamic_dns.proto b/proto/public/platform/dns/v2alpha/dynamic_dns.proto index 321efa0c..8b107376 100644 --- a/proto/public/platform/dns/v2alpha/dynamic_dns.proto +++ b/proto/public/platform/dns/v2alpha/dynamic_dns.proto @@ -14,7 +14,7 @@ option (platform.options.v2.api_file) = { interface: API_INTERFACE_TYPE_DISCOVERABLE; }; -option go_package = "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/dns/v2alpha;dnsv2alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/dns/v2alpha;dnsv2alphapb"; message DynamicDnsConfiguration { diff --git a/proto/public/platform/ecosystem/v2alpha/ecosystem.proto b/proto/public/platform/ecosystem/v2alpha/ecosystem.proto index 10dbbede..0a8ecf20 100644 --- a/proto/public/platform/ecosystem/v2alpha/ecosystem.proto +++ b/proto/public/platform/ecosystem/v2alpha/ecosystem.proto @@ -28,7 +28,7 @@ option (platform.options.v2.entity) = { versionable: true; }; -option go_package = "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ecosystem/v2alpha;ecosystemv2alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ecosystem/v2alpha;ecosystemv2alphapb"; service EcosystemService { option (platform.options.v2.api_service) = { diff --git a/proto/public/platform/iam/v2alpha/account.proto b/proto/public/platform/iam/v2alpha/account.proto index 0c9e4254..10814f0d 100644 --- a/proto/public/platform/iam/v2alpha/account.proto +++ b/proto/public/platform/iam/v2alpha/account.proto @@ -30,7 +30,7 @@ option (platform.options.v2.entity) = { versionable: true; }; -option go_package = "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha;iamv2alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha;iamv2alphapb"; message AccountConfiguration { diff --git a/proto/public/platform/iam/v2alpha/account_authority.proto b/proto/public/platform/iam/v2alpha/account_authority.proto index d1fd0930..4ed7201a 100644 --- a/proto/public/platform/iam/v2alpha/account_authority.proto +++ b/proto/public/platform/iam/v2alpha/account_authority.proto @@ -27,7 +27,7 @@ option (platform.options.v2.entity) = { versionable: true; }; -option go_package = "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/iam/v2alpha;iamv2alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/iam/v2alpha;iamv2alphapb"; message AccountAuthorityConfiguration { diff --git a/proto/public/platform/mesh/v2alpha/cryptographic_mesh.proto b/proto/public/platform/mesh/v2alpha/cryptographic_mesh.proto index 960385d0..bd670907 100644 --- a/proto/public/platform/mesh/v2alpha/cryptographic_mesh.proto +++ b/proto/public/platform/mesh/v2alpha/cryptographic_mesh.proto @@ -14,7 +14,7 @@ option (platform.options.v2.api_file) = { interface: API_INTERFACE_TYPE_DISCOVERABLE; }; -option go_package = "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/mesh/v2alpha;meshv2alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/mesh/v2alpha;meshv2alphapb"; message CryptographicMeshConfiguration { diff --git a/proto/public/platform/ontology/v2alpha/spec_data_catalog.proto b/proto/public/platform/ontology/v2alpha/spec_data_catalog.proto index b6e96458..41e0c202 100644 --- a/proto/public/platform/ontology/v2alpha/spec_data_catalog.proto +++ b/proto/public/platform/ontology/v2alpha/spec_data_catalog.proto @@ -13,36 +13,30 @@ option (platform.options.v2.api_file) = { interface: API_INTERFACE_TYPE_OPERATIONAL; }; -option go_package = "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/ontology/v2alpha;ontologyv2alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/ontology/v2alpha;ontologyv2alphapb"; message SpecDataCatalog { - Advertisement advertisement = 1; - Audit audit = 2; - Cli cli = 3; - Communication communication = 4; - Configuration configuration = 5; - Cryptography cryptography = 6; - Dns dns = 7; - Ecosystem ecosystem = 8; - Edge edge = 9; - Iam iam = 10; - Mesh mesh = 11; - Ontology ontology = 12; - Options options = 13; - Reference reference = 14; - Spec spec = 15; - System system = 16; - Type type = 17; -} - -message Advertisement { - - DecisionV1 decision_v1 = 1; + Audit audit = 1; + Cli cli = 2; + Communication communication = 3; + Configuration configuration = 4; + Cryptography cryptography = 5; + Dns dns = 6; + Ecosystem ecosystem = 7; + Edge edge = 8; + Iam iam = 9; + Mesh mesh = 10; + Ontology ontology = 11; + Options options = 12; + Reference reference = 13; + Spec spec = 14; + System system = 15; + Type type = 16; } message Audit { - AuditV2Alpha audit_v2alpha = 2; + AuditV2Alpha audit_v2alpha = 1; } message Cli { @@ -50,19 +44,19 @@ message Cli { message Communication { - PreferenceCenterV1Alpha preference_center_v1alpha = 3; + PreferenceCenterV1Beta preference_center_v1beta = 2; - PreferenceCenterV1Beta preference_center_v1beta = 4; + PreferenceCenterV1Alpha preference_center_v1alpha = 3; } message Configuration { - ConfigurationV2Alpha configuration_v2alpha = 5; + ConfigurationV2Alpha configuration_v2alpha = 4; } message Cryptography { - CertificateV2Alpha certificate_v2alpha = 6; + CertificateV2Alpha certificate_v2alpha = 5; } message Dns { @@ -70,7 +64,7 @@ message Dns { message Ecosystem { - EcosystemV2Alpha ecosystem_v2alpha = 7; + EcosystemV2Alpha ecosystem_v2alpha = 6; } message Edge { @@ -78,9 +72,9 @@ message Edge { message Iam { - AccountV2Alpha account_v2alpha = 8; + AccountV2Alpha account_v2alpha = 7; - AccountAuthorityV2Alpha account_authority_v2alpha = 9; + AccountAuthorityV2Alpha account_authority_v2alpha = 8; } message Mesh { @@ -94,7 +88,7 @@ message Options { message Reference { - ReferenceV2Alpha reference_v2alpha = 10; + ReferenceV2Alpha reference_v2alpha = 9; } message Spec { @@ -102,7 +96,7 @@ message Spec { message System { - SystemV2Alpha system_v2alpha = 11; + SystemV2Alpha system_v2alpha = 10; } message Type { @@ -203,7 +197,7 @@ message SystemV2Alpha { } -message PreferenceCenterV1Alpha { +message PreferenceCenterV1Beta { platform.options.v2.ClassificationType id = 1; platform.options.v2.ClassificationType created_at = 2; platform.options.v2.ClassificationType updated_at = 3; @@ -224,24 +218,7 @@ message PreferenceCenterV1Alpha { } -message DecisionV1 { - platform.options.v2.ClassificationType ad_id = 1; - platform.options.v2.ClassificationType advertiser_id = 2; - platform.options.v2.ClassificationType creative_id = 3; - platform.options.v2.ClassificationType flight_id = 4; - platform.options.v2.ClassificationType campaign_id = 5; - platform.options.v2.ClassificationType priority_id = 6; - platform.options.v2.ClassificationType click_url = 7; - platform.options.v2.ClassificationType contents = 8; - platform.options.v2.ClassificationType impression_url = 9; - platform.options.v2.ClassificationType events = 10; - platform.options.v2.ClassificationType matched_points = 11; - platform.options.v2.ClassificationType pricing = 12; - -} - - -message PreferenceCenterV1Beta { +message PreferenceCenterV1Alpha { platform.options.v2.ClassificationType id = 1; platform.options.v2.ClassificationType created_at = 2; platform.options.v2.ClassificationType updated_at = 3; diff --git a/proto/public/platform/system/v2alpha/system.proto b/proto/public/platform/system/v2alpha/system.proto index 68f16e55..9f2825bb 100644 --- a/proto/public/platform/system/v2alpha/system.proto +++ b/proto/public/platform/system/v2alpha/system.proto @@ -24,7 +24,7 @@ option (platform.options.v2.entity) = { consistency: ENTITY_CONSISTENCY_EVENTUAL; }; -option go_package = "github.com/openecosystems/ecosystem/libs/public/go/protobuf/gen/platform/system/v2alpha;systemv2alphapb"; +option go_package = "github.com/openecosystems/ecosystem/libs/public/go/sdk/gen/platform/system/v2alpha;systemv2alphapb"; message PublicSystems { bool communication = 1;