8.5.7. vantage6.node.proxy_server#
This module contains a proxy server implementation that the node uses to communicate with the server. It contains general methods for any routes, and methods to handle tasks and results, including their encryption and decryption.
(!) Not to be confused with the squid proxy that allows algorithm containers to access other places in the network.
Functions
|
Decrypt the result from a run dictionary |
|
Obtain http method based on string identifier |
|
Obtain json content from request response |
|
Helper to create proxies requests to the central server. |
|
Make request to the central server |
|
Generalized http proxy request |
Obtain and decrypt all results to belong to a certain task |
|
|
Obtain and decrypt the algorithm result from the vantage6 server to be used by an algorithm container. |
Proxy to create tasks at the vantage6 server |