1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
Commit Graph

22 Commits

Author SHA1 Message Date
Jari Bakken
5f7319b903 Simplify DB setup / migrations 2014-10-23 14:37:10 +02:00
Ivar Conradi Østhus
99a6f7403a Added fix where we mock database 2014-10-23 13:51:37 +02:00
Ivar Conradi Østhus
1a421f395d 18 store feature when featureCreated-event is emitted 2014-10-23 13:38:18 +02:00
Ivar Conradi Østhus
c991fed69c #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?).
2014-10-23 12:04:24 +02:00
Ivar Conradi Østhus
247d342be9 Fixed failing validations 2014-10-23 10:32:13 +02:00
Ivar Conradi Østhus
b76b4d2093 #18 reading db-config from DATABASE_URL or ini-file 2014-10-23 10:05:56 +02:00
svelovla
73668d79b5 #12 added featureDb which recieves events feature-events and should update projection 2014-10-23 09:50:23 +02:00
Ivar Conradi Østhus
1621fdca57 Fixed jshint complaints 2014-10-22 17:10:02 +02:00
Ivar Conradi Østhus
412292eb34 EventStore should return a promise 2014-10-22 17:07:09 +02:00
Ivar Conradi Østhus
d5b80c81eb refactored eventStore 2014-10-22 16:53:15 +02:00
Ivar Conradi Østhus
c8021e769a renamed api to feature-api 2014-10-22 16:39:07 +02:00
andsandv
9e92228f1a Rename eventRepository to eventStore 2014-10-22 16:26:36 +02:00
andsandv
8c643d4e8c #13 Sending in a patch request when updating enabled flag 2014-10-22 15:53:37 +02:00
svelovla
50b56fd7a1 #18 eventRepository can now emit events
There is an example in eventRepositorySpec on how to listen on events.
2014-10-22 15:35:43 +02:00
svelovla
dfec426501 changed 'status' to 'enabled': true|false in mock data 2014-10-22 10:18:07 +02:00
Jari Bakken
7419e06986 Add descriptions to featuresMock 2014-10-21 18:56:47 +02:00
svelovla
e5dbe0d210 #18 feature-update event example 2014-10-21 16:02:58 +02:00
Ivar Conradi Østhus
d2555fe710 improved unleash-server api 2014-10-21 15:59:30 +02:00
svelovla
8eda373157 #18 any-db-postgres, dbPool.js 2014-10-21 15:28:10 +02:00
Jari Bakken
798ce805b9 Move mock feature data behind a naive db interface. 2014-10-21 13:10:15 +02:00
svelovla
f93b61485e #8 mocked api respons 2014-10-20 15:12:30 +02:00
ivaosthu
1a68cecb11 Closes #16 - Initial express based server setup.
To start server locally:
npm run start-dev

To execute tests:
npm test
2014-10-20 13:03:43 +02:00