Skip to content

Missing support for auto slicing #147

Closed
@norbson

Description

@norbson

In HLRC we can set slices to auto passing 0 as argument:

Params withSlices(int slices) {
  if (slices == 0) {
    // translate to "auto" value in rest request so the receiving end doesn't throw error
      return putParam("slices", AbstractBulkByScrollRequest.AUTO_SLICES_VALUE);
  }
  return putParam("slices", String.valueOf(slices));
        }

There is no such option in new java client:

if (request.slices != null) {
  params.put("slices", String.valueOf(request.slices));
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: SpecificationRelated to the API spec used to generate client code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions