Skip to content

Commit

Permalink
(misc) update dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: R.I.Pienaar <[email protected]>
  • Loading branch information
ripienaar committed May 5, 2023
1 parent 84c9d55 commit 11ac153
Show file tree
Hide file tree
Showing 8 changed files with 89 additions and 99 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
test:
strategy:
matrix:
go: [ 1.18, 1.19 ]
go: ["1.19", "1.20" ]

runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion docs/content/overview/handlers-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ asyncjobs: latest

# Use the RetryLinearTenMinutes retry policy,
#
# Equivelant to client RetryBackoffPolicyName() option
# Equivalent to client RetryBackoffPolicyName() option
retry: 10m

# Discard tasks that reach complete state.
Expand Down
2 changes: 1 addition & 1 deletion docs/content/overview/scheduled-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ weight = 20

The Task Scheduler allows you to create cron like entries that will create Tasks on demand.

This requires a seperate process to be run that will supervise the configured schedules and create the tasks. We have such a Scheduler built into the `ajc` binary deployable in any container manager.
This requires a separate process to be run that will supervise the configured schedules and create the tasks. We have such a Scheduler built into the `ajc` binary deployable in any container manager.

The scheduler we provide support being deployed in a highly-available cluster, they will perform leader election with one of the cluster scheduling tasks. There is no need to restart or signal these schedulers as tasks are added, removed or updated.

Expand Down
2 changes: 1 addition & 1 deletion docs/content/reference/request-reply.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ $ nats reply CHORIA_AJ.H.T.email:new 'success' --context AJC
{"id":"24smZHaWnjuP371iglxeQWK7nOi","type":"email:new","queue":"DEFAULT","payload":"InsuLi4ufSI=","state":"active","created":"2022-02-09T17:28:41.943198067Z","tried":"2022-02-09T17:33:33.005041134Z","tries":5}
```

The CLI recieved the jobs with the 2 headers set and appropriate payload, it responsed with `success` and the task was completed.
The CLI received the jobs with the 2 headers set and appropriate payload, it responsed with `success` and the task was completed.

```
$ ajc task view 24smZHaWnjuP371iglxeQWK7nOi --json
Expand Down
2 changes: 1 addition & 1 deletion docs/content/reference/task-lifecycle.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Tasks have many possible states and the processor will update the task as it tra
| `TaskStateRetry` | A task that had a previous failure and is now scheduled for later retry or one that was manually retried |
| `TaskStateExpired` | A task that was attempted to be processed but at that time it exceeded its deadline |
| `TaskStateTerminated` | A handler returned an `ErrTerminateTask` error and so will not be retried again |
| `TaskStateCompleted` | Succesful completed task |
| `TaskStateCompleted` | Successful completed task |
| `TaskStateQueueError` | Task was created but the Work Queue entry could not be made |
| `TaskStateBlocked` | When a Task is waiting on it's dependencies (since `0.0.8`) |
| `TaskStateUnreachable` | When a Task cannot execute because a dependent task failed (since `0.0.8`) |
Expand Down
54 changes: 27 additions & 27 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
module github.com/choria-io/asyncjobs

go 1.18
go 1.19

require (
github.com/AlecAivazis/survey/v2 v2.3.6
github.com/choria-io/fisk v0.3.0
github.com/dustin/go-humanize v1.0.0
github.com/choria-io/fisk v0.5.0
github.com/dustin/go-humanize v1.0.1
github.com/nats-io/jsm.go v0.0.35
github.com/nats-io/nats-server/v2 v2.9.11
github.com/nats-io/nats.go v1.22.1
github.com/onsi/ginkgo/v2 v2.7.0
github.com/onsi/gomega v1.24.2
github.com/prometheus/client_golang v1.14.0
github.com/nats-io/nats-server/v2 v2.9.16
github.com/nats-io/nats.go v1.25.0
github.com/onsi/ginkgo/v2 v2.9.4
github.com/onsi/gomega v1.27.6
github.com/prometheus/client_golang v1.15.1
github.com/robfig/cron/v3 v3.0.1
github.com/segmentio/ksuid v1.0.4
github.com/sirupsen/logrus v1.9.0
github.com/xlab/tablewriter v0.0.0-20160610135559-80b567a11ad5
golang.org/x/term v0.4.0
golang.org/x/term v0.8.0
gopkg.in/yaml.v3 v3.0.1
)

require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/go-logr/logr v1.2.4 // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38 // indirect
github.com/google/pprof v0.0.0-20230502171905-255e3b9b56de // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/klauspost/compress v1.15.14 // indirect
github.com/kr/pretty v0.1.0 // indirect
github.com/klauspost/compress v1.16.5 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.17 // indirect
github.com/mattn/go-isatty v0.0.18 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect
github.com/minio/highwayhash v1.0.2 // indirect
github.com/nats-io/jwt/v2 v2.3.0 // indirect
github.com/nats-io/nkeys v0.3.1-0.20220214171627-79ae42e4d898 // indirect
github.com/nats-io/jwt/v2 v2.4.1 // indirect
github.com/nats-io/nkeys v0.4.4 // indirect
github.com/nats-io/nuid v1.0.1 // indirect
github.com/prometheus/client_model v0.3.0 // indirect
github.com/prometheus/common v0.39.0 // indirect
github.com/prometheus/procfs v0.8.0 // indirect
golang.org/x/crypto v0.5.0 // indirect
golang.org/x/net v0.5.0 // indirect
golang.org/x/sys v0.4.0 // indirect
golang.org/x/text v0.6.0 // indirect
github.com/prometheus/client_model v0.4.0 // indirect
github.com/prometheus/common v0.43.0 // indirect
github.com/prometheus/procfs v0.9.0 // indirect
golang.org/x/crypto v0.8.0 // indirect
golang.org/x/net v0.9.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.4.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
golang.org/x/tools v0.8.0 // indirect
google.golang.org/protobuf v1.30.0 // indirect
)
Loading

0 comments on commit 11ac153

Please sign in to comment.