mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Initial Atlas listener implementation
This commit is contained in:
@@ -21,6 +21,14 @@ func TestLoadConfigFile(t *testing.T) {
|
||||
"address": "127.0.0.1:443",
|
||||
},
|
||||
},
|
||||
&Listener{
|
||||
Type: "atlas",
|
||||
Config: map[string]string{
|
||||
Token: "foobar",
|
||||
Infrastructure: "foo/bar",
|
||||
Endpoint: "https://foo.bar:1111",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Backend: &Backend{
|
||||
@@ -72,6 +80,14 @@ func TestLoadConfigFile_json(t *testing.T) {
|
||||
"address": "127.0.0.1:443",
|
||||
},
|
||||
},
|
||||
&Listener{
|
||||
Type: "atlas",
|
||||
Config: map[string]string{
|
||||
Token: "foobar",
|
||||
Infrastructure: "foo/bar",
|
||||
Endpoint: "https://foo.bar:1111",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Backend: &Backend{
|
||||
|
||||
Reference in New Issue
Block a user