giacung
98cd0663ff
Health check should verify that it can talk to the toggle-store (aka DB).
...
This commit fixes #103 by doing a simple select against the features table.
2020-02-20 08:30:24 +01:00
ivaosthu
f1ec73fae2
Rewrote failing test
2020-02-20 08:30:23 +01:00
eirslett
4c9626b6a3
Remove envconsul from Dockerfile
...
The open source version of Unleash shouldn't depend on envconsul,
since that's an internal operations detail at FINN.no. Instead, we
accept configuration from environment variables passed through from
the "docker run" command, or via Marathon/Mesos.
2020-02-20 08:30:23 +01:00
Stig Kleppe-Jørgensen
0acee571f1
Use easier method for installing envconsul
...
Now when a bigger and more complete parent image is used, the curl and
tar tools are feature complete.
2020-02-20 08:30:23 +01:00
Gard Rimestad
7a3fb90069
Start pushing docker images to internal docker registry
2020-02-20 08:30:23 +01:00
Gard Rimestad
71dc3206b3
Adding docker build to finnbuild.json
2020-02-20 08:30:23 +01:00
audstran
e800ad7a85
added docker container and vagrant
2020-02-20 08:30:23 +01:00
Stig Kleppe-Jørgensen
93a05ef666
Make the app runnable with docker-compose
2020-02-20 08:30:23 +01:00
Stig Kleppe-Jørgensen
4854ca58e7
Add files for creating docker image
...
* Base on a small node image (alpine-node)
* Exclude some files from docker build to make the build go faster
2020-02-20 08:30:23 +01:00
Anders Olsen Sandvik
c9ffd81b2d
Add Slack integration
2020-02-20 08:30:23 +01:00
ivaosthu
87fe098851
Webpack should build for production
2020-02-20 08:30:23 +01:00
Ivar Conradi Østhus
0a9ee1309a
Added headers to all pages
2020-02-20 08:30:23 +01:00
Ivar Conradi Østhus
0c836bef36
Application states should be loaded as high up as possible
2020-02-20 08:30:23 +01:00
ivaosthu
d4893f87ef
Clean up entry point
2020-02-20 08:30:23 +01:00
Ivar Conradi Østhus
a490b26aea
removed unused file
2020-02-20 08:30:23 +01:00
Ivar Conradi Østhus
98dcba0ba6
Move to react-router.
...
Replaced our home built tab-view with the react-router. This
makes routing super simple for us.
https://github.com/rackt/react-router/
relates to #95
2020-02-20 08:30:23 +01:00
ivaosthu
84fd3c4020
Disable nsp for now
2020-02-20 08:30:23 +01:00
Ivar Conradi Østhus
ddec1d664a
Bugfix stratgy rendering inside create feature form
2020-02-20 08:30:23 +01:00
Ivar Conradi Østhus
9a6d1eb996
Upgrade to react 13
2020-02-20 08:30:23 +01:00
Ivar Conradi Østhus
77faa5580b
Upgrade chai
2020-02-20 08:30:22 +01:00
ivaosthu
dbba1e6a9c
Upgrade db-dependencies
2020-02-20 08:30:22 +01:00
ivaosthu
5e226f07c4
Fixed jsxhint errors
2020-02-20 08:30:22 +01:00
ivaosthu
3c57c50912
JSXhint on buildserver
2020-02-20 08:30:22 +01:00
ivaosthu
e638f4cf00
Rollback db-upgrades
2020-02-20 08:30:22 +01:00
ivaosthu
31a6c78be3
upgraded dependencies
2020-02-20 08:30:22 +01:00
ivaosthu
bfdc7fa57a
We should atleast be one version up
2020-02-20 08:30:22 +01:00
ivaosthu
1cd22badfa
Added test for the FeatureToggleStore
2020-02-20 08:30:22 +01:00
ivaosthu
920712f8fe
Remove loading message
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
d651a543b6
ErrorStore should show init-error
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
3a8ae8f53e
Single initalizer for all stores.
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
5f706cf53e
wrapping app-stuff
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
08600fa7ee
Pass strategies as props
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
f11cd291c2
formatting
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
0fb855d958
Added init-error events
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
f82be4655a
Added ErrorStore
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
90dc36298c
Archived toggles in separate store
2020-02-20 08:30:22 +01:00
Ivar Conradi Østhus
9576968043
loadsh to simplify store
2020-02-20 08:30:21 +01:00
Ivar Conradi Østhus
f2617220d0
Moved server-stuff to the actions
2020-02-20 08:30:21 +01:00
Ivar Conradi Østhus
d35666e353
Added poller to keep the store in sync with server.
2020-02-20 08:30:21 +01:00
Ivar Conradi Østhus
40dc6604f4
Renamed FeatureToggleStore and simplified action names.
2020-02-20 08:30:21 +01:00
Ivar Conradi Østhus
cbf884dd76
Inital rewrite of feature-store to reflux
2020-02-20 08:30:21 +01:00
Anders Olsen Sandvik
30c764bb31
Update README.md
2020-02-20 08:30:21 +01:00
Jari Bakken
8b9c0a6e85
Reduce logging in production.
2020-02-20 08:30:21 +01:00
andsandv
0552e588ae
Check if strategy exsit before deleting it
2020-02-20 08:30:21 +01:00
andsandv
23e9475ca7
#76 Add nsp audit-package to test and close #76
2020-02-20 08:30:21 +01:00
andsandv
4e54c461ff
Add test for trying to get strategy that dose not exist
2020-02-20 08:30:21 +01:00
andsandv
5013a10186
Update files with correct indent_size
2020-02-20 08:30:21 +01:00
Anders Olsen Sandvik
f60d2dcb02
Testing out Postgres 9.4 on Travis [experimental]
...
http://docs.travis-ci.com/user/build-environment-updates/2015-02-03/#PostgreSQL-9.4
2020-02-20 08:30:21 +01:00
andsandv
b7b5aacafd
Update dependencies
2020-02-20 08:30:21 +01:00
andsandv
3d35942958
Add test for asking for feature that dose not exist
2020-02-20 08:30:21 +01:00