Skip to content

Release v1.5.0

Choose a tag to compare

@github-actions github-actions released this 31 Oct 12:40
a2840bd

Box Office for a product: declare what the product sells, and measure what each tenant uses.

Added

  • Cratis.Showrunner.BoxOffice.Offering package. AddBoxOfficeOffering declares a product's modules (requirements, owned namespaces, trial days, availability), meters and seat licensing, rejects a declaration that cannot be sold at startup, and reports OfferingDeclared only when the declaration differs from the last one reported (#43)
  • AddBoxOfficeMetering and IMeter: a meter reads the product's own events into a quantity per tenant, meter and UTC day, kept in buckets beside the event log in MongoDB. Box Office adds no second "session started" event (#48)
  • A UTC day closes 6 hours after midnight and ComputeDayClosed is reported once, also across restarts; a session that ends after its day closed produces one ComputeDayCorrected with the corrected totals (#48)
  • Counters for metering buckets, closed days and corrections (#48)
  • Documentation for the offering declaration and for compute metering, and integration specifications for the MongoDB metering store (#48)