Skip to content

Latest commit

 

History

History
 
 

fvt

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

FVT Instructions

The FVT tests are supported by:

Support for IBM Really Small Message Broker might be added in the future.

IBM MessageSight Configuration

The IBM MessageSight Virtual Appliance can be downloaded here: Download

There is a nice blog post about it here: Blog

The virtual appliance must be installed into a virtual machine like Oracle VirtualBox or VMWare Player. (Follow the instructions that come with the download).

Next, copy your authorized keys (basically a file containing the public rsa key of your own computer) onto the appliance to enable passwordless ssh.

For example,

Console> user sshkey add "scp://user@host:~/.ssh/authorized_keys"

More information can be found in the IBM MessageSight InfoCenter: InfoCenter

Now, execute the script setup_IMA.sh to create the objects necessary to configure the server for the unit test cases provided.

For example,

./setup_IMA.sh

You should now be able to view the objects on your server:

Console> imaserver show Endpoint Name=GoMqttEP1
Name = GoMqttEP1
Enabled = True
Port = 17001
Protocol = MQTT
Interface = all
SecurityProfile =
ConnectionPolicies = GoMqttCP1
MessagingPolicies = GoMqttMP1
MaxMessageSize = 1024KB
MessageHub = GoMqttTestHub
Description =

RSMB Configuration

Wait for SSL support?

Mosquitto Configuration

Launch mosquitto from the fvt directory, specifiying mosquitto.cfg as config file

ex: /usr/bin/mosquitto -c ./mosquitto.cfg

Note: Mosquitto requires SSL 1.1 or better, while Go 1.1.2 supports only SSL v1.0. However, Go 1.2+ supports SSL v1.1 and SSL v1.2.

If you prefer to use Docker to run Mosquitto for the tests then the docker folder contains everything needed (assuming you use docker-compose).

Other Notes

Go 1.1.2 does not support intermediate certificates, however Go 1.2+ does.