Skip to content

Commit

Permalink
Replace existing defaultConnection file (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmcginnes committed Jul 26, 2024
1 parent f196553 commit 685d9a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

**Bug Fixes and Minor Changes**

- Fix issue with default connections when Neptune Notebook instance is restarted
(<https://github.com/aws/graph-explorer/pull/508>)
- Fix expanding a node on old versions of Gremlin
(<https://github.com/aws/graph-explorer/pull/503>)
- Provide better error messages when expanding a node fails
Expand Down
3 changes: 3 additions & 0 deletions process-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ fi

# Update the default connection file with the configuration values
if [ -n "$PUBLIC_OR_PROXY_ENDPOINT" ]; then
# Overwrite existing file with an empty string
echo "" > ./packages/graph-explorer/defaultConnection.json

echo -e "{\n\"GRAPH_EXP_PUBLIC_OR_PROXY_ENDPOINT\":\"${PUBLIC_OR_PROXY_ENDPOINT}\"," >> ./packages/graph-explorer/defaultConnection.json

if [ -n "$SERVICE_TYPE" ]; then
Expand Down

0 comments on commit 685d9a1

Please sign in to comment.