Commit Graph

296 Commits

Author SHA1 Message Date
Alexis Couvreur
ec77d127ba test: fix typo existant to existent
Closes #82
2022-11-07 16:54:48 -05:00
Alexis Couvreur
1ca1934b1c feat(docker): listens for container stopped event
When a container is shutdown manually while it's registered as `ready` in Sablier it will remove it from the store.
Meaning externally events are now handled for docker.
v1.0.0-beta.8
2022-11-06 00:24:10 -04:00
Alexis Couvreur
eb83d39652 feat(tinykv): add Delete method 2022-11-06 00:24:10 -04:00
Alexis Couvreur
8096a4e87e feat: add DesiredReplicas inside State struct
For now only the `Kubernetes` provider benefits from this improvement as `Docker` and `Swarm` have hardcoded 1 value
v1.0.0-beta.7
2022-11-03 20:55:09 -04:00
Alexis Couvreur
8a85a32561 feat: update JSON object returned by blocking strategy
Closes #68
v1.0.0-beta.6
2022-11-03 16:37:41 -04:00
Alexis Couvreur
007f2ae071 feat(traefik): add refreshFrequency support for dynamic strategy v1.0.0-beta.5 2022-11-03 16:35:19 -04:00
Alexis Couvreur
7e66ceeee0 fix(traefik): fix kubermetes e2e tests
The blocking test is disabled because it is not yet supported
v1.0.0-beta.4
2022-11-03 17:34:06 +00:00
Alexis Couvreur
48a48752b7 docs(traefik): update testData to be compliant (#72) 2022-11-03 12:13:29 -04:00
Alexis Couvreur
411c2b2dc6 fix(tinykv): remove expired values from UnmarshalJSON v1.0.0-beta.3 2022-11-02 23:15:06 -04:00
Alexis Couvreur
62e9d33ec8 feat(http): add graceful shutdown 2022-11-02 23:15:06 -04:00
Alexis Couvreur
154bb5e7ed feat: pretty json 2022-11-02 23:15:06 -04:00
Alexis Couvreur
29b81f9de3 fix(storage): add O_TRUNC flag to Writer
Overriding the file in order to remove garbage if writing less than the previous content
2022-11-02 23:15:06 -04:00
Alexis Couvreur
8cf668976c feat(tinykv): remove ExpiresAfter from json 2022-11-02 23:15:06 -04:00
Alexis Couvreur
24a2fe5e45 docs: first documentation update draft 2022-11-02 23:15:06 -04:00
Alexis Couvreur
efc41311e4 fix(sessions): add MarshalJSON for SessionState 2022-11-02 23:15:06 -04:00
Alexis Couvreur
4f2f48c0b4 docs: remove old docs 2022-11-02 23:15:06 -04:00
Alexis Couvreur
9d943d457b fix(config): fix loading config precedence 2022-11-02 23:15:06 -04:00
Alexis Couvreur
6cf69470ca fix(test): fix traefik docker swarm test
Rebase this commit
2022-11-02 23:15:06 -04:00
Alexis Couvreur
f842b491c6 test(render): add refresh frequency test 2022-11-02 23:15:06 -04:00
Alexis Couvreur
cf9f2f8ae3 feat(strategy): add dynamic theme listing endpoint /strategies/dynamic/themes 2022-11-02 23:15:06 -04:00
Alexis Couvreur
c47137edc7 feat(themes): add custom themes with security feature 2022-11-02 23:15:06 -04:00
Alexis Couvreur
e72a307163 fix(render): allow to load default themes when specifying custom themes 2022-11-02 23:15:06 -04:00
Alexis Couvreur
1f7f2f8485 fix(config): fix typo NewLoggingLevel to NewLoggingConfig 2022-11-02 23:15:06 -04:00
Alexis Couvreur
cc01caa5d4 feat(config): add strategy config 2022-11-02 23:15:06 -04:00
Alexis Couvreur
6cebeef97d fix(render): set refresh frequency to seconds
merge this with a6410f8613
2022-11-02 23:15:06 -04:00
Alexis Couvreur
0bd56895cf test(e2e): fix docker swarm tests for traefik 2022-11-02 23:15:06 -04:00
Alexis Couvreur
b04c5bc656 test(e2e): set middleware config to new standard 2022-11-02 23:15:06 -04:00
Alexis Couvreur
6eb0789b7b feat(strategies): add blocking strategy 2022-11-02 23:15:06 -04:00
Alexis Couvreur
56001a0164 test(e2e): use new theme assertions 2022-11-02 23:15:06 -04:00
Alexis Couvreur
df2a67a290 feat: default theme for dynamic strategy is hacker-terminal 2022-11-02 23:15:06 -04:00
Alexis Couvreur
cd1a0c41d4 feat(traefik): DisplayName defaults as the middleware name 2022-11-02 23:15:06 -04:00
Alexis Couvreur
8a9435473f fix(traefik): move next to the correct strcture 2022-11-02 23:15:06 -04:00
Alexis Couvreur
3196b1aa63 fix(render): set refresh frequency to seconds 2022-11-02 23:15:06 -04:00
Alexis Couvreur
75a478d69e fix: go mod tidy 2022-11-02 23:15:06 -04:00
Alexis Couvreur
9ff352e9d0 fix(traefik): go mod tidy and vendoring 2022-11-02 23:15:06 -04:00
Alexis Couvreur
723ee38a3e feat(plugins): add traefik plugin 2022-11-02 23:15:06 -04:00
Alexis Couvreur
160faaad0f feat(dynamic): sort instances by name
To keep a stable order, instances are sorted by name
2022-11-02 23:15:06 -04:00
Alexis Couvreur
e32425c468 fix(themes): remove extra "}" 2022-11-02 23:15:06 -04:00
Alexis Couvreur
04c55c2f49 stabilization 2022-11-02 23:15:06 -04:00
Alexis Couvreur
6215fc1901 feat(config): add Sessions config 2022-11-02 23:15:06 -04:00
Alexis Couvreur
6a9d21fa76 feat(version): add Map() function 2022-11-02 23:15:06 -04:00
Alexis Couvreur
c09502ea7f remove traefik pages 2022-11-02 23:15:06 -04:00
Alexis Couvreur
73afffe726 remove old scaler 2022-11-02 23:15:06 -04:00
Alexis Couvreur
c827154506 refactor: instance are in unrecoverable state instead of error
To avoid confusion between error from a call or network.
Instance has an Unrecoverable state instead of Error.
2022-11-02 23:15:06 -04:00
Alexis Couvreur
67bf03780c refactor: use common object for describing instances 2022-11-02 23:15:06 -04:00
Alexis Couvreur
a33c822334 feat(provider): add kubernetes provider 2022-11-02 23:15:06 -04:00
Alexis Couvreur
1b145522cf feat(provider): add docker swarm provider 2022-11-02 23:15:06 -04:00
Alexis Couvreur
bbdddca107 feat(provider): add docker provider 2022-11-02 23:15:06 -04:00
Alexis Couvreur
c63bbee7dd feat(theme): add success and error to shuffle 2022-11-02 23:15:06 -04:00
Alexis Couvreur
42b9f2c1b6 feat: add version endpoint 2022-11-02 23:15:06 -04:00