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

166 Commits

Author SHA1 Message Date
andsandv
877e634c96 Its now autopolling 2014-10-23 15:30:38 +02:00
Ivar Conradi Østhus
f298215e1e #18 Use real-db instead of dbMock to fetch feature toggles. 2014-10-23 15:17:22 +02:00
andsandv
7cf5685eb1 #12 post new features 2014-10-23 15:16:09 +02:00
Jari Bakken
8e6ed4d73b Fail fast if DB is not configured 2014-10-23 14:39:50 +02:00
Jari Bakken
5f7319b903 Simplify DB setup / migrations 2014-10-23 14:37:10 +02:00
andsandv
97cd4c8704 #12 Add FeatureForm for new Features 2014-10-23 14:33:34 +02:00
Jari Bakken
cc383eea2c Change example to use psql 2014-10-23 14:14:55 +02:00
Jari Bakken
a12f679ed8 Don't hardcode port in several places 2014-10-23 14:13:17 +02:00
andsandv
91e615a04b Rewrite to use Bootstrap #23 and added JSXHint 2014-10-23 14:02:07 +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
Gard Rimestad
7868ba3f67 s/user/created_by/g in 001-initial-schema.up.sql 2014-10-23 10:50:01 +02:00
Gard Rimestad
67112a7cbb Rollback in correct order 2014-10-23 10:47:55 +02:00
Ivar Conradi Østhus
247d342be9 Fixed failing validations 2014-10-23 10:32:13 +02:00
Ivar Conradi Østhus
2244fd6c2e #18 added user as a column on events-table. 2014-10-23 10:25:17 +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
2ac5af4051 issue #18 - updated the inital db 2014-10-23 09:03:46 +02:00
Anders Olsen Sandvik
4c9702d041 Move badges to topline 2014-10-22 18:01:21 +02:00
Anders Olsen Sandvik
d59e6070fc Add Code climate 2014-10-22 17:12:21 +02:00
Ivar Conradi Østhus
1621fdca57 Fixed jshint complaints 2014-10-22 17:10:02 +02:00
andsandv
eabdf724db Ignore DS_Store 2014-10-22 17:07:16 +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
andsandv
93bf2b7e84 #13 Post enable change to server and update state 2014-10-22 14:05:36 +02:00
Ivar Conradi Østhus
85beb3e65b Added a simple util to perfom some manual testing to verify the client-server communication.
This must of course be fully automated.
2014-10-22 10:21:10 +02:00
svelovla
dfec426501 changed 'status' to 'enabled': true|false in mock data 2014-10-22 10:18:07 +02:00
Ivar Conradi Østhus
4e8d42ff55 Added a simple json-parsing via gson. 2014-10-22 09:19:36 +02:00
Gard Rimestad
4078ed8d38 add author to liquibase xml 2014-10-21 20:44:50 +02:00
Jari Bakken
44ed6a9162 Add React + a few components 2014-10-21 18:59:51 +02:00
Jari Bakken
7419e06986 Add descriptions to featuresMock 2014-10-21 18:56:47 +02:00
Gard Rimestad
599eee014a adding default target for finnbuild 2014-10-21 16:03:10 +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
Gard Rimestad
562c2c3d13 adding finnbuild config 2014-10-21 15:58:42 +02:00
Ivar Conradi Østhus
fefa158e6f Extended java-client to support the following:
* Unleash - the actual unleash client exposed to the clients.
* Toggle - represents a concrete feature toggle.
* ToggleRepository - the logic to communicate with the unleash-server.
* Strategy - implements the logic associated with strategies. I have also included to common strategies: "Default" and "Unknown".

related to issue #17.
2014-10-21 15:51:23 +02:00
svelovla
8eda373157 #18 any-db-postgres, dbPool.js 2014-10-21 15:28:10 +02:00
Jari Bakken
e15df86b8d Adding some styles to index.html 2014-10-21 14:30:46 +02:00
Jari Bakken
798ce805b9 Move mock feature data behind a naive db interface. 2014-10-21 13:10:15 +02:00
Jari Bakken
2a0e9eb0e7 Remove unused file 2014-10-21 12:02:55 +02:00
Ivar Conradi Østhus
aa20e61fd9 Update README.md 2014-10-21 09:07:12 +02:00
Ivar Conradi Østhus
a7207d6821 travis fix script. 2014-10-21 08:51:52 +02:00
ivaosthu
a7ba21bc6e minor typo, argghh! 2014-10-21 08:47:26 +02:00
ivaosthu
c9e3f18a3e A bit of a hack to support java and node.
[1] claims that node.js is available in all envs in travis.
This setup is not optimal as we now longer controll the
node version, but could work for now.

[1] http://stackoverflow.com/questions/18456611/is-it-possible-to-set-up-travis-to-run-tests-for-several-languages
2014-10-21 08:44:12 +02:00
Anders Olsen Sandvik
b238998406 Update README.md 2014-10-20 20:38:27 +02:00