Commit Graph

265 Commits

Author SHA1 Message Date
Ingo Oppermann
480dbb7f53 Refactor cluster node code 2024-07-09 12:26:02 +02:00
Ingo Oppermann
c032cdf5c7 Add API for setting node status, respect it in leader tasks 2024-06-24 16:50:15 +02:00
Ingo Oppermann
a9d6b1ec49 Add API endpoints for relocating processes 2024-06-19 15:28:30 +02:00
Ingo Oppermann
f5d9725a48 Return proper HTTP status on leave 2024-06-12 15:08:07 +02:00
Ingo Oppermann
1a64fddbb1 Allow cluster leave endpoint to remove any node in the cluster 2024-06-07 11:28:54 +02:00
Ingo Oppermann
0f344f1998 Allow to send leave request to any node for any node 2024-06-06 13:20:49 +02:00
Ingo Oppermann
3ee4876290 Parallelize reading out process information 2024-04-30 14:15:40 +02:00
Ingo Oppermann
43ae0c149b Fix compatibility for benchmarks, add option to not to decode response 2024-04-30 14:13:21 +02:00
Ingo Oppermann
4dab7b8e6c Extend benchmark with different size 2024-04-29 12:34:07 +02:00
Ingo Oppermann
e935678b39 Enable only gzip and zstd by default 2024-04-25 13:21:15 +02:00
Ingo Oppermann
ac2a20094f Add brotli and zstd content-encoding 2024-04-25 12:50:17 +02:00
Ingo Oppermann
495f9b2d35 Disable zstd middleware 2024-04-25 10:06:20 +02:00
Ingo Oppermann
718bd3eb07 Add zstd middleware 2024-04-25 10:00:10 +02:00
Ingo Oppermann
03da97217b Use faster JSON and gzip packages 2024-04-24 15:42:11 +02:00
Ingo Oppermann
38fa6159e3 Make the HTTP logging middleware less chatty 2024-04-17 21:33:14 +02:00
Ingo Oppermann
3a31ce6f0e Upgrade core client 2024-04-15 14:59:31 +02:00
Ingo Oppermann
18bf51d334 Rename Initialized to Started 2024-04-15 14:46:05 +02:00
Ingo Oppermann
a6375da911 Add initialized field in progress data 2024-04-12 15:18:47 +02:00
Ingo Oppermann
423e0453de Remove NodeID from ClusterAbout 2024-04-10 16:58:34 +02:00
Ingo Oppermann
7a4875f818 Promote core version in cluster about 2024-04-09 15:57:17 +02:00
Ingo Oppermann
487529c598 Expose general infos in cluster about, bump cluster API version to 2.0.0 2024-04-08 21:55:07 +02:00
Ingo Oppermann
e001f663b3 Rename RestreamHandler to ProcessHandler 2024-03-14 11:21:07 +01:00
Ingo Oppermann
727c358921 Add filesystem access via cluster node 2024-03-13 15:11:20 +01:00
Ingo Oppermann
5ba18569e9 Use referrer host for remote 2024-03-11 14:47:09 +01:00
Ingo Oppermann
de1818a6b0 Fix missing process data if process has been deleted meanwhile 2024-02-08 12:11:59 +01:00
Ingo Oppermann
910794d831 Ignore range request on m3u8 rewrite
If a m3u8 is requested with a range request and gets rewritten, e.g.
adding the sessionid, the announced content-range may not correspond
to the content-length. In this cases the range request is ignored
and the full m3u8 will be returned.
2023-12-06 14:30:42 +01:00
Ingo Oppermann
92f2f34688 Create only available fields in token 2023-11-29 10:32:47 +01:00
Ingo Oppermann
2c47ab77d2 Add missing implementation for GET /api/v3/cluster/fs/{storage} 2023-11-27 12:51:14 +01:00
Ingo Oppermann
0457d16391 Fix return proper error message instead of empty m3u8 2023-11-16 11:39:00 +01:00
Ingo Oppermann
728e4c6ab4 Use unnamed return value 2023-11-16 11:37:03 +01:00
Ingo Oppermann
3d17c3f71a Expose caller in events 2023-11-16 11:32:55 +01:00
Ingo Oppermann
5b81e6e23f Add metrics collector for HTTP status codes 2023-09-29 17:18:59 +02:00
Ingo Oppermann
a416beea08 Add stream mapping to process state, adjust addresses and indexes for HLS outputs 2023-09-26 14:52:54 +02:00
Ingo Oppermann
48cc454314 Add expose 'mode' from avstream progress 2023-09-20 20:53:50 +02:00
Ingo Oppermann
a7cd4f4e50 Convert old resource format to types and resource 2023-09-18 21:12:04 +02:00
Ingo Oppermann
ad2a50df6f Separate resource type and resource for IAM policies 2023-09-18 17:11:09 +02:00
Ingo Oppermann
92f2f6de8c Add CreatedAt and UpdatedAt field to IAM user 2023-09-18 15:18:21 +02:00
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