harbor/api/v2.0
Chlins Zhang 1af9fbfbfe
[cherry-pick] feat: introduce the copy by chunk for replication (#17728)
feat: introduce the copy by chunk for replication

1. Add sql migration to alter replication policy table
2. Implement the PullBlobChunk and PushBlobChunk for the underlying v2 registry client
3. Update image transfer logic to support copy by chunk
4. Update the replication policy API handler

Signed-off-by: chlins <chenyuzh@vmware.com>
2022-11-01 14:34:14 +08:00
..
legacy_swagger.yaml fixed typo in legaxy_swagger.yaml file 2022-04-20 10:02:22 +02:00
README.md Bump up the version of legacy APIs to v2.0 2020-02-14 13:16:30 +08:00
swagger.yaml [cherry-pick] feat: introduce the copy by chunk for replication (#17728) 2022-11-01 14:34:14 +08:00

References

This file lists all the files that are referring the swagger yaml file.

  • Makefile
    • java -jar swagger-codegen-cli.jar generate -i api/harbor/swagger.yaml -l python -o harborclient
  • README
    • Harbor RESTful API in API section
  • docs/configure_swagger.md
    • https://raw.githubusercontent.com/goharbor/harbor/master/api/harbor/swagger.yaml
  • make/photon/portal/Dockerfile
    • COPY ./api/harbor/swagger.yaml /build_dir
  • tests/swaggerchecker.sh
    • HARBOR_SWAGGER_FILE="https://raw.githubusercontent.com/$TRAVIS_REPO_SLUG/$TRAVIS_COMMIT/api/harbor/swagger.yaml"
    • else HARBOR_SWAGGER_FILE="https://raw.githubusercontent.com/$TRAVIS_PULL_REQUEST_SLUG/$TRAVIS_PULL_REQUEST_SHA/api/harbor/swagger.yaml"

Notes: Base path is the code repository root dir.