Closed iamrodrigo closed 3 years ago
@longquanzheng test added :), check internal/common/auth/service_wrapper_test.go
and internal/jwt_authorization_test.go
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
internal/internal_worker.go | 1 | 3 | 33.33% | ||
worker/worker.go | 0 | 3 | 0.0% | ||
internal/client.go | 6 | 10 | 60.0% | ||
internal/jwt_authorization.go | 21 | 25 | 84.0% | ||
internal/common/util/rsa.go | 0 | 32 | 0.0% | ||
<!-- | Total: | 346 | 391 | 88.49% | --> |
Totals | |
---|---|
Change from base Build b792b9b0-c0a6-4a59-9363-e60d3948b178: | 0.4% |
Covered Lines: | 12068 |
Relevant Lines: | 16977 |
What changed? Implementation of
JWTAuthorizationProvider
in both worker and clientWhy? Part of this proposal
How did you test it? Running the server with oauth file
and modifying cadence-samples
Adding Authorization value in NewClient here
Adding Authorization value in NewDomainClient here
Adding Authorization value in worker.Options here
Potential risks None