Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all isDisabled filter values when not filtering #883

Merged
merged 1 commit into from
Oct 14, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Task<List<MachineResource>> GetMachines(EnvironmentResource environment,
int? take = null,
string partialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand All @@ -23,7 +23,7 @@ Task<EnvironmentsSummaryResource> Summary(
string partialName = null,
string machinePartialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand All @@ -47,7 +47,7 @@ public async Task<List<MachineResource>> GetMachines(EnvironmentResource environ
int? take = null,
string partialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand Down Expand Up @@ -79,7 +79,7 @@ public async Task<EnvironmentsSummaryResource> Summary(
string partialName = null,
string machinePartialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Task<ResourceCollection<MachineResource>> List(int skip = 0,
string name = null,
string partialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand Down Expand Up @@ -129,7 +129,7 @@ public async Task<ResourceCollection<MachineResource>> List(int skip = 0,
string name = null,
string partialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Task<List<WorkerResource>> GetMachines(WorkerPoolResource workerPool,
int? skip = 0,
int? take = null,
string partialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null);
Task<WorkerPoolsSummaryResource> Summary(
string ids = null,
string partialName = null,
string machinePartialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
bool? hideEmptyPools = false);
Expand All @@ -39,7 +39,7 @@ public async Task<List<WorkerResource>> GetMachines(WorkerPoolResource workerPoo
int? skip = 0,
int? take = null,
string partialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null)
{
Expand All @@ -65,7 +65,7 @@ public async Task<WorkerPoolsSummaryResource> Summary(
string ids = null,
string partialName = null,
string machinePartialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
bool? hideEmptyPools = false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Task<ResourceCollection<WorkerResource>> List(int skip = 0,
string ids = null,
string name = null,
string partialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string workerpoolIds = null);
Expand Down Expand Up @@ -65,7 +65,7 @@ public async Task<ResourceCollection<WorkerResource>> List(int skip = 0,
string ids = null,
string name = null,
string partialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string workerpoolIds = null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ List<MachineResource> GetMachines(EnvironmentResource environment,
int? take = null,
string partialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand All @@ -21,7 +21,7 @@ EnvironmentsSummaryResource Summary(
string partialName = null,
string machinePartialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand All @@ -45,7 +45,7 @@ public List<MachineResource> GetMachines(EnvironmentResource environment,
int? take = null,
string partialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand Down Expand Up @@ -78,7 +78,7 @@ public EnvironmentsSummaryResource Summary(
string partialName = null,
string machinePartialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ResourceCollection<MachineResource> List(int skip = 0,
string name = null,
string partialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand Down Expand Up @@ -134,7 +134,7 @@ public ResourceCollection<MachineResource> List(int skip = 0,
string name = null,
string partialName = null,
string roles = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string tenantIds = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ List<WorkerResource> GetMachines(WorkerPoolResource workerPool,
int? skip = 0,
int? take = null,
string partialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null);
WorkerPoolsSummaryResource Summary(
string ids = null,
string partialName = null,
string machinePartialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
bool? hideEmptypools = false);
Expand All @@ -37,7 +37,7 @@ public List<WorkerResource> GetMachines(WorkerPoolResource workerPool,
int? skip = 0,
int? take = null,
string partialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null)
{
Expand All @@ -64,7 +64,7 @@ public WorkerPoolsSummaryResource Summary(
string ids = null,
string partialName = null,
string machinePartialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
bool? hideEmptyPools = false)
Expand Down
4 changes: 2 additions & 2 deletions source/Octopus.Server.Client/Repositories/WorkerRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ResourceCollection<WorkerResource> List(int skip = 0,
string ids = null,
string name = null,
string partialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string workerpoolIds = null);
Expand Down Expand Up @@ -65,7 +65,7 @@ public ResourceCollection<WorkerResource> List(int skip = 0,
string ids = null,
string name = null,
string partialName = null,
bool? isDisabled = false,
bool? isDisabled = null,
string healthStatuses = null,
string commStyles = null,
string workerpoolIds = null)
Expand Down
Loading