mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
- Set (but comment) serverAPI options (currently distinct api and create.size BSON field are deprecated + possible others that are untested) - Remove the custom time decoder used for mongo BSON datetime values. The custom decoder was only converting these values into UTC and was not any different from the default time.Time decoder in the MongoDB driver, which also handles BSON string, int64, and document values. - Implement 'buildURL' function to connect to mongo (can also be used for mysql and postgres) - Update function names, variable names, and comments for clarity - Replace 'bsonx.Regex' with the Regex primitive for v1.12 compatibility - Use simple concatenation instead of Sprintf - Declare 'decimalType' locally, replace global 'decimalType' - Simplify several functions without altering functionality - Converting directly from a D to an M is deprecated. We are now decoding directly in a M. - Used errors.As and errors.Is for proper error comparison and assertion - Revised sloppy reassignments and added missing error checks
130 lines
5.5 KiB
Modula-2
130 lines
5.5 KiB
Modula-2
module github.com/cgrates/cgrates
|
|
|
|
go 1.21
|
|
|
|
// replace github.com/cgrates/radigo => ../radigo
|
|
|
|
// replace github.com/cgrates/rpcclient => ../rpcclient
|
|
|
|
// replace github.com/cgrates/fsock => ../fsock
|
|
|
|
// replace github.com/cgrates/kamevapi => ../kamevapi
|
|
|
|
// replace github.com/cgrates/aringo => ../aringo
|
|
|
|
require (
|
|
github.com/Azure/go-amqp v1.0.2
|
|
github.com/antchfx/xmlquery v1.3.18
|
|
github.com/aws/aws-sdk-go v1.45.26
|
|
github.com/blevesearch/bleve v1.0.14
|
|
github.com/cgrates/aringo v0.0.0-20220525160735-b5990313d99e
|
|
github.com/cgrates/baningo v0.0.0-20210413080722-004ffd5e429f
|
|
github.com/cgrates/birpc v1.3.1-0.20211117095917-5b0ff29f3084
|
|
github.com/cgrates/fsock v0.0.0-20230123160954-12cae14030cc
|
|
github.com/cgrates/kamevapi v0.0.0-20220525160402-5b8036487a6c
|
|
github.com/cgrates/ltcache v0.0.0-20210405185848-da943e80c1ab
|
|
github.com/cgrates/radigo v0.0.0-20231010181109-b0e5b086459e
|
|
github.com/cgrates/rpcclient v0.0.0-20230605090759-8bb5188b73e5
|
|
github.com/cgrates/sipingo v1.0.1-0.20200514112313-699ebc1cdb8e
|
|
github.com/cgrates/ugocodec v0.0.0-20201023092048-df93d0123f60
|
|
github.com/creack/pty v1.1.18
|
|
github.com/dgrijalva/jwt-go v3.2.0+incompatible
|
|
github.com/elastic/elastic-transport-go/v8 v8.3.0
|
|
github.com/elastic/go-elasticsearch/v8 v8.8.0
|
|
github.com/ericlagergren/decimal v0.0.0-20221120152707-495c53812d05
|
|
github.com/fiorix/go-diameter/v4 v4.0.4
|
|
github.com/fsnotify/fsnotify v1.6.0
|
|
github.com/go-sql-driver/mysql v1.7.1
|
|
github.com/gorhill/cronexpr v0.0.0-20180427100037-88b0669f7d75
|
|
github.com/mediocregopher/radix/v3 v3.8.1
|
|
github.com/miekg/dns v1.1.56
|
|
github.com/mitchellh/mapstructure v1.5.0
|
|
github.com/nats-io/nats-server/v2 v2.10.1
|
|
github.com/nats-io/nats.go v1.31.0
|
|
github.com/nyaruka/phonenumbers v1.1.8
|
|
github.com/peterh/liner v1.2.2
|
|
github.com/rabbitmq/amqp091-go v1.9.0
|
|
github.com/segmentio/kafka-go v0.4.44
|
|
go.mongodb.org/mongo-driver v1.12.1
|
|
golang.org/x/crypto v0.14.0
|
|
golang.org/x/net v0.17.0
|
|
golang.org/x/oauth2 v0.13.0
|
|
google.golang.org/api v0.147.0
|
|
gorm.io/driver/mysql v1.0.3
|
|
gorm.io/driver/postgres v1.0.6
|
|
gorm.io/gorm v1.20.11
|
|
)
|
|
|
|
require (
|
|
cloud.google.com/go/compute v1.23.0 // indirect
|
|
cloud.google.com/go/compute/metadata v0.2.3 // indirect
|
|
github.com/RoaringBitmap/roaring v0.5.5 // indirect
|
|
github.com/antchfx/xpath v1.2.4 // indirect
|
|
github.com/blevesearch/go-porterstemmer v1.0.3 // indirect
|
|
github.com/blevesearch/mmap-go v1.0.2 // indirect
|
|
github.com/blevesearch/segment v0.9.0 // indirect
|
|
github.com/blevesearch/snowballstem v0.9.0 // indirect
|
|
github.com/blevesearch/zap/v11 v11.0.14 // indirect
|
|
github.com/blevesearch/zap/v12 v12.0.14 // indirect
|
|
github.com/blevesearch/zap/v13 v13.0.6 // indirect
|
|
github.com/blevesearch/zap/v14 v14.0.5 // indirect
|
|
github.com/blevesearch/zap/v15 v15.0.3 // indirect
|
|
github.com/cenkalti/hub v1.0.1 // indirect
|
|
github.com/couchbase/ghistogram v0.1.0 // indirect
|
|
github.com/couchbase/moss v0.1.0 // indirect
|
|
github.com/couchbase/vellum v1.0.2 // indirect
|
|
github.com/glycerine/go-unsnap-stream v0.0.0-20190901134440-81cf024a9e0a // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
|
github.com/golang/snappy v0.0.4 // indirect
|
|
github.com/google/s2a-go v0.1.7 // indirect
|
|
github.com/google/uuid v1.3.1 // indirect
|
|
github.com/googleapis/enterprise-certificate-proxy v0.3.1 // indirect
|
|
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
|
|
github.com/ishidawataru/sctp v0.0.0-20191218070446-00ab2ac2db07 // indirect
|
|
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
|
|
github.com/jackc/pgconn v1.8.0 // indirect
|
|
github.com/jackc/pgio v1.0.0 // indirect
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
github.com/jackc/pgproto3/v2 v2.0.7 // indirect
|
|
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
|
|
github.com/jackc/pgtype v1.6.2 // indirect
|
|
github.com/jackc/pgx/v4 v4.10.1 // indirect
|
|
github.com/jinzhu/inflection v1.0.0 // indirect
|
|
github.com/jinzhu/now v1.1.5 // indirect
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
|
github.com/klauspost/compress v1.17.1 // indirect
|
|
github.com/lib/pq v1.8.0 // indirect
|
|
github.com/mattn/go-runewidth v0.0.15 // indirect
|
|
github.com/minio/highwayhash v1.0.2 // indirect
|
|
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe // indirect
|
|
github.com/mschoch/smat v0.2.0 // indirect
|
|
github.com/nats-io/jwt/v2 v2.5.2 // indirect
|
|
github.com/nats-io/nkeys v0.4.5 // indirect
|
|
github.com/nats-io/nuid v1.0.1 // indirect
|
|
github.com/philhofer/fwd v1.1.1 // indirect
|
|
github.com/pierrec/lz4/v4 v4.1.18 // indirect
|
|
github.com/rivo/uniseg v0.4.4 // indirect
|
|
github.com/steveyen/gtreap v0.1.0 // indirect
|
|
github.com/syndtr/goleveldb v1.0.0 // indirect
|
|
github.com/tinylib/msgp v1.1.5 // indirect
|
|
github.com/willf/bitset v1.1.11 // indirect
|
|
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
|
|
github.com/xdg-go/scram v1.1.2 // indirect
|
|
github.com/xdg-go/stringprep v1.0.4 // indirect
|
|
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect
|
|
go.etcd.io/bbolt v1.3.5 // indirect
|
|
go.opencensus.io v0.24.0 // indirect
|
|
golang.org/x/mod v0.13.0 // indirect
|
|
golang.org/x/sync v0.4.0 // indirect
|
|
golang.org/x/sys v0.13.0 // indirect
|
|
golang.org/x/text v0.13.0 // indirect
|
|
golang.org/x/time v0.3.0 // indirect
|
|
golang.org/x/tools v0.14.0 // indirect
|
|
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
|
|
google.golang.org/appengine v1.6.8 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20231009173412-8bfb1ae86b6c // indirect
|
|
google.golang.org/grpc v1.58.2 // indirect
|
|
google.golang.org/protobuf v1.31.0 // indirect
|
|
)
|