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-7707: Tab completing '--url' on 'connect' gives two default values #5061
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -175,16 +175,16 @@ gfsh>connect | |
``` pre | ||
gfsh>connect | ||
Connecting to Locator at [host=localhost, port=10334] .. | ||
Connecting to Manager at [host=GemFireStymon, port=1099] .. | ||
Successfully connected to: [host=GemFireStymon, port=1099] | ||
Connecting to Manager at [host=GeodeStymon, port=1099] .. | ||
Successfully connected to: [host=GeodeStymon, port=1099] | ||
``` | ||
|
||
**Example of connecting to a remote locator over HTTP:** | ||
|
||
``` pre | ||
gfsh>connect --url="http://myLocatorHost.example.com:8080/gemfire/v1" | ||
Successfully connected to: GemFire Manager's HTTP service @ | ||
http://myLocatorHost.example.com:8080/gemfire/v1 | ||
gfsh>connect --url="http://myLocatorHost.example.com:8080/geode-mgmt/v1" | ||
Successfully connected to: Geode Manager's HTTP service @ | ||
http://myLocatorHost.example.com:8080/geode-mgmt/v1 | ||
``` | ||
|
||
**Error Messages:** | ||
|
@@ -193,8 +193,8 @@ http://myLocatorHost.example.com:8080/gemfire/v1 | |
"Locator could not find a JMX Manager"; | ||
"jmx password must be specified."; | ||
"Could not connect to : {0}. {1}"; | ||
"Could not find a GemFire jmx-manager service running at {0}."; | ||
"Could not find a Geode jmx-manager service running at {0}."; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have changed lines 196 & 199 to show how these strings really look (they are defined in CliStrings.java) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @alb3rtobr @moleske +1 good catch. |
||
"--token requires a value, for example --token=foo"; | ||
"--token cannot be combined with --user or --password"; | ||
"Could not connect to GemFire Locator service at {0}." | ||
"Could not connect to Geode Locator service at {0}." | ||
``` |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Lines 178 & 179 are just host names, but as they are the only referece left to "GemFire" I changed it to "Geode"