updateDataSetCommand.execute();
LOG.debug("Dataset creation or update for #{} done.", id);
}
@RequestMapping(value = "/api/datasets/{id}", method = POST, consumes = ALL_VALUE, produces = TEXT_PLAIN_VALUE)
@ApiOperation(value = "Update a dataset.", consumes = TEXT_PLAIN_VALUE, produces = TEXT_PLAIN_VALUE, //
<BUG>notes = "Update a data set based on content provided in POST body with given id. For documentation purposes, body is typed as 'text/plain' but operation accepts binary content too.")
public String update(@ApiParam(value = "Id of the data set to update / create") @PathVariable(value = "id") String id,

@ApiParam(value = "content") InputStream dataSetContent) {
if (LOG.isDebugEnabled()) {</BUG>
LOG.debug("Creating or updating dataset #{} (pool: {})...", id, getConnectionStats());

updateDataSetCommand.execute();
LOG.debug("Dataset creation or update for #{} done.", id);
}
@RequestMapping(value = "/api/datasets/{id}", method = POST, consumes = ALL_VALUE, produces = TEXT_PLAIN_VALUE)
@ApiOperation(value = "Update a dataset.", consumes = TEXT_PLAIN_VALUE, produces = TEXT_PLAIN_VALUE, //
notes = "Update a data set based on content provided in POST body with given id. For documentation purposes, body is typed as 'text/plain' but operation accepts binary content too.")
@Timed
public Callable<String> update(@ApiParam(value = "Id of the data set to update / create") @PathVariable(value = "id") String id,
@ApiParam(value = "content") InputStream dataSetContent) {
return () -> {
if (LOG.isDebugEnabled()) {
