Commit Graph

177 Commits

Author SHA1 Message Date
Ingo Oppermann
f97943b275 Move content encoding in the beginning of the middleware chain, update dependencies 2024-10-09 14:25:42 +02:00
Ingo Oppermann
a1f41bd202 Fix using possibly unavailable value 2024-09-09 18:02:16 +02:00
Ingo Oppermann
0327edcaf3 Update openapi specification 2024-09-05 13:58:59 +02:00
Ingo Oppermann
bebef61e55 Add /v3/cluster/events endpoint to gather events from all nodes 2024-08-22 13:40:38 +02:00
Ingo Oppermann
68607ed932 Add basic resource information in about response 2024-08-20 11:55:08 +02:00
Ingo Oppermann
d391e274d7 Fix wrong memory limit, add total memory, add cpu and memory consumed by core itself to node resources 2024-07-25 21:13:49 +02:00
Ingo Oppermann
46950372be WIP: Optimize copy from io.Reader, allow to suggest file size 2024-07-24 15:40:28 +02:00
Ingo Oppermann
54b1fe8e86 Dump casbin, replace with own policy enforcer 2024-07-23 15:54:09 +02:00
Ingo Oppermann
879819f10f Retrieve current process from leader, clone metadata, introduce new state 'deploying' 2024-07-22 16:58:57 +02:00
Ingo Oppermann
a3948b597d Return uploaded process config 2024-07-19 16:02:17 +02:00
Ingo Oppermann
b160e604d2 Don't import metadata, leads to race condition 2024-07-19 16:01:50 +02:00
Ingo Oppermann
72883d18d4 Remove bottlenecks in process handling, still some rough edges 2024-07-18 17:16:49 +02:00
Ingo Oppermann
6f524f5991 Use store.ProcessGetNode function 2024-07-17 16:49:31 +02:00
Ingo Oppermann
7e90bb87ce Allow to import report history for a process 2024-07-10 16:46:49 +02:00
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
03da97217b Use faster JSON and gzip packages 2024-04-24 15:42:11 +02:00
Ingo Oppermann
3a31ce6f0e Upgrade core client 2024-04-15 14:59:31 +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
de1818a6b0 Fix missing process data if process has been deleted meanwhile 2024-02-08 12:11:59 +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
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
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
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
5faf1825a6 Remove unrequired fields from session token, parametrize TTL 2023-07-21 15:49:57 +02:00
Ingo Oppermann
97a8e0f815 Use same permission mask 2023-07-19 17:41:02 +02:00
Ingo Oppermann
95a2ec5667 Allow to filter events by level and message 2023-07-18 21:51:07 +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