1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

3412 Commits

Author SHA1 Message Date
Jari Bakken
d1f4b65c51 Fail fast if DB is not configured 2020-02-20 08:30:09 +01:00
Jari Bakken
3fc8131a43 Simplify DB setup / migrations 2020-02-20 08:30:09 +01:00
andsandv
cb88a15ee9 #12 Add FeatureForm for new Features 2020-02-20 08:30:09 +01:00
Jari Bakken
d727995959 Change example to use psql 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
andsandv
02ee6471ee Rewrite to use Bootstrap #23 and added JSXHint 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
03086cdd86 18 store feature when featureCreated-event is emitted 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
Gard Rimestad
7e8c15c30b s/user/created_by/g in 001-initial-schema.up.sql 2020-02-20 08:30:09 +01:00
Gard Rimestad
31a8a9adc8 Rollback in correct order 2020-02-20 08:30:08 +01:00
Ivar Conradi Østhus
a1b0deaba0 Fixed failing validations 2020-02-20 08:30:08 +01:00
Ivar Conradi Østhus
1c0d7c5944 #18 added user as a column on events-table. 2020-02-20 08:30:08 +01:00
Ivar Conradi Østhus
6715d0c4a0 #18 reading db-config from DATABASE_URL or ini-file 2020-02-20 08:30:08 +01:00
svelovla
8033a231e4 #12 added featureDb which recieves events feature-events and should update projection 2020-02-20 08:30:08 +01:00
Ivar Conradi Østhus
6f81468cb7 issue #18 - updated the inital db 2020-02-20 08:30:08 +01:00
Anders Olsen Sandvik
22d253a0db Move badges to topline 2020-02-20 08:30:08 +01:00
Anders Olsen Sandvik
e969d07003 Add Code climate 2020-02-20 08:30:08 +01:00
Ivar Conradi Østhus
60d2132c42 Fixed jshint complaints 2020-02-20 08:30:08 +01:00
andsandv
cfb1cd360a Ignore DS_Store 2020-02-20 08:30:08 +01:00
Ivar Conradi Østhus
303d091d7d EventStore should return a promise 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
andsandv
79098e3a5f #13 Post enable change to server and update state 2020-02-20 08:30:08 +01:00
Ivar Conradi Østhus
6554c1a694 Added a simple util to perfom some manual testing to verify the client-server communication.
This must of course be fully automated.
2020-02-20 08:30:07 +01:00
svelovla
4c003b7a20 changed 'status' to 'enabled': true|false in mock data 2020-02-20 08:30:07 +01:00
Ivar Conradi Østhus
6967c03964 Added a simple json-parsing via gson. 2020-02-20 08:30:07 +01:00
Gard Rimestad
265b68a9a6 add author to liquibase xml 2020-02-20 08:30:07 +01:00
Jari Bakken
145ee427cb Add React + a few components 2020-02-20 08:30:07 +01:00
Jari Bakken
784a471a06 Add descriptions to featuresMock 2020-02-20 08:30:07 +01:00
Gard Rimestad
b55aa5ad7f adding default target for finnbuild 2020-02-20 08:30:07 +01:00
svelovla
b575f646eb #18 feature-update event example 2020-02-20 08:30:07 +01:00
Ivar Conradi Østhus
dc54d8504a improved unleash-server api 2020-02-20 08:30:07 +01:00
Gard Rimestad
66f8b01181 adding finnbuild config 2020-02-20 08:30:07 +01:00
Ivar Conradi Østhus
0ed61a1f0f 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.
2020-02-20 08:30:07 +01:00
svelovla
2ca8291eac #18 any-db-postgres, dbPool.js 2020-02-20 08:30:07 +01:00
Jari Bakken
33acc4ea71 Adding some styles to index.html 2020-02-20 08:30:07 +01:00
Jari Bakken
f7fb65329c Move mock feature data behind a naive db interface. 2020-02-20 08:30:07 +01:00
Jari Bakken
b77112d948 Remove unused file 2020-02-20 08:30:07 +01:00
Ivar Conradi Østhus
7a51e1bd4c Update README.md 2020-02-20 08:30:07 +01:00
Ivar Conradi Østhus
65170f783f travis fix script. 2020-02-20 08:30:06 +01:00
ivaosthu
eb8a6b74f6 minor typo, argghh! 2020-02-20 08:30:06 +01:00
ivaosthu
0466d6da69 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
2020-02-20 08:30:06 +01:00
Anders Olsen Sandvik
098ec88388 Update README.md 2020-02-20 08:30:06 +01:00
Jari Bakken
59d6b99cd7 Add a script that generates a liquibase changelog. Should be internal. 2020-02-20 08:30:06 +01:00
Jari Bakken
3dddf791e6 Get rid of liquibase 2020-02-20 08:30:06 +01:00
ivaosthu
3e7062227b Initial java-client setup with jdk 1.7. Closes #17. 2020-02-20 08:30:06 +01:00