Skip to content

Commit

Permalink
chore(proto): add get feature flags and segment users to api ID (#969)
Browse files Browse the repository at this point in the history
* chore(proto): add get feature flags and segment users to api ID

Signed-off-by: Alessandro Yuichi Okimoto <[email protected]>

* chore(proto): update generated proto files

Signed-off-by: Alessandro Yuichi Okimoto <[email protected]>

* chore: add sdk get variation ID

Signed-off-by: Alessandro Yuichi Okimoto <[email protected]>

---------

Signed-off-by: Alessandro Yuichi Okimoto <[email protected]>
  • Loading branch information
cre8ivejp authored May 31, 2024
1 parent b400a38 commit 5375af5
Show file tree
Hide file tree
Showing 9 changed files with 59 additions and 25 deletions.
2 changes: 1 addition & 1 deletion manifests/bucketeer/charts/api-gateway/values.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion manifests/bucketeer/charts/web-gateway/values.yaml

Large diffs are not rendered by default.

57 changes: 35 additions & 22 deletions proto/event/client/event.pb.go

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

3 changes: 3 additions & 0 deletions proto/event/client/event.proto
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ enum ApiId {
GET_EVALUATION = 1;
GET_EVALUATIONS = 2;
REGISTER_EVENTS = 3;
GET_FEATURE_FLAGS = 4;
GET_SEGMENT_USERS = 5;
SDK_GET_VARIATION = 100;
}

message LatencyMetricsEvent {
Expand Down
Binary file modified proto/eventcounter/proto_descriptor.pb
Binary file not shown.
Binary file modified proto/gateway/proto_descriptor.pb
Binary file not shown.
12 changes: 12 additions & 0 deletions proto/proto.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4513,6 +4513,18 @@
{
"name": "REGISTER_EVENTS",
"integer": 3
},
{
"name": "GET_FEATURE_FLAGS",
"integer": 4
},
{
"name": "GET_SEGMENT_USERS",
"integer": 5
},
{
"name": "SDK_GET_VARIATION",
"integer": 100
}
]
}
Expand Down
3 changes: 3 additions & 0 deletions ui/web-v2/apps/admin/src/proto/event/client/event_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,9 @@ export interface ApiIdMap {
GET_EVALUATION: 1;
GET_EVALUATIONS: 2;
REGISTER_EVENTS: 3;
GET_FEATURE_FLAGS: 4;
GET_SEGMENT_USERS: 5;
SDK_GET_VARIATION: 100;
}

export const ApiId: ApiIdMap;
Expand Down
5 changes: 4 additions & 1 deletion ui/web-v2/apps/admin/src/proto/event/client/event_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -5856,7 +5856,10 @@ proto.bucketeer.event.client.ApiId = {
UNKNOWN_API: 0,
GET_EVALUATION: 1,
GET_EVALUATIONS: 2,
REGISTER_EVENTS: 3
REGISTER_EVENTS: 3,
GET_FEATURE_FLAGS: 4,
GET_SEGMENT_USERS: 5,
SDK_GET_VARIATION: 100
};

goog.object.extend(exports, proto.bucketeer.event.client);

0 comments on commit 5375af5

Please sign in to comment.