Created
January 26, 2018 10:22
-
-
Save gatemezing/e7fc02dbc8dafb9cf57ce6ce40d3372a to your computer and use it in GitHub Desktop.
Script permettant de lancer le loader de Neptune pour charger une base graphe en nquads
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
#!/bin/bash | |
# loading RDF nquads data into Neptune from MDK bucket | |
curl -X POST \ | |
-H 'Content-Type: application/json' \ | |
http://mdk.cluster-cai4oe44teuh.us-east-1-beta.rds.amazonaws.com:8182/loader -d ' | |
{ | |
"source" : "s3://mdk-neptune/opoceProd", | |
"format" : "nquads", | |
"iamRoleArn" : "arn:aws:iam::672418254241:role/NeptuneLoadFromS3", | |
"region" : "us-east-1", | |
"failOnError" : "FALSE" | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment