Commit Graph

205 Commits

Author SHA1 Message Date
ben marsh
e1b49da8b1 Horde: Fix static analysis warnings.
#rnx

[CL 32135419 by ben marsh in ue5-main branch]
2024-03-08 17:49:02 -05:00
ben marsh
344cfe0185 Horde: Add endpoints to check permissions for certain ACL actions in different scopes.
[CL 32118181 by ben marsh in ue5-main branch]
2024-03-08 09:30:08 -05:00
ben marsh
8687468096 Horde: Add OAuth/OIDC support for internal Horde accounts.
#jira UE-208752

[CL 32097082 by ben marsh in ue5-main branch]
2024-03-07 14:43:31 -05:00
ben marsh
82f71e5188 Horde: Consistent naming for Oidc/Okta auth handlers.
[CL 32075111 by ben marsh in ue5-main branch]
2024-03-06 19:40:28 -05:00
ben marsh
841256f38a Horde: Allow only keeping a fixed number of artifacts rather than expiring by time. Number of artifacts is tracked per-stream.
#jira UE-208965

[CL 32043455 by ben marsh in ue5-main branch]
2024-03-05 20:15:12 -05:00
ben marsh
38556b7e85 Horde: Add a "parameters" controller which can provide default studio configuration for different tools distributed with Horde.
#jira UE-208275
#rnx

[CL 31994939 by ben marsh in ue5-main branch]
2024-03-04 13:43:33 -05:00
ben marsh
b3f32e7030 Horde: Throw an exception if an agent's enrollment key does not match.
#jira UE-208388

[CL 31964692 by ben marsh in ue5-main branch]
2024-03-01 19:39:31 -05:00
ben marsh
82e80edca8 Horde: Add a unique enrollment key whenever an agent is added to the farm, and cycle it whenever a new agent with the same id is reused. Session creation will fail if the enrollment key embedded in the agent token does not match.
#jira UE-208388

[CL 31963186 by ben marsh in ue5-main branch]
2024-03-01 19:13:13 -05:00
carl bystrom
458c0d82f1 Horde: Fix slow test execution by disabling LifetimeService's graceful shutdown for tests
[CL 31944641 by carl bystrom in ue5-main branch]
2024-03-01 11:02:48 -05:00
carl bystrom
235c6e5983 Horde: Add ability to shutdown server process based on heap memory usage
[CL 31940091 by carl bystrom in ue5-main branch]
2024-03-01 06:34:07 -05:00
ben marsh
2d644d7f34 Horde: Add AgentStatus to GetAgentResponse.
#jira UE-208261
#rnx

[CL 31884787 by ben marsh in ue5-main branch]
2024-02-28 16:18:11 -05:00
ben marsh
5250a2c171 Horde: Move agent messages into EpicGames.Horde.
#rnx

[CL 31884206 by ben marsh in ue5-main branch]
2024-02-28 16:06:07 -05:00
ben marsh
3c1df6d909 Horde: Fix static analysis warning.
#rnx

[CL 31878596 by ben marsh in ue5-main branch]
2024-02-28 14:06:38 -05:00
ben marsh
61c51617f5 Horde: Include server status messages in notice list for admins.
#jira UE-208269
#rnx

[CL 31878462 by ben marsh in ue5-main branch]
2024-02-28 14:05:20 -05:00
ben marsh
dcf8f6709d Horde: Add a manual approval process for agents joining the farm.
- New RegistrationRpc endpoint allows agents to connect and wait for approval without being assigned an agent id or being able to take on work.
- Auto-approving agents is still supported by including tokens in config file.

#jira UE-207877

[CL 31869950 by ben marsh in ue5-main branch]
2024-02-28 09:24:03 -05:00
ben marsh
48b32f109f Horde: Add cancellation tokens to AgentService methods.
[CL 31869678 by ben marsh in ue5-main branch]
2024-02-28 08:59:26 -05:00
carl bystrom
6b00532958 Horde: Add reason for agent auth session failures
[CL 31867989 by carl bystrom in ue5-main branch]
2024-02-28 06:36:47 -05:00
josh engebretson
0c9512c2ca Horde: Account management tweaks
#rnx

[CL 31815595 by josh engebretson in ue5-main branch]
2024-02-26 15:52:18 -05:00
carl bystrom
4c840a172b Horde: Change REST API path for server status
[CL 31804431 by carl bystrom in ue5-main branch]
2024-02-26 10:46:32 -05:00
ben marsh
ae7f09dc55 Horde: Separate implementations for regular user accounts from service accounts.
- There is a lot of common code between the two systems, but I think we've reached the point where there are enough things different (eg. storing credentials, auth method) and we want to be able to enable one without the other.
- Service accounts now have tokens generated by the server, and are not returned to the client apart from the first time they're generated.

#jira UE-207921

[CL 31803037 by ben marsh in ue5-main branch]
2024-02-26 09:58:54 -05:00
carl bystrom
a1b696f532 Horde: Store all server status updates in Redis
Ensures proper sharing of updates in a clustered/multi-process setup.

[CL 31802517 by carl bystrom in ue5-main branch]
2024-02-26 09:37:52 -05:00
carl bystrom
e08176e9b0 Horde: Remove unused Perforce ticker in ServerStatusService
[CL 31799397 by carl bystrom in ue5-main branch]
2024-02-26 06:14:20 -05:00
ben marsh
a077aab87c Horde: Change back to using the 'login' field to log in to the Horde server. The 'name' field is meant to be the user's full localized name returned by the standard OIDC 'name' claim.
[FYI] Josh.Engebretson
#jira UE-207922
#rnx

[CL 31778661 by ben marsh in ue5-main branch]
2024-02-23 16:58:37 -05:00
ben marsh
90a212280d Horde: Added endpoints for querying entitlements of the current user (or any other account). /account/entitlements will return entitlements for the logged in user, and /api/v1/accounts/xxx/entitlements will return entitlements for a Horde account.
[FYI] Josh.Engebretson
#jira UE-207924

[CL 31777684 by ben marsh in ue5-main branch]
2024-02-23 16:41:02 -05:00
ben marsh
7d8efcb200 Horde: Move definition for AclAction into EpicGames.Horde.
[CL 31774896 by ben marsh in ue5-main branch]
2024-02-23 15:34:06 -05:00