Commit Graph

384 Commits

Author SHA1 Message Date
Andrey Melnikov
5c09e07ab8 feat: separated out config from namespace config 2021-02-03 11:55:36 -08:00
Andrey Melnikov
de9d38a656 chore: cleaned up repository logic since we use minio for non-s3 providers 2021-02-03 11:32:53 -08:00
Andrey Melnikov
e906edc1ec feat: add bucket to config response 2021-02-03 11:25:26 -08:00
Andrey Melnikov
559d937e79 feat: support sinceTime for workspace container logs 2021-01-29 13:54:08 -08:00
Andrey Melnikov
dac793601d feat: updated workspace API request to return file syncer url if available 2021-01-29 09:57:00 -08:00
rushtehrani
0a690ad77a add comments to exported funcs 2021-01-20 16:52:40 -08:00
rushtehrani
4a22327fec add GetWorkspaceContainerLogs 2021-01-20 16:32:32 -08:00
Andrey Melnikov
080624d9e2 fix: issues with finished logs. Content was repeating, resulting in a large data load - making the stream fail.
No timestamps were being returned as timestamps for time 0.
Occasionally lines would cut off across multiple lines.
2020-12-31 11:07:39 -08:00
Andrey Melnikov
543367c36e feat: updated workflow logs to return a response that may contain several log entries. 2020-12-30 12:04:21 -08:00
Andrey Melnikov
ba776cddbd fix: fixed issue with logs where the timestamp parsing ignored newlines 2020-12-30 12:04:21 -08:00
Andrey Melnikov
5e7c5ba888 feat: add workflow template and updated workspace template parameter logic to replace select.nodepool values with runtime values. 2020-12-25 16:32:15 -08:00
Andrey Melnikov
76ecdcfb70 chore: codacy 2020-12-18 19:36:23 -08:00
Andrey Melnikov
2931d5e754 update: fixed missing generated files for grpc and moved generated files into their own subdirectory for easier separation of files. 2020-12-17 15:46:34 -08:00
Andrey Melnikov
d99189807d feat: updated grpc gateway related code 2020-12-17 14:09:20 -08:00
Andrey Melnikov
b8b6853909 feat: added total results counts to list requests. This simplifies client logic for determining resource counts 2020-11-24 10:55:52 -08:00
Andrey Melnikov
fd713e0800 feat: added update metrics endpoint which replaces the contents. Also renamed merge to add to better distinguish the two 2020-11-17 13:42:19 -08:00
Andrey Melnikov
6af5d5b5b0 feat: added merge method workflow executions merge api 2020-11-17 13:32:55 -08:00
Andrey Melnikov
0a73aed929 feat: updated metrics structure to be an array of structs 2020-11-16 16:04:20 -08:00
Andrey Melnikov
89c0f26103 Revert "feat: remove is valid token endpoint"
This reverts commit 466a417e60.

Also marks the IsValidToken endpoint as deprecated
2020-11-16 10:46:44 -08:00
Andrey Melnikov
466a417e60 feat: remove is valid token endpoint 2020-11-12 15:55:58 -08:00
rushtehrani
f7e48a0be7 don't update phase for already terminated workflow 2020-11-11 09:53:13 -08:00
Andrey Melnikov
717a4bc2e8 fix: temporary fix while cvat is not updated to use new auth 2020-11-06 12:11:40 -08:00
Andrey Melnikov
a405e8bf46 feat: update api to use accessTokenAuth 2020-11-03 13:37:30 -08:00
Andrey Melnikov
93bdc7cd70 fix: rename LogIn to GetAccessToken 2020-11-03 10:29:02 -08:00
Andrey Melnikov
5e82311efb Merge pull request #698 from Vafilor/fix/concurrent.map
fix: concurrency issues with token
2020-11-02 10:36:19 -08:00
Andrey Melnikov
b129a1da7d fix: moved token to be inside client instead of sysconfig as it is not a system config value, but it is applicable to the current client.
This fixes some concurrency issues since you could have multiple requests handled at the same time that try to read and modify the system values.
2020-10-30 23:48:51 -07:00
Andrey Melnikov
7854aa15ca fix: removed is_system flag 2020-10-30 23:45:39 -07:00
Andrey Melnikov
5d6fae152d feat: added system flag to workflow template creation 2020-10-29 12:30:55 -07:00
Andrey Melnikov
e41d5c38af feat: added log in endpoint which is essentially an alias for auth token, but is more descriptive 2020-10-29 12:14:53 -07:00
Andrey Melnikov
a756684ae5 feat: API support for selecting labels 2020-10-26 15:38:03 -07:00
Andrey Melnikov
50145cccdf feat: added more logging for getBearerToken errors 2020-10-23 11:40:29 -07:00
Rush Tehrani
1b97099d11 Merge pull request #669 from Vafilor/fix/db.connections
fix: use system-wide db connection for auth
2020-10-16 09:55:41 -07:00
Andrey Melnikov
2bd3c3dde0 fix: use system-wide connection when checking authentication 2020-10-16 09:45:29 -07:00
Rush Tehrani
957313423c Merge pull request #668 from Vafilor/fix/db.connections
fix: close db connection when not in use.
2020-10-16 09:21:32 -07:00
Andrey Melnikov
c883f69fc9 fix: close db connection when not in use. 2020-10-15 21:48:25 -07:00
Andrey Melnikov
6c5b6c877e Merge pull request #660 from Vafilor/feat/revert.jwt
feat: revert jwt changes as it creates issues with workflow authentication logic
2020-10-14 12:15:27 -07:00
Andrey Melnikov
20c4950b69 feat: revert jwt token from auth 2020-10-14 11:53:05 -07:00
Andrey Melnikov
5e5c3cca67 Merge pull request #657 from rushtehrani/fix/workspace-resource
fix: Update label function to return group and resource
2020-10-13 16:15:28 -07:00
rushtehrani
8e9b95aa12 update label function to return group and resource 2020-10-13 16:06:08 -07:00
Andrey Melnikov
38f1aafaec fix: issue with concurrent map access 2020-10-13 16:02:40 -07:00
rushtehrani
30ebda4918 use workspaces instead of statefulset for resource 2020-10-13 15:47:20 -07:00
Andrey Melnikov
ede4c67c8f fix: bad token issue 2020-10-13 15:17:56 -07:00
Andrey Melnikov
c42997a643 fix: error to be API friendly 2020-10-13 12:21:32 -07:00
Andrey Melnikov
5bd2feaa86 update: added username to returned auth token 2020-10-12 17:01:26 -07:00
Andrey Melnikov
de4302d226 chore: formatting updates for error strings 2020-10-12 16:17:16 -07:00
Andrey Melnikov
7150f24631 feat: update incoming token to be a JWT token that takes in username 2020-10-12 16:07:12 -07:00
rushtehrani
dd0f1f7705 use correct group for workspaces resource 2020-10-08 19:52:48 -07:00
Andrey Melnikov
571de0b40e chore: Uid -> UID per code conventions 2020-09-30 12:10:44 -07:00
Andrey Melnikov
463a8eea60 feat: added workspace templates filtering 2020-09-30 11:58:42 -07:00
Andrey Melnikov
0956afdabe update: workspace listing endpoint to include a statistics report endpoint and allow filtering by phase. 2020-09-28 15:57:31 -07:00