jbeard4/SCION — pull request #11 by mattoshry (2013-01-15 07:19:12+00:00)
Title: kick off fetches for external resources in parallel

For the parallel enhancement, my test .scxml contained a datamodel like so:

Here's the log:

2013-01-14 22:56:10.749 FLDR: INFO HTTP GET BEGIN [uri=http://localhost:8888/scxmltests/misc/sleep-json.cgi?secs=5]
2013-01-14 22:56:10.751 FLDR: INFO HTTP GET BEGIN [uri=http://localhost:8888/scxmltests/misc/data1.json]
2013-01-14 22:56:10.754 FLDR: INFO HTTP GET BEGIN [uri=http://localhost:8888/scxmltests/misc/data2.json]
...
2013-01-14 22:56:10.765 FLDR: INFO HTTP GET END. [uri=http://localhost:8888/scxmltests/misc/data1.json]
2013-01-14 22:56:10.765 FLDR: INFO HTTP GET END. [uri=http://localhost:8888/scxmltests/misc/data2.json]
2013-01-14 22:56:15.951 FLDR: INFO HTTP GET END. [uri=http://localhost:8888/scxmltests/misc/sleep-json.cgi?secs=5]

Also added mimeType parameter to getResourceFromUrl API to suggest a mechanism (via the HTTP Content-Type) for the interpreter to determine how to process/reflect the resulting content. In hindsight, I should have saved that for a subsequent issue/discussion.