artifactory-client-java icon indicating copy to clipboard operation
artifactory-client-java copied to clipboard

Expose repository size in RepositoryHandle

Open quidryan opened this issue 11 years ago • 3 comments

The Artifactory UI can expose the size of a repo by clicking on the "Count..." button. There is no documented API to access this value. Can it be exposed? Can it be added to api/src/main/java/org/artifactory/client/RepositoryHandle.java?

quidryan avatar Apr 11 '13 19:04 quidryan

artifacts count is not currently exposed by Artifactory REST API, so it can't be used from java client. Please open a feature request for the "count" REST resource in our JIRA - https://issues.jfrog.org/

Thanks!

jbaruch avatar Apr 13 '13 19:04 jbaruch

Excellent point. I created https://issues.jfrog.org/jira/browse/RTFACT-5623. Once that's done, this issue could be resolved.

quidryan avatar Apr 13 '13 19:04 quidryan

Not quite, we'll have to add it to Java code too :) But that will be easy.

jbaruch avatar Apr 13 '13 19:04 jbaruch