Skip to content

Commit

Permalink
feat: digest接口只返回CONAN_MANIFEST#2770
Browse files Browse the repository at this point in the history
  • Loading branch information
zacYL authored Nov 19, 2024
1 parent fd3e10e commit d5792f0
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ import com.tencent.bkrepo.common.artifact.audit.NODE_CREATE_ACTION
import com.tencent.bkrepo.common.artifact.audit.NODE_DOWNLOAD_ACTION
import com.tencent.bkrepo.common.artifact.audit.NODE_RESOURCE
import com.tencent.bkrepo.common.security.permission.Permission
import com.tencent.bkrepo.conan.constant.CONANFILE
import com.tencent.bkrepo.conan.constant.CONANINFO
import com.tencent.bkrepo.conan.constant.CONAN_MANIFEST
import com.tencent.bkrepo.conan.constant.EXPORT_SOURCES_TGZ_NAME
import com.tencent.bkrepo.conan.constant.PACKAGE_TGZ_NAME
import com.tencent.bkrepo.conan.pojo.artifact.ConanArtifactInfo
import com.tencent.bkrepo.conan.pojo.artifact.ConanArtifactInfo.Companion.GET_CONANFILE_DOWNLOAD_URLS_V1
import com.tencent.bkrepo.conan.pojo.artifact.ConanArtifactInfo.Companion.GET_PACKAGE_DOWNLOAD_URLS_V1
Expand Down Expand Up @@ -86,7 +82,7 @@ class ConanController(
): ResponseEntity<Any> {
return ConanCommonController.buildResponse(
conanService.getConanFileDownloadUrls(
conanArtifactInfo, mutableListOf(CONAN_MANIFEST, EXPORT_SOURCES_TGZ_NAME, CONANFILE)
conanArtifactInfo, mutableListOf(CONAN_MANIFEST)
)
)
}
Expand All @@ -101,7 +97,7 @@ class ConanController(
): ResponseEntity<Any> {
return ConanCommonController.buildResponse(
conanService.getPackageDownloadUrls(
conanArtifactInfo, mutableListOf(CONAN_MANIFEST, CONANINFO, PACKAGE_TGZ_NAME)
conanArtifactInfo, mutableListOf(CONAN_MANIFEST)
)
)
}
Expand Down

0 comments on commit d5792f0

Please sign in to comment.