Skip to content

Commit

Permalink
Update service.proto
Browse files Browse the repository at this point in the history
  • Loading branch information
jkralik authored May 23, 2024
1 parent 02a9ec7 commit e24ed0e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion snapshot-service/pb/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ message Condition { // driven by resource change event
repeated string resource_href_filter = 8; // @gotags: bson:"resourceHrefFilter,omitempty"
string jq_expression_filter = 9; // @gotags: bson:"jqExpressionFilter,omitempty"
// Token used to update resources in the configuration
string api_access_token = 10; // @gotags: bson:"-"
string api_access_token = 10; // @gotags: bson:"apiAccessToken,omitempty"
// Condition owner
string owner = 11; // @gotags: bson:"owner"
// Unix timestamp in ns when the condition has been created/updated
int64 timestamp = 12; // @gotags: bson:"timestamp"
}

message GetConditionsRequest { repeated IDFilter id_filter = 1; }
Expand All @@ -83,6 +85,8 @@ message Configuration {
string name = 3;
repeated Resource resources = 4;
string owner = 5;
// Unix timestamp in ns when the configuration has been created/updated
int64 timestamp = 6; // @gotags: bson:"timestamp"
}

message GetConfigurationsRequest { repeated IDFilter id_filter = 1; }
Expand Down Expand Up @@ -115,6 +119,8 @@ message AppliedDeviceConfiguration { //TODO naming
}
repeated Resource resources = 6; //TODO naming
string owner = 7;
// Unix timestamp in ns when the applied device configuration has been created/updated
int64 timestamp = 8; // @gotags: bson:"timestamp"
}

message InvokeConfigurationRequest {
Expand Down

0 comments on commit e24ed0e

Please sign in to comment.