Skip to content
Snippets Groups Projects
Commit 3bdaa6c4 authored by pkupczyk's avatar pkupczyk
Browse files

SP-48 / BIS-38: Provide access to CRC32 checksums in PathInfoDB - make it work...

SP-48 / BIS-38: Provide access to CRC32 checksums in PathInfoDB - make it work via JSON API - fix a failing test

SVN: 26301
parent b235b982
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@ import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
import org.apache.commons.io.FileUtils;
import org.testng.annotations.AfterClass;
......@@ -31,6 +32,7 @@ import com.googlecode.jsonrpc4j.ProxyUtil;
import ch.systemsx.cisd.openbis.dss.generic.shared.api.v1.FileInfoDssDTO;
import ch.systemsx.cisd.openbis.dss.generic.shared.api.v1.IDssServiceRpcGeneric;
import ch.systemsx.cisd.openbis.generic.shared.api.json.GenericObjectMapper;
import ch.systemsx.cisd.openbis.generic.shared.api.v1.IGeneralInformationService;
/**
......@@ -109,7 +111,9 @@ public class JsonDssServiceRpcGenericTest extends SystemTestCase
{
try
{
JsonRpcHttpClient client = new JsonRpcHttpClient(new URL(DSS_URL));
JsonRpcHttpClient client =
new JsonRpcHttpClient(new GenericObjectMapper(), new URL(DSS_URL),
new HashMap<String, String>());
return ProxyUtil.createProxy(getClass().getClassLoader(), IDssServiceRpcGeneric.class,
client);
} catch (MalformedURLException ex)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment