Skip to content

Commit

Permalink
gh-2630 FederatedStore scripts added.
Browse files Browse the repository at this point in the history
  • Loading branch information
GCHQDev404 committed Apr 21, 2022
1 parent 0e1b656 commit e7ecf1b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d @../json-operation-examples/operation_addGraphForBasicEdges.json 'http://localhost:8080/rest/graph/operations/execute'
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d @../json-operation-examples/operation_addGraphMapBasicEdges.json 'http://localhost:8080/rest/graph/operations/execute'
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"class" : "uk.gov.gchq.gaffer.federatedstore.operation.AddGraph",
"graphId" : "ToAccumulo",
"isPublic" : true,
"schema" : {
"edges" : {
"simple" : {
"source" : "String",
"destination" : "String"
}
},
"types" : {
"String" : {
"class" : "java.lang.String"
}
}
},
"storeProperties" : {
"gaffer.store.class" : "uk.gov.gchq.gaffer.accumulostore.AccumuloStore",
"accumulo.user" : "root",
"accumulo.instance" : "accumulo",
"gaffer.store.properties.class" : "uk.gov.gchq.gaffer.accumulostore.AccumuloProperties",
"accumulo.zookeepers" : "localhost:2181",
"accumulo.password" : "secret"
}
}

0 comments on commit e7ecf1b

Please sign in to comment.