netmaker/controllers
Max Ma 46b8fd21c8
NET-1440: scale test changes (#3014)
* NET-1440 scale test changes

* fix UT error and add error info

* load metric data into cacha in startup

* remove debug info for metric

* add server telemetry and hasSuperAdmin to cache

* fix user UT case

* update sqlite connection string for performance

* update check-in TS in cache only if cache enabled

* update metric data in cache only if cache enabled and write to DB once in stop

* update server status in mq topic

* add failover existed to server status update

* only send mq messsage when there is server status change

* batch peerUpdate

* code changes for scale for review

* update UT case

* update mq client check

* mq connection code change

* revert server status update changes

* revert batch peerUpdate

* remove server status update info

* code changes based on review and setupmqtt in keepalive

* set the mq message order to false for PIN

* remove setupmqtt in keepalive

* recycle ip in node deletion

* update ip allocation logic

* remove ip addr cap

* remove ippool file

* update get extClient func

* remove ip from cache map when extClient is removed
2024-08-15 11:59:00 +05:30
..
config NET-940: Inet Gws (#2828) 2024-02-28 08:46:51 +07:00
controller.go New Docs (#3034) 2024-08-15 11:55:01 +05:30
debug.go memory issue work 2021-12-08 16:52:32 -05:00
dns.go New Docs (#3034) 2024-08-15 11:55:01 +05:30
dns_test.go feat(NET-591): allow generic DNS entries (#2568) 2023-09-20 14:20:08 +02:00
enrollmentkeys.go NET-1440: scale test changes (#3014) 2024-08-15 11:59:00 +05:30
ext_client.go New Docs (#3034) 2024-08-15 11:55:01 +05:30
files.go New Docs (#3034) 2024-08-15 11:55:01 +05:30
hosts.go NET-1440: scale test changes (#3014) 2024-08-15 11:59:00 +05:30
ipservice.go New Docs (#3034) 2024-08-15 11:55:01 +05:30
legacy.go New Docs (#3034) 2024-08-15 11:55:01 +05:30
limits.go [NET-494 / ACC-322] New free tier limits (#2495) 2023-08-08 23:17:49 +05:30
logger.go Replaced string methods with HTTP consts 2022-12-23 09:49:08 -05:00
migrate.go rename isstaticendpoint to isstatic 2024-06-03 10:37:19 +02:00
network.go NET-1440: scale test changes (#3014) 2024-08-15 11:59:00 +05:30
network_test.go NET-1440: scale test changes (#3014) 2024-08-15 11:59:00 +05:30
node.go NET-1440: scale test changes (#3014) 2024-08-15 11:59:00 +05:30
node_test.go NET-940: Inet Gws (#2828) 2024-02-28 08:46:51 +07:00
regex.go fix(NET-486): change client name length validation (#2498) 2023-08-08 15:59:02 +05:30
regex_test.go fix(NET-486): change client name length validation (#2498) 2023-08-08 15:59:02 +05:30
response_test.go refactoring for ee 2022-09-14 13:26:31 -04:00
server.go New Docs (#3034) 2024-08-15 11:55:01 +05:30
test.db renamed integration test to *_test.go.bak until they can be fixed. Should enable the workflow action to run successfully 2021-09-06 15:36:53 -04:00
user.go New Docs (#3034) 2024-08-15 11:55:01 +05:30
user_test.go NET-1440: scale test changes (#3014) 2024-08-15 11:59:00 +05:30