Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(rpc): initial prototype for the v2 environments API #3834

Merged
merged 2 commits into from
Jan 24, 2025
Merged

Conversation

GeorgeMac
Copy link
Member

Supports #3832

This is an initial draft of a v2 API based on proposal (2) in this issue comment: #3832 (comment)

I will update with more details as I make progress removing dead code and rewiring new service definitions.

rpc/v2/environments/request.go Outdated Show resolved Hide resolved
@@ -0,0 +1,122 @@
syntax = "proto3";

package environments;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do these need to be globally unique? i don't remember. ie flipt.environments?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't in this world where I replicated what we do in flipt cloud.
Here rpc/v2/environments is its own root package.
It lives alongside the legacy v1 rpc/flipt.

@GeorgeMac GeorgeMac requested a review from markphelps January 24, 2025 13:13
@GeorgeMac GeorgeMac marked this pull request as ready for review January 24, 2025 14:59
@GeorgeMac GeorgeMac requested a review from a team as a code owner January 24, 2025 14:59
@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Jan 24, 2025
Copy link
Collaborator

@markphelps markphelps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@GeorgeMac GeorgeMac merged commit 81a1538 into v2 Jan 24, 2025
4 of 29 checks passed
@GeorgeMac GeorgeMac deleted the gm/v2-rpc branch January 24, 2025 16:20
markphelps added a commit that referenced this pull request Jan 27, 2025
…nv-config

* 'env-config' of https://github.com/flipt-io/flipt:
  feat(rpc): initial prototype for the v2 environments API (#3834)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XXL This PR changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants