Skip to content

Commit 37a13fe

Browse files
Bump indexer version to 3.0.0 (#111)
1 parent c6fa366 commit 37a13fe

File tree

6 files changed

+83
-207
lines changed

6 files changed

+83
-207
lines changed

conduit/plugins/exporters/postgresql/postgresql_exporter.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import (
1212
"github.com/sirupsen/logrus"
1313

1414
sdk "github.com/algorand/go-algorand-sdk/v2/types"
15-
"github.com/algorand/indexer/idb"
16-
_ "github.com/algorand/indexer/idb/postgres" // register driver
17-
"github.com/algorand/indexer/types"
18-
iutil "github.com/algorand/indexer/util"
15+
"github.com/algorand/indexer/v3/idb"
16+
_ "github.com/algorand/indexer/v3/idb/postgres" // register driver
17+
"github.com/algorand/indexer/v3/types"
18+
iutil "github.com/algorand/indexer/v3/util"
1919

2020
"github.com/algorand/conduit/conduit/data"
2121
"github.com/algorand/conduit/conduit/plugins"

conduit/plugins/exporters/postgresql/postgresql_exporter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"gopkg.in/yaml.v3"
1212

1313
sdk "github.com/algorand/go-algorand-sdk/v2/types"
14-
_ "github.com/algorand/indexer/idb/dummy"
14+
_ "github.com/algorand/indexer/v3/idb/dummy"
1515

1616
"github.com/algorand/conduit/conduit"
1717
"github.com/algorand/conduit/conduit/data"

conduit/plugins/exporters/postgresql/util/prune.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/sirupsen/logrus"
99

10-
"github.com/algorand/indexer/idb"
10+
"github.com/algorand/indexer/v3/idb"
1111
)
1212

1313
// Interval determines how often to delete data

conduit/plugins/exporters/postgresql/util/prune_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import (
1414
"github.com/sirupsen/logrus/hooks/test"
1515
"github.com/stretchr/testify/assert"
1616

17-
"github.com/algorand/indexer/idb"
18-
"github.com/algorand/indexer/idb/postgres"
19-
pgtest "github.com/algorand/indexer/idb/postgres/testing"
17+
"github.com/algorand/indexer/v3/idb"
18+
"github.com/algorand/indexer/v3/idb/postgres"
19+
pgtest "github.com/algorand/indexer/v3/idb/postgres/testing"
2020
)
2121

2222
var logger *logrus.Logger

go.mod

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.20
55
require (
66
github.com/algorand/go-algorand-sdk/v2 v2.2.0
77
github.com/algorand/go-codec/codec v1.1.10
8-
github.com/algorand/indexer v0.0.0-20230601214318-cb2f42818f82
8+
github.com/algorand/indexer/v3 v3.0.0
99
github.com/google/uuid v1.3.0
1010
github.com/jackc/pgx/v4 v4.13.0
1111
github.com/opensearch-project/opensearch-go/v2 v2.3.0
@@ -19,22 +19,23 @@ require (
1919
)
2020

2121
require (
22-
github.com/Microsoft/go-winio v0.4.14 // indirect
22+
github.com/Microsoft/go-winio v0.5.2 // indirect
2323
github.com/algorand/avm-abi v0.2.0 // indirect
2424
github.com/algorand/oapi-codegen v1.12.0-algorand.0 // indirect
2525
github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect
2626
github.com/beorn7/perks v1.0.1 // indirect
2727
github.com/cespare/xxhash/v2 v2.1.2 // indirect
2828
github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect
2929
github.com/davecgh/go-spew v1.1.1 // indirect
30-
github.com/docker/distribution v2.7.1+incompatible // indirect
31-
github.com/docker/docker v1.13.1 // indirect
30+
github.com/docker/distribution v2.8.0+incompatible // indirect
31+
github.com/docker/docker v23.0.4+incompatible // indirect
3232
github.com/docker/go-connections v0.4.0 // indirect
3333
github.com/docker/go-units v0.4.0 // indirect
3434
github.com/getkin/kin-openapi v0.107.0 // indirect
35-
github.com/go-openapi/jsonpointer v0.19.5 // indirect
36-
github.com/go-openapi/swag v0.19.5 // indirect
37-
github.com/golang/protobuf v1.5.2 // indirect
35+
github.com/go-openapi/jsonpointer v0.19.6 // indirect
36+
github.com/go-openapi/swag v0.22.3 // indirect
37+
github.com/gogo/protobuf v1.3.2 // indirect
38+
github.com/golang/protobuf v1.5.3 // indirect
3839
github.com/google/go-querystring v1.0.0 // indirect
3940
github.com/inconshreveable/mousetrap v1.0.0 // indirect
4041
github.com/invopop/yaml v0.1.0 // indirect
@@ -48,17 +49,17 @@ require (
4849
github.com/jackc/pgtype v1.8.1 // indirect
4950
github.com/jackc/puddle v1.1.3 // indirect
5051
github.com/josharian/intern v1.0.0 // indirect
51-
github.com/kr/text v0.2.0 // indirect
5252
github.com/labstack/echo/v4 v4.9.1 // indirect
5353
github.com/labstack/gommon v0.4.0 // indirect
54-
github.com/lib/pq v1.10.2 // indirect
54+
github.com/lib/pq v1.10.8 // indirect
5555
github.com/mailru/easyjson v0.7.7 // indirect
5656
github.com/mattn/go-colorable v0.1.12 // indirect
5757
github.com/mattn/go-isatty v0.0.14 // indirect
5858
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
5959
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
60-
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect
61-
github.com/orlangure/gnomock v0.12.0 // indirect
60+
github.com/opencontainers/go-digest v1.0.0 // indirect
61+
github.com/opencontainers/image-spec v1.0.2 // indirect
62+
github.com/orlangure/gnomock v0.28.0 // indirect
6263
github.com/pkg/errors v0.9.1 // indirect
6364
github.com/pmezard/go-difflib v1.0.0 // indirect
6465
github.com/prometheus/client_model v0.2.0 // indirect
@@ -69,14 +70,14 @@ require (
6970
github.com/stretchr/objx v0.5.0 // indirect
7071
github.com/valyala/bytebufferpool v1.0.0 // indirect
7172
github.com/valyala/fasttemplate v1.2.1 // indirect
72-
go.uber.org/atomic v1.7.0 // indirect
73-
go.uber.org/multierr v1.6.0 // indirect
74-
go.uber.org/zap v1.17.0 // indirect
75-
golang.org/x/crypto v0.1.0 // indirect
76-
golang.org/x/net v0.7.0 // indirect
77-
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
78-
golang.org/x/sys v0.5.0 // indirect
79-
golang.org/x/text v0.7.0 // indirect
80-
google.golang.org/protobuf v1.28.0 // indirect
73+
go.uber.org/atomic v1.9.0 // indirect
74+
go.uber.org/multierr v1.7.0 // indirect
75+
go.uber.org/zap v1.24.0 // indirect
76+
golang.org/x/crypto v0.6.0 // indirect
77+
golang.org/x/net v0.8.0 // indirect
78+
golang.org/x/sync v0.1.0 // indirect
79+
golang.org/x/sys v0.6.0 // indirect
80+
golang.org/x/text v0.8.0 // indirect
81+
google.golang.org/protobuf v1.28.1 // indirect
8182
gopkg.in/yaml.v2 v2.4.0 // indirect
8283
)

0 commit comments

Comments
 (0)