Commit Graph

193 Commits

Author SHA1 Message Date
Ivar Conradi Østhus 24d2aa5dea chore: more docs 2021-02-25 22:27:11 +01:00
Ivar Conradi Østhus 26255b8d62 chore: docs 2021-02-25 21:00:19 +01:00
Ivar Conradi Østhus c4c33c1f4a chore: add docs for health 2021-02-25 16:55:18 +01:00
egilconr 1d9065aff1 chore: Improve our user documentation (#733)
Co-authored-by: Christopher Kolstad <chriswk@fastmail.com>
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
Co-authored-by: Eco C <egilconr@gmail.com>
2021-02-25 16:01:36 +01:00
Christopher Kolstad 153fd970bf chore: Add override information for version check to doc 2021-02-19 11:22:25 +01:00
Christopher Kolstad b83387a84a Add a version service (#729)
- Checks versions against https://version.unleash.run
- Generates a unique instance id (uuid)
2021-02-19 11:13:25 +01:00
Ivar Conradi Østhus 4f1d4df4b8 feat: allow stickiness on context-fields (#713)
* feat: allow stickiness on context-fields

* chore: docs for this feature

* fix: write a small e2e test

* fix: add stickiness to variants
2021-02-11 17:59:16 +01:00
Christopher Kolstad 0b510e6aa2 Merge pull request #710 from Unleash/fix-705-db-pool-tuning
Added explicit pool settings in options.db object
2021-02-08 12:35:22 +01:00
Christopher Kolstad e952ae20a8 Added explicit pool settings in options.db object
- Also adds metrics for min and max pool size
- Metrics for free/used connections.
- Metrics for pending and current acquires

fixes: #705
2021-02-08 10:54:20 +01:00
Ivar Conradi Østhus 1a7492a69c chore(docs): added some note to addon docs 2021-02-05 19:08:04 +01:00
Ivar Conradi Østhus 1486cdab52 fix: add docs for addons 2021-02-05 15:20:00 +01:00
Ivar Conradi Østhus 65996e72e0 fix: add unleashUrl option 2021-02-05 15:20:00 +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
Ivar Conradi Østhus 8f99f71156 chore: fix broken link in docs
fixes: https://github.com/Unleash/unleash.github.io/issues/6
2021-02-04 22:10:31 +01:00
Victor Login a320b6475d fix: Added the ability to specify db-schema via ENV (#702) 2021-02-02 12:40:42 +01:00
Fredrik Strand Oseberg 01074fd437 docs: update getting started guide with docker options (#697) 2021-01-27 20:11:41 +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
Ivar Conradi Østhus a26dea661d fix: add go SDK to list supporting variants 2021-01-11 09:32:21 +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
pmb 14ee8fcdcf chore(docs): Add NestJS client library reference 2020-12-24 15:22:05 +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
Ivar Conradi Østhus d1f4039b09 chore(docs): Clean up configuring unleash (#672) 2020-12-15 13:18:38 +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 9e48b5a2f4 fix: Replace travis with GitHub Actions
closes #656
2020-11-24 12:46:55 +01:00
Ivar Conradi Østhus 5f2b684f57 feat: stateServices only exposed via services object 2020-11-23 21:52:57 +01:00
Mathias Åhsberg 144e832cdc feat: Add support for explicitly set database version. (#654)
Co-authored-by: Mathias Åhsberg <mathias.ahsberg@resurs.se>
2020-11-20 11:37:56 +01:00
Ivar Conradi Østhus 3db40d012a chore(docs): Fix url typo in docs 2020-11-11 10:05:51 +01:00
avirogalsky 666237254c chore(docs): Add clojure client library reference (#647) 2020-11-11 09:28:06 +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 53f3d5e9a1 fix: clarify PostgreSQL version support 2020-10-30 09:56:17 +01:00
Ivar Conradi Østhus 5173edc991 fix: update list of SDKs supporting variants 2020-10-30 09:51:13 +01:00
Ivar Conradi Østhus 1f7e245e0b fix: add docs for disabled variant
closes #633
2020-10-30 09:22:01 +01:00
Ivar Conradi Østhus 2221322e22 fix: Add api documentation for strategy constraints.
closes: #637
2020-10-30 09:16:54 +01:00
Ivar Conradi Østhus e7e8605208 chore: fix typo in docs 2020-10-28 20:50:23 +01:00
nickcox ec81abed63 Fix: typo in metrics-api.md (#643) 2020-10-12 07:59:59 +02:00