Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement AddApplication rpc for external api #1227

Merged
merged 1 commit into from Dec 10, 2020
Merged

Conversation

nghialv
Copy link
Member

@nghialv nghialv commented Dec 10, 2020

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

NONE

@nghialv
Copy link
Member Author

nghialv commented Dec 10, 2020

/cc @khanhtc1202

@pipecd-bot
Copy link
Collaborator

COVERAGE

Code coverage for golang is 33.97%. This pull request increases coverage by 0.01%.

File Function Base Head Diff
pkg/app/api/grpcapi/api.go requireAPIKey -- 100.00% +100.00%
pkg/app/api/grpcapi/utils.go getPiped -- 57.14% +57.14%
pkg/app/api/grpcapi/utils.go makeGitPath -- 0.00% +0.00%
pkg/rpc/rpcauth/interceptor.go ContextWithAPIKey -- 100.00% +100.00%
pkg/app/api/grpcapi/api.go API.AddApplication 0.00% 0.00% +0.00%
pkg/app/api/grpcapi/api.go API.SyncApplication 0.00% 0.00% +0.00%
pkg/app/api/grpcapi/web_api.go WebAPI.AddApplication 0.00% 0.00% +0.00%
pkg/app/piped/logpersister/stagelogpersister.go stageLogPersister.flushFromLastCheckpoint 61.11% 50.00% -11.11%
pkg/rpc/rpcauth/interceptor.go ExtractAPIKey 75.00% 100.00% +25.00%
pkg/app/api/grpcapi/web_api.go WebAPI.getPiped 57.14% -- -57.14%
pkg/app/api/grpcapi/web_api.go WebAPI.makeGitPath 0.00% -- +-0.00%

@khanhtc1202
Copy link
Member

/approve

@pipecd-bot
Copy link
Collaborator

APPROVE

This pull request is APPROVED by khanhtc1202.

Approvers can cancel the approval by writing /approve cancel in a comment. Any additional commits also will change this pull request to be not-approved.

@pipecd-bot pipecd-bot merged commit fa00119 into master Dec 10, 2020
@pipecd-bot pipecd-bot deleted the external-api branch December 10, 2020 04:26
@pipecd-bot pipecd-bot mentioned this pull request Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants