Skip to content

Commit 0165f4a

Browse files
alice-yinbergundy
andauthored
Create export workflow execution history proto (#329)
* Create workflow collection proto * address comments * add export in the name * Apply suggestions from code review Co-authored-by: Roey Berman <roey@temporal.io> * Apply suggestions from code review * Update temporal/api/export/v1/message.proto * address comments * rename workflowExecutionHistory to workflowExecution --------- Co-authored-by: Roey Berman <roey@temporal.io>
1 parent f6a3d90 commit 0165f4a

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// The MIT License
2+
//
3+
// Copyright (c) 2020 Temporal Technologies Inc. All rights reserved.
4+
//
5+
// Permission is hereby granted, free of charge, to any person obtaining a copy
6+
// of this software and associated documentation files (the "Software"), to deal
7+
// in the Software without restriction, including without limitation the rights
8+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
// copies of the Software, and to permit persons to whom the Software is
10+
// furnished to do so, subject to the following conditions:
11+
//
12+
// The above copyright notice and this permission notice shall be included in
13+
// all copies or substantial portions of the Software.
14+
//
15+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
// THE SOFTWARE.
22+
23+
syntax = "proto3";
24+
25+
package temporal.api.export.v1;
26+
27+
option go_package = "go.temporal.io/api/export/v1;workflow";
28+
option java_package = "io.temporal.api.export.v1";
29+
option java_multiple_files = true;
30+
option java_outer_classname = "MessageProto";
31+
option ruby_package = "Temporalio::Api::Export::V1";
32+
option csharp_namespace = "Temporalio.Api.Export.V1";
33+
34+
import "temporal/api/history/v1/message.proto";
35+
36+
message WorkflowExecution {
37+
temporal.api.history.v1.History history = 1;
38+
}
39+
40+
// WorkflowExecutions is used by the Cloud Export feature to deserialize
41+
// the exported file. It encapsulates a collection of workflow execution information.
42+
message WorkflowExecutions {
43+
repeated WorkflowExecution items = 1;
44+
}
45+

0 commit comments

Comments
 (0)