The clients were written to only deal with non-SSL servers (like localnet setup). This updates the client constructor to take an is_secure parameter that specifies if the server is using SSL or not, then creates the correct gRPC channel internally.
I also updated the .proto files and generated proto code with the latest from Powergate. Not all of the previously existing proto services were exposed before, so I didn't bother creating any new client code to expose them, but there was one service removed (deals) and a new one added (buildinfo), so I removed the deals client code and added buildinfo client code. buildinfo retrieves information about what version of Powergate the client is connected to.
The clients were written to only deal with non-SSL servers (like localnet setup). This updates the client constructor to take an
is_secure
parameter that specifies if the server is using SSL or not, then creates the correct gRPC channel internally.I also updated the
.proto
files and generated proto code with the latest from Powergate. Not all of the previously existing proto services were exposed before, so I didn't bother creating any new client code to expose them, but there was one service removed (deals
) and a new one added (buildinfo
), so I removed thedeals
client code and addedbuildinfo
client code.buildinfo
retrieves information about what version of Powergate the client is connected to.