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: Add metadata endpoint #9

Merged
merged 12 commits into from
Apr 19, 2024
Merged

feat: Add metadata endpoint #9

merged 12 commits into from
Apr 19, 2024

Conversation

thomaspoignant
Copy link
Member

@thomaspoignant thomaspoignant commented Apr 7, 2024

This PR

This PR adds the support of a new endpoint /ofrep/v1/configuration in the OFREP OpenAPI spec.
This new endpoint is here to be able to expose some information about the flag management system to the generic provider.

This endpoint will be called during the initialization of the provider and will allow the provider to configure itself based on the configuration received.

This endpoint will return basic information such as the name of the flag management system.
But also what features are supported by the remote flag management systems, and basic remote configuration on how the provider should behave.

This 1st version does not contain a lot of possible configuration, but we will be able to extend it as we continue to evolve the OpenFeature Remote Evaluation Protocol.

Signed-off-by: Thomas Poignant <[email protected]>
service/openapi.yaml Outdated Show resolved Hide resolved
service/openapi.yaml Outdated Show resolved Hide resolved
service/openapi.yaml Outdated Show resolved Hide resolved
service/openapi.yaml Outdated Show resolved Hide resolved
Co-authored-by: Jonathan Norris <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
service/openapi.yaml Outdated Show resolved Hide resolved
Co-authored-by: Ryan Lamb <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
service/openapi.yaml Outdated Show resolved Hide resolved
service/openapi.yaml Outdated Show resolved Hide resolved
service/openapi.yaml Outdated Show resolved Hide resolved
service/openapi.yaml Outdated Show resolved Hide resolved
Signed-off-by: Thomas Poignant <[email protected]>
service/openapi.yaml Show resolved Hide resolved
service/openapi.yaml Outdated Show resolved Hide resolved
service/openapi.yaml Outdated Show resolved Hide resolved
Signed-off-by: Thomas Poignant <[email protected]>
Signed-off-by: Thomas Poignant <[email protected]>
@thomaspoignant thomaspoignant merged commit 8180f1f into main Apr 19, 2024
2 checks passed
@thomaspoignant thomaspoignant deleted the metadata-endpoint branch April 19, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants