We used to get backend configuration for Web.Server from local config file.
So remote client couldn't config backend.
Now client sends us info about backend via coffer-backend header in API request
In this PR:
Added 'FromJSON' instances to Backend, SomeBackend, VaultKvBackend
Mede Server get config from header
Corrected tests to send backend header
Related issue(s)
Fixed #95
:white_check_mark: Checklist for your Pull Request
Related changes (conditional)
Tests
[x] If I added new functionality, I added tests covering it.
[ ] If I fixed a bug, I added a regression test to prevent the bug from
silently reappearing again.
Documentation
[ ] I checked whether I should update the docs and did so if necessary:
Description
We used to get backend configuration for
Web.Server
from local config file. So remote client couldn't config backend. Now client sends us info about backend viacoffer-backend
header in API requestIn this PR:
Backend
,SomeBackend
,VaultKvBackend
Server
get config from headerRelated issue(s)
Fixed #95
:white_check_mark: Checklist for your Pull Request
Related changes (conditional)
Tests
Documentation
Stylistic guide (mandatory)