-
Notifications
You must be signed in to change notification settings - Fork 154
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
Start livestatereporter on pipedv1 #5457
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Yoshiki Fujikane <[email protected]>
Signed-off-by: Yoshiki Fujikane <[email protected]>
Signed-off-by: Yoshiki Fujikane <[email protected]>
fa22a0f
to
a6603eb
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5457 +/- ##
==========================================
+ Coverage 26.09% 26.12% +0.03%
==========================================
Files 457 457
Lines 49081 49086 +5
==========================================
+ Hits 12808 12825 +17
+ Misses 35251 35238 -13
- Partials 1022 1023 +1 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Yoshiki Fujikane <[email protected]>
Signed-off-by: Yoshiki Fujikane <[email protected]>
pkg/model/application.proto
Outdated
@@ -45,6 +45,8 @@ message Application { | |||
string platform_provider = 15; | |||
// The names of deploy taget where to deploy this application. | |||
repeated string deploy_targets = 16; | |||
// The name of plugin used to deploy this application. | |||
string plugin = 17; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's not a single plugin which deploys an application but it's a list of plugins do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@khanhtc1202
Thanks, fixed it on 0c4fc0d
@@ -36,6 +36,8 @@ type Lister interface { | |||
ListByPlatformProvider(name string) []*model.Application | |||
// Get retrieves a specifiec deployment for the given id. | |||
Get(id string) (*model.Application, bool) | |||
// ListByPluginName lists all applications for a given plugin name. | |||
ListByPluginName(name string) []*model.Application |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we replace the ListByPlatformProver?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@khanhtc1202 Your right. We don't need it for now. So I removed it. 374de36
Signed-off-by: Yoshiki Fujikane <[email protected]>
Signed-off-by: Yoshiki Fujikane <[email protected]>
c1654db
to
0c4fc0d
Compare
What this PR does:
Fix to start the livestatereporter when starting pipedv1.
Also, I added a plugin name field for the application model to list apps by it.
Why we need it:
These fixes are needed to start the internal reporter for each plugin.
Which issue(s) this PR fixes:
Part of #5363
Does this PR introduce a user-facing change?: