-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add userinfo endpoint for api v2 (#138)
* Run unittests for all PRs, not only the ones to main (#131) * add user info endpoint async * add user info endpoint sync * add unit tests * fix json format * Fix types --------- Co-authored-by: Eirini Koutsaniti <eirini.koutsaniti@cscs.ch> Co-authored-by: Eirini Koutsaniti <ekoutsaniti@gmail.com>
- Loading branch information
1 parent
3525518
commit 45d8734
Showing
6 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,4 +65,4 @@ jobs: | |
pip install .[test] | ||
- name: type check with mypy | ||
run: | | ||
mypy . | ||
mypy firecrest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"status_code": 200, | ||
"response": { | ||
"user": { | ||
"id": "1000", | ||
"name": "fireuser" | ||
}, | ||
"group": { | ||
"id": "100", | ||
"name": "users" | ||
}, | ||
"groups": [ | ||
{ | ||
"id": "100", | ||
"name": "users" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters