Project

General

Profile

Actions

Bug #14383

closed

[API] Java SDK double slash bug with arvados-controller

Added by Peter Amstutz over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Tom Morris
Category:
-
Target version:
Story points:
-
Release relationship:
Auto

Description

We found the origin of the problem with the java SDK, the bug is in the new API server or the SDK, you decide. The SDK will query URLs with a double forward slash: https://$ARVADOS_API_HOST//arvados/v1/collections. The old Arvados would perform these queries, bu the new one issue a redirect (301). We fixed it by removing this line: https://github.com/curoverse/arvados/blob/master/sdk/java/src/main/java/org/arvados/sdk/Arvados.java#L94

That's the new arvados-controller component being more strict.

We should remove this line a publish a new package.


Subtasks 1 (0 open1 closed)

Task #14608: Review 14383-java-sdk-double-slashResolvedPeter Amstutz02/13/2019Actions

Related issues

Related to Arvados - Idea #13497: [API] Initial "arvados-controller" server that proxies API endpoints to Rails serverResolvedTom Clegg06/15/2018Actions
Actions

Also available in: Atom PDF