Commit Graph

1227 Commits

Author SHA1 Message Date
arberkatellari
681cd3c58a Add dryrun for CDRsV2ProcessEvent 2023-11-09 09:37:34 +01:00
arberkatellari
8781b968ac Remove unnecessary LazySanityCheck 2023-11-09 09:37:34 +01:00
Varun Dhand
5e513d130d fix: typo in rjreader.go 2023-11-09 09:37:34 +01:00
ionutboangiu
3e852be287 Update it test to set up environment using setupTest()
This has been done in order to check the newly implemented helpers'
functionality.
2023-11-02 19:38:24 +01:00
ionutboangiu
4ca66ed6c4 Update *ec template values in test ee configuration
*ec.CostDetails.EventCostField -> *ec.EventCostField
2023-10-27 18:51:01 +02:00
arberkatellari
5872b810ec Change default storedb password 2023-10-25 10:16:07 +02:00
arberkatellari
d7aabe20e3 Continue test for rerating through ers 2023-10-16 13:35:30 +03:00
arberkatellari
e3915b2009 Correct test and add test for rerating CDRs using ERs 2023-10-16 13:35:30 +03:00
ionutboangiu
6c41ebe0de Add sanity check to prevent xml reader panic
HierarchyPath parser now returns nil when
the path is empty (instead of a string slice with one
EmptyString element).

If the prefix is set to true, when calling the AsString
method on a nil HierarchyPath, only the separator will
be returned. 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 xml_root_path. The field
will remain commented in config_defaults for reference.

Add tests for HierarchyPath.AsString function.

Add comments for XmlProvider and xml_root_path opt.
2023-10-16 13:18:12 +03:00
arberkatellari
47e75fab13 Update radigo, add multiple folder functionality 2023-10-11 11:18:32 +02:00
arberkatellari
4a812a294b Correct addition of vendor at radReplyAppendAttributes & IT test for it 2023-10-05 17:24:08 +02:00
arberkatellari
66c6668bd2 Add case with error and blocker for radius config 2023-10-04 20:59:11 +02:00
ionutboangiu
bac73aa2c6 Migrate to new jetstream API
Updated ees/ers implementation to use the jetstream package which
separates the jetstream context from Core NATS.

Removed the jsOpts fields from the NatsEE struct. We are now using the
jetStreamMaxWait option directly through a timeout context.

Added streamName option for NATS reader since it is now required to be
specified when creating a consumer (it is not inferred based on subject
anymore).

Updated nats ers integration test.

Removed deprecated birpc unit test.

Updated tests to also use the new jetstream package.

Updated tests to start the nats-server using their official driver
instead of using the std go exec package. time.Sleeps are now not
required anymore to wait for the server.

In test configurations for nats readers, made sure that natsStreamName
option is populated. It is now required for consumers to know where to
subscribe.

Fixed potential panic that happened when jetstreamMaxWait option would
not be set.
2023-09-28 20:48:07 +02:00
Bas Couwenberg
8894cc19ee Fix spelling errors.
* beacause     -> because
 * disconect    -> disconnect
 * quering      -> querying
 * retrived     -> retrieved
 * syncronous   -> synchronous
 * treshold     -> threshold
 * unsuccesfull -> unsuccessful
2023-09-11 12:24:52 +02:00
ionutboangiu
29d030bd69 Update files related to rpm packaging 2023-07-21 09:00:46 +02:00
gezimbll
2e93354ad1 Added new fields in sentrypeerCfg && implemented fallback loop on unauthorized requests 2023-07-14 17:24:03 +02:00
gezimbll
9af02771fd Added sentrypeer credentials in config && cache partition 2023-07-14 17:24:03 +02:00
gezimbll
2c1f5012fc Updated sentrypeer filter value types 2023-07-14 17:24:03 +02:00
gezimbll
8ed7bdd060 Added it test_for sentrypeer filter 2023-07-14 17:24:03 +02:00
arberkatellari
13506235ae Add digit and verbose flags for cgr-tester 2023-07-14 17:09:09 +02:00
arberkatellari
bd68a65705 Add SRV and A record implementation & tests 2023-07-05 08:32:44 +02:00
arberkatellari
620856f731 Add tests for revised dnsagent 2023-06-27 11:06:27 +02:00
arberkatellari
5f04bcfe66 Add locks for dns service and agent 2023-06-27 11:06:27 +02:00
arberkatellari
8c19386d58 Revise dnsagent service and its default port 2023-06-27 11:06:27 +02:00
arberkatellari
8fb0ab08e3 Implement support for multiple concurrent dnsagents 2023-06-27 11:06:27 +02:00
ionutboangiu
cf36f67d87 Revise logging .conf files 2023-06-23 11:54:59 +02:00
ionutboangiu
e99d0f63bf Remove executable bit from files where it's not needed
Specifically files ending in:
- .go
- .md
- .conf
- .json
- .csv
2023-06-23 11:54:59 +02:00
gezimbll
b755fcca01 Added *vars for ExportRequest && unit tests 2023-06-22 10:36:46 +02:00
gezimbll
77e9c5720d Added timestamp for els documents 2023-06-22 10:36:46 +02:00
gezimbll
5eb97906be Implemention for els exporter over https && adding logger type for els exporter requests 2023-06-16 09:58:31 +02:00
gezimbll
fa09ca2f09 Added exporter config for els cloud 2023-06-16 09:58:31 +02:00
gezimbll
764d531beb Added support for additional els features 2023-06-16 09:58:31 +02:00
gezimbll
fcd393807a Added opts for connecing to Els CLoud 2023-06-16 09:58:31 +02:00
gezimbll
0e4162328b Added opts for connecing to Els CLoud 2023-06-16 09:58:31 +02:00
gezimbll
f780621625 Add check for els nodes in config 2023-06-16 09:58:31 +02:00
gezimbll
0666ec9082 Added config in ees for elasticsearch cluster 2023-06-08 11:04:36 +02:00
ionutboangiu
25e08ebe79 Add options for SASL PLAIN auth (amqp 1.0) 2023-02-22 18:20:33 +01:00
ionutboangiu
d4cc3f39d6 Add integration tests for amqpv1 exporter 2023-02-21 18:27:45 +01:00
ionutboangiu
12ed87a5e1 Add integration tests for kafka exporter 2023-02-21 18:27:45 +01:00
ionutboangiu
70c393cbb0 Revise amqp integration tests 2023-02-21 18:27:45 +01:00
ionutboangiu
9ee38516ac Add it test for AMQP exporter 2023-02-02 09:40:55 +01:00
ionutboangiu
347da4d066 Revise configuration files for s3/sqs exporters 2023-01-20 13:58:10 +01:00
ionutboangiu
99548f291a Add tests for fraud detection using stats & thresholds 2023-01-13 16:22:02 +01:00
adi
ad8470a805 Changed FileName into ers+configs 2022-11-20 18:46:17 +01:00
adi
8f416cdbca Improved dispatcher consts and opts test working 2022-10-21 18:05:21 +02:00
adi
d7ee81c86e Changed cache verification replication/remote 2022-10-21 10:12:44 +02:00
adi
eb1000fcb9 New errors for dispatcher hosts/profile 2022-10-19 10:31:10 +02:00
ionutboangiu
857596e536 Add flags to sqs and s3 integration tests for key and secret 2022-10-14 18:45:36 +02:00
ionutboangiu
9175431764 Remove identation from config samples 2022-10-14 18:45:36 +02:00
ionutboangiu
cadf4be685 Remove identation from dispatcher tests config files 2022-10-14 15:21:19 +02:00