Commit Graph

237 Commits

Author SHA1 Message Date
Gaius 3eec7b4404
feat: add optional for endpoint and region (#350)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-16 12:23:07 +08:00
Gaius 0e657a7b78
feat: add endpoint and region for object storage (#349)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-16 11:38:30 +08:00
Gaius a43075ce0e
feat: change status_code to optional in errordetails (#348)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-15 17:43:15 +08:00
Chongzhi Deng 32065ec25b
feat: add AnnouncePeers proto and fix typo (#343)
feat: add AnnouncePeers proto

1. add AnnouncePeers api
2. fix typo of dfdaemon

Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-07-10 19:51:57 +08:00
Zyyeric d9d4dcf70d
feat: Add session token (#342)
Signed-off-by: Zyyeric <eric1976808123@gmail.com>
2024-07-10 14:56:48 +08:00
Gaius 370d016656
feat: add host_id to UploadCacheTask (#340)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-08 17:10:39 +08:00
Gaius 56393b235d
feat: add id for UploadCacheTaskFinishedRequest and UploadCacheTaskFailedRequest (#339)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-08 16:46:13 +08:00
Gaius 7998f59978
feat: change UploadCacheTask message (#338)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-08 12:36:22 +08:00
Gaius 1bbcef2694
feat: change UploadCacheTaskRequest type to stream (#335)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-05 18:17:12 +08:00
dlut_xz a6a2dc80a5
fix: comment error (#334)
* fix comment error

Signed-off-by: XZ <834756128@qq.com>

* fix

Signed-off-by: XZ <834756128@qq.com>

---------

Signed-off-by: XZ <834756128@qq.com>
2024-07-03 21:24:36 +08:00
Lzzzt 616b492848
feat: add `Download` attribute for Object Storage Download (#333)
* feat: add Download attribute for Object Storage Downlaod

add `ObjectStorage` struct to store the necessary infomation such as access key and access secret for download task

Signed-off-by: Lzzzt <liuzitao0123@gmail.com>

* feat: add Download attribute for Object Storage Downlaod

add `ObjectStorage` struct to store the necessary infomation such as access key and access secret for download task

Signed-off-by: Lzzzt <liuzitao0123@gmail.com>

* feat: add Download attribute for Object Storage Downlaod

add `ObjectStorage` struct to store the necessary infomation such as access key and access secret for download task

Signed-off-by: Lzzzt <liuzitao0123@gmail.com>

* feat: add Download attribute for Object Storage Downlaod

add `ObjectStorage` struct to store the necessary infomation such as access key and access secret for download task

Signed-off-by: Lzzzt <liuzitao0123@gmail.com>

* docs: fix the doc style of `ObjectStorage`

Signed-off-by: Lzzzt <liuzitao0123@gmail.com>

* docs: fix the doc style of `ObjectStorage`

Signed-off-by: Lzzzt <liuzitao0123@gmail.com>

---------

Signed-off-by: Lzzzt <liuzitao0123@gmail.com>
2024-07-03 21:15:49 +08:00
Gaius 5ccb896ce6
fix: build error in descriptor.bin (#331)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-28 18:51:52 +08:00
Chongzhi Deng 7431d58884
feat: add interval field to AnnounceHostRequest (#330)
Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-06-28 18:42:37 +08:00
Gaius 7d88b1c21b
feat: add persistent field to DownloadCacheTaskRequest (#329)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-19 21:26:29 +08:00
Gaius 183280e924
fix: ttl validation format
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-18 14:45:53 +08:00
Gaius 240563b417
feat: add upload cache task for scheduler (#328)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-18 14:29:45 +08:00
Gaius e1e59d1696
feat: add announce proto of the cache task in scheduler (#327)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 22:06:34 +08:00
Gaius 2cf1290751
feat: generate mock code in scheduler (#326)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 16:22:45 +08:00
Gaius 110fe0ebc7
feat: change leave to delete in scheduler messages (#325)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 15:30:39 +08:00
Gaius 7beb7a448f
feat: rename DownloadTask message to Download (#324)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 15:07:40 +08:00
Gaius 39fa1f1591
feat: add cache task proto (#323)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 14:54:30 +08:00
Gaius 370d97c837
feat: add host id to SyncPiecesRequest and DownloadPieceRequest (#321)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-05 17:03:33 +08:00
Gaius 74581bea67
feat: add message of the backend error detail (#319)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-28 18:41:09 +08:00
Gaius ab1743c359
feat: add leave task api (#313)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-16 21:32:38 +08:00
Gaius b60a425140
feat: digest field supports blake3 (#309)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-10 13:58:51 +08:00
Gaius 76a2bd51c9
feat: change validation in memory (#308)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-07 12:35:58 +08:00
Gaius 9f7fd897b8
feat: change TriggerDownloadTask to DownloadTask with stream (#302)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-16 20:00:32 +08:00
Gaius 34f6f75f49
feat: add prefetch field in download message (#298)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-10 13:42:52 +08:00
Gaius 2df8c78be4
feat: optimize prefetch in download message (#297)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-10 11:25:56 +08:00
Gaius 100d4da28e
feat: add prefetch field for download message (#296)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-10 11:14:56 +08:00
Jim Ma 3c8ba8c983
feat: dfdaemon peer exchange (#229) 2024-03-27 14:18:05 +08:00
Gaius c7e8229102
feat: add need_back_to_source and disable_back_to_source (#292)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-03-15 18:30:24 +08:00
Gaius 283ccece49
feat: add need_back_to_source to peer message (#291)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-03-15 17:31:08 +08:00
Gaius d5c0dd6ac3
feat: remove validation in certificate_chain (#290)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-03-15 16:59:04 +08:00
Gaius ef16214823
feat: add disable-back-to-source to Download message (#289)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-03-14 19:31:52 +08:00
Gaius 4881829013
fix: typo in scheduler v1 proto (#288)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-03-14 11:14:37 +08:00
Gaius 9f1fc3912d
feat: add certificateChain to Download message (#285)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-29 11:51:47 +08:00
Gaius c3133a8608
feat: remove tls_verify in Download message (#284)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-28 20:10:32 +08:00
Gaius 6bb1bedc70
feat: add error details to api (#283)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-28 12:42:22 +08:00
Gaius 88ad05325e
fix: rename download_task_failed_request to download_task_failed_resp… (#282)
fix: rename download_task_failed_request to download_task_failed_response

Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-27 20:34:22 +08:00
Gaius 479332263a
feat: remove status in HTTPResponse message (#281)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-27 20:25:23 +08:00
Gaius 9a73b42a15
feat: response http code and status (#280)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-27 14:21:37 +08:00
Gaius 4729f1f74d
feat: add certificate and tls_verify params in Download message (#279)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-26 14:56:59 +08:00
Gaius 4ca58f1c92
feat: replace LeaveHostRequest with empty (#271)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-06 22:24:03 +08:00
Gaius b9e871c8cc
feat: add leave host to dfdaemon (#270)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-06 22:09:54 +08:00
Gaius 54f7272979
feat: remove DownloadTaskFinishedResponse in DownloadTask (#268)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-30 21:02:52 +08:00
Gaius ace20e5419
feat: add interested piece metadates to DownloadTaskStartedResponse (#267)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-30 14:26:42 +08:00
Gaius 758ec4e058
feat: add optional range to DownloadTaskStartedResponse message (#266)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-30 13:32:11 +08:00
Gaius 6f6b2a8d7a
feat: rename request to response in DownloadTaskResponse (#265)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-29 20:19:02 +08:00
Gaius db13215d84
feat: rename request to response in DownloadTaskResponse (#264)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-29 19:36:14 +08:00