Skip to content

Commit 47c0373

Browse files
rebuild loader-ci
1 parent 5259c4b commit 47c0373

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hugegraph-loader/assembly/travis/install-hugegraph-from-source.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ mkdir ${HTTPS_SERVER_DIR}
4141
cp -r apache-hugegraph-*/. ${HTTPS_SERVER_DIR}
4242
cd "$(find apache-hugegraph-* | head -1)"
4343
# start HugeGraphServer with http protocol
44+
sed -i 's|gremlin.graph=org.apache.hugegraph.HugeFactory|gremlin.graph=org.apache.hugegraph.auth.HugeFactoryAuthProxy|' conf/graphs/hugegraph.properties
4445
sed -i 's|#auth.authenticator=.*|auth.authenticator=org.apache.hugegraph.auth.StandardAuthenticator|' conf/rest-server.properties
4546
sed -i 's|#auth.admin_pa=.*|auth.admin_pa=pa|' conf/rest-server.properties
4647
bin/init-store.sh || exit 1
@@ -55,6 +56,7 @@ sed -i "s/#port: 8182/port: 8282/g" "$GREMLIN_SERVER_CONFIG"
5556
echo "gremlinserver.url=http://127.0.0.1:8282" >> ${REST_SERVER_CONFIG}
5657

5758
# start HugeGraphServer with https protocol
59+
sed -i 's|gremlin.graph=org.apache.hugegraph.HugeFactory|gremlin.graph=org.apache.hugegraph.auth.HugeFactoryAuthProxy|' conf/graphs/hugegraph.properties
5860
sed -i 's|#auth.authenticator=.*|auth.authenticator=org.apache.hugegraph.auth.StandardAuthenticator|' conf/rest-server.properties
5961
sed -i 's|#auth.admin_pa=.*|auth.admin_pa=pa|' conf/rest-server.properties
6062
bin/init-store.sh

0 commit comments

Comments
 (0)