Commit Graph

411 Commits

Author SHA1 Message Date
Jan Eitzinger
937e72954d Make api test pass and cleanup 2022-09-06 14:40:14 +02:00
Jan Eitzinger
8fbd1b2cb8 Empty stub for json validation cmd 2022-09-06 09:32:25 +02:00
Jan Eitzinger
49dad5c8c5 Start to port api test 2022-09-06 09:31:52 +02:00
Jan Eitzinger
ac6785448e More descriptive errors 2022-09-06 09:31:37 +02:00
Jan Eitzinger
42cbf217cd Remove dependency on config package 2022-09-06 08:57:38 +02:00
Jan Eitzinger
98d62f739f Add dev flag to enable API web interfaces 2022-09-06 08:57:01 +02:00
Jan Eitzinger
fc76eed899 Refactor package structure
Builds but not tested
2022-09-05 17:46:38 +02:00
Jan Eitzinger
26df1e7c14 Add copyright and license header. Update license year 2022-07-29 06:29:21 +02:00
Lou Knauer
aac19c938f Allow CORS credentials; cpu->hwthread for cc-metric-store 2022-07-28 18:07:30 +02:00
Lou Knauer
d4b1b32ca0 token based login: fix re-logins 2022-07-26 13:50:54 +02:00
Lou Knauer
dc0bf80742 Fix auth.AddUser method 2022-07-26 11:00:41 +02:00
Lou Knauer
dc4c7f0033 bugfix: LDAP is optional 2022-07-25 17:27:42 +02:00
Lou Knauer
e500c1515e Allow login via token in URL 2022-07-25 10:36:20 +02:00
Lou Knauer
4e7ff6f9bc Merge auth-refactoring (Fixes #27 and #24) 2022-07-25 09:37:21 +02:00
Lou Knauer
a48e94ab3e bugfixes in auth/ 2022-07-25 09:33:36 +02:00
Lou Knauer
2d57e4cfe8 Change to HS256 as login token alg 2022-07-25 09:03:48 +02:00
Lou Knauer
5a22e5f32d Update READMEs 2022-07-25 08:58:44 +02:00
Lou Knauer
286fde3d5a show the aggregation strategy for non-native scope plots 2022-07-14 16:25:21 +02:00
Lou Knauer
f0530f2908 Different keypair for token based login 2022-07-13 15:04:11 +02:00
Lou Knauer
cb4020ffdf Add API test for failing jobs 2022-07-12 10:22:22 +02:00
Lou Knauer
772d37b093 Fixes #14: Lazy load additional metrics 2022-07-08 12:23:24 +02:00
Lou Knauer
9198d160a1 Make polarplot metrics cluster specific 2022-07-08 11:51:58 +02:00
Lou Knauer
f2f54bec4b Fixes #18: Update documentation 2022-07-08 11:01:51 +02:00
Lou Knauer
d7d278037e Fixes #15: Copy JWT to clipboard automatically 2022-07-08 10:51:33 +02:00
Lou Knauer
187d6a1844 Move gen-keypair helper to cmd/ 2022-07-07 14:10:12 +02:00
Lou Knauer
04574db32f Integrate new auth interface 2022-07-07 14:08:37 +02:00
Lou Knauer
db86d2cf7e Glue authenticators together 2022-07-07 13:40:38 +02:00
Lou Knauer
23f6015494 Add login via JWT 2022-07-07 12:48:04 +02:00
Lou Knauer
5041685df1 Refactor authentication 2022-07-07 12:11:49 +02:00
Lou Knauer
3a39df6579 Update documentation (Fixes #2) 2022-07-06 15:06:04 +02:00
Lou Knauer
94017dc040 embed templates into binary (issue #2) 2022-07-06 15:00:08 +02:00
Lou Knauer
4f61580b2b embed frontend files into binary (issue #2) 2022-07-06 14:55:39 +02:00
Jan Eitzinger
c1b7c8c6ae
Update README.md 2022-07-06 06:37:30 +02:00
Lou Knauer
3474ead49b Add content-type header to logout (issue #19) 2022-07-05 10:40:12 +02:00
Lou Knauer
65f7e5e6c8 load config.json in current directory by default (issue #17) 2022-07-05 10:23:26 +02:00
Lou Knauer
8bdab3298d Sync checksum file; Tidy up module file 2022-07-05 08:54:58 +02:00
Jan Eitzinger
17f04a12dc
Update README.md 2022-07-04 13:35:49 +02:00
Jan Eitzinger
6ff6169d45
Update README.md 2022-06-24 10:49:31 +02:00
Jan Eitzinger
b4dfc496d2
Update README.md 2022-06-24 10:49:02 +02:00
Jan Eitzinger
293efefb98
Merge pull request #16 from ClusterCockpit/refactor-structure-dev
Refactor directory structure according to Golang common standards.
Add more documentation in form of READMEs.
2022-06-24 10:41:57 +02:00
Jan Eitzinger
f5049ae1b4 Add pointer to docu 2022-06-24 10:35:54 +02:00
Jan Eitzinger
378e370e29 Add README for JWT key management 2022-06-24 10:28:38 +02:00
Jan Eitzinger
f291aa2f8c Fix paths. Adapt gitignore 2022-06-23 18:27:42 +02:00
Jan Eitzinger
f0dab0e229 Fill gaps in README files 2022-06-23 17:57:19 +02:00
Jan Eitzinger
69ad81da51 Update README.md 2022-06-23 10:24:36 +02:00
Jan Eitzinger
f7790c612f Remove .env file 2022-06-23 10:24:17 +02:00
Jan Eitzinger
6440b9d958 Disable lruchache handler response test 2022-06-23 09:25:07 +02:00
Jan Eitzinger
418761dac3 Another try to fix tests 2022-06-22 18:14:27 +02:00
Jan Eitzinger
3c06619cc9 Adapt github workflow and startDemo.sh script 2022-06-22 18:11:09 +02:00
Jan Eitzinger
6c22c0c4c0 Fix api tests 2022-06-22 18:06:02 +02:00