Skip to content

Enable batch correlation of uploaded files#1348

Merged
rfecher merged 1 commit intolocationtech:masterfrom
dbazile:upload-batching
Jun 20, 2018
Merged

Enable batch correlation of uploaded files#1348
rfecher merged 1 commit intolocationtech:masterfrom
dbazile:upload-batching

Conversation

@dbazile
Copy link
Copy Markdown
Contributor

@dbazile dbazile commented Jun 19, 2018

This change allows an external consumer of the REST API to submit files in a
batch and ingest them in a single shot as opposed to submitting a single
ingest job per file.

Currently geowave ingest localToGw only accepts a single file or a directory
as the source parameter. Doing "batch" ingests by transferring files via
/restservices/v0/fileupload would require invoking localToGw once for
every file in the batch which seems like it would require extra bookkeeping to
track and merge the operation statuses.

Refer to G3-297

This change allows an external consumer of the REST API to submit files in a
batch and ingest them in a single shot as opposed to submitting a single
ingest job per file.

Currently `geowave ingest localToGw` only accepts a single file or a directory
as the source parameter.  Doing "batch" ingests by transferring files via
`/restservices/v0/fileupload` would require invoking `localToGw` once for
every file in the batch which seems like it would require extra bookkeeping to
track and merge the operation statuses.

Refer to G3-297
@coveralls
Copy link
Copy Markdown

coveralls commented Jun 19, 2018

Coverage Status

Coverage increased (+1.9%) to 46.346% when pulling ef9164c on dbazile:upload-batching into b58e6fa on locationtech:master.

@rfecher rfecher merged commit adf9059 into locationtech:master Jun 20, 2018
@dbazile dbazile deleted the upload-batching branch June 20, 2018 14:43
cjw5db pushed a commit to cjw5db/geowave that referenced this pull request Jul 11, 2018
This change allows an external consumer of the REST API to submit files in a
batch and ingest them in a single shot as opposed to submitting a single
ingest job per file.

Currently `geowave ingest localToGw` only accepts a single file or a directory
as the source parameter.  Doing "batch" ingests by transferring files via
`/restservices/v0/fileupload` would require invoking `localToGw` once for
every file in the batch which seems like it would require extra bookkeeping to
track and merge the operation statuses.

Refer to G3-297
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants