-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #594 from ShawnAbshire/sabshire-multi-tenancy-acti…
…vatejobs ActivateJobsCommand updated to set tenantIds.
- Loading branch information
Showing
4 changed files
with
84 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace Zeebe.Client.Api.Commands | ||
{ | ||
public interface ITenantIdsCommandStep<out T> | ||
{ | ||
/// <summary> | ||
/// Specifies the tenants that may own any entities (e.g. process definition, process instances, etc.) resulting from this command. | ||
/// </summary> | ||
/// | ||
/// This can be useful when requesting jobs for multiple tenants at once. Each of the activated | ||
/// jobs will be owned by the tenant that owns the corresponding process instance. | ||
/// <param name="tenantIds">the identifiers of the tenants to specify for this command, e.g. ["ACME", "OTHER"]</param> | ||
/// <returns>The builder for this command. Call <see cref="IFinalCommandStep{T}.Send"/> to complete the command and send it | ||
/// to the broker.</returns> | ||
T TenantIds(IList<string> tenantIds); | ||
|
||
/// <summary> | ||
/// Specifies the tenants that may own any entities (e.g. process definition, process instances, etc.) resulting from this command. | ||
/// </summary> | ||
/// | ||
/// This can be useful when requesting jobs for multiple tenants at once. Each of the activated | ||
/// jobs will be owned by the tenant that owns the corresponding process instance. | ||
/// <param name="tenantIds">the identifiers of the tenants to specify for this command, e.g. ["ACME", "OTHER"]</param> | ||
/// <returns>The builder for this command. Call <see cref="IFinalCommandStep{T}.Send"/> to complete the command and send it | ||
/// to the broker.</returns> | ||
T TenantIds(params string[] tenantIds); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters