Commit Graph

381 Commits

Author SHA1 Message Date
Gaius 0b031ea044
feat: generate mocks (#395)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-26 16:42:29 +08:00
Gaius 28a7989601
feat: rename cache task to persistent cache task (#394)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-26 15:34:55 +08:00
Gaius 53512f5855
feat: add definition of the task type (#393)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-26 12:43:54 +08:00
Gaius ba358f22e9
feat: remove AnnouncePeers api in scheduler (#392)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-25 21:43:00 +08:00
Chongzhi Deng dbf4bbae2b
feat: add ListHosts proto (#389)
Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-09-23 22:45:41 +08:00
dependabot[bot] 7aa6d09153
chore(deps): bump google.golang.org/grpc from 1.66.2 to 1.67.0 (#391)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.66.2 to 1.67.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.66.2...v1.67.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-09-23 10:34:19 +08:00
dependabot[bot] 5ed09d9ed2
chore(deps): bump prost from 0.13.2 to 0.13.3 (#390)
Bumps [prost](https://github.com/tokio-rs/prost) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/tokio-rs/prost/releases)
- [Changelog](https://github.com/tokio-rs/prost/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/prost/compare/v0.13.2...v0.13.3)

---
updated-dependencies:
- dependency-name: prost
  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-09-23 10:34:00 +08:00
dependabot[bot] 0721117cfa
chore(deps): bump google.golang.org/grpc from 1.66.0 to 1.66.2 (#388) 2024-09-16 09:38:19 +08:00
Gaius f8ac513919
feat: add disable_shared for Host (#387)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-14 14:32:43 +08:00
Gaius 314dfd30dc
feat: add features to UpdateSchedulerRequest (#386)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-09 15:34:57 +08:00
Gaius 84d23a2f38
feat: add features field for manager (#385)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-09 15:16:31 +08:00
dependabot[bot] 76eabba0b0
chore(deps): bump prost-types from 0.13.1 to 0.13.2 (#384)
Bumps [prost-types](https://github.com/tokio-rs/prost) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/tokio-rs/prost/releases)
- [Changelog](https://github.com/tokio-rs/prost/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/prost/compare/v0.13.1...v0.13.2)

---
updated-dependencies:
- dependency-name: prost-types
  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-09-09 15:12:30 +08:00
dependabot[bot] f6ebee64fe
chore(deps): bump serde from 1.0.209 to 1.0.210 (#383)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.209 to 1.0.210.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210)

---
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-09-09 15:12:05 +08:00
dependabot[bot] cda650bdd2
chore(deps): bump prost from 0.13.1 to 0.13.2 (#380) 2024-09-02 18:58:56 +08:00
dependabot[bot] 57cbd48803
chore(deps): bump tokio from 1.39.3 to 1.40.0 (#381) 2024-09-02 18:58:24 +08:00
dependabot[bot] e0b4dc0861
chore(deps): bump google.golang.org/grpc from 1.65.0 to 1.66.0 (#382) 2024-09-02 18:57:57 +08:00
Gaius adef6682c0
feat: remove model api (#379)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-27 12:16:49 +08:00
Gaius ae0274ca65
feat: remove trainer api (#378)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-27 12:03:14 +08:00
dependabot[bot] ff5ec8b3e5
chore(deps): bump serde from 1.0.208 to 1.0.209 (#377)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.208 to 1.0.209.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.208...v1.0.209)

---
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-08-26 10:51:51 +08:00
Zyyeric d13fe01187
feat: make AKSK optional (#376)
Signed-off-by: Zyyeric <eric1976808123@gmail.com>
2024-08-19 20:35:42 +08:00
Zyyeric 63caf5465b
feat: Add credential_path field to Object Storage (#372)
Signed-off-by: Zyyeric <eric1976808123@gmail.com>
2024-08-19 12:07:27 +08:00
Gaius 5ecabe6e07
feat: remove content_length in Download message (#375)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-19 11:10:50 +08:00
dependabot[bot] be401d5ad5
chore(deps): bump serde from 1.0.206 to 1.0.208 (#374)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.206 to 1.0.208.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.206...v1.0.208)

---
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-08-19 10:47:05 +08:00
dependabot[bot] 9051a27c92
chore(deps): bump tokio from 1.39.2 to 1.39.3 (#373)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.39.2 to 1.39.3.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.2...tokio-1.39.3)

---
updated-dependencies:
- dependency-name: tokio
  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-08-19 10:46:45 +08:00
Gaius 1da3a9e384
feat: add content-length for download message (#371)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-16 18:31:33 +08:00
Gaius 75e49e0ee4
feat: add DeleteTaskRequest and StatCacheTask to DfdaemonUpload (#370)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-13 12:41:35 +08:00
Gaius 337081c945
feat: update verison for golang
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-12 19:58:27 +08:00
Gaius 6072d1672b
feat: add piece_length for download request (#369)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-12 19:53:46 +08:00
Gaius 5bd847f0a4
feat: remove piece length field in download request (#368)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-12 15:53:15 +08:00
Gaius 7b5ecb7b15
feat: add optional for piece-length (#367)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-12 14:40:04 +08:00
dependabot[bot] 189679b1af
chore(deps): bump serde from 1.0.204 to 1.0.206 (#366)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.204 to 1.0.206.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.206)

---
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-08-12 10:35:37 +08:00
dependabot[bot] c363104733
chore(deps): bump github.com/envoyproxy/protoc-gen-validate from 1.0.4 to 1.1.0 (#365)
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.4 to 1.1.0.
- [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.4...v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/envoyproxy/protoc-gen-validate
  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-08-12 10:35:01 +08:00
Gaius a3402c2a33
chore: update tonic version (#364)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-05 18:53:00 +08:00
Gaius 22104b6f4e
feat: add crc32 for digest (#363)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-05 15:53:19 +08:00
dependabot[bot] 76518f08bf
chore(deps): bump tokio from 1.38.1 to 1.39.2 (#361)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.38.1 to 1.39.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.1...tokio-1.39.2)

---
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-07-30 13:41:26 +08:00
dependabot[bot] 361b39c4c5
chore(deps): bump tokio from 1.38.0 to 1.38.1 (#359)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.38.0 to 1.38.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.38.0...tokio-1.38.1)

---
updated-dependencies:
- dependency-name: tokio
  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-07-23 10:46:55 +08:00
Gaius a7ca1ad9ad
feat: add content_length to DownloadCacheTaskStartedResponse (#355)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-17 21:49:15 +08:00
Gaius 10e977c133
feat: remove host_id in DownloadCacheTaskRequest (#354)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-17 21:39:45 +08:00
Gaius 304da3a284
fix: wrong name in normal cache task and empty cache task (#353)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-17 18:23:59 +08:00
Gaius 3fff6d4bec
feat: remove container in ObjectStorage (#352)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-16 16:54:28 +08:00
Gaius 272e6d710a
feat: add message for object storage (#351)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-16 15:57:29 +08:00
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
dependabot[bot] 79d680fa38
chore(deps): bump prost-types from 0.12.6 to 0.13.1 (#345)
Bumps [prost-types](https://github.com/tokio-rs/prost) from 0.12.6 to 0.13.1.
- [Release notes](https://github.com/tokio-rs/prost/releases)
- [Changelog](https://github.com/tokio-rs/prost/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/prost/compare/v0.12.6...v0.13.1)

---
updated-dependencies:
- dependency-name: prost-types
  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-07-15 10:31:07 +08:00
Gaius c636084f07
chore: update src/descriptor.bin (#344)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-07-10 19:55:18 +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