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

Show pipeline connection status #535

Merged
merged 1 commit into from
Jun 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions internal/api/design/pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ var _ = Service("pipeline", func() {
Description("List all known pipelines")
Payload(func() {
Attribute("name", String)
Attribute("status", Boolean, func() { Default(false) })
})
Result(ArrayOf(StoredPipeline))
HTTP(func() {
GET("/")
Response(StatusOK)
Params(func() {
Param("name")
Param("status")
})
})
})
Expand Down Expand Up @@ -70,12 +72,14 @@ var StoredPipeline = ResultType("application/vnd.enduro.stored-pipeline", func()
Attribute("name")
Attribute("capacity")
Attribute("current")
Attribute("status")
})
View("default", func() {
Attribute("id")
Attribute("name")
Attribute("capacity")
Attribute("current")
Attribute("status")
})
Required("name")
})
Expand Down
2 changes: 1 addition & 1 deletion internal/api/gen/http/batch/client/cli.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

60 changes: 31 additions & 29 deletions internal/api/gen/http/cli/enduro/cli.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions internal/api/gen/http/collection/client/cli.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/api/gen/http/openapi.json

Large diffs are not rendered by default.

Loading