diff --git a/api/gateway-config.yml b/api/gateway-config.yml index 649dfd0b2bc45c6235e9940c80015b7149687ab2..729eda31e82c2654dc3fd7b0a2c5f04ba3248a7c 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/openapi-config.yml b/api/openapi-config.yml index f4dffedc92bcb3cf4e91c74900fb20756068356b..ca974c9d286385dcd4061c19190e92a0c8736f82 100644 --- a/api/openapi-config.yml +++ b/api/openapi-config.yml @@ -47,14 +47,14 @@ openapiOptions: type: - STRING service: - - service: de.ozgcloud.fachstellenproxy.FachstelleRegistrationService + - service: de.ozgcloud.zufi.grpc.fachstelle.FachstelleRegistrationService option: description: "Service to proxy between Fachstelle and ZufiManager in OZG-Cloud" - service: de.ozgcloud.collaboration.CollaborationService option: description: "Service to proxy between Fachstelle and CollaborationManager in OZG-Cloud" method: - - method: de.ozgcloud.fachstellenproxy.FachstelleRegistrationService.Register + - method: de.ozgcloud.zufi.grpc.fachstelle.FachstelleRegistrationService.Register option: description: "Register new fachstelle" summary: "Summary: Register rpc" diff --git a/api/proto/fachstelleregistration.model.proto b/api/proto/fachstelleregistration.model.proto index 928fd728c4a79a3c8933803925d38a7fef06f2f3..46870e10d9685a5f9f9c82dbe66a5b34ea952796 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 f354c0f47b3ffd5ffb324536c6aaf1b172a36f29..47e858c1fa200755828edb910f42143a607a9b19 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