Commit Graph

279 Commits

Author SHA1 Message Date
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
dependabot[bot] 98c8cb43fe
chore(deps): bump google.golang.org/grpc from 1.61.1 to 1.62.0 (#278)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.1 to 1.62.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.1...v1.62.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 10:55:04 +08:00
dependabot[bot] 479333547e
chore(deps): bump serde from 1.0.196 to 1.0.197 (#277)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.196 to 1.0.197.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.196...v1.0.197)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-26 10:53:38 +08:00
dependabot[bot] bae6a26c45
chore(deps): bump google.golang.org/grpc from 1.61.0 to 1.61.1 (#276) 2024-02-19 10:28:21 +08:00
dependabot[bot] 5b295962c4
chore(deps): bump golangci/golangci-lint-action from 3 to 4 (#275)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 4.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-18 16:01:54 +08:00
Gaius ebb135cedd
chore: update cargo version to v2.0.95 (#272)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-02-08 12:41:04 +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
dependabot[bot] 6e74d70e9c
chore(deps): bump tokio from 1.35.1 to 1.36.0 (#269)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.35.1 to 1.36.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.35.1...tokio-1.36.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 10:57:14 +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
Gaius d9943c3adf
feat: add content_length to DownloadTaskStartedRequest (#263)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-29 19:13:07 +08:00
Gaius 62716164e7
feat: add started and finished to download task response (#262)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-29 16:54:39 +08:00
dependabot[bot] 38e6942032
chore(deps): bump serde from 1.0.195 to 1.0.196 (#261)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.195 to 1.0.196.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.195...v1.0.196)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 10:30:29 +08:00
dependabot[bot] 0a1a4a3b75
chore(deps): bump google.golang.org/grpc from 1.60.0-dev to 1.61.0 (#260)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.60.0-dev to 1.61.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.60.0-dev...v1.61.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 10:30:11 +08:00
Gaius cb3825325f
feat: rename filters to filtered_query_params (#259)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-24 16:50:06 +08:00
Gaius 43bc7691e2
feat: add request_header to Download and Task (#258)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-22 13:56:30 +08:00
Gaius 30a9b3aab4
feat: change header to response_header in TaskDownloadResponse (#257)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-22 12:30:49 +08:00
dlut_xz 7d8a8a5ad8
feat: update triton grpc service proto (#255)
Signed-off-by: fcgxz2003 <834756128@qq.com>
2024-01-22 11:19:50 +08:00
dependabot[bot] e739570a7f
chore(deps): bump github.com/envoyproxy/protoc-gen-validate from 1.0.2 to 1.0.4 (#256)
chore(deps): bump github.com/envoyproxy/protoc-gen-validate

Bumps [github.com/envoyproxy/protoc-gen-validate](https://github.com/envoyproxy/protoc-gen-validate) from 1.0.2 to 1.0.4.
- [Release notes](https://github.com/envoyproxy/protoc-gen-validate/releases)
- [Changelog](https://github.com/bufbuild/protoc-gen-validate/blob/main/.goreleaser.yaml)
- [Commits](https://github.com/envoyproxy/protoc-gen-validate/compare/v1.0.2...v1.0.4)

---
updated-dependencies:
- dependency-name: github.com/envoyproxy/protoc-gen-validate
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 10:29:35 +08:00
Gaius ede8aded19
feat: remove header field in SyncPiecesResponse (#253)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-19 18:39:47 +08:00
Gaius 54871b4943
feat: add header to SyncPiecesResponse message (#252)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-18 22:02:40 +08:00
Gaius 42fd09e47f
feat: change output_path to optional (#250)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-12 12:28:04 +08:00
Gaius 16e69e4e9f
feat: remove rate limit in download message (#249)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-11 15:45:30 +08:00
Gaius 7282776e67
feat: add offset and length to SyncPiecesResponse message (#248)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-11 15:24:12 +08:00
Gaius 7ae076e9ac
feat: change validation in v2 (#247)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-10 14:26:33 +08:00
Gaius ce44d9501d
feat: change candidate_parent_ids to candidate_parents (#246)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-10 10:40:57 +08:00
Gaius e082eefff7
feat: add candidate_parent_ids to reschedule message (#245)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-09 21:58:01 +08:00
Gaius e759b2e4c2
feat: remove object storage message (#244)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-02 12:40:45 +08:00
Gaius 55a239ecc0
feat: remove RegisterSeedPeerRequest in AnnouncePeer (#243)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-25 17:58:21 +08:00
dependabot[bot] bcd02cdc26
chore(deps): bump go.uber.org/mock from 0.3.0 to 0.4.0 (#242)
Bumps [go.uber.org/mock](https://github.com/uber/mock) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/uber/mock/releases)
- [Changelog](https://github.com/uber-go/mock/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uber/mock/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: go.uber.org/mock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-25 10:35:19 +08:00
dependabot[bot] 02659645ae
chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.32.0 (#240)
Bumps google.golang.org/protobuf from 1.31.0 to 1.32.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-25 10:34:45 +08:00
Gaius 80c82d5887
chore: grpc reverts to v1.60.0-dev version (#239)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-22 18:14:20 +08:00
Gaius a71c5bd200
feat: remove TriggerDownloadTaskResponse in TriggerDownloadTask (#238)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-19 18:01:48 +08:00
Gaius 82e3f21e74
feat: remove ids in TriggerDownloadTaskResponse (#237)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-19 17:54:02 +08:00
Gaius a5e7794099
feat: add resource ids to DownloadTaskResponse (#236)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-19 16:39:55 +08:00
Gaius 2292870068
feat: add TriggerDownloadTask api for seed peer (#235)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-19 15:04:57 +08:00
Gaius ef28f45764
feat: add started response in DownloadTaskResponse (#234)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-19 14:30:29 +08:00
Gaius 495349e279
feat: add resource ids to DownloadTaskResponse (#233)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-19 12:22:30 +08:00
Gaius 79249ee02f
feat: add DownloadTask to DfdaemonUpload (#232)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-18 21:23:19 +08:00
Gaius 5425d1bb1b
feat: dfdaemon is divided into download and upload (#231)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-18 12:32:26 +08:00
dependabot[bot] 4b02f5107e
chore(deps): bump github/codeql-action from 2 to 3 (#230)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 10:37:27 +08:00
Gaius ac0a2a42a0
feat: remove concurrent_piece_count in scheduler (#228)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-12 14:48:04 +08:00