Skip to content

Commit

Permalink
ui: search on multiple fields
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Nov 21, 2019
1 parent 5a54676 commit a171aa7
Show file tree
Hide file tree
Showing 13 changed files with 267 additions and 127 deletions.
10 changes: 9 additions & 1 deletion internal/api/design/design.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ var _ = Service("collection", func() {
Method("list", func() {
Description("List all stored collections")
Payload(func() {
Attribute("original_id", String, "ID of the original dataset")
Attribute("original_id", String)
Attribute("transfer_id", String)
Attribute("aip_id", String)
Attribute("pipeline_id", String)
Attribute("query", String, "Match all fields")
Attribute("cursor", String, "Pagination cursor")
})
Result(PaginatedCollectionOf(StoredCollection))
Expand All @@ -35,6 +39,10 @@ var _ = Service("collection", func() {
Response(StatusOK)
Params(func() {
Param("original_id")
Param("transfer_id")
Param("aip_id")
Param("pipeline_id")
Param("query")
Param("cursor")
})
})
Expand Down
6 changes: 5 additions & 1 deletion internal/api/gen/collection/service.go

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

26 changes: 17 additions & 9 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.

30 changes: 29 additions & 1 deletion 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.

12 changes: 12 additions & 0 deletions internal/api/gen/http/collection/client/encode_decode.go

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

22 changes: 21 additions & 1 deletion internal/api/gen/http/collection/server/encode_decode.go

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

6 changes: 5 additions & 1 deletion internal/api/gen/http/collection/server/types.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

0 comments on commit a171aa7

Please sign in to comment.