Skip to content

Commit

Permalink
refine ci rest conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Thespica committed Oct 24, 2024
1 parent cf171ce commit 5ecbae6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
10 changes: 1 addition & 9 deletions hugegraph-client/assembly/travis/conf/rest-server.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,45 +14,37 @@
# License for the specific language governing permissions and limitations
# under the License.
#

# bind url
restserver.url=http://127.0.0.1:8080
# gremlin server url, need to be consistent with host and port in gremlin-server.yaml
#gremlinserver.url=http://127.0.0.1:8182

restserver.enable_graphspaces_filter=true
graphs=./conf/graphs

# The maximum thread ratio for batch writing, only take effect if the batch.max_write_threads is 0
batch.max_write_ratio=80
batch.max_write_threads=0

# authentication configs
# choose 'org.apache.hugegraph.auth.StandardAuthenticator' or 'org.apache.hugegraph.auth.ConfigAuthenticator'
auth.authenticator=org.apache.hugegraph.auth.StandardAuthenticator

# for StandardAuthenticator mode
#auth.graph_store=hugegraph
# auth client config
#auth.remote_url=127.0.0.1:8899,127.0.0.1:8898,127.0.0.1:8897

# for ConfigAuthenticator mode
#auth.admin_token=
#auth.user_tokens=[]

# rpc group configs of multi graph servers
# rpc server configs
rpc.server_host=127.0.0.1
rpc.server_port=8090
#rpc.server_timeout=30

# rpc client configs (like enable to keep cache consistency)
rpc.remote_url=127.0.0.1:8090
#rpc.client_connect_timeout=20
#rpc.client_reconnect_period=10
#rpc.client_read_timeout=40
#rpc.client_retries=3
#rpc.client_load_balancer=consistentHash

# lightweight load balancing (beta)
server.id=server-1
server.role=master
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ GREMLIN_SERVER_CONFIG="conf/gremlin-server.yaml"
sed -i "s?http://127.0.0.1:8080?https://127.0.0.1:8443?g" "$REST_SERVER_CONFIG"
sed -i "s/#port: 8182/port: 8282/g" "$GREMLIN_SERVER_CONFIG"
echo "gremlinserver.url=http://127.0.0.1:8282" >> ${REST_SERVER_CONFIG}
echo "restserver.enable_graphspaces_filter=true" >> "$REST_SERVER_CONFIG"

# start HugeGraphServer with https protocol
bin/init-store.sh
Expand Down

0 comments on commit 5ecbae6

Please sign in to comment.