Replaced CsvSpecimenFileReader Java class with a general-purposeCsvStreamReader class that can configured to use any subclass of
Map<String,String> as the record type. The CsvSpecimenFileReader actor
is now a specialization of CsvStreamReader configured to use
OrderedSpecimenRecord as its output record type.
Added missing dependency on apache.commons.lang. This fixes a problemwhere an exception thrown while parsing an invalid workflow
specification caused kurator-akka to hang (KURATOR-76).
KuratorAkka.main() now catches exceptions thrown byrunWorkflowForArgs(). This keeps kurator-akka from hanging when the
workflow definition file does not exist (KURATOR-75).
Copied to ScientificNameValidator the change to the corresponding actorin FP-Akka that causes it to include LSID returned by the scientific
name service as the GUID for the taxon name.
WorkflowBuilder can now be provided with stdin and stderr print streamswhich are in turn provided to all actors so that actor outputs can be
captured in applications and verified in tests.
Made KuratorAkka CLI more testable by having the runWorkflowForArgs()method return an integer success value that main() can use as an
argument to System.exit(), and by allowing callers of
runWorkflowForArgs() to supply stdout and stderr streams for the method
to use.
Kurator-Akka command line interface now displays help if run without anyparameters and displays helpful messages if options are used
incorrectly. KURATOR-59
Added support for catching and reporting exceptions thrown by actors;and added ability to name actors in a workflow, either explicitly in
Java code, or automatically based on Spring bean name or actor class
name.
Now deriving from the OneShot class actors that fire only once at thestart of a workflow run. Moved common actor functionality into the
AkkaActor base class.
BroadcastActor is now responsible for handling actor termination onarrival of EndOfStream messages. It also calls new methods on actors
for initialization, starting, ending, and for processing control and
data messages separately.
Added test of CsvSpecimenFileWriter actor. Also added aOrderedSpecimenRecord class that enables runs on collections of specimen
records to behave deterministically with respect to the order of columns
in data set.