On client run gatway script

I have developed a script module. This script can only be executed on the gatway because it involves some files on the server. Now I want to call this script on the client. What should I do

You will need to use the RPC (remote procedure call) infrastructure of Ignition. There’s an example in the SDK that shows the basics.

In my Orekit module, I stream/cache files between the gateway and clients using web requests.

Gateway:

Client:

Are you implementing any security? Ignition’s RPC infrastructure only works through authenticated channels–you only have to check roles, and only if applicable.

Nothing meaningful at this point. The accessible directories are limited but there’s no user authentication. I chose web requests instead of RPC in order to share the files with non-Ignition clients.

1 Like