Commit Graph

49 Commits

Author SHA1 Message Date
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
Gard Rimestad 601a7fc0b1 adding npm install to travis 2020-02-20 08:30:06 +01:00
Jari Bakken 8c891af789 Fix grunt-liquibase 2020-02-20 08:30:06 +01:00
Gard Rimestad fc09749343 s/sever/server/g 2020-02-20 08:30:06 +01:00
Gard Rimestad ab79b83b27 Update travis build 2020-02-20 08:30:06 +01:00
svelovla 290a124aef #8 mocked api respons 2020-02-20 08:30:06 +01:00
Jari Bakken c09ad0b8a9 Add liquibase + basic schema 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
Jari Bakken 67d51ae82c Add jshintrc 2020-02-20 08:30:06 +01:00
Jari Bakken 2344cbb6c7 Add HipChat notifications 2020-02-20 08:30:06 +01:00
Jari Bakken 162554387b Add .travis.yml 2020-02-20 08:30:06 +01:00
Anders Olsen Sandvik 0da3777ae3 Create README.md 2020-02-20 08:30:05 +01:00
Jari Bakken f80d9a8827 Initial commit 2014-09-29 14:50:46 +02:00