File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed
hugegraph-loader/assembly/travis Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -42,17 +42,19 @@ cp -r apache-hugegraph-*/. ${HTTPS_SERVER_DIR}
4242cd " $( find apache-hugegraph-* | head -1) "
4343# start HugeGraphServer with http protocol
4444bin/init-store.sh || exit 1
45+ sed -i ' s|#auth.authenticator=.*|auth.authenticator=org.apache.hugegraph.auth.StandardAuthenticator|' conf/rest-server.properties
46+ sed -i ' s|#auth.admin_pa=.*|auth.admin_pa=pa|' conf/rest-server.properties
4547bin/start-hugegraph.sh || exit 1
4648
47- cd ../${HTTPS_SERVER_DIR}
48- REST_SERVER_CONFIG=" conf/rest-server.properties"
49- GREMLIN_SERVER_CONFIG=" conf/gremlin-server.yaml"
50- sed -i " s?http://127.0.0.1:8080?https://127.0.0.1:8443?g" " $REST_SERVER_CONFIG "
51- sed -i " s/rpc.server_port=8091/rpc.server_port=8092/g" " $REST_SERVER_CONFIG "
52- sed -i " s/#port: 8182/port: 8282/g" " $GREMLIN_SERVER_CONFIG "
53- echo " gremlinserver.url=http://127.0.0.1:8282" >> ${REST_SERVER_CONFIG}
54-
55- # start HugeGraphServer with https protocol
56- bin/init-store.sh
57- bin/start-hugegraph.sh
58- cd ../
49+ # cd ../${HTTPS_SERVER_DIR}
50+ # REST_SERVER_CONFIG="conf/rest-server.properties"
51+ # GREMLIN_SERVER_CONFIG="conf/gremlin-server.yaml"
52+ # sed -i "s?http://127.0.0.1:8080?https://127.0.0.1:8443?g" "$REST_SERVER_CONFIG"
53+ # sed -i "s/rpc.server_port=8091/rpc.server_port=8092/g" "$REST_SERVER_CONFIG"
54+ # sed -i "s/#port: 8182/port: 8282/g" "$GREMLIN_SERVER_CONFIG"
55+ # echo "gremlinserver.url=http://127.0.0.1:8282" >> ${REST_SERVER_CONFIG}
56+ #
57+ # # start HugeGraphServer with https protocol
58+ # bin/init-store.sh
59+ # bin/start-hugegraph.sh
60+ # cd ../
You can’t perform that action at this time.
0 commit comments