namespace Big.Infrastructure; /// Configuration for the Flowable Workflow Client. is the flowable-rest /// root and must end with a slash (e.g. http://flowable-rest:8080/flowable-rest/) so the /// service/… and external-job-api/… sub-paths resolve correctly. public sealed class FlowableOptions { public Uri BaseUrl { get; set; } = null!; public string Username { get; set; } = ""; public string Password { get; set; } = ""; /// The id this worker locks jobs under, so two workers don't process the same job. public string WorkerId { get; set; } = "big-domain-worker"; /// How long an acquired job stays locked to this worker (ISO-8601 duration). public string LockDuration { get; set; } = "PT5M"; /// How many OpenZaakAanmaken jobs to acquire per poll. public int MaxJobsPerPoll { get; set; } = 5; /// How often the worker polls Flowable for new jobs. public TimeSpan PollInterval { get; set; } = TimeSpan.FromSeconds(2); } /// Configuration for the ACL HTTP client. is the ACL service root. public sealed class AclOptions { public Uri BaseUrl { get; set; } = null!; }