netmaker/controllers
Abhishek K 230e062c84
GRA-1298: License check changes, free tier limits for saas (#2418)
* set free tier limits through config

* add host limit to config

* check for host limit on free tier

* fix license validation, replace node limit with hosts

* add hosts to telemetry data

* debug init

* validate license every 1hr

* hook manager, api to fetch server usage

* hook manager, server usage api

* encode json server usage api

* update ngork url

* update license validation endpoint

* avoid setting limits on eer

* adding hotfix

* correct users limits env var

* add comments to exported funcs

---------

Co-authored-by: afeiszli <alex.feiszli@gmail.com>
2023-06-28 20:33:06 +05:30
..
config remove agentbackend 2023-02-20 02:22:00 -07:00
controller.go added ability to remove legacy nodes 2023-03-07 11:02:51 -05:00
debug.go memory issue work 2021-12-08 16:52:32 -05:00
dns.go Added user sorting and fixed error 2023-04-03 14:36:38 -04:00
dns_test.go Tests: Handle all errors, key struct fields for go vet, enhance CI 2023-02-16 02:11:30 -08:00
docs.go update develop to v0.20.3 (#2412) 2023-06-21 19:45:44 +05:30
enrollmentkeys.go NET-152 enrollment keys for non admins (#2346) 2023-05-31 13:11:54 +05:30
ext_client.go Extclient NET-63x (#2286) 2023-05-17 10:58:03 -04:00
files.go Update swagger docs 2022-09-10 21:51:59 -07:00
hosts.go Net-137: Node relays (#2401) 2023-06-19 12:26:14 -04:00
ipservice.go Replaced string methods with HTTP consts 2022-12-23 09:49:08 -05:00
legacy.go added ability to remove legacy nodes 2023-03-07 11:02:51 -05:00
limits.go GRA-1298: License check changes, free tier limits for saas (#2418) 2023-06-28 20:33:06 +05:30
logger.go Replaced string methods with HTTP consts 2022-12-23 09:49:08 -05:00
migrate.go adapted sso to host registration 2023-04-17 22:23:17 -04:00
network.go NET-291 PUT /api/networks/{networkname} (#2380) 2023-06-08 17:22:35 -04:00
network_test.go merge develop 2023-03-17 15:16:43 -04:00
node.go Net-137: Node relays (#2401) 2023-06-19 12:26:14 -04:00
node_test.go fix TestGetNetworkNodes 2023-03-08 17:50:21 -05:00
regex.go Extclient NET-63x (#2286) 2023-05-17 10:58:03 -04:00
regex_test.go Extclient NET-63x (#2286) 2023-05-17 10:58:03 -04:00
response_test.go refactoring for ee 2022-09-14 13:26:31 -04:00
server.go GRA-1298: License check changes, free tier limits for saas (#2418) 2023-06-28 20:33:06 +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 Don't expose user hashed password (#2419) 2023-06-26 10:53:00 +05:30
user_test.go Don't expose user hashed password (#2419) 2023-06-26 10:53:00 +05:30