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

PMM-10231 Service Params Source #1110

Closed
wants to merge 60 commits into from
Closed

Conversation

pkadej
Copy link
Contributor

@pkadej pkadej commented Aug 1, 2022

@codecov
Copy link

codecov bot commented Aug 1, 2022

Codecov Report

Merging #1110 (8f254ae) into main (6ef119b) will decrease coverage by 0.08%.
The diff coverage is 21.37%.

@@            Coverage Diff             @@
##             main    #1110      +/-   ##
==========================================
- Coverage   43.32%   43.23%   -0.09%     
==========================================
  Files         349      349              
  Lines       40777    40905     +128     
==========================================
+ Hits        17665    17685      +20     
- Misses      21586    21690     +104     
- Partials     1526     1530       +4     
Flag Coverage Δ
admin 8.71% <0.00%> (+0.11%) ⬆️
agent 54.26% <70.68%> (+0.05%) ⬆️
managed 44.46% <4.38%> (-0.26%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
admin/commands/management/add_external.go 3.70% <0.00%> (+0.67%) ⬆️
...min/commands/management/add_external_serverless.go 0.00% <0.00%> (ø)
admin/commands/management/add_haproxy.go 4.25% <0.00%> (+0.86%) ⬆️
admin/commands/management/add_mongodb.go 9.63% <0.00%> (+1.30%) ⬆️
admin/commands/management/add_mysql.go 24.21% <0.00%> (-1.20%) ⬇️
admin/commands/management/add_postgresql.go 0.00% <0.00%> (ø)
admin/commands/management/add_proxysql.go 0.00% <0.00%> (ø)
agent/client/channel/channel.go 59.58% <0.00%> (ø)
agent/commands/run.go 0.00% <0.00%> (ø)
managed/cmd/pmm-managed/main.go 0.00% <0.00%> (ø)
... and 11 more

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

api/agentpb/agent.go Outdated Show resolved Hide resolved
api/agentpb/agent.go Outdated Show resolved Hide resolved
api/agentpb/agent.go Outdated Show resolved Hide resolved
api/agentpb/agent.go Outdated Show resolved Hide resolved
agent/credentialssource/credentials_source_test.go Outdated Show resolved Hide resolved
agent/credentialssource/credentials_source_test.go Outdated Show resolved Hide resolved
agent/credentialssource/credentials_source_test.go Outdated Show resolved Hide resolved
managed/services/management/mongodb.go Show resolved Hide resolved
managed/services/management/postgresql.go Show resolved Hide resolved
managed/services/management/proxysql.go Show resolved Hide resolved
managed/services/management/mongodb.go Outdated Show resolved Hide resolved
managed/services/management/postgresql.go Outdated Show resolved Hide resolved
managed/services/management/proxysql.go Outdated Show resolved Hide resolved
agent/credentialssource/credentials_source.go Outdated Show resolved Hide resolved
agent/credentialssource/credentials_source.go Outdated Show resolved Hide resolved
agent/credentialssource/credentials_source.go Outdated Show resolved Hide resolved
agent/credentialssource/credentials_source.go Outdated Show resolved Hide resolved
agent/credentialssource/credentials_source.go Outdated Show resolved Hide resolved
@pkadej pkadej marked this pull request as ready for review August 9, 2022 18:22
@pkadej pkadej changed the title PMM-10231 Credentials source PMM-10231 Service Params Service Oct 19, 2022
@pkadej pkadej changed the title PMM-10231 Service Params Service PMM-10231 Service Params Source Oct 19, 2022
api/agentpb/agent.go Show resolved Hide resolved
api/agentpb/agent.go Show resolved Hide resolved
admin/commands/management/add.go Outdated Show resolved Hide resolved
@pkadej pkadej requested a review from BupycHuk October 24, 2022 18:44
@BupycHuk
Copy link
Member

Feel free to merge without waiting for my approval, just make sure that it was QA-ed

@@ -57,7 +57,7 @@ type AddExternalCommand struct {
RunsOnNodeID string `name:"agent-node-id" help:"Node ID where agent runs (default is autodetected)"`
Username string `help:"External username"`
Password string `help:"External password"`
CredentialsSource string `type:"existingfile" help:"Credentials provider"`
ServiceParamsSource string `help:"Path to file with service parameters"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's please update the help here so it's clear what is expected.
With the current help it's not clear what the file shall contain.

@michal-kralik michal-kralik marked this pull request as draft October 27, 2022 12:51
@michal-kralik
Copy link
Contributor

This ticket has been converted to draft until Przemyslaw researches PMM-10909 - whether it can replace code in this PR.

@pkadej pkadej closed this Dec 6, 2022
@ademidoff ademidoff deleted the PMM-10231_credential-sources branch March 6, 2023 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants