Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Show Argo Dataflow pipelines in the UI #5742

Merged
merged 117 commits into from
Aug 13, 2021
Merged

feat: Show Argo Dataflow pipelines in the UI #5742

merged 117 commits into from
Aug 13, 2021

Conversation

alexec
Copy link
Contributor

@alexec alexec commented Apr 22, 2021

This PR adds:

  • API endpoints for pipelines/steps.
  • UI for pipelines and steps

It does not add:

  • E2E tests

To the reviewer:

  • Do the APIs make sense? Are the path and parameters correct?

image

@codecov
Copy link

codecov bot commented Apr 22, 2021

Codecov Report

Merging #5742 (2f0c337) into master (c27f668) will decrease coverage by 0.01%.
The diff coverage is 4.76%.

❗ Current head 2f0c337 differs from pull request most recent head dce96e5. Consider uploading reports for the commit dce96e5 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5742      +/-   ##
==========================================
- Coverage   48.56%   48.55%   -0.02%     
==========================================
  Files         260      260              
  Lines       18840    18855      +15     
==========================================
+ Hits         9150     9155       +5     
- Misses       8685     8692       +7     
- Partials     1005     1008       +3     
Impacted Files Coverage Δ
cmd/argo/commands/server.go 32.03% <0.00%> (-0.26%) ⬇️
pkg/apiclient/argo-kube-client.go 0.00% <0.00%> (ø)
server/auth/gatekeeper.go 49.04% <7.69%> (-3.37%) ⬇️
cmd/argo/commands/get.go 58.89% <0.00%> (-0.88%) ⬇️
workflow/controller/operator.go 71.88% <0.00%> (-0.10%) ⬇️
server/workflow/workflow_server.go 46.80% <0.00%> (+2.39%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c27f668...dce96e5. Read the comment docs.

Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
alexec and others added 14 commits May 14, 2021 16:46
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: GitHub <[email protected]>

Co-authored-by: alexec <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
alexec added 16 commits July 28, 2021 12:01
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
Signed-off-by: Alex Collins <[email protected]>
@alexec alexec marked this pull request as ready for review August 11, 2021 22:14
@alexec alexec requested a review from jessesuen as a code owner August 11, 2021 22:14
@alexec alexec requested a review from whynowy August 11, 2021 22:17
Copy link
Member

@sarabala1979 sarabala1979 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The high level looks good.

@@ -306,6 +309,7 @@ func (as *argoServer) newHTTPServer(ctx context.Context, port int, artifactServe
mustRegisterGWHandler(eventpkg.RegisterEventServiceHandlerFromEndpoint, ctx, gwmux, endpoint, dialOpts)
mustRegisterGWHandler(eventsourcepkg.RegisterEventSourceServiceHandlerFromEndpoint, ctx, gwmux, endpoint, dialOpts)
mustRegisterGWHandler(sensorpkg.RegisterSensorServiceHandlerFromEndpoint, ctx, gwmux, endpoint, dialOpts)
mustRegisterGWHandler(pipelinepkg.RegisterPipelineServiceHandlerFromEndpoint, ctx, gwmux, endpoint, dialOpts)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not related to this PR. But we should have a flag/param to enable the resources tab
[workflow, events, dataflow]

@@ -254,6 +261,10 @@ func DefaultClientForAuthorization(authorization string) (*rest.Config, *servert
if err != nil {
return nil, nil, fmt.Errorf("failed to create REST config: %w", err)
}
dynamicClient, err := dynamic.NewForConfig(restConfig)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

like this client.

@alexec alexec enabled auto-merge (squash) August 13, 2021 03:50
@alexec alexec merged commit a57b3ad into master Aug 13, 2021
@alexec alexec deleted the dev-dataflow branch August 13, 2021 16:37
@sarabala1979 sarabala1979 mentioned this pull request Sep 2, 2021
61 tasks
@sarabala1979 sarabala1979 mentioned this pull request Sep 9, 2021
68 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants