mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
HierarchyPath parser now returns nil when the path is empty (instead of a string slice with one EmptyString element). If isAbsolute is set to true, when calling the AsString method on a nil HierarchyPath, only the separator will be returned. Alternatively, if isAbsolute is false, it will just return . to signal that the path currently being processed is the one required.This avoids a nil expr error coming from the xmlquery library. Use the Query and QueryAll functions from the xmlquery package to be able to handle the errors ourselves and avoid panics. Remove config default value for xmlRootPath. The field will remain commented in config_defaults for reference. Add tests for HierarchyPath.AsString function. Add comments for XmlProvider and xmlRootPath opt. Update XmlProvider String() func based on the comment which specifies that it should display the already parsed values out of cache.
134 lines
5.8 KiB
Modula-2
134 lines
5.8 KiB
Modula-2
module github.com/cgrates/cgrates
|
|
|
|
go 1.21
|
|
|
|
// replace github.com/cgrates/radigo => ../radigo
|
|
|
|
// replace github.com/cgrates/rpcclient => ../rpcclient
|
|
|
|
require (
|
|
github.com/Azure/go-amqp v0.18.1
|
|
github.com/antchfx/xmlquery v1.3.11
|
|
github.com/aws/aws-sdk-go v1.44.43
|
|
github.com/blevesearch/bleve v1.0.14
|
|
github.com/cenkalti/rpc2 v0.0.0-20210604223624-c1acbc6ec984
|
|
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/cron v0.0.0-20201022095836-3522d5b72c70
|
|
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-20210902121842-ea2f9a730627
|
|
github.com/cgrates/rpcclient v0.0.0-20220922181803-b3ddc74ad65a
|
|
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.0.0-20230329154755-1a3c63de0db6
|
|
github.com/elastic/go-elasticsearch/v8 v8.8.0
|
|
github.com/ericlagergren/decimal v0.0.0-20211103172832-aca2edc11f73
|
|
github.com/fiorix/go-diameter/v4 v4.0.4
|
|
github.com/fsnotify/fsnotify v1.5.4
|
|
github.com/go-sql-driver/mysql v1.6.0
|
|
github.com/mediocregopher/radix/v3 v3.8.0
|
|
github.com/miekg/dns v1.1.50
|
|
github.com/nats-io/nats.go v1.30.2
|
|
github.com/nyaruka/phonenumbers v1.1.0
|
|
github.com/peterh/liner v1.2.2
|
|
github.com/rabbitmq/amqp091-go v1.5.0
|
|
github.com/segmentio/kafka-go v0.4.32
|
|
go.mongodb.org/mongo-driver v1.11.0
|
|
golang.org/x/crypto v0.13.0
|
|
golang.org/x/exp v0.0.0-20230905200255-921286631fa9
|
|
golang.org/x/net v0.15.0
|
|
golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2
|
|
google.golang.org/api v0.85.0
|
|
gorm.io/driver/mysql v1.3.4
|
|
gorm.io/driver/postgres v1.3.7
|
|
gorm.io/gorm v1.23.6
|
|
)
|
|
|
|
require (
|
|
github.com/RoaringBitmap/roaring v1.2.1 // indirect
|
|
github.com/antchfx/xpath v1.2.1 // indirect
|
|
github.com/blevesearch/go-porterstemmer v1.0.3 // indirect
|
|
github.com/blevesearch/mmap-go v1.0.4 // 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.3.0 // indirect
|
|
github.com/couchbase/vellum v1.0.2 // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/golang/protobuf v1.5.2 // indirect
|
|
github.com/golang/snappy v0.0.4 // indirect
|
|
github.com/googleapis/gax-go/v2 v2.4.0 // indirect
|
|
github.com/ishidawataru/sctp v0.0.0-20210707070123-9a39160e9062 // indirect
|
|
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
|
|
github.com/jackc/pgconn v1.12.1 // indirect
|
|
github.com/jackc/pgio v1.0.0 // indirect
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
github.com/jackc/pgproto3/v2 v2.3.0 // indirect
|
|
github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b // indirect
|
|
github.com/jackc/pgtype v1.11.0 // indirect
|
|
github.com/jackc/pgx/v4 v4.16.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.0 // indirect
|
|
github.com/mattn/go-runewidth v0.0.13 // indirect
|
|
github.com/mschoch/smat v0.2.0 // indirect
|
|
github.com/nats-io/nats-server/v2 v2.10.1
|
|
github.com/nats-io/nkeys v0.4.5 // indirect
|
|
github.com/nats-io/nuid v1.0.1 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/prometheus/client_golang v1.12.2
|
|
github.com/rivo/uniseg v0.2.0 // indirect
|
|
github.com/steveyen/gtreap v0.1.0 // indirect
|
|
github.com/syndtr/goleveldb v1.0.0 // indirect
|
|
github.com/tinylib/msgp v1.1.6 // indirect
|
|
github.com/willf/bitset v1.1.11 // indirect
|
|
github.com/xdg/scram v1.0.5 // indirect
|
|
github.com/xdg/stringprep v1.0.3 // indirect
|
|
go.etcd.io/bbolt v1.3.6 // indirect
|
|
go.opencensus.io v0.23.0 // indirect
|
|
golang.org/x/mod v0.12.0 // indirect
|
|
golang.org/x/sync v0.3.0 // indirect
|
|
golang.org/x/sys v0.12.0 // indirect
|
|
golang.org/x/text v0.13.0 // indirect
|
|
golang.org/x/tools v0.13.0 // indirect
|
|
golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect
|
|
google.golang.org/appengine v1.6.7 // indirect
|
|
google.golang.org/genproto v0.0.0-20220627200112-0a929928cb33 // indirect
|
|
google.golang.org/grpc v1.47.0 // indirect
|
|
google.golang.org/protobuf v1.28.0 // indirect
|
|
)
|
|
|
|
require (
|
|
cloud.google.com/go/compute v1.7.0 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/bits-and-blooms/bitset v1.2.2 // indirect
|
|
github.com/cespare/xxhash/v2 v2.1.2 // indirect
|
|
github.com/google/uuid v1.3.0 // indirect
|
|
github.com/googleapis/enterprise-certificate-proxy v0.1.0 // indirect
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
|
|
github.com/minio/highwayhash v1.0.2 // indirect
|
|
github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe // indirect
|
|
github.com/nats-io/jwt/v2 v2.5.2 // indirect
|
|
github.com/pierrec/lz4/v4 v4.1.15 // indirect
|
|
github.com/prometheus/client_model v0.2.0 // indirect
|
|
github.com/prometheus/common v0.35.0 // indirect
|
|
github.com/prometheus/procfs v0.7.3 // indirect
|
|
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
|
|
github.com/xdg-go/scram v1.1.1 // indirect
|
|
github.com/xdg-go/stringprep v1.0.3 // indirect
|
|
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
|
|
golang.org/x/time v0.3.0 // indirect
|
|
)
|