diff --git a/example/real-federated-store/have-a-go-at-operations/curl-operation-examples/curl_addGraphForBasicEdges.sh b/example/real-federated-store/have-a-go-at-operations/curl-operation-examples/curl_addGraphForBasicEdges.sh index 4d5f3181575..773cad2d80b 100755 --- a/example/real-federated-store/have-a-go-at-operations/curl-operation-examples/curl_addGraphForBasicEdges.sh +++ b/example/real-federated-store/have-a-go-at-operations/curl-operation-examples/curl_addGraphForBasicEdges.sh @@ -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' diff --git a/example/real-federated-store/have-a-go-at-operations/json-operation-examples/operation_addGraphAccumuloBasicEdges.json b/example/real-federated-store/have-a-go-at-operations/json-operation-examples/operation_addGraphAccumuloBasicEdges.json new file mode 100755 index 00000000000..7620eeae4bf --- /dev/null +++ b/example/real-federated-store/have-a-go-at-operations/json-operation-examples/operation_addGraphAccumuloBasicEdges.json @@ -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" + } +} diff --git a/example/real-federated-store/have-a-go-at-operations/json-operation-examples/operation_addGraphForBasicEdges.json b/example/real-federated-store/have-a-go-at-operations/json-operation-examples/operation_addGraphMapBasicEdges.json similarity index 100% rename from example/real-federated-store/have-a-go-at-operations/json-operation-examples/operation_addGraphForBasicEdges.json rename to example/real-federated-store/have-a-go-at-operations/json-operation-examples/operation_addGraphMapBasicEdges.json