Search in sources :

Example 1 with SPARQL11Protocol

use of it.unibo.arces.wot.sepa.commons.protocol.SPARQL11Protocol in project SEPA by arces-wot.

the class StressUsingSPARQLProtocol method beginTest.

@BeforeEach
public void beginTest() throws IOException, SEPAProtocolException, SEPAPropertiesException, SEPASecurityException, URISyntaxException, InterruptedException {
    provider = new ConfigurationProvider();
    sync = new Sync();
    client = new SPARQL11Protocol(provider.getClientSecurityManager());
    Response ret = client.update(provider.buildUpdateRequest("DELETE_ALL"));
    logger.debug(ret);
    assertFalse(ret.isError(), String.valueOf(ret));
    subscribers.clear();
    publishers.clear();
    sync.reset();
}
Also used : Response(it.unibo.arces.wot.sepa.commons.response.Response) ConfigurationProvider(it.unibo.arces.wot.sepa.ConfigurationProvider) SPARQL11Protocol(it.unibo.arces.wot.sepa.commons.protocol.SPARQL11Protocol) Sync(it.unibo.arces.wot.sepa.Sync) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

ConfigurationProvider (it.unibo.arces.wot.sepa.ConfigurationProvider)1 Sync (it.unibo.arces.wot.sepa.Sync)1 SPARQL11Protocol (it.unibo.arces.wot.sepa.commons.protocol.SPARQL11Protocol)1 Response (it.unibo.arces.wot.sepa.commons.response.Response)1 BeforeEach (org.junit.jupiter.api.BeforeEach)1