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

add three options: --ssl-key-file --ssl-cert-file --ssl-ca-file #221

Merged
merged 2 commits into from
Dec 19, 2018

Conversation

tcler
Copy link
Contributor

@tcler tcler commented Sep 29, 2018

test pass:
'''
[tcler@ws pems]$ stomp -H messaging-devops-broker02.web.prod..com -P 61612 --ssl-key-file key.pem --ssl-cert-file cert.pem --ssl-ca-file ca.pem --ssl -V
('Attempting connection to host %s, port %s', 'messaging-devops-broker02.web.prod.
.com', '61612')
Sending {cmd=STOMP,headers=[{'accept-version': '1.1'}],body=}
CONNECTED
session: ID:messaging-devops-broker02.web.prod..com-40116-1538113127351-3:29629
version: 1.1
server: ActiveMQ/5.11.0.
-620133
heart-beat: 0,0

quit
'''

Signed-off-by: Jianhong Yin yin-jianhong@163.com

stomp/__main__.py Outdated Show resolved Hide resolved
stomp/__main__.py Outdated Show resolved Hide resolved
'''
[tcler@ws pems]$ stomp -H messaging-devops-broker02.web.prod.***.com -P 61612 --ssl-key-file key.pem --ssl-cert-file cert.pem --ssl-ca-file ca.pem --ssl -V
('Attempting connection to host %s, port %s', 'messaging-devops-broker02.web.prod.***.com', '61612')
Sending {cmd=STOMP,headers=[{'accept-version': '1.1'}],body=}
CONNECTED
session: ID:messaging-devops-broker02.web.prod.***.com-40116-1538113127351-3:29629
version: 1.1
server: ActiveMQ/5.11.0.***-620133
heart-beat: 0,0
>

quit
'''

Signed-off-by: Jianhong Yin <yin-jianhong@163.com>
Copy link
Contributor Author

@tcler tcler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. fix arguments name in usage
  2. improve StompCLI()'s argument list

@jasonrbriggs jasonrbriggs merged commit b759ca6 into jasonrbriggs:master Dec 19, 2018
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.

2 participants