You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/06/16 09:24:32 UTC

[GitHub] [iotdb] WhiplashFyx commented on issue #3130: IotDB图形化管理监控界面研发计划

WhiplashFyx commented on issue #3130:
URL: https://github.com/apache/iotdb/issues/3130#issuecomment-862201456


   > 有一些疑问。ServerId指的是?是否需要普通用户(JDBC、Python、Session API等用户)的接口也要有serverId?
   > 
   > > ### 1.数据库管理
   > > API	路径	方法
   > > 建立或修改数据库服务器的连接	/servers	POST
   > > 数据库服务器已有连接的删除	/servers/{serverId}	DELETE
   > > 数据库服务器已有连接的查询	/servers/{serverId}	GET
   > > 数据库服务器查询所有已有连接	/servers	GET
   > 
   > 我认为以下是有意义的:
   > 
   > 连接管理:
   > 
   > * 查询目前数据库服务器和客户端建立的所有连接列表 (或满足ip等条件的部分)
   > * 断开目前数据库服务器和客户端建立的 指定连接
   > 
   > > 数据库存储组的新增、修改	/servers/{serverId}/storageGroups	POST
   > > 数据库存储组的删除	/servers/{serverId}//storageGroups/{groupId}	DELETE
   > > 查询所有数据库存储组	/servers/{serverId}/storageGroups	GET
   > > 数据库时间序列创建、修改	/servers/{serverId}/timeseries	POST
   > > 数据库时间序列删除	/servers/{serverId}/timeseries/{timeseriesId}	DELETE
   > > 查询所有数据库时间序列	/servers/{serverId}/timeseries	GET
   > > 查询指定的数据库时间序列	/servers/{serverId}/timeseries/{timeseriesId}	GET
   > > 查询所有数据库存储组设备	/servers/{serverId}/storageGroups/{groupId}/devices	GET
   > 
   > 可以被归为 元数据管理。
   > 
   > 剩下的应该是数据管理?:
   > 
   > > 数据库插入记录	/servers/{serverId}/storageGroups/{groupId}/records	POST
   > > 数据库记录查询	/servers/{serverId}/storageGroups/{groupId}/records	GET
   
   serverId指已建立的连接id,作为这个连接的唯一标识;在连接这个层级下的操作都需要有serverId,主要作用是通过它获取对应连接的相关配置来访问iotdb数据库;
   接口划分及意义的话,由于正在开发中,会有一些差异,在初版接口开发完成后,会根据意见和实际情况来进行细化,并更新接口文档的内容。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org