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

GEODE-3031: Extracting startLocator and startServer from LauncherLifecycleCommands #642

Closed
wants to merge 1 commit into from

Conversation

YehEmily
Copy link
Contributor

@YehEmily YehEmily commented Jul 18, 2017

See the JIRA ticket here.

LauncherLifecycleCommands.java was a huge class that contained commands for starting a server (startServer) and for starting a locator (startLocator). In this PR, these gfsh commands have been extracted and moved to their own classes (StartLocatorCommand.java and StartServerCommand.java). Then, the other methods associated with these two gfsh commands were refactored and moved to their associated classes or a new shared StartMemberUtils class. Tests associated with LauncherLifecycleCommands.java were moved to GfshCommandJUnitTest.java, StartServerCommandTest.java, StartServerCommandIntegrationTest.java StartLocatorCommandTest.java, or StartLocatorCommandIntegrationTest.java based on what they tested.

Testing Progress: precheckin completed successfully

  • JIRA ticket associated with this PR is referenced in the commit message

  • PR has been rebased against the latest commit within the target branch

  • Initial contribution is a single, squashed commit

  • gradlew build runs cleanly

  • Wrote/updated unit tests to verify changes

@YehEmily YehEmily force-pushed the GEODE-3031 branch 10 times, most recently from d3cd0f7 to 9a65436 Compare July 21, 2017 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant