48 Commits

Author SHA1 Message Date
mustard
154dc5fd7d [server,db,protocol] support ssh public key
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2022-07-05 11:04:52 +05:30
Manuel Alejandro de Brito Fontes
2911bc3283 Update k8s dependencies to v0.24.2 2022-07-05 03:37:52 +05:30
Manuel Alejandro de Brito Fontes
5ed1deb661 Update to new stable alpine version v3.16 2022-06-07 15:33:17 +05:30
Manuel Alejandro de Brito Fontes
6efe212447 Update sigs.k8s.io/e2e-framework to v0.0.7 2022-06-07 15:29:17 +05:30
Christian Weichel
b7bf69d01e [public-api-server] Harmonise configuration structure 2022-05-25 17:35:39 +05:30
Milan Pavlik
51450d5141 [public-api] Use standard cli setup 2022-05-19 14:27:33 +05:30
Milan Pavlik
49e3d1e82d [public-api] Do not use localhost as address, not reachable in k8s 2022-05-18 18:50:33 +05:30
Milan Pavlik
956f57caf7 [public-api] Default local server run to port 9001, same as installer config 2022-05-18 16:54:32 +05:30
Andrew Farries
155efaacfc Make proxy treat 403 error as rpc PermissionDenied 2022-05-17 22:11:32 +05:30
Andrew Farries
a645a8cf66 Implement test for GetOwnerToken 2022-05-17 22:11:32 +05:30
Andrew Farries
dc80c457f1 Add method to FakeGitpodAPI 2022-05-17 22:11:32 +05:30
Andrew Farries
27b685ce7b Implement GetOwnerToken rpc
Replace the stub implementation with a real one that invokes the server
JSON rpc API.
2022-05-17 22:11:32 +05:30
Christian Weichel
d2384ea29e [baseserver] Make consuing ServerConfiguration easier 2022-05-16 13:23:31 +05:30
Christian Weichel
5dd9465378 [public-api] Adapt to new baseserver structure 2022-05-16 13:23:31 +05:30
Christian Weichel
4960dce425 [baseserver] Enforce common standards services
specifically debug, health and readiness
2022-05-16 13:23:31 +05:30
Christian Weichel
b397fed927 [baseserver] Support common config struct 2022-05-16 13:23:31 +05:30
Milan Pavlik
fc5f2bf1c3 [baseserver] Dedicated debug server 2022-05-13 14:32:28 +05:30
Milan Pavlik
5361bab694 [public-api] Convert server errors to appropriate RPC errors 2022-05-13 13:08:28 +05:30
Andrew Farries
2a4dd8a2c0 Add test for GetOwnerToken method 2022-05-12 21:39:27 +05:30
Andrew Farries
e0fa9d2392 Add GetOwnerToken method to WorkspaceService 2022-05-12 21:39:27 +05:30
Laurie T. Malau
2250729ffd Add request duration metric 2022-05-10 15:17:25 +05:30
Laurie T. Malau
202d703fe0 Transform getWorkspace response 2022-05-06 17:25:22 +05:30
Milan Pavlik
d2d84646c4 [public-api] Convert to a cobra command and add config 2022-05-04 19:30:20 +05:30
Milan Pavlik
ca762836c6 Fix 2022-05-04 14:57:19 +05:30
Milan Pavlik
a451b0e6e7 [public-api] Convert to a cobra command and add config 2022-05-04 14:57:19 +05:30
Manuel Alejandro de Brito Fontes
2e7526ff72 Update go modules 2022-05-04 13:58:20 +05:30
Milan Pavlik
655281b3de [public-api] Restructure packages to better align with other components 2022-05-03 19:55:19 +05:30
Milan Pavlik
facd600abb [public-api] Extract BearerToken from request
# Conflicts:
#	components/public-api-server/pkg/apiv1/workspace_test.go
2022-05-03 14:18:19 +05:30
Milan Pavlik
daba3bbaf9 [public-api] Remove gp-lint 2022-05-03 13:00:18 +05:30
Laurie T. Malau
e0452ea274 GetPrebuild mock implementation 2022-05-02 23:58:18 +05:30
Laurie T. Malau
10ec9266bb logging middleware 2022-05-02 15:33:17 +05:30
Milan Pavlik
5d99db0abf [public-api] Extend readme with more information about the package 2022-04-29 19:01:15 +05:30
Milan Pavlik
844ce9445b [public-api] Fix dependencies after semantic merge 2022-04-29 18:29:15 +05:30
Milan Pavlik
2ed14b37b2 [public-api] Add mock implementation of GetWorkspace 2022-04-28 21:21:14 +05:30
Milan Pavlik
e09c6996d8 [baseserver] Add grpc logging interceptors 2022-04-27 18:16:13 +05:30
Manuel Alejandro de Brito Fontes
1b88c8058e Update go modules 2022-04-25 15:52:37 +05:30
Milan Pavlik
db3b3d7547 [baseserver] Add /ready and /live endpoints, with config 2022-04-22 12:58:34 +05:30
Milan Pavlik
a9038772eb [public-api] Fix semantic merge 2022-04-21 13:29:33 +05:30
Milan Pavlik
11f21809a6 [baseserver] Helper for starting server in tests 2022-04-21 12:47:33 +05:30
Milan Pavlik
a0d5559ae9 [public-api] Register unimplemented Prebuild service 2022-04-21 12:28:33 +05:30
Milan Pavlik
c1d9ae936f [public-api] Route api.<domain> to public api service & deployment 2022-04-20 22:44:33 +05:30
Milan Pavlik
2abc2b71ca [public-api] Add unimplemented workspace service 2022-04-20 15:38:32 +05:30
Milan Pavlik
043b4532db [baseserver] Add prometheus metrics 2022-04-19 18:18:32 +05:30
Milan Pavlik
2261745b6a [public-api-server] Group http and grpc servers into a baseserver package 2022-04-19 14:53:31 +05:30
Milan Pavlik
81b9ad4d13 [public-api-server] Simple gRPC server
Please enter the commit message for your changes. Lines starting
2022-04-13 15:08:26 +05:30
Milan Pavlik
b45182de7a [public-api-server] Serve a hello world over http 2022-04-12 18:13:25 +05:30
Milan Pavlik
01b3dc2371 [public-api-server] Setup leeway 2022-04-12 16:26:25 +05:30
Milan Pavlik
fda4e52b55 Setup component for public API server 2022-04-11 22:31:24 +05:30