diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-11-07 23:22:37 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-11-07 23:22:37 +0100 |
commit | cbd7624e53113aa5c7861b3de9fa036c133e554b (patch) | |
tree | 52581da9f47cc609d51aed647cd0834f3c23e62e /config-proxy/src | |
parent | 06dcf9923c9a81bb3d06211f1a9fc44af3fc22ee (diff) |
Update receiveFile to new signature.
Diffstat (limited to 'config-proxy/src')
-rw-r--r-- | config-proxy/src/main/java/com/yahoo/vespa/config/proxy/ConfigProxyRpcServer.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/ConfigProxyRpcServer.java b/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/ConfigProxyRpcServer.java index 01f2c161247..699a66ac5d5 100644 --- a/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/ConfigProxyRpcServer.java +++ b/config-proxy/src/main/java/com/yahoo/vespa/config/proxy/ConfigProxyRpcServer.java @@ -131,12 +131,15 @@ public class ConfigProxyRpcServer implements Runnable, TargetWatcher, RpcServer .methodDesc("set which file references to download") .paramDesc(0, "file references", "file reference to download") .returnDesc(0, "ret", "0 if success, 1 otherwise")); - supervisor.addMethod(new Method("filedistribution.receiveFile", "slx", "i", // TODO Temporary method to get started with testing + supervisor.addMethod(new Method("filedistribution.receiveFile", "ssxli", "i", // TODO Temporary method to get started with testing this, "receiveFile") .methodDesc("receive file reference content") .paramDesc(0, "file references", "file reference to download") .paramDesc(1, "filename", "filename") .paramDesc(2, "content", "array of bytes") + .paramDesc(3, "hash", "xx64hash of the file content") + .paramDesc(4, "errorcode", "Error code. 0 if none") + .paramDesc(5, "error-description", "Error description.") .returnDesc(0, "ret", "0 if success, 1 otherwise")); } |