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

[RR2] Resetter plugin #393

Closed
wolfy-j opened this issue Nov 10, 2020 · 0 comments · Fixed by #409
Closed

[RR2] Resetter plugin #393

wolfy-j opened this issue Nov 10, 2020 · 0 comments · Fixed by #409
Assignees
Labels
A-plugin Area: module C-feature-accepted Category: Feature discussed and accepted
Milestone

Comments

@wolfy-j
Copy link
Contributor

wolfy-j commented Nov 10, 2020

Is your feature request related to a problem? Please describe.
The service must collect all Resettable plugins and trigger Reset via RPC call and CLI command:

type Resetter inteface {
    Reset() error
}

Describe the solution you'd like
Plugin must collect all named and resettable services and allow them to perform folllowing RPC commands.

reset.Reset(name) error
reset.ResetAll() error

Need to add cli command:

To reset all services:

$ roadrunner reset
$ Resetting [http, jobs, temporal]... done

To reset specific service:

$ roadrunner reset http
$ Resetting http... done
@wolfy-j wolfy-j added the C-feature-request Category: feature requested, but need to be discussed label Nov 10, 2020
@wolfy-j wolfy-j added this to the 2.0.0 milestone Nov 10, 2020
@wolfy-j wolfy-j self-assigned this Nov 10, 2020
@rustatian rustatian removed their assignment Nov 10, 2020
@rustatian rustatian changed the title Need Reset service [RR2] Reset plugin Nov 10, 2020
@rustatian rustatian changed the title [RR2] Reset plugin [RR2] Reseter plugin Nov 10, 2020
@rustatian rustatian changed the title [RR2] Reseter plugin [RR2] Resetter plugin Nov 10, 2020
@rustatian rustatian added A-plugin Area: module C-feature-accepted Category: Feature discussed and accepted and removed C-feature-request Category: feature requested, but need to be discussed labels Nov 10, 2020
@rustatian rustatian self-assigned this Nov 18, 2020
@rustatian rustatian linked a pull request Nov 18, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-plugin Area: module C-feature-accepted Category: Feature discussed and accepted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants