From 3cb7b87517633bc1fbb4db2e1381d976b0ab3ff4 Mon Sep 17 00:00:00 2001 From: Shannon Lewis Date: Tue, 22 May 2018 16:40:48 +1000 Subject: [PATCH 1/2] adding project groups to the Dashboard Configuration --- source/Octopus.Client/Model/DashboardConfigurationResource.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/Octopus.Client/Model/DashboardConfigurationResource.cs b/source/Octopus.Client/Model/DashboardConfigurationResource.cs index 1f8ff1e05..7a52fe9e2 100644 --- a/source/Octopus.Client/Model/DashboardConfigurationResource.cs +++ b/source/Octopus.Client/Model/DashboardConfigurationResource.cs @@ -7,12 +7,16 @@ public class DashboardConfigurationResource : Resource { public DashboardConfigurationResource() { + IncludedProjectGroupIds = new ReferenceCollection(); IncludedProjectIds = new ReferenceCollection(); IncludedEnvironmentIds = new ReferenceCollection(); IncludedTenantIds = new ReferenceCollection(); IncludedTenantTags = new ReferenceCollection(); } + [Writeable] + public ReferenceCollection IncludedProjectGroupIds { get; set; } + [Writeable] public ReferenceCollection IncludedProjectIds { get; set; } From fb747ddf9638e0a6010ba3025a6e06674b26d378 Mon Sep 17 00:00:00 2001 From: Shannon Lewis Date: Tue, 22 May 2018 17:00:52 +1000 Subject: [PATCH 2/2] public surface area tests again --- ...re.ThePublicSurfaceAreaShouldNotRegress..NETCore.approved.txt | 1 + ...ePublicSurfaceAreaShouldNotRegress..NETFramework.approved.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/source/Octopus.Client.Tests/PublicSurfaceAreaFixture.ThePublicSurfaceAreaShouldNotRegress..NETCore.approved.txt b/source/Octopus.Client.Tests/PublicSurfaceAreaFixture.ThePublicSurfaceAreaShouldNotRegress..NETCore.approved.txt index 800604e31..624b67135 100644 --- a/source/Octopus.Client.Tests/PublicSurfaceAreaFixture.ThePublicSurfaceAreaShouldNotRegress..NETCore.approved.txt +++ b/source/Octopus.Client.Tests/PublicSurfaceAreaFixture.ThePublicSurfaceAreaShouldNotRegress..NETCore.approved.txt @@ -1345,6 +1345,7 @@ Octopus.Client.Model { .ctor() Octopus.Client.Model.ReferenceCollection IncludedEnvironmentIds { get; set; } + Octopus.Client.Model.ReferenceCollection IncludedProjectGroupIds { get; set; } Octopus.Client.Model.ReferenceCollection IncludedProjectIds { get; set; } Octopus.Client.Model.ReferenceCollection IncludedTenantIds { get; set; } Octopus.Client.Model.ReferenceCollection IncludedTenantTags { get; set; } diff --git a/source/Octopus.Client.Tests/PublicSurfaceAreaFixture.ThePublicSurfaceAreaShouldNotRegress..NETFramework.approved.txt b/source/Octopus.Client.Tests/PublicSurfaceAreaFixture.ThePublicSurfaceAreaShouldNotRegress..NETFramework.approved.txt index 589e5a000..0b76f6aba 100644 --- a/source/Octopus.Client.Tests/PublicSurfaceAreaFixture.ThePublicSurfaceAreaShouldNotRegress..NETFramework.approved.txt +++ b/source/Octopus.Client.Tests/PublicSurfaceAreaFixture.ThePublicSurfaceAreaShouldNotRegress..NETFramework.approved.txt @@ -1815,6 +1815,7 @@ Octopus.Client.Model { .ctor() Octopus.Client.Model.ReferenceCollection IncludedEnvironmentIds { get; set; } + Octopus.Client.Model.ReferenceCollection IncludedProjectGroupIds { get; set; } Octopus.Client.Model.ReferenceCollection IncludedProjectIds { get; set; } Octopus.Client.Model.ReferenceCollection IncludedTenantIds { get; set; } Octopus.Client.Model.ReferenceCollection IncludedTenantTags { get; set; }