Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 2, 2023. It is now read-only.

Conversation

@achimnol
Copy link
Member

No description provided.

@achimnol achimnol added this to the 21.03 milestone Apr 14, 2021
@codecov
Copy link

codecov bot commented Apr 14, 2021

Codecov Report

Merging #420 (fbe724f) into main (01f2cac) will increase coverage by 0.18%.
The diff coverage is 42.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #420      +/-   ##
==========================================
+ Coverage   48.49%   48.68%   +0.18%     
==========================================
  Files          52       52              
  Lines        8524     8543      +19     
==========================================
+ Hits         4134     4159      +25     
+ Misses       4390     4384       -6     
Impacted Files Coverage Δ
src/ai/backend/manager/models/session_template.py 31.64% <ø> (ø)
src/ai/backend/manager/api/auth.py 48.19% <42.85%> (-1.94%) ⬇️
src/ai/backend/manager/server.py 63.25% <0.00%> (+1.75%) ⬆️
src/ai/backend/manager/plugin/error_monitor.py 50.00% <0.00%> (+6.25%) ⬆️
src/ai/backend/manager/plugin/__init__.py 88.37% <0.00%> (+15.11%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 01f2cac...fbe724f. Read the comment docs.

@achimnol achimnol marked this pull request as ready for review April 19, 2021 03:22
adrysn added 4 commits April 29, 2021 10:05
Empty dict should not override template configs.
Conflicts:
	src/ai/backend/manager/api/auth.py
	tests/api/test_auth.py
@adrysn adrysn merged commit 019037b into main May 15, 2021
@adrysn adrysn deleted the feature/auth-middlware-hook branch May 15, 2021 10:46
adrysn pushed a commit that referenced this pull request May 15, 2021
…okies (#420)

* feat: Add PRE_AUTH_MIDDLEWARE hook for auth with 3rd-party headers/cookies

* fix: lint error

* fix: Let hooks return just access_key for simpler implementation

* fix: comment

* test: Update auth test cases

* test: Add event_dispatcher_ctx

* test: Fix again

* test: fix again

* docs: Add news fragment

* fix: join query was missing in querying group session templates

* fix: add ID to session_template fixture

* fix: further modification of session_template fixture

* fix: invalid load of json object

* Minor spacing fix

* refactor: deliver request object to AUTHORIZE hook plugins

* fix: add scaling group to session templates and fixes minor glitches

* fix: drop method will drop empty dict always

Empty dict should not override template configs.

* fix: typo

* fix: broken test case

Co-authored-by: Jonghyun Park <[email protected]>

Backported-From: main
Backported-To: 21.03
achimnol added a commit that referenced this pull request May 17, 2021
…okies (#420)

* feat: Add PRE_AUTH_MIDDLEWARE hook for auth with 3rd-party headers/cookies

* fix: lint error

* fix: Let hooks return just access_key for simpler implementation

* fix: comment

* test: Update auth test cases

* test: Add event_dispatcher_ctx

* test: Fix again

* test: fix again

* docs: Add news fragment

* fix: join query was missing in querying group session templates

* fix: add ID to session_template fixture

* fix: further modification of session_template fixture

* fix: invalid load of json object

* Minor spacing fix

* refactor: deliver request object to AUTHORIZE hook plugins

* fix: add scaling group to session templates and fixes minor glitches

* fix: drop method will drop empty dict always

Empty dict should not override template configs.

* fix: typo

* fix: broken test case

Co-authored-by: Jonghyun Park <[email protected]>
Backported-From: main
Backported-To: 20.09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants