228 Commits

Author SHA1 Message Date
Ingo Oppermann
17ffa2b700
Upgrade github.com/golang-jwt/jwt to v5 2023-09-04 17:45:01 +02:00
Ingo Oppermann
d19010944d
Add POST /cluster/process/probe endpoint 2023-08-09 14:10:16 +03:00
Ingo Oppermann
15d317a1cd
Add POST /process/probe endpoint 2023-08-09 10:41:23 +03:00
Ingo Oppermann
d930a91cbb
Provide Probe() a config instead of a process ID 2023-08-09 09:30:17 +03:00
Ingo Oppermann
0b718b8b18
Add IAM identity alias to API 2023-08-03 17:28:02 +03:00
Ingo Oppermann
ceb2144da5
Fix using clusterfs for API fs operations 2023-07-26 11:27:14 +02:00
Ingo Oppermann
d74165a90a
Add node resource error, replace ping with about 2023-07-25 17:17:20 +02:00
Ingo Oppermann
bb5b580561
Don't use a map for the process list 2023-07-24 10:32:51 +02:00
Ingo Oppermann
eea1e2e517
Give reason why session validation failed 2023-07-23 16:14:09 +02:00
Ingo Oppermann
5faf1825a6
Remove unrequired fields from session token, parametrize TTL 2023-07-21 15:49:57 +02:00
Ingo Oppermann
4b79576340
Fix proper check of allowed remote values in session token 2023-07-21 15:40:19 +02:00
Ingo Oppermann
a8fbdd288f
Fix missing ? in path in session log 2023-07-21 15:39:41 +02:00
Ingo Oppermann
11e28a8d37
Fix event filter
If a filter provides a k/v map, then the keys must exist in the event,
otherwise it's not a mach.
2023-07-20 15:43:28 +02:00
Ingo Oppermann
97a8e0f815
Use same permission mask 2023-07-19 17:41:02 +02:00
Ingo Oppermann
165db9dc96
Add info log for mounted filesystems 2023-07-19 10:34:59 +02:00
Ingo Oppermann
95a2ec5667
Allow to filter events by level and message 2023-07-18 21:51:07 +02:00
Ingo Oppermann
8a8ff6d4f4
Add LimitMode and Resources.CPU.IsThrottling to process state 2023-07-17 21:45:19 +02:00
Ingo Oppermann
8123b09dcf
Fix providing correct last_contact value for node 2023-07-17 20:55:29 +02:00
Ingo Oppermann
0519059f3d
Add CoreID field 2023-07-17 17:00:20 +02:00
Ingo Oppermann
34db225eb0
Return map of nodes 2023-07-17 15:39:03 +02:00
Ingo Oppermann
cefd35f7da
Refactor cluster.About() data 2023-07-14 11:22:08 +02:00
Ingo Oppermann
dedbfa099c
Fill resource limits with configured limits 2023-07-12 16:12:10 +02:00
Ingo Oppermann
520683138d
Add converter function for store.Process 2023-07-12 14:35:29 +02:00
Ingo Oppermann
fe715adbce
Split cluster handler into smaller files 2023-07-12 14:18:01 +02:00
Ingo Oppermann
62fdf8e370
List undeployed processes 2023-07-11 22:38:33 +02:00
Ingo Oppermann
3883696034
Write deploy errors to cluster DB 2023-07-11 15:55:46 +02:00
Ingo Oppermann
0f06b8b5a0
Add /cluster/transfer/:id endpoint to transfer leadership to another node 2023-07-11 14:26:54 +02:00
Ingo Oppermann
d04254c891
Add /cluster/db/map/process endpoint 2023-07-11 10:57:56 +02:00
Ingo Oppermann
9462ccfd48
Move IAM dependency to rewriter module 2023-07-10 13:20:24 +02:00
Ingo Oppermann
ba9227dc96
Cleanup of cluster proxy and proxy node 2023-07-07 22:51:53 +02:00
Ingo Oppermann
604893f8bb
Make process probe endpoint not available in read-only mode 2023-07-05 11:14:30 +02:00
Ingo Oppermann
71dbfe329e
Add /api/v3/cluster/process/:id/probe endpoint 2023-07-05 11:03:45 +02:00
Ingo Oppermann
d6a88cb0c5
Add /v3/cluster/healthy endpoint 2023-06-29 22:08:47 +02:00
Ingo Oppermann
2b58c11bb1
Fix cluster process update on metadata change 2023-06-28 16:26:36 +02:00
Ingo Oppermann
fff7f986a0
Merge HTTP and HLS middleware into session middleware 2023-06-28 10:41:29 +02:00
Ingo Oppermann
6c6fa33903
Add experimental unified session middleware 2023-06-27 22:17:58 +02:00
Ingo Oppermann
b6f7dae2f5
Show order for processes in the cluster DB 2023-06-27 21:17:56 +02:00
Ingo Oppermann
57c1e50d60
Don't collect sessions coming from other nodes in the cluster 2023-06-27 21:11:29 +02:00
Ingo Oppermann
89379b2acd
Add /v3/cluster/snapshot endpoint 2023-06-27 15:11:31 +02:00
Ingo Oppermann
dd128ac99b
Fix gathering of hostnames, add /v3/cluster/db/kv endpoint 2023-06-27 14:52:32 +02:00
Ingo Oppermann
4560b1a6ca
Add referrer check with glob pattern and . (dot) as separator 2023-06-27 11:03:21 +02:00
Ingo Oppermann
20b3f2af5e
Add test for encodec username in basic auth 2023-06-27 11:02:14 +02:00
Ingo Oppermann
ad53f3ab68
Fix missing unescape of basic auth username 2023-06-27 10:15:49 +02:00
Ingo Oppermann
9202f93bc2
Fix IAM user update when changing username 2023-06-27 10:14:22 +02:00
Ingo Oppermann
abfe4918b4
Loosen restrictions for IAM user names
The only restriction for an IAM username is that it cannot start with
a '$'. An username that contains a ':' must escape it with another ':'
for use in a token for RTMP or SRT.
2023-06-26 13:49:53 +02:00
Ingo Oppermann
7bb4103c00
Fix double close file in GetFile handler 2023-06-23 21:49:02 +02:00
Ingo Oppermann
37cac48223
Adjust returned API errors 2023-06-23 21:42:01 +02:00
Ingo Oppermann
944d487730
Allow to send command to process on the cluster 2023-06-22 21:43:51 +02:00
Ingo Oppermann
dc3e7afc52
Add locks on the cluster DB 2023-06-22 12:22:25 +02:00
Ingo Oppermann
b8a975b7c7
Add logging HTTP requests as single session 2023-06-21 16:46:35 +02:00