Commit b5740287 authored by helene ortiz's avatar helene ortiz
Browse files

4.0.30

parent 7233b1e7
......@@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>fr.ill.ics</groupId>
<artifactId>nomadcommandsystem</artifactId>
<version>4.0.29</version>
<version>4.0.30</version>
<name>NomadCommandSystem</name>
<description>Java bridge for the communication with the Nomad server</description>
<scm>
......@@ -61,7 +61,7 @@
<dependency>
<groupId>fr.ill.ics</groupId>
<artifactId>nomadcommandsystem-messages</artifactId>
<version>0.0.13</version>
<version>0.0.14</version>
</dependency>
<dependency>
<groupId>fr.ill.ics</groupId>
......
......@@ -91,8 +91,8 @@ public class ResourceManager {
}
public String getTree(String rootDirectory, String extension) {
return CommandZoneAccessor.getInstance(serverId).getTree(rootDirectory, extension);
public String getTree(String rootDirectory, String extension, boolean recurse) {
return CommandZoneAccessor.getInstance(serverId).getTree(rootDirectory, extension, recurse);
}
......
......@@ -3244,7 +3244,7 @@ public class CommandZoneAccessor {
}
public synchronized String getTree(String rootDirectory, String extension) {
public synchronized String getTree(String rootDirectory, String extension, boolean recurse) {
// Create the message type.
CommandZoneRequests.Message type = CommandZoneRequests.Message.newBuilder()
......@@ -3254,6 +3254,7 @@ public class CommandZoneAccessor {
CommandZoneRequests.GetTreeRequest request = CommandZoneRequests.GetTreeRequest.newBuilder()
.setRootDirectory(rootDirectory)
.setExtension(extension)
.setRecurse(recurse)
.build();
commandBoxRequester.sendTwoParts(type.toByteArray(), request.toByteArray());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment