-
Notifications
You must be signed in to change notification settings - Fork 0
config Command
Pankaj A edited this page Apr 2, 2020
·
1 revision
Every configuration request will require you to point to the PubSub+ Broker, and also to the specific Message VPN within it. In a complex enterprise environment, a simpler alternative is to pre-configure the defaults while working on an instance of a Message VPN.
Config command stores the name of the default VPN, as well as the broker connection details in the configuration file, so that subsequent commands don't need to specify those.
The configuration is stored in ~/.splus.cfg
% ./splus config --help
Usage: splus config [OPTIONS]
Configure the defaults for the SDK. These defaults will be used for all
the other commands, unless overridden using the appropriate command line
options
Options:
--broker-url TEXT Management URL for the Solace PubSub+ Broker
[default: http://localhost:8080]
--broker-username TEXT Administrative username [required]
--broker-password TEXT Password for the username [required]
--default-vpn TEXT Name of the Message VPN that will be used for all
subsequent commands, unless its over-ridden by "--
default-vpn" in the other commands [default:
default]
--help Show this message and exit.
Note that all the other SPLUS commands support these options, so you can override the Message VPN, Broker URL etc using these options.
The current SDK version uses username/password to connect to the broker.