Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cf/configuration/coreconfig/config_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ type Data struct {
LogCacheEndPoint string
MinCLIVersion string
MinRecommendedCLIVersion string
NetworkPolicyV1Endpoint string
OrganizationFields models.OrganizationFields
PluginRepos []models.PluginRepo
RefreshToken string
Expand Down
8 changes: 6 additions & 2 deletions cf/configuration/coreconfig/config_data_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ var _ = Describe("V3 Config files", func() {
}
],
"MinCLIVersion": "6.0.0",
"MinRecommendedCLIVersion": "6.9.0"
"MinRecommendedCLIVersion": "6.9.0",
"NetworkPolicyV1Endpoint": "the-network-policy-endpoint"
}`

// V2 by virtue of ConfigVersion only
Expand Down Expand Up @@ -104,7 +105,8 @@ var _ = Describe("V3 Config files", func() {
}
],
"MinCLIVersion": "6.0.0",
"MinRecommendedCLIVersion": "6.9.0"
"MinRecommendedCLIVersion": "6.9.0",
"NetworkPolicyV1Endpoint": "the-network-policy-endpoint"
}`

Describe("NewData", func() {
Expand Down Expand Up @@ -133,6 +135,7 @@ var _ = Describe("V3 Config files", func() {
SSHOAuthClient: "ssh-oauth-client-id",
MinCLIVersion: "6.0.0",
MinRecommendedCLIVersion: "6.9.0",
NetworkPolicyV1Endpoint: "the-network-policy-endpoint",
OrganizationFields: models.OrganizationFields{
GUID: "the-org-guid",
Name: "the-org",
Expand Down Expand Up @@ -185,6 +188,7 @@ var _ = Describe("V3 Config files", func() {
SSHOAuthClient: "ssh-oauth-client-id",
MinCLIVersion: "6.0.0",
MinRecommendedCLIVersion: "6.9.0",
NetworkPolicyV1Endpoint: "the-network-policy-endpoint",
OrganizationFields: models.OrganizationFields{
GUID: "the-org-guid",
Name: "the-org",
Expand Down