mustard
6c7bf1b976
[papi] fix unit tests for workspaces service ( #20406 )
2024-11-30 02:52:07 -05:00
mustard
83bfa202ca
[papi] add editor info to experimental.v1 ( #20405 )
...
* Update proto
* proto gen
* protocol update
* convert ide config
* proto def +1
* proto gen +1
* papi impl +1
* impl + 2
* Update components/public-api-server/pkg/apiv1/workspace.go
Co-authored-by: iQQBot <tianshi8650@gmail.com>
---------
Co-authored-by: iQQBot <tianshi8650@gmail.com>
2024-11-29 16:08:06 -05:00
Anton Kosyakov
cf7d0e9500
remove supervisor_live_git_status ( #18921 )
...
and deprecated instance.status.repo
2023-10-16 17:20:24 +03:00
Brad Harris
0f926eb721
adding missing fields to CreateAndStartWorkspace ( #18874 )
...
* adding some missing fields to CreateAndStartWorkspace
* updated mocks
2023-10-06 02:27:14 +03:00
Huiwen
62c573a453
Add default image get to PAPI and improve Dashboard ( #18767 )
...
* [server] update getDefaultWorkspaceImage api
* [dashboard] api usage update
* [protocol] add go definition
* [papi] add getDefaultWorkspaceImage method
* fixup
* [dashboard] add org image warning to start workspace page
* fix error wrap
* Update supervisor to use publicApi
* [dashboard] always show default image and remove tag width limit
* fixup
* move new warning to StartPage
* Update components/dashboard/src/teams/TeamSettings.tsx
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
* Address feedback
---------
Co-authored-by: George Tsiolis <tsiolis.g@gmail.com>
2023-09-22 11:58:01 +02:00
Filip Troníček
694f8eaeaf
[papi] List workspace classes ( #18546 )
...
* [papi] List workspace classes
Adds the `ListWorkspaceClasses` method on `WorkspacesService`.
* Add test for class listing
* `Title` -> `DisplayName`
* fix rename in tests
* Update generated
2023-08-24 10:53:50 +02:00
Brad Harris
adf4e66cf6
Add CreateAndStartWorkspace to public-api ( #18515 )
...
* setting up CreateAndStartWorkspace handler
* adjust args
* adding createWorkspace scope for desktop app
* add getToken scope to desktop app oauth client
* remove for now
* adding region
* adding getToken while in here
2023-08-23 16:06:49 +02:00
Anton Kosyakov
b3ae12f956
git real time ( #18323 )
2023-08-03 20:51:28 +08:00
Filip Troníček
c5059f2dc3
Filter by organizationId in ListWorkspaces ( #18402 )
...
Remove `IncludeWithoutProject`
2023-08-02 05:20:27 +08:00
Filip Troníček
d9f8a099ed
Add Repository to WS info in Public API ( #18330 )
...
* Add more Git details to Public API
* Only add `Repository`
* Remove remaining branch references
* Update workspace tests
* Remove additional unneeded metadata
* Swap arg order to match proto
2023-07-26 16:20:42 +08:00
Huiwen
d32e231773
[public-api] align context url with server ( #18292 )
...
* [public-api] align context url with server
* 💄
* update test case
* Update test case
2023-07-20 20:53:36 +08:00
Jean Pierre
d57a39dbad
[public-api] Update getWorkspace api response implementation ( #17821 )
...
* Update getWorkspace api response implementation
* Only implement recent_folders
* Add additional tests
2023-07-06 01:24:22 +08:00
Jean Pierre
6652c98a1a
Add WorkspaceUpdates method ( #17728 )
...
* Add WorkspaceUpdates method
* Replace InstanceUpdates
2023-05-30 23:56:04 +08:00
Jean Pierre
2c8852e197
[public-api] Add startWorkspace api ( #17682 )
...
* Add startWorkspace api
* Add new scopes to vscode client
* Fix
* Fix
* 💄
Co-authored-by: Milan Pavlik <milan@gitpod.io>
---------
Co-authored-by: Milan Pavlik <milan@gitpod.io>
2023-05-25 03:43:58 +08:00
Pudong
176393a0c8
Add support to forward https protocol port ( #17644 )
...
* add support to forward https protocol port
* Update components/ws-proxy/pkg/proxy/routes.go
Co-authored-by: Kyle Brennan <kyle@gitpod.io>
---------
Co-authored-by: Kyle Brennan <kyle@gitpod.io>
2023-05-19 15:22:53 +08:00
Milan Pavlik
59ff034d6f
[public-api] Use context logger ( #16686 )
...
* Fix
* Fix
* Fix
* Fix
* Fix
* [public-api] Use context logger
* fix
* Fix
* fix
* Fix
* fix
* fix
* fix
* fix
* fix
* Fix
* fmt
* fix
* retest
2023-03-15 13:52:07 +01:00
Milan Pavlik
58a06943f6
[papi] Refactor valdiation functions to a file
2023-01-17 11:26:25 +01:00
Jean Pierre
d5e03f248f
Handle send error
2023-01-12 08:50:51 +01:00
mustard
e82fe80af9
[public-api] add workspaceStatus stream rpc
2023-01-09 10:59:48 +01:00
Milan Pavlik
d04fd19960
[public-api] Implement & Use Delete Workspace RPC
2023-01-04 10:15:43 +01:00
Milan Pavlik
f8fd16eea9
[public-api] Implement StopWorkspace
2023-01-03 09:58:43 +01:00
Milan Pavlik
874a6b5511
[public-api] Validate Workspace ID is a UUID
2022-12-20 13:34:29 -03:00
Christian Weichel
478a75e744
Switch license to AGPL
2022-12-08 13:05:19 -03:00
Jean Pierre
3c4b6676ee
[public-api] implement public api methods for supervisor
...
Co-authored-by: mustard <mhqnwt@gmail.com>
Co-authored-by: Anton Kosyakov <anton@gitpod.io>
Co-authored-by: Jean Pierre <jeanp413@hotmail.com>
Co-authored-by: iQQBot <tianshi8650@gmail.com>
2022-12-08 12:45:18 -03:00
Jean Pierre
cd144de51f
Add IDEClientService
2022-11-17 07:07:46 +02:00
Milan Pavlik
8aeb5e1891
[public-api] Reduce duplication when establishing connection to server
2022-11-15 18:15:45 +02:00
Jean Pierre
5c8f4c1f32
User service
2022-11-12 11:34:42 +02:00
Milan Pavlik
2926d142ed
[public-api] Make publiic api package match path
2022-11-09 09:42:39 +01:00
Milan Pavlik
a470cdbfc2
[public-api] Refactor to support multiple token types
2022-11-03 13:38:08 +01:00
Milan Pavlik
2d888a5ded
[public-api] Move API definitions to experimental package
2022-10-19 17:23:34 +02:00
mustard
3075f3e533
[public-api] implement workspace proto
2022-10-19 09:42:34 +02:00
Milan Pavlik
0a476c52e8
[public-api] U Refactor to use connect handlers, route to HTTP server
2022-10-12 12:19:27 +02:00
Christian Weichel
705c4603ab
[public-api] Support ListWorkspace
2022-07-13 10:17:00 +02:00
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
Milan Pavlik
5361bab694
[public-api] Convert server errors to appropriate RPC errors
2022-05-13 13:08:28 +05:30
Andrew Farries
e0fa9d2392
Add GetOwnerToken method to WorkspaceService
2022-05-12 21:39:27 +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
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
Milan Pavlik
2ed14b37b2
[public-api] Add mock implementation of GetWorkspace
2022-04-28 21:21:14 +05:30