Skip to main content

MGCBallastPublishService

Ballast service that publishes the effective parameter versions now - the run the publish engine makes on its schedule, started on demand - and reports the publish run it created; or schedules one such run as a batch job (schedulePublish).

Methods​

publishNow​

Publishes now and reports the run.

  • Visibility: public
  • Returns: MGCBallastPublishResponseContract The publish run, its outcome, and its line and exception counts.
NameTypeOptionalDescription
_requestMGCBallastPublishRequestContractNoBundle (None publishes every bundle) and Force.

schedulePublish​

Schedules one run of the publish engine as a batch job, to start at or after the request's StartDateTime (UTC; empty means now), and returns the job. The run itself is the same one the engine makes on its schedule: when it executes it records the job and its scheduled start on the publish run (BallastPublishRuns: BatchJobId, ScheduledDateTime, StartedUtcMs, FinishedUtcMs), so a caller can read how long after its scheduled start the run began and how long it took.

  • Visibility: public
  • Returns: MGCBallastPublishResponseContract The batch job and its scheduled start date/time.
NameTypeOptionalDescription
_requestMGCBallastPublishRequestContractNoBundle (None publishes every bundle), Force and StartDateTime.