Project

General

Profile

Actions

Feature #16562

open

SDKs ask API server for preferred "Services" config based on whether you are "internal" or "external"

Added by Peter Amstutz almost 4 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
SDKs
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-
Release:
Release relationship:
Auto

Description

As part of SDK startup, it will:

  • Fetch the discovery document
  • Make a call to a new "services" endpoint eg /arvados/v1/config/services
  • The API server / controller determines if the client is "internal" or "external" based on source IP address
  • The services endpoint returns the "Services" and "Volumes" portion of the public exported config with the preferred endpoints filled in for "ExternalURL" and "AccessViaHosts".
  • SDK uses returned URLs in Services list to communicate with Arvados components, eg Controller, Websockets
  • Use Volumes and AccessViaHosts to determine whether to contact keepstore directly or use keepproxy. (For external clients, AccessViaHosts URL == keepproxy URL?)

Related issues

Related to Arvados Epics - Story #16303: Kubernetes supportIn Progress06/01/202312/31/2023

Actions
Actions #1

Updated by Peter Amstutz almost 4 years ago

  • Subject changed from Ask API server if you are "internal" or "external" & SDK chooses which URLs to use. to Ask API server for your preferred services section based on whether you are "internal" or "external"
  • Category set to SDKs
Actions #2

Updated by Peter Amstutz almost 4 years ago

  • Subject changed from Ask API server for your preferred services section based on whether you are "internal" or "external" to SDKs ask API server for preferred "Services" config based on whether you are "internal" or "external"
Actions #3

Updated by Peter Amstutz almost 4 years ago

  • Description updated (diff)
Actions #4

Updated by Peter Amstutz almost 4 years ago

Actions #5

Updated by Lucas Di Pentima over 1 year ago

  • Release set to 60
Actions

Also available in: Atom PDF