zot icon indicating copy to clipboard operation
zot copied to clipboard

feat: Implement API to return supported authentication methods, close…

Open eusebiu-constantin-petu-dbk opened this issue 2 years ago • 3 comments

…s #749

Signed-off-by: Petu Eusebiu [email protected]

What type of PR is this?

Which issue does this PR fix:

What does this PR do / Why do we need it:

If an issue # is not available please add repro steps and logs showing the issue:

Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?

Does this PR introduce any user-facing change?:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #853 (2c4be02) into main (1b618f3) will increase coverage by 0.01%. The diff coverage is 96.62%.

:exclamation: Current head 2c4be02 differs from pull request most recent head ddd4bcd. Consider uploading reports for the commit ddd4bcd to get more accurate results

@@            Coverage Diff             @@
##             main     #853      +/-   ##
==========================================
+ Coverage   89.62%   89.63%   +0.01%     
==========================================
  Files          90       92       +2     
  Lines       18434    18534     +100     
==========================================
+ Hits        16521    16613      +92     
- Misses       1456     1462       +6     
- Partials      457      459       +2     
Impacted Files Coverage Δ
pkg/debug/swagger/swagger_disabled.go 100.00% <ø> (ø)
pkg/extensions/extension_metrics_disabled.go 100.00% <ø> (ø)
pkg/api/authn.go 84.57% <66.66%> (-1.14%) :arrow_down:
pkg/extensions/extension_mgmt.go 93.44% <93.44%> (ø)
pkg/api/authz.go 98.19% <100.00%> (-0.10%) :arrow_down:
pkg/api/config/config.go 93.69% <100.00%> (+4.14%) :arrow_up:
pkg/api/controller.go 90.84% <100.00%> (ø)
pkg/api/routes.go 94.46% <100.00%> (+0.01%) :arrow_up:
pkg/cli/root.go 95.44% <100.00%> (+0.08%) :arrow_up:
pkg/extensions/extension_metrics.go 100.00% <100.00%> (ø)
... and 3 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Oct 10 '22 21:10 codecov[bot]

ideally, this URI should only accept localhost connections

rchincha avatar Oct 10 '22 22:10 rchincha

ideally, this URI should only accept localhost connections

done

When building without debug tag then it will filtered out external connections When building with debug, it will accept all connections

rebase this pls

rchincha avatar Dec 20 '22 05:12 rchincha

done

ok, will fix

Superseded by https://github.com/project-zot/zot/pull/1198

andaaron avatar Mar 10 '23 19:03 andaaron