Skip to content

Commit

Permalink
chore: add schedule update field to feature proto message
Browse files Browse the repository at this point in the history
Signed-off-by: Alessandro Yuichi Okimoto <yuichijpn@gmail.com>
  • Loading branch information
cre8ivejp committed Feb 5, 2025
1 parent e228d0d commit aeb5a85
Show file tree
Hide file tree
Showing 12 changed files with 524 additions and 55 deletions.
13 changes: 13 additions & 0 deletions api-description/apidocs.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2420,6 +2420,11 @@ definitions:
$ref: '#/definitions/featurePrerequisite'
samplingSeed:
type: string
scheduleUpdate:
type: array
items:
type: object
$ref: '#/definitions/featureScheduleUpdate'
featureFeatureLastUsedInfo:
type: object
properties:
Expand Down Expand Up @@ -2511,6 +2516,14 @@ definitions:
items:
type: object
$ref: '#/definitions/featureClause'
featureScheduleUpdate:
type: object
properties:
feature:
$ref: '#/definitions/featureFeature'
updateAt:
type: string
format: int64
featureSegmentUser:
type: object
properties:
Expand Down
13 changes: 13 additions & 0 deletions api-description/web-api.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7509,6 +7509,11 @@ definitions:
$ref: '#/definitions/featurePrerequisite'
samplingSeed:
type: string
scheduleUpdate:
type: array
items:
type: object
$ref: '#/definitions/featureScheduleUpdate'
featureFeatureLastUsedInfo:
type: object
properties:
Expand Down Expand Up @@ -7776,6 +7781,14 @@ definitions:
items:
type: object
$ref: '#/definitions/bucketeerfeatureClause'
featureScheduleUpdate:
type: object
properties:
feature:
$ref: '#/definitions/featureFeature'
updateAt:
type: string
format: int64
featureSegment:
type: object
properties:
Expand Down
2 changes: 1 addition & 1 deletion manifests/bucketeer/charts/api/values.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions manifests/bucketeer/charts/web/values.yaml

Large diffs are not rendered by default.

Binary file modified proto/auditlog/proto_descriptor.pb
Binary file not shown.
189 changes: 139 additions & 50 deletions proto/feature/feature.pb.go

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

6 changes: 6 additions & 0 deletions proto/feature/feature.proto
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ message Feature {
bool archived = 20;
repeated Prerequisite prerequisites = 21;
string sampling_seed = 22;
repeated ScheduleUpdate schedule_update = 23;
}

message Features {
Expand All @@ -71,3 +72,8 @@ message Tag {
int64 updated_at = 3;
string name = 4;
}

message ScheduleUpdate {
Feature feature = 1;
int64 update_at = 2;
}
Binary file modified proto/feature/proto_descriptor.pb
Binary file not shown.
Binary file modified proto/gateway/proto_descriptor.pb
Binary file not shown.
21 changes: 21 additions & 0 deletions proto/proto.lock
Original file line number Diff line number Diff line change
Expand Up @@ -25662,6 +25662,12 @@
"id": 22,
"name": "sampling_seed",
"type": "string"
},
{
"id": 23,
"name": "schedule_update",
"type": "ScheduleUpdate",
"is_repeated": true
}
]
},
Expand Down Expand Up @@ -25721,6 +25727,21 @@
"type": "string"
}
]
},
{
"name": "ScheduleUpdate",
"fields": [
{
"id": 1,
"name": "feature",
"type": "Feature"
},
{
"id": 2,
"name": "update_at",
"type": "int64"
}
]
}
],
"imports": [
Expand Down
Loading

0 comments on commit aeb5a85

Please sign in to comment.