mike-glorioso / eggnine

Apache License 2.0
0 stars 0 forks source link

Create Round-based Engine Interfaces #1

Open mike-glorioso opened 8 years ago

mike-glorioso commented 8 years ago

Story: As a project manager, I want a common interface to prototype round based engines so that i can demonstrate the concept of the engine without investing significant research into the language or implementation of batch processing

SP: 1

Decisions:

Engine shall only initiate the processing of each round in sequence
Engine shall provide a method to trigger processing of the next round in sequence
Engine shall indicate success or failure of each trigger attempt
Engine shall indicate the cause of trigger failure
Engine shall indicate what round, if any, was successfully triggered
Engine shall provide a method to retrieve rounds
A round shall provide a method to submit inputs
A round shall accept inputs until processing begins
A round shall indicate if it is currently being processed
A round shall indicate the time it began accepting inputs
A round shall indicate the time processing started
A round shall indicate the time processing completed
A round shall provide a method to retrieve inputs
mike-glorioso commented 8 years ago

Tasking: hours,task-detail 2,interface BatchInput (method to process, Submitter/callback/report to?, submission time 1 hour,interface BatchInputListener<B extends BatchInput> accept BatchInputs and associate them with a batch // the following was specific to sequential -- the first Batch in the sequence that has not started processing 2,interface Batch provide a creation, processing start, and processing end time indicate if the round did not process successfully 1,interface SequentialBatch<B extends BatchInput> shall must be comparable in order to determine order 1,interface SequentialBatchComparator extends Comparator<SequentialBatch>,skipped 2,interface ProcessingTrigger,skipped 4,Interface BatchProcessor<B extends Batch> shall accept ProcessingTriggers and provide a validation response to indicate if the processing of a new batch was initiated and any validation failures when triggered begin processing all batches produced by the filter when processing a batch, process BatchInputs transactionally TriggerFailureCause triggerRound()
1,interface SequentialBatch<B extends BatchInput> shall provide a SequentialBatchComparator to indicate order of SequentialBatches provide an immutable SequentialBatch 3,QA verify requirements have been met or changed to match developed software with project owner permission assumptions are recorded propose test titles and/or descriptions for use at implementation

Dev 12 QA 3

2015-11-23 edit: fix gt/lt