Skip to content

Commit

Permalink
Merge pull request #255 from stakwork/feat/add-graph-data-science-plugin
Browse files Browse the repository at this point in the history
feat: added graph-data-science plugin to neo4j
  • Loading branch information
tobi-bams authored Jul 16, 2024
2 parents f54d7f1 + ecd64a4 commit e462a3c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/images/neo4j.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,18 @@ impl Neo4jImage {
APOC_CONF.as_bytes(),
)
.await?;

log::info!("=> download graph-data-science plugin for neo4j...");
let graph_data_science = "https://github.com/neo4j/graph-data-science/releases/download/2.6.8/neo4j-graph-data-science-2.6.8.jar";
let graph_data_science_bytes = reqwest::get(graph_data_science).await?.bytes().await?;
upload_to_container(
docker,
&self.name,
"/var/lib/neo4j/plugins",
"neo4j-graph-data-science-2.6.8.jar",
&graph_data_science_bytes,
)
.await?;
Ok(())
}
}
Expand Down

0 comments on commit e462a3c

Please sign in to comment.