Example #1
0
  public static void retrieveServerSharedDirName() {

    OCSSWClient ocsswClient = new OCSSWClient();
    WebTarget target = ocsswClient.getOcsswWebTarget();
    setServerSharedDirName(
        target.path("file").path("test").request(MediaType.TEXT_PLAIN).get(String.class));
  }
Example #2
0
  public static void createJobId() {

    OCSSWClient ocsswClient = new OCSSWClient();
    WebTarget target = ocsswClient.getOcsswWebTarget();
    jobId = target.path("jobs").path("newJobId").request(MediaType.TEXT_PLAIN).get(String.class);
  }