-
Notifications
You must be signed in to change notification settings - Fork 355
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gh-2630 FederatedStore scripts added.
- Loading branch information
1 parent
0e1b656
commit e7ecf1b
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...rated-store/have-a-go-at-operations/curl-operation-examples/curl_addGraphForBasicEdges.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
26 changes: 26 additions & 0 deletions
26
...have-a-go-at-operations/json-operation-examples/operation_addGraphAccumuloBasicEdges.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
File renamed without changes.