Vantiq / vantiq-extension-sources

Contains source code for VANTIQ Extension sources as well as SDKs for building these sources.
Other
13 stars 6 forks source link

EXTPSDK: Add ability to provide keyword arguments to connect() call #530

Closed fhcarter closed 2 weeks ago

fhcarter commented 3 weeks ago

Fixes #528

It is occasionally necessary to provide extra arguments to the websockets connect call. This is typically a case for disabling SSL verification in a development environment.

To enable this, we provide for the connectKWArgs property to be part of the server.config file used to specify the connection to Vantiq in a connector. The content of this property should be a valid JSON string specifying the names & values of the keyword arguments. Note that this is "just" a string -- making Python calls is not supported. A typical case will be something like

connectKWArgs={ "ssl": false}

as part of the server.config file.

fhcarter commented 3 weeks ago

Jenkins run