feat: sequence and timestamp on searchrequests (#468)

* feat: reread events

* feat: sequence and timestamo on search requests

* feat: sequence and timestamo on search requests

* fix: better naming

* fix: log errors

* fix: read sequence before search request
This commit is contained in:
Fabi
2020-07-15 13:24:36 +02:00
committed by GitHub
parent 87155f8c9e
commit 423b86a03b
102 changed files with 7389 additions and 6302 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1498,6 +1498,8 @@ message UserSearchResponse {
uint64 limit = 2;
uint64 total_result = 3;
repeated UserView result = 4;
uint64 processed_sequence = 5;
google.protobuf.Timestamp view_timestamp = 6;
}
enum SearchMethod {
@@ -1859,6 +1861,8 @@ message OrgDomainSearchResponse {
uint64 limit = 2;
uint64 total_result = 3;
repeated OrgDomainView result = 4;
uint64 processed_sequence = 5;
google.protobuf.Timestamp view_timestamp = 6;
}
message OrgDomainSearchRequest {
@@ -1909,6 +1913,8 @@ message OrgMemberSearchResponse {
uint64 limit = 2;
uint64 total_result = 3;
repeated OrgMemberView result = 4;
uint64 processed_sequence = 5;
google.protobuf.Timestamp view_timestamp = 6;
}
message OrgMemberView {
@@ -1957,6 +1963,8 @@ message ProjectSearchResponse {
uint64 limit = 2;
uint64 total_result = 3;
repeated ProjectView result = 4;
uint64 processed_sequence = 5;
google.protobuf.Timestamp view_timestamp = 6;
}
message ProjectView {
@@ -2089,6 +2097,8 @@ message ProjectRoleSearchResponse {
uint64 limit = 2;
uint64 total_result = 3;
repeated ProjectRoleView result = 4;
uint64 processed_sequence = 5;
google.protobuf.Timestamp view_timestamp = 6;
}
message ProjectRoleSearchRequest {
@@ -2127,6 +2137,8 @@ message ProjectMemberSearchResponse {
uint64 limit = 2;
uint64 total_result = 3;
repeated ProjectMemberView result = 4;
uint64 processed_sequence = 5;
google.protobuf.Timestamp view_timestamp = 6;
}
message ProjectMemberSearchRequest {
@@ -2253,6 +2265,8 @@ message ApplicationSearchResponse {
uint64 limit = 2;
uint64 total_result = 3;
repeated ApplicationView result = 4;
uint64 processed_sequence = 5;
google.protobuf.Timestamp view_timestamp = 6;
}
message ApplicationSearchRequest {
@@ -2327,6 +2341,8 @@ message ProjectGrantSearchResponse {
uint64 limit = 2;
uint64 total_result = 3;
repeated ProjectGrantView result = 4;
uint64 processed_sequence = 5;
google.protobuf.Timestamp view_timestamp = 6;
}
message GrantedProjectSearchRequest {
@@ -2404,6 +2420,8 @@ message ProjectGrantMemberSearchResponse {
uint64 limit = 2;
uint64 total_result = 3;
repeated ProjectGrantMemberView result = 4;
uint64 processed_sequence = 5;
google.protobuf.Timestamp view_timestamp = 6;
}
message ProjectGrantMemberSearchRequest {
@@ -2538,6 +2556,8 @@ message UserGrantSearchResponse {
uint64 limit = 2;
uint64 total_result = 3;
repeated UserGrantView result = 4;
uint64 processed_sequence = 5;
google.protobuf.Timestamp view_timestamp = 6;
}
message UserGrantSearchRequest {