jfrog / artifactory-client-java

Artifactory REST Client Java API bindings
Apache License 2.0
319 stars 153 forks source link

Expose repository size in RepositoryHandle #8

Open quidryan opened 11 years ago

quidryan commented 11 years ago

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?

jbaruch commented 11 years ago

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!

quidryan commented 11 years ago

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

jbaruch commented 11 years ago

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