Commit Graph

63 Commits

Author SHA1 Message Date
Christopher Kolstad 54d28471f7 fix: openapi spec should only include base path once (#1755)
* fix: openapi spec should only include base path once
2022-06-27 15:39:08 +02:00
Ivar Conradi Østhus bec32f726b fix: correct oas for creating feature toggle 2022-02-24 08:24:47 +01:00
Ivar Conradi Østhus d8478dd928 feat: clean up events (#1089)
Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-11-12 13:15:51 +01:00
Ivar Conradi Østhus 998dc2e977 fix: remove swagger.json poc 2021-10-01 13:21:41 +02:00
Ivar Conradi Østhus 14bbc9c1ad fix: oas docs on root 2021-08-27 12:10:53 +02:00
Christopher Kolstad 406f0554cf Docusaurusv2 (#864)
feat: Upgraded to Docusaurus v2

closes: #771
2021-06-04 11:17:15 +02:00
Ivar Conradi Østhus 35eaa70586 doc: correct /api/client/features examples
fixes: #852
2021-05-25 21:29:36 +02:00
Ivar Conradi Østhus bcc2d913cc fix: more docs 2021-05-18 13:22:28 +02:00
Ivar Conradi Østhus 1530be70a8 fix: doc linkts to api-token 2021-05-18 12:07:07 +02:00
Christopher Kolstad c224786f29 feat: update docs to match v4.
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
2021-05-18 11:19:33 +02:00
Ivar Conradi Østhus 1152272ed6 chore: add docs for context api (#762) 2021-03-12 19:08:18 +01:00
Alexis Degrugillier 0f60fd075a chore: Fix documentation typos (#758)
Co-authored-by: Alexis Degrugillier <alexis.degrugillier@duproprio.com>
2021-03-09 21:44:45 +01:00
Ivar Conradi Østhus c4c33c1f4a chore: add docs for health 2021-02-25 16:55:18 +01:00
Ivar Conradi Østhus 17c8fe7710 feat: Introduce addon framework
fixes: #587

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2021-02-05 15:20:00 +01:00
Christopher Kolstad e555118cb1 feat: Add filterquery support for toggles
- For now supports
   - tag
   - project
   - namePrefix

fixes: #690
2021-01-26 14:14:07 +01:00
gazconroy 9e31800bf4 chore: Update Open API specification (#686) 2021-01-25 07:57:40 +01:00
Jonas Uekötter 7c5b914513 Fix typo in /api/client/features docs (#694) 2021-01-25 07:54:50 +01:00
Christopher Kolstad ef19dfa7cb Support deprecating and reactivating strategies
fixes: #682
2021-01-21 15:53:24 +01:00
Christopher Kolstad 6b12c8bca3 Add link to tags API from api/index 2021-01-21 12:53:15 +01:00
Christopher Kolstad c17a1980a2 Add service layer
This simplifies stores to just be storage interaction, they no longer react to events.

Controllers now call services and awaits the result from the call.

When the service calls are returned the database is updated.
This simplifies testing dramatically, cause you know that your state is
updated when returned from a call, rather than hoping the store has
picked up the event (which really was a command) and reacted to it.

Events are still emitted from eventStore, so other parts of the app can
react to events as they're being sent out.

As part of the move to services, we now also emit an application-created
event when we see a new client application.

Fixes: #685
Fixes: #595
2021-01-21 10:59:19 +01:00
Christopher Kolstad 5cd2a38cd4 Add notes about tag and tag-type events 2021-01-19 16:15:59 +01:00
Christopher Kolstad 43801f1f13 Add Tags and tag types
- First iteration of api for tags and tag-types
- Documentation in place
- Adds three new tables
   - tag_types
   - tags
   - feature_tag
- Tagging a feature is adding a row in the feature_tag
  join table

* #665

Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-01-14 13:09:05 +01:00
gazconroy 86b2a4f5ad fix: Swagger to redoc (#678)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-01-06 14:24:39 +01:00
Ivar Conradi Østhus cdfba8f7b1 feat: Adds last-seen dat on toggles
When an application updates metrics for a toggle we now
stores the timestamp on the toggle when it was last seen
used by an application. This will make it much easier to
detect toggles not in use anymore.

closes #642
2020-12-22 11:05:00 +01:00
Ivar Conradi Østhus f2e4b69562 chore(docs): Add link to Open API specifications 2020-12-15 13:42:22 +01:00
gazconroy e4f7aaa970 fix: OpenApi - Added Client API calls (#667)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2020-12-15 09:14:00 +01:00
Ivar Conradi Østhus cb7a6d63af fix: typo in OAS servers 2020-12-03 21:34:13 +01:00
Ivar Conradi Østhus 3bf01b803a fix: add support for basic auth with simple-auth (#659) 2020-12-03 21:29:01 +01:00
Ivar Conradi Østhus e3bfe2c6d0 fix: remove unused github action 2020-12-03 21:23:51 +01:00
Ivar Conradi Østhus 29ae780421 fix: add heroku server to openapi servers 2020-12-03 21:20:52 +01:00
gazconroy c7c2f17bd0 feat: First draft of admin Open API specification (OAS) (#652)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2020-12-03 21:09:16 +01:00
Ivar Conradi Østhus 9c384dfae7 feat: Allow migration style import (#645) 2020-11-03 14:56:07 +01:00
Ivar Conradi Østhus 3f44c85216 fix: Variants missing from client API docs
closes #632
2020-11-01 20:51:31 +01:00
Ivar Conradi Østhus 9052a5a5df fix(docs): wrong id for feature-types 2020-10-30 13:44:13 +01:00
Ivar Conradi Østhus 2221322e22 fix: Add api documentation for strategy constraints.
closes: #637
2020-10-30 09:16:54 +01:00
nickcox ec81abed63 Fix: typo in metrics-api.md (#643) 2020-10-12 07:59:59 +02:00
Ivar Conradi Østhus 83dda55172 feat: add stale property on toggle (#619) 2020-08-07 10:46:35 +02:00
Ivar Conradi Østhus 6568457ed8 feat: Add support for toggle types (#618) 2020-08-06 11:18:52 +02:00
Joshua Mentzer 89536c57aa chore: toggle/on|off documentation added (#515) 2020-02-20 08:34:31 +01:00
Benjamin Ludewig 4ecf68d015 chore: update import/export documentation 2020-02-20 08:34:22 +01:00
ivaosthu c25e994322 fix: Update variant protocol 2020-02-20 08:34:20 +01:00
Juan Hoyos 3623052c36 feat: Added feature toggle variants 2020-02-20 08:34:20 +01:00
ivaosthu 26380e6e60 chore(changelog): prepare 3.1.3 release 2020-02-20 08:34:16 +01:00
ivaosthu 8a53d8dca2 chore: Fix formatting all the things 2020-02-20 08:34:15 +01:00
ivaosthu 0c2d58b984 chore(documentation): Added Docusaurus with a website
fixes #355
2020-02-20 08:34:14 +01:00
Arjan 5cf5bc20c4 Fix typo 2020-02-20 08:34:14 +01:00
ivaosthu ddad9e27a3 fix(clientApi): Add namePrefix paramter to /api/client/features
Allows the client to limit the response to name with the given prefix.
2020-02-20 08:34:14 +01:00
Denis Dzyubenko 570bdd9f90 Fixed typos and broken links in the documentation 2020-02-20 08:34:12 +01:00
ivaosthu bc359c2b82 feat(metrics): Expose toggle updates to prometheus
closes #323
2020-02-20 08:34:11 +01:00
Ivar Conradi Østhus 9d948b68c4 Update metrics-api.md 2020-02-20 08:34:05 +01:00