Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ services that Aquila must implement as a server.
│ ├── module - Module service to receive datatypes, functions and flow types from aquila
│ ├── runtime_status - Service for runtime status (handles information about Draco and Taurus)
│ ├── runtime_usage - Service for runtime usage (handles execution time of a flow)
│ └── test_execution - Service and Types for the test execution├── sagittarius
│ └── test_execution - Service and Types for the test execution
├── sagittarius_rails
│ ├── flow - Flow service (handles flow updates)
│ ├── module - Module service to receive datatypes, functions and flow types from aquila
Expand Down
21 changes: 21 additions & 0 deletions proto/sagittarius_gateway/sagittarius_gateway.runtime_usage.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
syntax = "proto3";

package sagittarius_gateway;

import "shared.errors.proto";
import "shared.runtime_usage.proto";

option ruby_package = "Tucana::Sagittarius::Gateway";

message RuntimeUsageRequest {
repeated shared.RuntimeUsage runtime_usage = 1;
}

message RuntimeUsageResponse {
bool success = 1;
optional shared.ServiceError error = 2;
}

service RuntimeUsageService {
rpc Update(RuntimeUsageRequest) returns (RuntimeUsageResponse) {}
}
21 changes: 21 additions & 0 deletions proto/sagittarius_rails/sagittarius_rails.runtime_usage.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
syntax = "proto3";

package sagittarius_rails;

import "shared.errors.proto";
import "shared.runtime_usage.proto";

option ruby_package = "Tucana::Sagittarius::Rails";

message RuntimeUsageRequest {
repeated shared.RuntimeUsage runtime_usage = 1;
}

message RuntimeUsageResponse {
bool success = 1;
optional shared.ServiceError error = 2;
}

service RuntimeUsageService {
rpc Update(RuntimeUsageRequest) returns (RuntimeUsageResponse) {}
}
10 changes: 10 additions & 0 deletions proto/shared/shared.runtime_usage.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
syntax = "proto3";

package shared;

option ruby_package = "Tucana::Shared";

message RuntimeUsage {
int64 flow_id = 1;
int64 duration = 2;
}
Loading