Skip to content

Commit

Permalink
Update dependencies (#15)
Browse files Browse the repository at this point in the history
* Updated docs

* Updated dependencies

* Fix ListJobs response
  • Loading branch information
gapidobri authored Feb 6, 2024
1 parent e7fb438 commit 946e8e9
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 61 deletions.
24 changes: 24 additions & 0 deletions docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
"description": "Offset",
"name": "offset",
"in": "query"
},
{
"type": "array",
"description": "Tags",
"name": "tags",
"in": "query"
}
],
"responses": {
Expand Down Expand Up @@ -468,6 +474,12 @@
"status": {
"$ref": "#/definitions/model.JobStatus"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"type": {
"$ref": "#/definitions/model.JobType"
},
Expand Down Expand Up @@ -498,6 +510,12 @@
}
]
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"type": {
"description": "Job type",
"allOf": [
Expand Down Expand Up @@ -568,6 +586,12 @@
"http": {
"$ref": "#/definitions/model.HTTPJob"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"type": {
"$ref": "#/definitions/model.JobType"
}
Expand Down
16 changes: 16 additions & 0 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ definitions:
type: string
status:
$ref: '#/definitions/model.JobStatus'
tags:
items:
type: string
type: array
type:
$ref: '#/definitions/model.JobType'
updated_at:
Expand All @@ -130,6 +134,10 @@ definitions:
allOf:
- $ref: '#/definitions/model.HTTPJob'
description: HTTPJob and AMQPJob are mutually exclusive.
tags:
items:
type: string
type: array
type:
allOf:
- $ref: '#/definitions/model.JobType'
Expand Down Expand Up @@ -176,6 +184,10 @@ definitions:
type: string
http:
$ref: '#/definitions/model.HTTPJob'
tags:
items:
type: string
type: array
type:
$ref: '#/definitions/model.JobType'
type: object
Expand All @@ -200,6 +212,10 @@ paths:
in: query
name: offset
type: integer
- description: Tags
in: query
name: tags
type: array
produces:
- application/json
responses:
Expand Down
48 changes: 27 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,23 @@ module github.com/GLCharge/distributed-scheduler
go 1.20

require (
github.com/ardanlabs/darwin/v3 v3.3.0
github.com/GLCharge/otelzap v0.0.0-20230904131944-57dc7c9994a9
github.com/ardanlabs/darwin/v3 v3.3.1
github.com/cenkalti/backoff/v4 v4.2.1
github.com/google/go-cmp v0.5.9
github.com/lib/pq v1.2.0
github.com/samber/lo v1.38.1
github.com/spf13/cobra v1.7.0
github.com/gin-contrib/zap v0.2.0
github.com/google/go-cmp v0.6.0
github.com/lib/pq v1.10.9
github.com/samber/lo v1.39.0
github.com/spf13/cobra v1.8.0
github.com/swaggo/files v1.0.1
github.com/swaggo/gin-swagger v1.6.0
github.com/swaggo/swag v1.8.12
github.com/swaggo/swag v1.16.3
github.com/vearne/gin-timeout v0.1.7
)

require (
github.com/KyleBanks/depth v1.2.1 // indirect
github.com/chenzhuoyu/iasm v0.9.0 // indirect
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/jsonreference v0.20.0 // indirect
Expand All @@ -27,49 +31,51 @@ require (
github.com/mailru/easyjson v0.7.7 // indirect
github.com/rogpeppe/go-internal v1.10.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/uptrace/opentelemetry-go-extra/otelutil v0.2.0 // indirect
go.opentelemetry.io/otel v1.15.1 // indirect
go.opentelemetry.io/otel/trace v1.15.1 // indirect
golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17 // indirect
golang.org/x/tools v0.7.0 // indirect
)

require (
github.com/ardanlabs/conf/v3 v3.1.5
github.com/bytedance/sonic v1.9.1 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
github.com/bytedance/sonic v1.10.0 // indirect
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/gin-gonic/gin v1.9.1
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.14.0 // indirect
github.com/go-playground/validator/v10 v10.15.3 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/google/uuid v1.3.0
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
github.com/jackc/pgx/v5 v5.3.1
github.com/jmoiron/sqlx v1.3.5
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
github.com/leodido/go-urn v1.2.4 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
github.com/pkg/errors v0.9.1
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rabbitmq/amqp091-go v1.8.1
github.com/robfig/cron/v3 v3.0.1
github.com/stretchr/testify v1.8.3
github.com/stretchr/testify v1.8.4
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
github.com/ugorji/go/codec v1.2.11 // indirect
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
go.uber.org/zap v1.24.0
golang.org/x/arch v0.3.0 // indirect
golang.org/x/crypto v0.9.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect
google.golang.org/protobuf v1.30.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.25.0
golang.org/x/arch v0.5.0 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/guregu/null.v4 v4.0.0
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 946e8e9

Please sign in to comment.