1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
Commit Graph

1599 Commits

Author SHA1 Message Date
Christopher Kolstad
c69e556d59
Updated changelog to include servicelayer and event-types, new event 2021-01-21 15:40:13 +01:00
Christopher Kolstad
6b12c8bca3
Add link to tags API from api/index 2021-01-21 12:53:15 +01:00
Christopher Kolstad
e9c233c188
Merge pull request #687 from Unleash/feat-685-service-layer
Service layer
2021-01-21 12:31:41 +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
6ef2916200
Update frontend to latest bugfix 2021-01-21 10:16:44 +01:00
Christopher Kolstad
5cd2a38cd4
Add notes about tag and tag-type events 2021-01-19 16:15:59 +01:00
Ivar Conradi Østhus
dedb506734 fix: bug in migration droping wrong table 2021-01-19 10:00:07 +01:00
Ivar Conradi Østhus
80ef17422b fix: remove pg_virtualenv scripts 2021-01-19 09:43:19 +01:00
Christopher Kolstad
f8b5443afe
Merge pull request #679 from Unleash/FEAT-665-tags
Tag API.
2021-01-18 10:14:40 +01:00
Christopher Kolstad
52e713e2d4
Include 3.9.0 of Unleash frontend 2021-01-18 10:10:46 +01:00
Christopher Kolstad
e69e90e6f8
Changelog 2021-01-18 09:19:38 +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
Christopher Kolstad
9c170f269c
Add pull_request and remove pull_request_target 2021-01-07 14:42:31 +01:00
Ivar Conradi Østhus
95b7603f07 fix: upgrade unleash-frontend to 3.8.4 2021-01-06 22:33:44 +01:00
Ivar Conradi Østhus
f22233c3d7 fix: make github action use correct ref for pull-requests 2021-01-06 19:40:01 +01:00
Ivar Conradi Østhus
0c6eb9dd92 fix: run on all pull_requests regardless of branch 2021-01-06 18:06:56 +01:00
Ivar Conradi Østhus
a1ac0249a9 fix: cleanup test console output 2021-01-06 18:06:56 +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
e279a700b8 fix: add unit test for lastSeenAt being updated 2020-12-22 11:05:00 +01:00
Ivar Conradi Østhus
834010982e fix: DROP schema before create 2020-12-22 11:05:00 +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
82b0a579e3 fix: avoid github actions running twice on PRs 2020-12-21 15:58:07 +01:00
Ivar Conradi Østhus
ac9e3fc55e 3.9.0 2020-12-17 19:50:36 +01:00
Ivar Conradi Østhus
f86b734b30 chore: update changelog 2020-12-17 19:45:16 +01:00
Ivar Conradi Østhus
79fc089a35 fix: stateService undefined 2020-12-17 19:43:01 +01:00
Laurent Dezitter
97b2c4985b
test(server-impl): remove focus on test (#674) 2020-12-17 09:41:19 +01:00
Ivar Conradi Østhus
71eb88c847 fix: this.timer merge conflict 2020-12-16 14:56:48 +01:00
Laurent Dezitter
5857f0e58d
feat: add stop() method to gracefully terminate unleash (#665) 2020-12-16 14:49:11 +01:00
Ivar Conradi Østhus
db51104198 3.8.0 2020-12-15 13:54:02 +01:00
Ivar Conradi Østhus
43b9948fd7 chore: update changelog 2020-12-15 13:53:45 +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
f9d09cf871 fix: upgrade unleash-frontend to 3.8.2 2020-12-15 13:30:59 +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
7c3ef57192 fix: upgrade unleash-frontend to 3.8.1 2020-12-14 23:11:19 +01:00
dependabot[bot]
b4b3f06d8d
chore(deps): bump ini from 1.3.5 to 1.3.7 in /website (#671)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 21:18:53 +01:00
Ivar Conradi Østhus
9f7beb84c9 fix: run build also for external PRs 2020-12-11 14:50:38 +01:00
dependabot[bot]
2f5e076699
chore(deps): bump ini from 1.3.5 to 1.3.7 (#670)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-11 14:49:23 +01:00
Ivar Conradi Østhus
5a852c779a fix: eslint ignorePatterns for OAS 2020-12-04 09:33:50 +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
abc93d55da feat: upgrade unleash-frontend to version 3.8.0 2020-11-27 22:28:49 +01:00
Ivar Conradi Østhus
143fed72dc fix: add import options as part of environment variables
closes https://github.com/Unleash/unleash-docker/issues/21
2020-11-25 20:22:56 +01:00
dependabot[bot]
c9d3fe6d3d chore(deps): bump highlight.js from 9.17.1 to 9.18.5 in /website
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.17.1 to 9.18.5.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/9.18.5/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.17.1...9.18.5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-25 07:26:35 +01:00
Ivar Conradi Østhus
a88f6d04ac fix: bump dev-deps for security 2020-11-24 12:51:59 +01:00