Skip to content

Commit

Permalink
Updated DataplaneStatus to include new field AgentActivityStatus (#53)
Browse files Browse the repository at this point in the history
Updated DataplaneStatus to include new field AgentActivityStatus
  • Loading branch information
dhurley authored Oct 19, 2022
1 parent 9a59a49 commit e31e506
Show file tree
Hide file tree
Showing 9 changed files with 2,184 additions and 288 deletions.
803 changes: 708 additions & 95 deletions sdk/proto/command.pb.go

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions sdk/proto/command.proto
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,25 @@ message DataplaneStatus {
repeated NginxHealth healths = 5 [(gogoproto.jsontag) = "healths" ]; // moving to DataplaneSoftwareHealth
repeated DataplaneSoftwareDetails dataplane_software_details = 6 [(gogoproto.jsontag) = "dataplane_software_details"];
repeated DataplaneSoftwareHealth dataplane_software_healths = 7 [(gogoproto.jsontag) = "dataplane_software_healths"];
repeated AgentActivityStatus agent_activity_status = 8 [(gogoproto.jsontag) = "agent_activity_status" ];
}

message AgentActivityStatus {
oneof Status {
NginxConfigStatus nginx_config_status = 1 [(gogoproto.jsontag) = "nginx_config_status" ];
}
}

message NginxConfigStatus {
string correlation_id = 1 [(gogoproto.jsontag) = "correlation_id" ];
Status status = 2 [(gogoproto.jsontag) = "status" ];
string message = 3 [(gogoproto.jsontag) = "message" ];

enum Status {
PENDING = 0;
OK = 1;
ERROR = 2;
}
}

message DataplaneSoftwareHealth {
Expand Down
2 changes: 1 addition & 1 deletion sdk/proto/nginx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ message ErrorLog {
string log_level = 2 [(gogoproto.jsontag) = "log_level" ];
string permissions = 3 [(gogoproto.jsontag) = "permissions" ];
bool readable = 4 [(gogoproto.jsontag) = "readable" ];
}
}

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e31e506

Please sign in to comment.