Skip to content

Commit fe7db74

Browse files
authored
chore: add auth token provider (hyperledger-aries#290)
Signed-off-by: Firas Qutishat <[email protected]> Signed-off-by: Firas Qutishat <[email protected]>
1 parent 9b275fb commit fe7db74

File tree

14 files changed

+182
-722
lines changed

14 files changed

+182
-722
lines changed

.github/workflows/common.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ jobs:
4040
env:
4141
EXCLUDE_TEST_PATH: ./component/vdr/indy
4242
steps:
43-
- name: Setup Go 1.16
43+
- name: Setup Go 1.17
4444
uses: actions/setup-go@v2
4545
with:
46-
go-version: 1.16
46+
go-version: 1.17
4747
id: go
4848

4949
- uses: actions/checkout@v2

.github/workflows/vdr-orb.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
env:
3434
UNIT_TESTS_PATH: component/vdr/orb
3535
steps:
36-
- name: Setup Go 1.17
36+
- name: Setup Go 1.19
3737
uses: actions/setup-go@v2
3838
with:
39-
go-version: 1.17
39+
go-version: 1.19
4040
id: go
4141

4242
- uses: actions/checkout@v2
@@ -56,10 +56,10 @@ jobs:
5656
timeout-minutes: 30
5757
runs-on: ubuntu-18.04
5858
steps:
59-
- name: Setup Go 1.17
59+
- name: Setup Go 1.19
6060
uses: actions/setup-go@v2
6161
with:
62-
go-version: 1.17
62+
go-version: 1.19
6363
id: go
6464

6565
- uses: actions/checkout@v2

.github/workflows/vdr-sidetree.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
env:
3232
UNIT_TESTS_PATH: component/vdr/sidetree
3333
steps:
34-
- name: Setup Go 1.17
34+
- name: Setup Go 1.19
3535
uses: actions/setup-go@v2
3636
with:
37-
go-version: 1.17
37+
go-version: 1.19
3838
id: go
3939

4040
- uses: actions/checkout@v2

.golangci.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ linters-settings:
2323
check-blank: true
2424
govet:
2525
check-shadowing: true
26-
golint:
27-
min-confidence: 0.6
2826
gofmt:
2927
simplify: true
3028
goimports:
@@ -84,6 +82,7 @@ linters:
8482
- ifshort # TODO enable
8583
- wrapcheck # TODO enable
8684
- forbidigo # TODO enable
85+
- typecheck
8786

8887
issues:
8988
exclude-use-default: false
@@ -93,6 +92,9 @@ issues:
9392
- dupl
9493
- funlen
9594
- gomnd
95+
- path: /
96+
linters:
97+
- typecheck
9698

9799
exclude:
98100
- Line contains TODO/BUG/FIXME

component/storage/mysql/go.mod

+20-5
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,37 @@ module github.com/hyperledger/aries-framework-go-ext/component/storage/mysql
66
go 1.17
77

88
require (
9-
github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5 // indirect
109
github.com/cenkalti/backoff/v4 v4.1.0
11-
github.com/containerd/continuity v0.0.0-20200710164510-efbc4488d8fe // indirect
1210
github.com/go-sql-driver/mysql v1.5.0
13-
github.com/google/go-cmp v0.5.4 // indirect
1411
github.com/google/uuid v1.2.0
1512
github.com/hyperledger/aries-framework-go/spi v0.0.0-20220330140627-07042d78580c
1613
github.com/hyperledger/aries-framework-go/test/component v0.0.0-20220330140627-07042d78580c
14+
github.com/ory/dockertest/v3 v3.6.3
15+
github.com/stretchr/testify v1.7.0
16+
)
17+
18+
require (
19+
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 // indirect
20+
github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5 // indirect
21+
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
22+
github.com/cenkalti/backoff/v3 v3.0.0 // indirect
23+
github.com/containerd/continuity v0.0.0-20200710164510-efbc4488d8fe // indirect
24+
github.com/davecgh/go-spew v1.1.1 // indirect
25+
github.com/docker/go-connections v0.4.0 // indirect
26+
github.com/docker/go-units v0.4.0 // indirect
27+
github.com/google/go-cmp v0.5.4 // indirect
1728
github.com/kr/text v0.2.0 // indirect
1829
github.com/lib/pq v1.9.0 // indirect
30+
github.com/moby/term v0.0.0-20200915141129-7f0af18e79f2 // indirect
1931
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
2032
github.com/opencontainers/go-digest v1.0.0 // indirect
21-
github.com/ory/dockertest/v3 v3.6.3
33+
github.com/opencontainers/image-spec v1.0.1 // indirect
34+
github.com/opencontainers/runc v1.0.0-rc9 // indirect
35+
github.com/pkg/errors v0.9.1 // indirect
36+
github.com/pmezard/go-difflib v1.0.0 // indirect
2237
github.com/sirupsen/logrus v1.7.0 // indirect
23-
github.com/stretchr/testify v1.7.0
2438
golang.org/x/net v0.0.0-20210421230115-4e50805a0758 // indirect
39+
golang.org/x/sys v0.0.0-20210420072515-93ed5bcd2bfe // indirect
2540
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
2641
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
2742
)

component/vdr/orb/go.mod

+8-6
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ go 1.17
77

88
require (
99
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
10-
github.com/hyperledger/aries-framework-go v0.1.9-0.20220819134023-730ac301c3c0
11-
github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v1.0.0-rc2.0.20220729203359-da1de2fa21ce
10+
github.com/hyperledger/aries-framework-go v0.1.9-0.20221025163359-bee1ddf86975
11+
github.com/hyperledger/aries-framework-go-ext/component/vdr/sidetree v1.0.0-rc3.0.20221024123052-9b275fb1ccb3
1212
github.com/hyperledger/aries-framework-go/component/storageutil v0.0.0-20220610133818-119077b0ec85
1313
github.com/opentracing/opentracing-go v1.1.0
1414
github.com/piprate/json-gold v0.4.1
1515
github.com/stretchr/testify v1.7.5
16-
github.com/trustbloc/orb v1.0.0-rc2.0.20220826005428-b08eed04243a
17-
github.com/trustbloc/sidetree-core-go v1.0.0-rc2.0.20220729143551-6cda4cea3bf5
16+
github.com/trustbloc/orb v1.0.0-rc3.0.20221025070315-0c36510a0b88
17+
github.com/trustbloc/sidetree-core-go v1.0.0-rc3.0.20221011173557-7c4f13946f96
1818
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd
1919
)
2020

@@ -64,8 +64,7 @@ require (
6464
github.com/spaolacci/murmur3 v1.1.0 // indirect
6565
github.com/square/go-jose/v3 v3.0.0-20200630053402-0a67ce9b0693 // indirect
6666
github.com/teserakt-io/golang-ed25519 v0.0.0-20210104091850-3888c087a4c8 // indirect
67-
github.com/trustbloc/edge-core v0.1.8 // indirect
68-
github.com/trustbloc/vct v1.0.0-rc2.0.20220825171642-c395321b4820 // indirect
67+
github.com/trustbloc/vct v1.0.0-rc3.0.20221005225741-acba00018d6b // indirect
6968
github.com/x448/float16 v0.8.4 // indirect
7069
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
7170
github.com/xdg-go/scram v1.1.1 // indirect
@@ -75,6 +74,9 @@ require (
7574
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
7675
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
7776
go.mongodb.org/mongo-driver v1.9.1 // indirect
77+
go.uber.org/atomic v1.7.0 // indirect
78+
go.uber.org/multierr v1.6.0 // indirect
79+
go.uber.org/zap v1.17.0 // indirect
7880
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
7981
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f // indirect
8082
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect

0 commit comments

Comments
 (0)