Commit Graph

690 Commits

Author SHA1 Message Date
Jan Eitzinger
2753cf5652 Update README.md 2022-09-26 14:19:15 +02:00
Jan Eitzinger
90425021ad Add info output tp Makefile 2022-09-26 13:51:03 +02:00
Jan Eitzinger
066194121b Add version and git tag to binary
Fixes #47
2022-09-26 13:16:04 +02:00
Jan Eitzinger
b44c6a2e7d Add Makefile for build automation 2022-09-26 11:22:34 +02:00
Jan Eitzinger
dd5f09c982 Rename api_test to integration_test 2022-09-23 16:17:33 +02:00
Jan Eitzinger
9ae7a813fa Restructure import job test due to db handle clash 2022-09-23 16:11:35 +02:00
Jan Eitzinger
5c715b6ec2 Add test for import job handler. Improve error messages. 2022-09-23 15:23:45 +02:00
Christoph Kluge
c9184a7575 Move identical parts of stopJob routines to new function
- No solution for two swagger doc annotations for one function (ie function handles two inputs) found
- Also: Delete handwritten openapi.yaml
2022-09-23 11:59:18 +02:00
Christoph Kluge
b96c515c2c Small additions to 'getJobs' API docs 2022-09-22 13:32:40 +02:00
Christoph Kluge
93713edcac Add '401 unauthorized' to api docs 2022-09-21 17:13:55 +02:00
Christoph Kluge
872bc77708 Add missing error codes to documentation, fix wrong success type 2022-09-21 17:03:01 +02:00
Jan Eitzinger
3a582ee2f5 Update schema 2022-09-21 15:20:26 +02:00
Jan Eitzinger
6ed9f16882 Adapt startDemo script to new flags 2022-09-21 15:10:46 +02:00
Jan Eitzinger
4652f1dae1 Extend unit schema 2022-09-21 15:10:31 +02:00
Christoph Kluge
6712b15034 Better represent 'exclusiveMinimum' from JSON schemata 2022-09-21 14:21:13 +02:00
Christoph Kluge
94c77d8a67 Small additions to swagger docs 2022-09-21 14:12:24 +02:00
Christoph Kluge
05a84cb95c Extend parsed swagger documentation by adding comments 2022-09-21 11:54:19 +02:00
Jan Eitzinger
2b9d01f3a0
Merge pull request #44 from ClusterCockpit/config-component
Include config component
2022-09-20 13:21:55 +02:00
Jan Eitzinger
35114aeb2d Cleanup. Fix failing test 2022-09-20 13:07:46 +02:00
Jan Eitzinger
0c4096eda3 Fix api testcase 2022-09-20 12:21:20 +02:00
Jan Eitzinger
2fdf1c14be Fix broken schema and add tests 2022-09-20 10:27:23 +02:00
Jan Eitzinger
207254a9e2 Embed schema files for validation 2022-09-20 07:05:01 +02:00
Jan Eitzinger
7e0f2a2e06 Update cluster..json in rest api test 2022-09-19 17:37:32 +02:00
Jan Eitzinger
27d18f00eb Add docs for deployment 2022-09-19 17:37:04 +02:00
Jan Eitzinger
2a43e0bcf3 Update config README. Add helper script for subClusters 2022-09-19 17:36:45 +02:00
Jan Eitzinger
71d6bf81c2 Add hands-on README in docs 2022-09-19 17:36:00 +02:00
Jan Eitzinger
02732cbbce Move additional tools to tools directory 2022-09-19 16:16:33 +02:00
Jan Eitzinger
e8d7722c42 Add json schema validation for config file 2022-09-19 16:16:05 +02:00
Christoph Kluge
9f9462496a Move swagger comment from TagJobApiRequest to Tag 2022-09-16 13:18:50 +02:00
Jan Eitzinger
24f374ed36 Fix API tag data type 2022-09-16 11:21:27 +02:00
Christoph Kluge
705f76fa3a Remove GitHub merge comment lines 2022-09-16 10:12:37 +02:00
Jan Eitzinger
597fe955fa
Update README.md 2022-09-16 07:05:44 +02:00
Jan Eitzinger
ae26c86e3b Add description on Swagger UI 2022-09-16 06:39:12 +02:00
Jan Eitzinger
6325f02ba2 Merge branch 'dev-job-archive-module' of github.com:ClusterCockpit/cc-backend into dev-job-archive-module 2022-09-16 06:28:07 +02:00
Jan Eitzinger
f1941b5e67 Reconfigure Swagger integration. Regenerate API docs 2022-09-16 06:09:55 +02:00
Christoph Kluge
922e94e835 Fix API data types, use unsecured router for /docs
- Note: Use /docs swagger playground without login
- Otherwise: Session User will be used which leads to role mismatch
2022-09-15 17:38:11 +02:00
Christoph Kluge
8e90c954ff First commit for swagger api documentation, not yet fully functional
- Problems with JWT auth (eg startJob fails with missing role)
- Manually fixed auto-parsing errors (missing api.TagJobApiRequest, wrong API @Description)
2022-09-15 12:37:44 +02:00
Jan Eitzinger
8845bba90d Fix bug 2022-09-13 15:40:32 +02:00
Jan Eitzinger
cab017ea63 Disable validation for api test 2022-09-13 15:32:01 +02:00
Jan Eitzinger
777f225e91 Add option for json validation 2022-09-13 15:22:20 +02:00
Jan Eitzinger
732801548f Enable caching for job metric data 2022-09-13 15:21:50 +02:00
Jan Eitzinger
520c814e3b Introduce import job flag 2022-09-13 15:20:07 +02:00
Jan Eitzinger
7cea964271 Update jsonschema package 2022-09-13 15:18:55 +02:00
Jan Eitzinger
adc22f6bc1
Merge branch 'master' into config-component 2022-09-13 09:05:07 +02:00
Jan Eitzinger
f6508046ff Integrate cc-units as units package 2022-09-13 07:38:44 +02:00
Jan Eitzinger
d8aaa26c27 Cleanup and small fixes 2022-09-13 07:38:18 +02:00
Jan Eitzinger
fd100f28dd Change interface and reintroduce caching 2022-09-13 07:37:48 +02:00
Christoph Kluge
0170e19363 Added options for "support" role on user create, role add, role edit 2022-09-12 18:05:43 +02:00
Jan Eitzinger
95f04f8ae9 Update README.md 2022-09-12 16:27:54 +02:00
Jan Eitzinger
00fc5f4774 Remove to set ArrayJobId on DB Init 2022-09-12 14:51:51 +02:00