Skip to content

feat(ecosystem): add Togul OFREP API - #1557

Merged
jonathannorris merged 1 commit into
open-feature:mainfrom
onurkacmaz:feat/togul-ofrep
Oct 8, 2026
Merged

jonathannorris merged 1 commit into
open-feature:mainfrom
onurkacmaz:feat/togul-ofrep

Conversation

@onurkacmaz

@onurkacmaz onurkacmaz commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

This PR

Adds Togul to the ecosystem as an OFREP API implementation:

  • POST /ofrep/v1/evaluate/flags/{key}: single-flag evaluation.
  • POST /ofrep/v1/evaluate/flags: bulk evaluation with ETag / If-None-Match (304).
  • eventStreams in the bulk response: an SSE endpoint that sends refetchEvaluation when a flag in the environment changes.
  • CORS open for browser clients (X-API-Key, If-None-Match allowed; ETag exposed).

Tested against @openfeature/ofrep-provider, @openfeature/ofrep-web-provider (bulk), the Go contrib ofrep provider and openfeature-provider-ofrep (Python). Values and reasons matched on every case: static, targeting, disabled, and flag-not-found.

The link points to Togul's OFREP API reference: https://togul.io/docs/en/api/ofrep

Also adds the monochrome togul-no-fill.svg logo. It is identical to the one in the providers PR, #1556.

@netlify

netlify Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for openfeature ready!

Name Link
🔨 Latest commit d0ff0da
🔍 Latest deploy log https://app.netlify.com/projects/openfeature/deploys/6ac3c45bf9e8e100080f2cb6
😎 Deploy Preview https://deploy-preview-1557--openfeature.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c902de7f-a4ad-495b-a6b9-b14da7a2d1eb
📥 Commits

Reviewing files that changed from the base of the PR and between 941b944 and d0ff0da.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: b3e57de0-8f7c-4896-9439-35eeb375a26f

📥 Commits

Reviewing files that changed from the base of the PR and between 6f5ded3 and 45aff56.

⛔ Files ignored due to path filters (1)
  • static/img/togul-no-fill.svg is excluded by !**/*.svg
📒 Files selected for processing (2)
  • src/datasets/ofrep-api/index.ts
  • src/datasets/ofrep-api/togul.ts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The OFREP API catalog adds a Togul configuration with its logo, description, documentation URL, and official-vendor flag. The catalog transforms Togul into an ecosystem entry.

Changes

OFREP API catalog

Layer / File(s) Summary
Define and register Togul
src/datasets/ofrep-api/togul.ts, src/datasets/ofrep-api/index.ts
The new Togul configuration includes its logo, description, documentation URL, and official-vendor flag. The catalog imports Togul and includes it in the ecosystem transformation.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Feature

Suggested reviewers: aepfli

Merge Risk: ⚪ Minimal · up to 45aff

Togul is now listed in the OFREP catalog and ecosystem dataset, with working documentation and matching feature details. No actionable merge risk was identified.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely identifies the addition of Togul as an OFREP API ecosystem entry.
Description check ✅ Passed The description directly explains the Togul OFREP API support, tested behavior, documentation, and logo addition.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Comment @coderabbitai help to get the list of available commands.

@onurkacmaz
onurkacmaz marked this pull request as ready for review September 27, 2026 18:22
@onurkacmaz
onurkacmaz requested review from a team as code owners September 27, 2026 18:22
Comment thread static/img/togul-no-fill.svg Outdated
@jonathannorris

Copy link
Copy Markdown
Member

@onurkacmaz can you rebase this PR now that the other one has landed.

Signed-off-by: Onur Kaçmaz <kacmaz.onur@hotmail.com>
@onurkacmaz

Copy link
Copy Markdown
Contributor Author

@jonathannorris Rebased onto main, thanks! The logo now comes from #1556, so this PR only touches the OFREP dataset files.

@jonathannorris
jonathannorris added this pull request to the merge queue Oct 8, 2026
Merged via the queue into open-feature:main with commit daa4961 Oct 8, 2026
7 checks passed
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.

2 participants