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

Starter refactoring step 2 : start stop list commands #1111

Conversation

cescoffier
Copy link
Contributor

Add support for the start stop and list commands.

These commands let you start vert.x application in background and control them. Commands works on Linux, Mac and Windows.

This PR is based on the #1110 PR.

…mechanism for commands

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
…r is deleted)

A few improvements and utilities methods
Implement the run command and version commands

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
…loyer class (loaded from the created class loader).

This class loader implement the -cp support and will be used for the redeploy.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Set print stream for commands
Improve Command model

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Works only on linux / mac for now.
Need more testing.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
…Dfastbuild=true)

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Also add tests

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
It was too tricky to manage the conflicts between -ha trigging a bare instance and an instance deployment. So manage it internally.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
- Configuration
- Enabling metrics from command line
- Robustness of start / stop / list commands

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
* move public interface to the `io/vertx/core/spi/cli` package
* move the implementation to `io/vertx/core/impl/cli` (as well as `io/vertx/core/impl/cli/commands` and `io/vertx/core/impl/cli/converters`)

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
it's not something used to develop a command but a launcher.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
@cescoffier cescoffier changed the title Starter refactoring step2 start stop list commands Starter refactoring step 2 : start stop list commands Jul 28, 2015
@vietj
Copy link
Member

vietj commented Jul 28, 2015

perhaps you should wait PR1 is valid :-)

@cescoffier
Copy link
Contributor Author

It's in the description, so yes, it needs to wait until the PR1 is merged before merging that one. Changes made in the first PR will be reflected here.

@cescoffier
Copy link
Contributor Author

The CLI has been refactored, this PR is invalid.

@cescoffier cescoffier deleted the starter-refactoring-step2-start-stop-list-commands branch July 20, 2016 12:59
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

3 participants