From 5edde1d07ce244e0b9322a6972848baebb2a4297 Mon Sep 17 00:00:00 2001
From: Kofo Okesola <okesolakofo@gmail.com>
Date: Fri, 1 Nov 2024 09:09:39 +0100
Subject: [PATCH] modified proto

---
 proto/workflow.pb.go | 15 +++++++++++++--
 proto/workflow.proto |  4 +++-
 2 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/proto/workflow.pb.go b/proto/workflow.pb.go
index f8653bf..ddb180e 100644
--- a/proto/workflow.pb.go
+++ b/proto/workflow.pb.go
@@ -118,6 +118,8 @@ type GetAllWorkflowConfigsRequest struct {
 	state         protoimpl.MessageState
 	sizeCache     protoimpl.SizeCache
 	unknownFields protoimpl.UnknownFields
+
+	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
 }
 
 func (x *GetAllWorkflowConfigsRequest) Reset() {
@@ -152,6 +154,13 @@ func (*GetAllWorkflowConfigsRequest) Descriptor() ([]byte, []int) {
 	return file_workflow_proto_rawDescGZIP(), []int{2}
 }
 
+func (x *GetAllWorkflowConfigsRequest) GetIdentifier() string {
+	if x != nil {
+		return x.Identifier
+	}
+	return ""
+}
+
 type GetAllWorkflowConfigsResponse struct {
 	state         protoimpl.MessageState
 	sizeCache     protoimpl.SizeCache
@@ -606,9 +615,11 @@ var file_workflow_proto_rawDesc = []byte{
 	0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
 	0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
 	0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65,
-	0x73, 0x22, 0x1e, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x66,
+	0x73, 0x22, 0x3e, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x66,
 	0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
-	0x74, 0x22, 0x50, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x66,
+	0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18,
+	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65,
+	0x72, 0x22, 0x50, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x57, 0x6f, 0x72, 0x6b, 0x66,
 	0x6c, 0x6f, 0x77, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
 	0x73, 0x65, 0x12, 0x2f, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x01, 0x20,
 	0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x57, 0x6f, 0x72, 0x6b,
diff --git a/proto/workflow.proto b/proto/workflow.proto
index e33e2aa..09c45a0 100644
--- a/proto/workflow.proto
+++ b/proto/workflow.proto
@@ -16,7 +16,9 @@ message GetAllDatabasesRequest{
 message GetAllDatabasesResponse{
   repeated DatabaseConfig databases = 1;
 }
-message GetAllWorkflowConfigsRequest {}
+message GetAllWorkflowConfigsRequest {
+  string identifier = 1;
+}
 
 message GetAllWorkflowConfigsResponse {
   repeated WorkflowConfig configs = 1;