From ee76ff8736f1da8c92e6240e33a15b21209ba298 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Mon, 2 Dec 2024 23:01:13 +0100 Subject: [PATCH] OZG-7014 fix grpc packages in proto file --- api/gateway-config.yml | 2 +- api/proto/fachstelleregistration.model.proto | 6 +++++- api/proto/fachstelleregistration.proto | 6 +++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/api/gateway-config.yml b/api/gateway-config.yml index 649dfd0..729eda3 100644 --- a/api/gateway-config.yml +++ b/api/gateway-config.yml @@ -3,7 +3,7 @@ config_version: 3 http: rules: - - selector: de.ozgcloud.fachstellenproxy.FachstelleRegistrationService.Register + - selector: de.ozgcloud.zufi.grpc.fachstelle.FachstelleRegistrationService.Register post: /api/fachstellen body: "*" - selector: de.ozgcloud.collaboration.CollaborationService.FindVorgang diff --git a/api/proto/fachstelleregistration.model.proto b/api/proto/fachstelleregistration.model.proto index 928fd72..46870e1 100644 --- a/api/proto/fachstelleregistration.model.proto +++ b/api/proto/fachstelleregistration.model.proto @@ -25,10 +25,14 @@ syntax = "proto3"; -package de.ozgcloud.fachstellenproxy; +package de.ozgcloud.zufi.grpc.fachstelle; option go_package = "de.ozgcloud.fachstellenproxy"; +option java_multiple_files = true; +option java_package = "de.ozgcloud.zufi.grpc.fachstelle"; +option java_outer_classname = "FachstelleRegistrationModelProto"; + message GrpcFachstelleRegistrationRequest { string mukId = 1; string firmenName = 2; diff --git a/api/proto/fachstelleregistration.proto b/api/proto/fachstelleregistration.proto index f354c0f..47e858c 100644 --- a/api/proto/fachstelleregistration.proto +++ b/api/proto/fachstelleregistration.proto @@ -25,12 +25,16 @@ syntax = "proto3"; -package de.ozgcloud.fachstellenproxy; +package de.ozgcloud.zufi.grpc.fachstelle; import "fachstelleregistration.model.proto"; option go_package = "de.ozgcloud.fachstellenproxy"; +option java_multiple_files = true; +option java_package = "de.ozgcloud.zufi.grpc.fachstelle"; +option java_outer_classname = "FachstelleRegistrationProto"; + service FachstelleRegistrationService { rpc Register(GrpcFachstelleRegistrationRequest) returns (GrpcFachstelleRegistrationResponse); } \ No newline at end of file -- GitLab