From 8c818fe9d00a0a3eff637d492ae757b053f91579 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Wed, 28 Aug 2024 13:37:48 +0200
Subject: [PATCH] OZG-6508 add vorgangId to attachments and representations
 requests; mark context as deprecated

---
 .../src/main/protobuf/file.model.proto                     | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/vorgang-manager-interface/src/main/protobuf/file.model.proto b/vorgang-manager-interface/src/main/protobuf/file.model.proto
index 0e82120cb..c78f2f833 100644
--- a/vorgang-manager-interface/src/main/protobuf/file.model.proto
+++ b/vorgang-manager-interface/src/main/protobuf/file.model.proto
@@ -32,16 +32,19 @@ option java_outer_classname = "FileModelProto";
 
 
 message GrpcGetAttachmentsRequest {
-	de.ozgcloud.vorgang.grpc.command.GrpcCallContext context = 1;
+	de.ozgcloud.vorgang.grpc.command.GrpcCallContext context = 1 [deprecated = true];
 	string eingangId = 2;
+	string vorgangId = 3;
 }
+
 message GrpcGetAttachmentsResponse {
 	repeated GrpcOzgFile file = 1;
 }
 
 message GrpcGetRepresentationsRequest {
-	de.ozgcloud.vorgang.grpc.command.GrpcCallContext context = 1;
+	de.ozgcloud.vorgang.grpc.command.GrpcCallContext context = 1 [deprecated = true];
 	string eingangId = 2;
+	string vorgangId = 3;
 }
 message GrpcGetRepresentationsResponse {
 	repeated GrpcOzgFile file = 1;
-- 
GitLab