flux-framework / flux-core

core services for the Flux resource management framework
GNU Lesser General Public License v3.0
167 stars 50 forks source link

Create a "REST API router" #2131

Open SteVwonder opened 5 years ago

SteVwonder commented 5 years ago

For better compatibility with cloud technologies (e.g., K8) and some HPC tech, it would be cool to have a Flux module that can convert/route Flux RPC's into REST API calls.

Once we have an immediate use-case to drive the design, maybe we can do this as a hackathon or social coding hour project.

EDIT: This idea came up during :coffee: time a few times. I think @trws had some ideas for how to design this.

SteVwonder commented 4 years ago

This came up again during the Q&A portion of the NERSC seminar today and there was a follow up coffee hour discussion.

A great starting point would be supporting GETs as the nobody, to avoid having to deal with authentication. Then evolving that to support authentication, and thus RPCs that have side-effects in the system (e.g., job submission/cancelling).

vsoch commented 1 year ago

I'd like to work on this (and ping @alecbcs!) I'm going to ping @trws next week to get the discussion started.