EventsSourcing-on-Azure-Functions icon indicating copy to clipboard operation
EventsSourcing-on-Azure-Functions copied to clipboard

Query attribute/binding

Open MerrionComputing opened this issue 6 years ago • 4 comments

Need to have a Query class which can be bound to a parameter on an Azure function with autoresolve properties for query name and unique identifier.

if the unique identifier is not set, use a GUID

This will create an event stream to use to orchestrate execution of the step(s) required to process the query.

MerrionComputing avatar Dec 16 '19 12:12 MerrionComputing

Needs to be on a per Domain basis.

MerrionComputing avatar Dec 18 '19 13:12 MerrionComputing

The main events / steps of processing a query would be:-

  • Query created
  • Parameter set
  • Validations
  • Classifications requested
  • Projections requested
  • Collations
  • Response

MerrionComputing avatar Jan 11 '20 09:01 MerrionComputing

Classifications needed:-

  • Completed (this allows completed queries to be archives to other storage, for example)

Projections needed:-

  • Output targets (as this may be changed while a query is running)

MerrionComputing avatar May 04 '20 19:05 MerrionComputing

Query functions

  • GetQueryState - Get the state of the given query instance
  • CompareQueries - Compare the outcome of two query instances (for "what has changed" analysis)

MerrionComputing avatar Jul 14 '21 22:07 MerrionComputing