Skip to content

Commit f19a9c1

Browse files
committed
Moved Graph logic into DirectGraphStoreImpl
1 parent f5e8d2e commit f19a9c1

File tree

5 files changed

+804
-867
lines changed

5 files changed

+804
-867
lines changed

src/main/java/com/atomgraph/linkeddatahub/resource/Generate.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import com.atomgraph.linkeddatahub.apps.model.Application;
2121
import com.atomgraph.linkeddatahub.client.GraphStoreClient;
2222
import com.atomgraph.linkeddatahub.imports.QueryLoader;
23+
import com.atomgraph.linkeddatahub.server.model.impl.DirectGraphStoreImpl;
2324
import com.atomgraph.linkeddatahub.server.security.AgentContext;
2425
import com.atomgraph.linkeddatahub.server.util.Skolemizer;
2526
import com.atomgraph.linkeddatahub.vocabulary.LDH;
@@ -150,7 +151,7 @@ public Response post(Model model)
150151
new Skolemizer(containerGraphURI.toString()).apply(containerModel);
151152

152153
// append triples directly to the graph store without doing an HTTP request (and thus no ACL check)
153-
try (Response containerResponse = getResourceContext().getResource(Graph.class).post(containerModel, false, containerGraphURI))
154+
try (Response containerResponse = getResourceContext().getResource(DirectGraphStoreImpl.class).post(containerModel, false, containerGraphURI))
154155
{
155156
if (!containerResponse.getStatusInfo().getFamily().equals(Status.Family.SUCCESSFUL))
156157
{

0 commit comments

Comments
 (0)