Repository navigation
Release v1.5.0
Box Office for a product: declare what the product sells, and measure what each tenant uses.
Added
Cratis.Showrunner.BoxOffice.Offeringpackage.AddBoxOfficeOfferingdeclares a product's modules (requirements, owned namespaces, trial days, availability), meters and seat licensing, rejects a declaration that cannot be sold at startup, and reportsOfferingDeclaredonly when the declaration differs from the last one reported (#43)AddBoxOfficeMeteringandIMeter: 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
ComputeDayClosedis reported once, also across restarts; a session that ends after its day closed produces oneComputeDayCorrectedwith 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)