Skip to content

Commit

Permalink
Merge pull request #26 from SteveHNH/add_tlsCAPath
Browse files Browse the repository at this point in the history
[feat] Add top level TlsCAPath
  • Loading branch information
psav authored Feb 14, 2023
2 parents 195d14d + 6dbddb3 commit 06303d2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/api/v1/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ func TestClientLoad(t *testing.T) {
assert.Equal(t, "ff-server.server.example.com", LoadedConfig.FeatureFlags.Hostname, "Wrong feature flag hostname")
assert.Equal(t, "http", string(LoadedConfig.FeatureFlags.Scheme), "Wrong feature flag scheme")

assert.Equal(t, "/foo/bar", LoadedConfig.TlsCAPath)

assert.Equal(t, 8000, DependencyEndpoints["app1"]["endpoint1"].Port, "endpoint had wrong port")
assert.Equal(t, "endpoint2", DependencyEndpoints["app2"]["endpoint2"].Name, "endpoint had wrong name")
assert.Equal(t, 10000, PrivateDependencyEndpoints["app1"]["endpoint1"].Port, "endpoint had wrong port")
Expand Down
3 changes: 3 additions & 0 deletions pkg/api/v1/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tests/test.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"publicPort": 8000,
"metricsPort": 9000,
"metricsPath": "/metrics",
"tlsCAPath": "/foo/bar",
"logging": {
"type": "cloudwatch",
"cloudwatch": {
Expand Down

0 comments on commit 06303d2

Please sign in to comment.