Commit Graph
100 Commits
Author SHA1 Message Date
moebiusband feba722a53 Refactor and Cleanup
Add SecurityCheck
2023-06-22 06:26:19 +02:00
moebiusband bb7c1005c9 Refactor query logic and move to job.go 2023-06-20 15:52:16 +02:00
moebiusband 33613cdda0 Sync commit 2023-06-20 10:38:53 +02:00
moebiusband 369d20930b Merge branch 'hotfix' of github.com:ClusterCockpit/cc-backend into hotfix 2023-06-16 14:31:12 +02:00
moebiusband 9b7b3812d9 Introduce goreleaser support 2023-06-16 14:31:09 +02:00
moebiusband f0685919fd Streamline auth error handling 2023-06-15 12:00:45 +02:00
moebiusband 17113eddca Fix failed test due to config change 2023-06-15 11:23:50 +02:00
moebiusband 9137931b74 Add cpu_load and mem_used to Job stats
Fixes #111
2023-06-15 11:07:48 +02:00
moebiusband 85c7b9e357 Add correct versions 2023-06-15 09:55:24 +02:00
moebiusband 54aa940d3e Add job metricdata rest endpoint
Fixes #102
2023-06-14 15:03:01 +02:00
moebiusband e6a5874999 Fix bug if local login provides wrong pw
Fixes #140
2023-06-14 14:35:25 +02:00
moebiusband c662ced7e7 Initial rest endpoint for metrics data 2023-06-14 14:33:36 +02:00
moebiusband 37dc192f0d Merge branch 'hotfix' of github.com:ClusterCockpit/cc-backend into hotfix 2023-06-14 07:31:46 +02:00
moebiusband 93396aa0ea Fix bug in compression service 2023-06-14 07:31:43 +02:00
moebiusband 9bdd608361 Extend docs 2023-06-14 07:31:29 +02:00
moebiusband 27d7d57225 Merge branch 'hotfix' of github.com:ClusterCockpit/cc-backend into hotfix 2023-06-13 15:15:34 +02:00
moebiusband addeeea395 Update documentation and streamline language 2023-06-13 15:14:19 +02:00
moebiusband 3766121aef Fix test 2023-06-13 14:40:23 +02:00
moebiusband 857ce637c0 Update adm-upgrade.md 2023-06-13 14:39:11 +02:00
moebiusband 18bbd11c5e Update documentation 2023-06-13 14:35:57 +02:00
moebiusband 29b6022f97 Allow to overwrite legal texts 2023-06-12 16:45:23 +02:00
moebiusband c7c83fc08c Replace Analysis with Status view in Homepage 2023-06-12 14:58:33 +02:00
moebiusband d4a26e71cd Introduce debug mode 2023-06-12 14:44:54 +02:00
moebiusband 21ec2bb51d Consider initial run case for compression 2023-06-11 09:00:57 +02:00
moebiusband 911dcb6626 Improve Compression Service
* Add Timing and more feedback
* Introduce persistent last compressed timestamp
2023-06-10 07:49:02 +02:00
moebiusband 918f1993f2 Add loglevel access. Fix timer labels. 2023-06-09 15:02:22 +02:00
moebiusband 616095fe66 Add additional job stats, fix test 2023-06-09 11:29:07 +02:00
moebiusband 5ba6f0ed3a Refactor and adapt to new API 2023-06-09 09:09:41 +02:00
moebiusband 02752f52e4 Merge branch 'master' into refactor-job-repository 2023-06-08 06:22:51 +02:00
moebiusband fb86ebdbcc Renaming 2023-06-08 06:18:19 +02:00
moebiusband ff23f8e270 Merge branch 'refactor-job-repository' of github.com:ClusterCockpit/cc-backend into refactor-job-repository 2023-06-07 12:00:11 +02:00
moebiusband becb2bfa3a Refactor Jobs stats resolver 2023-06-07 11:58:58 +02:00
moebiusband 784ae125be Reformatting 2023-06-06 13:13:08 +02:00
moebiusband 695e8e270a Split job Repository in multiple files 2023-06-06 10:27:55 +02:00
moebiusband 96d036a128 Enable SQL hooks for statement debugging 2023-06-05 16:38:58 +02:00
moebiusband d53ef526dd Fix tests 2023-06-05 16:10:47 +02:00
moebiusband e444b83149 Fix errors 2023-06-05 16:07:01 +02:00
moebiusband 5ca4bdbd91 Remove VACUUM 2023-06-05 16:01:14 +02:00
moebiusband 8b6a1c8045 Add migration for job table contraints 2023-06-05 15:58:07 +02:00
moebiusband 2de85b0120 Add composite indexes 2023-06-01 15:40:37 +02:00
moebiusband 203ccdf73b Rename test db 2023-06-01 15:29:25 +02:00
moebiusband 447fc574e8 Add query benchmark 2023-06-01 15:27:19 +02:00
moebiusband 65cebf6fde Add fix for broken ids in job archives 2023-06-01 15:26:53 +02:00
moebiusband 205a400c6f Also Benchmarks need _test in name 2023-06-01 14:10:10 +02:00
moebiusband 012b131b23 Refactor for benchmarking 2023-06-01 13:57:35 +02:00
moebiusband 0a472d2b39 Fix bug in logger 2023-06-01 10:12:45 +02:00
moebiusband 0f87f651f9 Refactor DB connection settings 2023-06-01 08:03:12 +02:00
moebiusband 0f9b83e636 Add Move retention policy
* Currently not testet!
2023-05-15 16:57:31 +02:00
moebiusband 6731b8b1e0 Add clean functionality to archive manager 2023-05-15 15:38:18 +02:00
moebiusband 1ae34c5e10 Extend archive manager 2023-05-15 14:32:23 +02:00
moebiusband 5beb84b575 Add copyright to util package 2023-05-12 15:40:33 +02:00
moebiusband c64b996742 Finish uncompressed load data benchmark 2023-05-12 15:40:21 +02:00
moebiusband 7213e7bb43 Improve logging 2023-05-12 15:10:12 +02:00
moebiusband c6dceb1265 Add LoadData Benchmark 2023-05-12 15:10:04 +02:00
moebiusband 6aea486891 Add util package 2023-05-12 15:09:39 +02:00
moebiusband 35bc674b43 Update test.yml 2023-05-11 16:26:09 +02:00
moebiusband cfafd5aa08 Add archive test and fix fsBackend test 2023-05-11 16:17:17 +02:00
moebiusband 19e3ba7290 Improve retention
Add db cleanup
Fixes #103
2023-05-11 09:40:13 +02:00
moebiusband cc634dd155 Improve build and error handling 2023-05-11 09:39:23 +02:00
moebiusband 538427d59b Introduce Retention and compression 2023-05-09 16:33:26 +02:00
moebiusband 72f178a088 Extend config schema 2023-05-09 09:34:03 +02:00
moebiusband 09d30d0ead Correct flag help 2023-05-09 09:33:51 +02:00
moebiusband d3107dd2cc Omit redundant init of handlers 2023-05-09 07:48:46 +02:00
moebiusband 07c10d88b9 Initialize log handlers also without init 2023-05-09 07:47:54 +02:00
moebiusband 3d3e8f1d5a Merge branch 'master' into 103-add-retention-support 2023-05-09 07:18:50 +02:00
moebiusband 53391dbf8e Disable test cache 2023-05-05 10:58:08 +02:00
moebiusband 46de59b7b4 Add developer docs 2023-05-05 10:07:21 +02:00
moebiusband 52738c7f8e Start to fix errors with urql 4 2023-05-05 10:07:12 +02:00
moebiusband 788d2cd61c Fix repo tests 2023-05-05 06:02:17 +02:00
moebiusband 0a43c4a146 Fix archive test
Add testdata
2023-05-04 18:54:34 +02:00
moebiusband 4f7a638619 Move integration test to api black box test 2023-05-04 18:20:35 +02:00
moebiusband f6c629c696 Remove obsolete check
Now handeled by DB UNIQUE constraint
2023-05-04 18:14:46 +02:00
moebiusband 7491ae9e3c Fix typo in DB schema 2023-05-04 17:26:33 +02:00
moebiusband 50cf2f57d1 Upgrade cc-units 2023-05-04 17:20:33 +02:00
moebiusband 066c4553b4 Refactor 2023-05-04 16:27:30 +02:00
moebiusband 5404be3ca7 Add unique constrain on job table 2023-05-04 16:04:57 +02:00
moebiusband c5b67d64d2 Add Table flush on init 2023-05-04 16:03:04 +02:00
moebiusband d9b18d1763 Cleanup
Use external cc-units
Lint code
Fix import tests
2023-05-04 15:34:36 +02:00
moebiusband b878b31de5 Add test result files 2023-05-04 13:32:11 +02:00
moebiusband 23802abc10 Rebuilt GQL code 2023-05-04 13:22:46 +02:00
moebiusband be011d6405 Backport Makefile and yarn replacement
From branch update-web-frontend-dev
2023-05-04 11:34:20 +02:00
moebiusband bb20ed655a Regenerate GraphQL Server 2023-05-04 11:29:53 +02:00
moebiusband 4ae763ee1b Merge branch 'fix-import-flag' into update-web-frontend-env 2023-05-04 09:20:16 +02:00
moebiusband 518f4664a1 Continue fixing errors 2023-05-04 09:19:43 +02:00
moebiusband dce02ab1e0 Revert optional pointer attributes 2023-05-04 07:00:47 +02:00
moebiusband 27894ea0a9 Restructure tests 2023-05-04 07:00:30 +02:00
moebiusband f235b5e911 Start porting to new urql api
It compiles. Not tested
2023-05-03 16:41:17 +02:00
moebiusband ce8eb86569 Improve Makefile
* Add check for required executables
* Remove defunct DB target
* Add distclean target
2023-04-29 07:51:10 +02:00
moebiusband 3e2a462b38 update frontend env
* Switch from yarn to plain npm
* Update all package dependencies
* Start to port to new APIs
2023-04-29 07:25:03 +02:00
moebiusbandandGitHub 3b2fbcfb52 Update README.md 2023-04-29 06:40:12 +02:00
moebiusband ebba4371eb Extract importer package and restructure tests 2023-04-28 08:49:58 +02:00
moebiusband c090b18628 Sync commit 2023-04-26 14:08:39 +02:00
moebiusband 9299f65993 Start to integrate file based testing 2023-04-25 09:27:22 +02:00
moebiusband 5a09277d1c Restructure black box test
Remove string ptr from unit prefix
2023-04-25 09:26:48 +02:00
moebiusband 8447d011ad Add version to job archive 2023-03-27 13:24:06 +02:00
moebiusband 20290f296d Debug migration routine 2023-03-23 10:29:11 +01:00
moebiusband 5d526e1168 Adapt Cluster schema
Add remove boolean to subClusterConfig in MetricList.
Fix Linter errors.
2023-03-21 11:51:11 +01:00
moebiusband 747f6d4e2d Add MetricConfig in SubClusters. 2023-03-20 16:27:36 +01:00
moebiusband efde2cbb8e Introduce hierarchical metriclists and thresholds 2023-03-18 08:15:11 +01:00
moebiusband 8a1288db1a Merge branch 'master' of github.com:ClusterCockpit/cc-backend 2023-03-02 14:13:34 +01:00