Skip to content

[FEATURE] implement the initial version of OFREP in flagd #1245

Closed

Description

@Kavindu-Dodan

Requirements

Background

With PR open-feature/protocol#2 already merged, OpenFeature now has the first version of the OFREP ready. Given that flagd is a popular subproject in OpenFeature, flagd should implement OFREP as a reference implementation.

Consider

When implementing the first version, consider the following tasks,

  • Expose OFREP endpoint from a dedicated port
  • Expose OFREP single flag implementation
  • Expose OFREP bulk evaluation
  • For the first version,
    • Avoid introducing a caching layer for bulk evaluation and keep the implementation simple
    • Avoid any filtering for bulk evaluation requests to keep the implementation simple
    • Use minimalistic libraries for request validation against models [1] & request routing [2]
    • Basic documentation with notification the implementation is experimental

AC

flagd expose OFREP and allow both individual and bulk flag evaluations

[1] - https://github.com/go-playground/validator
[2] - https://github.com/gorilla/mux

Activity

  1. added
    enhancement
    Needs Triage
    and removed
    Needs Triage
    on Mar 11, 2024
  2. added a commit that references this issue on Mar 27, 2024
    9d12fc2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions