Conversation
| logger.error("The host is unknow", e); | ||
| } | ||
| return ia.getHostName(); | ||
| return Objects.requireNonNull(ia).getHostName(); |
There was a problem hiding this comment.
change ia to a more meaningful name
| * 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. |
|
|
||
| package org.apache.iotdb.db.rest.model; | ||
|
|
||
| public class TimeValues { |
There was a problem hiding this comment.
| public class TimeValues { | |
| public class TimeValue { |
| * @param request this request will be in json format. | ||
| * @return json in String | ||
| */ | ||
| @Path("/query") |
There was a problem hiding this comment.
add a UserGuide of rest apis
This reverts commit 964c1d5.
|
@SteveYurongSu, please check out again. I don't compile web resources. Because it will cost more time and more memory in ci. Before this, please look at readme.md on the web package. |
|
It was just a single web page, I don't think it needs ci for now. |
|
Is it possible having something more simple/efficient, like: |
|
@giorgiozoppi It's a good idea to use netty. I will try it. |
|
Not just rest API, I also want the webserver to handle static resources. seems like if you used netty, you would have to write a static file handler. @giorgiozoppi |
|
Kudos, SonarCloud Quality Gate passed!
|
Support rest api.