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

18 Commits

Author SHA1 Message Date
andsandv
4f1ccc426d Add events test 2020-02-20 08:30:12 +01:00
andsandv
ed2f1a5d8d Add healtcheck unit test 2020-02-20 08:30:12 +01:00
Ivar Conradi Østhus
f68cd65a9a amend 2020-02-20 08:30:09 +01:00
Ivar Conradi Østhus
bd8aecc664 Patch events should update features. 2020-02-20 08:30:09 +01:00
Ivar Conradi Østhus
7e48350b83 #18 Use real-db instead of dbMock to fetch feature toggles. 2020-02-20 08:30:09 +01:00
Jari Bakken
11865c7612 Don't hardcode port in several places 2020-02-20 08:30:09 +01:00
Ivar Conradi Østhus
ed418bc687 Added fix where we mock database 2020-02-20 08:30:09 +01:00
Ivar Conradi Østhus
826f9d56e2 #18 storing events when they are created.
Also introduced mockery to mock db-access. Here we probably
need better modularisation and/or better dependecy management
(injecting of deps?).
2020-02-20 08:30:09 +01:00
Ivar Conradi Østhus
a1b0deaba0 Fixed failing validations 2020-02-20 08:30:08 +01:00
Ivar Conradi Østhus
60d2132c42 Fixed jshint complaints 2020-02-20 08:30:08 +01:00
Ivar Conradi Østhus
1c864bead4 refactored eventStore 2020-02-20 08:30:08 +01:00
Ivar Conradi Østhus
03edb7601b renamed api to feature-api 2020-02-20 08:30:08 +01:00
andsandv
3dd35fcf71 Rename eventRepository to eventStore 2020-02-20 08:30:08 +01:00
andsandv
f4fd92d254 #13 Sending in a patch request when updating enabled flag 2020-02-20 08:30:08 +01:00
svelovla
6047f9494e #18 eventRepository can now emit events
There is an example in eventRepositorySpec on how to listen on events.
2020-02-20 08:30:08 +01:00
svelovla
b575f646eb #18 feature-update event example 2020-02-20 08:30:07 +01:00
svelovla
290a124aef #8 mocked api respons 2020-02-20 08:30:06 +01:00
ivaosthu
4a84149b63 Closes #16 - Initial express based server setup.
To start server locally:
npm run start-dev

To execute tests:
npm test
2020-02-20 08:30:06 +01:00