You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ro...@apache.org on 2021/11/16 01:38:30 UTC

[iotdb] branch master updated: [IOTDB-1859][Minor Fix] Fixed REST config read bug in Session IT && Added REST service user doc into the API module (#4389)

This is an automated email from the ASF dual-hosted git repository.

rong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 3a4fb77  [IOTDB-1859][Minor Fix] Fixed REST config read bug in Session IT && Added REST service user doc into the API module (#4389)
3a4fb77 is described below

commit 3a4fb774742d715a8eabd416cbbdeecb3802d90d
Author: CloudWise-Lukemiao <76...@users.noreply.github.com>
AuthorDate: Tue Nov 16 09:37:43 2021 +0800

    [IOTDB-1859][Minor Fix] Fixed REST config read bug in Session IT && Added REST service user doc into the API module (#4389)
---
 session/src/test/resources/iotdb-rest.properties | 55 ++++++++++++++++++++++++
 site/src/main/.vuepress/config.js                |  1 +
 2 files changed, 56 insertions(+)

diff --git a/session/src/test/resources/iotdb-rest.properties b/session/src/test/resources/iotdb-rest.properties
new file mode 100644
index 0000000..865f3ab
--- /dev/null
+++ b/session/src/test/resources/iotdb-rest.properties
@@ -0,0 +1,55 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+####################
+### REST Service Configuration
+####################
+
+# Is the REST service enabled
+enable_rest_service=true
+
+# the binding port of the REST service
+# rest_service_port=18080
+
+# is SSL enabled
+# enable_https=false
+
+# SSL key store path
+# key_store_path=
+
+# SSL key store password
+# key_store_pwd=
+
+# SSL trust store path
+# trust_store_path=
+
+# SSL trust store password.
+# trust_store_pwd=
+
+# SSL timeout (in seconds)
+# idle_timeout_in_seconds=50000
+
+# the expiration time of the user login infomation cache (in seconds)
+# cache_expire_in_seconds=28800
+
+# maximum number of users can be stored in the user login cache.
+# cache_max_num=100
+
+# init capacity of users can be stored in the user login cache.
+# cache_init_num=10
diff --git a/site/src/main/.vuepress/config.js b/site/src/main/.vuepress/config.js
index 78160ab..78b1ea9 100644
--- a/site/src/main/.vuepress/config.js
+++ b/site/src/main/.vuepress/config.js
@@ -1504,6 +1504,7 @@ var config = {
 							['API/Programming-Python-Native-API','Python 原生接口'],
 							['API/Programming-Cpp-Native-API','C++ 原生接口'],
 							['API/Programming-Go-Native-API','Go 原生接口'],
+							['Communication-Service-Protocol/RestService','HTTP API'],
 							['API/Programming-TsFile-API','TsFile API'],
 							['API/Time-zone','时区'],
 							['API/InfluxDB-Protocol','InfluxDB 协议适配器(开发中)']