diff --git a/cf/configuration/coreconfig/config_data.go b/cf/configuration/coreconfig/config_data.go index a5314a124c4..f017333c768 100644 --- a/cf/configuration/coreconfig/config_data.go +++ b/cf/configuration/coreconfig/config_data.go @@ -33,6 +33,7 @@ type Data struct { LogCacheEndPoint string MinCLIVersion string MinRecommendedCLIVersion string + NetworkPolicyV1Endpoint string OrganizationFields models.OrganizationFields PluginRepos []models.PluginRepo RefreshToken string diff --git a/cf/configuration/coreconfig/config_data_test.go b/cf/configuration/coreconfig/config_data_test.go index e3f44d726c9..3d0b01b6b53 100644 --- a/cf/configuration/coreconfig/config_data_test.go +++ b/cf/configuration/coreconfig/config_data_test.go @@ -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 @@ -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() { @@ -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", @@ -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",