Commit graph

11 commits

Author SHA1 Message Date
LUXEY Adrien
ae9550ce23 New configuration parsing using envy. Added minimal functionnality for
the future ACME parameters. Tests written and passing.

WIP: added envy dependncy and ConfigOpts structs that will constitute Diplonat's configuration

WIP: ConfigOpts from_env() and validate() methods written. No API change (the env names remain unchanged)! Now need to use our new ConfigOpts struct instead of Environment, and update references to the environment variables in the code.

WIP: RuntimeConfig with business logic done. Tests written, but they are all running from the same process - setting environment variables in each test produces incoherent results. Another solution for testing is needed.

WIP: tests are fully written using 'from_iter' and all passing
2021-08-16 10:26:06 +02:00
darkgallium
a59ed38121 ensure chain jump is added only once 2020-06-28 19:05:36 +02:00
darkgallium
2dbf9da005 changing backend to use the cleaner ipt bindings
updating dependencies

minor fixes
2020-05-24 18:14:24 +02:00
darkgallium
1a9199011d first basic support for adding nft rules 2020-05-24 18:09:22 +02:00
453b1c684e Working parsing 2020-05-22 14:17:48 +02:00
2a6b440270 Working Consul 2020-05-21 23:04:21 +02:00
4da459ce8b Working on logic 2020-05-21 17:51:30 +02:00
76c8404212 Rewrite with anyhow 2020-05-09 16:04:06 +02:00
643d6980e5 Start to modularize 2020-05-09 15:33:02 +02:00
fdffe91397 consul lib does not work for us, switching to reqwest 2020-02-14 10:46:39 +01:00
796a8d6f0b Initial commit 2020-02-12 18:33:10 +01:00