Skip to content

Implement a Graph Processing Pre-Fetch for Transfer (--recursive stage 1) #790

@jakobmoellerdev

Description

@jakobmoellerdev

Description

Our current Graph Transfer infrastructure is built on a DAG that gets traversed based on the TransformationGraphDefinition. This TransformationGraphDefinition has N nodes for N transformations it needs to execute. Because we need to discover all nodes that are rendered into this definition, we will need to issue a "pre-fetch", a step that builds the definition by discovering the component graph. We should use our discover algorithm here: https://github.com/open-component-model/open-component-model/blob/main/bindings/go/dag/sync/discover.go

This recursion should only be triggered based on an optional flag we can push into the CLI. This effectively replaces the --recursive flag.

Done Criteria

  • The CLI command for transfer CV generates a graph with a Pre-Fetch and is triggered optionally with --recursive
  • Code has been reviewed by other team members
  • Analysis of existing tests (Unit and Integration)
  • Unit Tests created for new code or existing Unit Tests updated
  • Integration Test Suite updated (includes deletion of existing unnecessary Integration Test and/or creation of new ones if required)
  • Enduser Documentation updated (if applicable)
  • Internal technical Documentation created/updated (if applicable)
  • Successful demonstration in Review

Metadata

Metadata

Labels

area/ipceiImportant Project of Common European Interestkind/tasksmall task, normally part of feature or epic

Type

No fields configured for Task.

Projects

Status
🔍 Review

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions