arberkatellari
1836b041ad
Add search function to Get(Profile)IDs APIs
2026-01-14 11:07:12 +01:00
ionutboangiu
897d6f0da1
integrate IPs with SessionS
2025-12-16 13:23:17 +01:00
ionutboangiu
eb372148d1
revise IPService implementation
2025-12-05 13:15:52 +01:00
ionutboangiu
8443af3a89
Relicense from GPLv3 to AGPLv3
2025-10-29 19:42:40 +01:00
ionutboangiu
102abf559b
improve index cache and remove empty string checks
...
- all-or-nothing cache strategy for multiple keys (fetch all keys from database
if any key is missing)
- only len(idxKeys) == 0 triggers "get all" behavior
- empty string is now treated as a valid index key
2025-10-05 08:54:11 +02:00
ionutboangiu
8d05c14aec
add support for batched index keys removal
2025-10-05 08:54:11 +02:00
ionutboangiu
164078bbbb
add support for batched index keys retrieval
2025-10-05 08:54:11 +02:00
ionutboangiu
43cdd396ba
add implementation for new ips module
2025-05-29 15:40:20 +02:00
arberkatellari
a168f262e2
Add dump and restore functionality for internal DBs
2025-04-06 12:08:40 +02:00
gezimbll
88805ac074
added get/set methods for ranking in datamanager
2024-10-17 15:54:53 +02:00
gezimbll
d50114fcbc
moved trend compressing in datamanager
2024-10-14 17:10:16 +02:00
gezimbll
3dccb44511
added compressing for metrics on trends
2024-10-14 16:01:32 +02:00
gezimblliku
5b75bacff7
added trend with get,set and remove methods in datamanager
2024-08-14 14:03:21 +02:00
arberkatellari
5ccb77c5dc
Add mongo support for sessions backup
2024-07-22 15:31:02 +02:00
gezimbll
85bd7a50e7
updated sags service name to ranking
2024-07-14 13:39:20 +02:00
gezimbll
4d4392d196
revised comments && renamed sars to trends
2024-07-14 13:39:20 +02:00
gezimbll
6c2fbbec28
added sars model,tp,api
2024-07-14 13:39:20 +02:00
gezimbll
0012477d52
added stat aggregator profile,models,tps and apis
2024-06-30 17:45:06 +02:00
arberkatellari
f46b37bdf8
Make minor improvements to sessions backup
2024-06-12 18:21:50 +02:00
arberkatellari
f356695f6f
Add active sessions backup functionalitiy
2024-06-12 18:21:50 +02:00
ionutboangiu
24cbe49d90
Add support for mongodb+srv conn format
...
Option can be found in db opts under the name 'mongoSchema'.
2023-12-11 17:15:40 +01:00
ionutboangiu
7886a35d63
Rename composeURI func to composeMongoURI
...
To reflect that it's used exclusively for MongoDB (for now at least).
Also added a descriptive comment to the function.
2023-12-07 17:07:42 +01:00
ionutboangiu
a057b34505
Use simple string concatenation to build URI
...
No need to keep the Parse call as a validation step since
any issue would be caught when establishing a connection.
Renamed buildURL to composeURI.
2023-12-07 17:07:42 +01:00
gezimbll
5f801c8b67
Revise integration tests
2023-11-30 16:52:43 +01:00
ionutboangiu
38578524da
Upgrade MongoDB driver to v1.12
...
- 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
2023-10-27 18:51:01 +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
adi
a04925bf51
Updated mongo library
2022-11-18 11:46:44 +01:00
ionutboangiu
7771de5e07
Apply go fmt project wide
2022-11-11 13:43:51 +01:00
adi
eb1000fcb9
New errors for dispatcher hosts/profile
2022-10-19 10:31:10 +02:00
adi
8db98f1408
UPdated mongo storage function
2022-10-05 20:37:14 +03:00
Trial97
4555789d53
Updated guardian
2021-07-19 15:37:19 +02:00
Trial97
6e9664f503
Updated AcionPlans
2021-06-08 12:03:21 +02:00
Trial97
aaae648ef3
Added test for set account with action plan
2021-06-08 12:03:21 +02:00
Trial97
21d4dd16fa
Removed more actions
2021-04-01 16:33:37 +02:00
nickolasdaniel
ce915c77a6
Removing ActionS
2021-04-01 16:33:37 +02:00
ionutboangiu
51bacf2c93
Remove Rates
2021-04-01 16:33:37 +02:00
ionutboangiu
3197b3a458
Remove RateS
2021-04-01 16:33:37 +02:00
andronache
51c201e50e
Removing accounts (build.sh runs)
2021-04-01 16:33:37 +02:00
porosnicuadrian
5d323f4671
Removed RateProfile from engine package to utils
2021-03-18 18:12:47 +01:00
Trial97
5353b95e43
Updated go version and replaced ioutil package
2021-03-18 16:46:55 +01:00
Trial97
f2c9ca3530
Fixed typo in license header
2021-03-10 16:22:37 +01:00
Trial97
78cbb5932b
Added replication filtering
2021-03-09 17:37:59 +01:00
Trial97
ca13e8d364
Updated tariffplans gorm statements
2021-01-12 20:01:16 +01:00
andronache
1d0a814e42
Changed consts in utils
2021-01-11 10:57:44 +01:00
andronache
4ff3b9242d
Consts in utils
2021-01-07 18:15:35 +01:00
TeoV
029f84e5f2
Encode and Decode decimal.Big structure as slice of bytes in mongo
2021-01-07 18:14:06 +01:00
TeoV
6887863ed1
Update encoding for Get/Set AccountProfile for DataManager
2021-01-06 13:56:03 +01:00
andronache
da91b07eb7
Started replacing snake_case with camelCase in utils/consts.go
2021-01-05 17:42:44 +01:00
TeoV
d316df7ae3
Remove Account2
2021-01-04 17:07:24 +01:00
TeoV
68c8625250
Add infrastructure in models for AccountProfile
2020-12-21 10:19:59 +01:00