Skip to content

Commit

Permalink
[proto] change proto file, make sure compile ok
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunelFeng committed Apr 26, 2024
1 parent ec5c929 commit 346a44f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
.DS_Store
/src/cmake-build-debug/
/src/cmake-build-release/
/cmake-build-debug/
/cmake-build-release/
/cmake-build-debug-coverage/
/cmake-build-*/
/build/
/.xmake/
/CGraph.srctrlbm
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ add_subdirectory(./example)

# 功能测试相关内容
if(CGRAPH_BUILD_FUNCTIONAL_TESTS)
message("-- [CGraph] build functional tests")
message(STATUS "[CGraph] build functional tests")
add_subdirectory(./test/Functional)
endif(CGRAPH_BUILD_FUNCTIONAL_TESTS)

# 性能测试相关内容
if(CGRAPH_BUILD_PERFORMANCE_TESTS)
message("-- [CGraph] build performance tests")
message(STATUS "[CGraph] build performance tests")
add_subdirectory(./test/Performance)
endif(CGRAPH_BUILD_PERFORMANCE_TESTS)
2 changes: 0 additions & 2 deletions proto/element.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ syntax = "proto3";
package CGraphPB;

import "aspect.proto";
import "param.proto";

enum TimeoutStrategy {
TIMEOUT_STRATEGY_AS_ERROR = 0;
Expand All @@ -21,7 +20,6 @@ message Element {
int32 timeout = 5;
TimeoutStrategy timeout_strategy = 6;
bool is_group = 7;
map<string, CGraphPB.PassedParam> params = 101;
repeated CGraphPB.Aspect aspects = 102;
repeated Element depends = 201; // 依赖的元素
repeated Element components = 202; // 组成的元素,在 is_group=false 的时候为空
Expand Down
2 changes: 0 additions & 2 deletions proto/pipeline.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ package CGraphPB;
import "element.proto";
import "daemon.proto";
import "event.proto";
import "param.proto";


message Pipeline {
repeated CGraphPB.Element elements = 1;
repeated CGraphPB.Daemon daemons = 2;
repeated CGraphPB.Event events = 3;
map<string, CGraphPB.Param> params = 4;
}

0 comments on commit 346a44f

Please sign in to comment.