Project

General

Profile

Actions

Feature #14454

closed

[Backend] Provenance graph DAG endpoint

Added by Daniel Kos over 5 years ago. Updated almost 5 years ago.

Status:
Rejected
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Story points:
-
Actions #1

Updated by Daniel Kos over 5 years ago

In current Arvados API there is a generate_provenance method in container_request_container.rb. It ends with

@svg = ProvenanceHelper::create_provenance_graph(
      nodes, "provenance_svg",
      {
        :request => request,
        :direction => :top_down,
        :output_collections => output_cols,
        :input_collections => input_cols,
        :cr_children_of => {
          cr[:uuid] => child_crs.select{|child| child[:uuid]},
        },
      })

I would like the get the internal data generated by ProvenanceHelper::create_provenance_graph to be exposed as json object via /container_request/provenance/{uuid} endpoint for example. Currently that method produces svg string. But instead doing that its second version should build nodes and edges only as a raw data. That would allow to convert that data into any graph on the client side.

Actions #2

Updated by Daniel Kos over 5 years ago

  • Subject changed from Provenance graph DAG endpoint to [Backend] Provenance graph DAG endpoint
Actions #3

Updated by Daniel Kos over 5 years ago

  • Release set to 20
Actions #4

Updated by Chrystian Klingenberg over 5 years ago

  • Release deleted (20)
Actions #5

Updated by Daniel Kos over 5 years ago

  • Release set to 20
Actions #6

Updated by Chrystian Klingenberg almost 5 years ago

  • Release deleted (20)
Actions #7

Updated by Tom Morris almost 5 years ago

  • Status changed from New to Rejected

The (undocumented) collections provenance method returns this data in a form that could be used by a graph rendering library.

Actions

Also available in: Atom PDF