diff --git a/ee/agent/go.mod b/ee/agent/go.mod index 293fcbc90a..ada86304cd 100644 --- a/ee/agent/go.mod +++ b/ee/agent/go.mod @@ -118,7 +118,6 @@ require ( replace ( github.com/formancehq/membership-api/client => ./client github.com/formancehq/operator => ./../../components/operator - github.com/formancehq/payments => ../../components/payments github.com/zitadel/oidc/v2 => github.com/formancehq/oidc/v2 v2.0.0-20230524073911-09bdd1dca291 k8s.io/client-go v0.26.0 => k8s.io/client-go v0.25.4 ) diff --git a/ee/search/go.mod b/ee/search/go.mod deleted file mode 100644 index 2169910b74..0000000000 --- a/ee/search/go.mod +++ /dev/null @@ -1,113 +0,0 @@ -module github.com/formancehq/search - -go 1.22.0 - -toolchain go1.22.7 - -require ( - github.com/aquasecurity/esquery v0.2.0 - github.com/bombsimon/logrusr/v3 v3.1.0 - github.com/formancehq/go-libs v1.7.1 - github.com/gorilla/handlers v1.5.1 - github.com/gorilla/mux v1.8.1 - github.com/opensearch-project/opensearch-go v1.1.0 - github.com/pkg/errors v0.9.1 - github.com/spf13/cobra v1.8.1 - github.com/stretchr/testify v1.9.0 - github.com/tidwall/gjson v1.14.4 - go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux v0.44.0 - go.opentelemetry.io/otel v1.30.0 - go.opentelemetry.io/otel/trace v1.30.0 - go.uber.org/fx v1.22.2 -) - -require ( - github.com/aws/aws-sdk-go-v2 v1.31.0 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.17.34 // indirect - github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.14 // indirect - github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 // indirect - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 // indirect - github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.5 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.20 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.23.0 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.0 // indirect - github.com/aws/aws-sdk-go-v2/service/sts v1.31.0 // indirect - github.com/aws/smithy-go v1.21.0 // indirect - github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect - github.com/go-chi/chi/v5 v5.1.0 // indirect - github.com/goccy/go-json v0.10.3 // indirect - github.com/golang-jwt/jwt/v5 v5.2.1 // indirect - github.com/jinzhu/inflection v1.0.0 // indirect - github.com/lestrrat-go/backoff/v2 v2.0.8 // indirect - github.com/lestrrat-go/blackmagic v1.0.2 // indirect - github.com/lestrrat-go/httpcc v1.0.1 // indirect - github.com/lestrrat-go/iter v1.0.2 // indirect - github.com/lestrrat-go/jwx v1.2.30 // indirect - github.com/lestrrat-go/option v1.0.1 // indirect - github.com/puzpuzpuz/xsync/v3 v3.4.0 // indirect - github.com/riandyrn/otelchi v0.10.0 // indirect - github.com/tmthrgd/go-hex v0.0.0-20190904060850-447a3041c3bc // indirect - github.com/uptrace/bun v1.2.3 // indirect - github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect - github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect - go.opentelemetry.io/otel/log v0.6.0 // indirect - gopkg.in/go-jose/go-jose.v2 v2.6.3 // indirect -) - -require ( - github.com/ThreeDotsLabs/watermill v1.3.7 // indirect - github.com/aws/aws-sdk-go-v2/config v1.27.36 - github.com/cenkalti/backoff/v4 v4.3.0 // indirect - github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect - github.com/elastic/go-elasticsearch/v7 v7.17.10 // indirect - github.com/fatih/structs v1.1.0 // indirect - github.com/felixge/httpsnoop v1.0.4 // indirect - github.com/go-logr/logr v1.4.2 // indirect - github.com/go-logr/stdr v1.2.2 // indirect - github.com/google/uuid v1.6.0 // indirect - github.com/gorilla/schema v1.4.1 // indirect - github.com/gorilla/securecookie v1.1.2 // indirect - github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0 // indirect - github.com/hashicorp/go-cleanhttp v0.5.2 // indirect - github.com/hashicorp/go-retryablehttp v0.7.7 // indirect - github.com/inconshreveable/mousetrap v1.1.0 // indirect - github.com/lithammer/shortuuid/v3 v3.0.7 // indirect - github.com/muhlemmer/gu v0.3.1 // indirect - github.com/muhlemmer/httpforwarded v0.1.0 // indirect - github.com/oklog/ulid v1.3.1 // indirect - github.com/opensearch-project/opensearch-go/v2 v2.3.0 - github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/rs/cors v1.11.1 // indirect - github.com/sirupsen/logrus v1.9.3 // indirect - github.com/spf13/pflag v1.0.5 // indirect - github.com/tidwall/match v1.1.1 // indirect - github.com/tidwall/pretty v1.2.1 // indirect - github.com/uptrace/opentelemetry-go-extra/otellogrus v0.3.2 // indirect - github.com/uptrace/opentelemetry-go-extra/otelutil v0.3.2 // indirect - github.com/zitadel/oidc/v2 v2.12.2 // indirect - go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0 // indirect - go.opentelemetry.io/contrib/propagators/b3 v1.30.0 // indirect - go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.30.0 // indirect - go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.30.0 // indirect - go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.30.0 // indirect - go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.30.0 // indirect - go.opentelemetry.io/otel/metric v1.30.0 // indirect - go.opentelemetry.io/otel/sdk v1.30.0 // indirect - go.opentelemetry.io/proto/otlp v1.3.1 // indirect - go.uber.org/dig v1.18.0 // indirect - go.uber.org/multierr v1.11.0 // indirect - go.uber.org/zap v1.27.0 // indirect - golang.org/x/crypto v0.27.0 // indirect - golang.org/x/net v0.29.0 // indirect - golang.org/x/oauth2 v0.23.0 // indirect - golang.org/x/sys v0.25.0 // indirect - golang.org/x/text v0.18.0 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect - google.golang.org/grpc v1.67.0 // indirect - google.golang.org/protobuf v1.34.2 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect -) - -replace github.com/formancehq/ledger => ../../components/ledger diff --git a/ee/wallets/Earthfile b/ee/wallets/Earthfile index fcc3516de0..402bb653ac 100644 --- a/ee/wallets/Earthfile +++ b/ee/wallets/Earthfile @@ -9,7 +9,6 @@ FROM core+base-image sources: WORKDIR src - COPY (stack+sources/out --LOCATION=components/ledger) components/ledger COPY --pass-args (releases+sdk-generate/go) /src/releases/sdks/go WORKDIR /src/ee/wallets COPY go.* . diff --git a/ee/wallets/go.mod b/ee/wallets/go.mod index 4736ca3c27..e8f9661e59 100644 --- a/ee/wallets/go.mod +++ b/ee/wallets/go.mod @@ -91,4 +91,4 @@ require ( replace github.com/formancehq/formance-sdk-go/v2 => ../../releases/sdks/go -replace github.com/formancehq/ledger => ../../components/ledger +replace github.com/formancehq/ledger => github.com/formancehq/ledger v0.0.0-20240925161848-3cf78b93df02 diff --git a/ee/wallets/go.sum b/ee/wallets/go.sum index 46c5e53f6f..5c4891b7fe 100644 --- a/ee/wallets/go.sum +++ b/ee/wallets/go.sum @@ -67,6 +67,8 @@ github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2 github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/formancehq/go-libs v1.7.1 h1:9D5cxKWFlVtdX5AYDXeUz1Nb9PdoEfQX0f/yeLsU324= github.com/formancehq/go-libs v1.7.1/go.mod h1:pWTScpoyieF7OoJ6WVmXNG9NhDjbZbAmFqd7UOw85iI= +github.com/formancehq/ledger v0.0.0-20240925161848-3cf78b93df02 h1:0jB2JrN653A25DxUh4THjujWFZseMQqg5VMwGQxv7gc= +github.com/formancehq/ledger v0.0.0-20240925161848-3cf78b93df02/go.mod h1:sGscj1S3S2ndAzOPVFQFBuC72YF8t+OAm/hcqDcxpxI= github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw= github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/go-chi/render v1.0.3 h1:AsXqd2a1/INaIfUSKq3G5uA8weYx20FOsM7uSoCyyt4=