artifactory-client-java
artifactory-client-java copied to clipboard
HTTP Settings - Docker Access Method
How can I get HTTP Settings - Docker Access Method {RepositoryPath/ SubDomain/Port} ? Is there any way in Java Client, Rest API or even JFrog CLI?
I believe you need to use this REST API service: Get Reverse Proxy Configuration.
Not sure the Java Client supports getting this piece of information.
Thanks, it works 👍
Additional related question, In case Access method is "Port" How can I get repository port in Java Client or Rest API ?
The structure of the JSON returned by the server depends on the "docker access method" chosen. Try changing the access method to "PORTPERREPO" (via the web UI) and the JSON should return 3 ports via the properties "httpPort", "httpsPort" and "artifactoryPort".
I meant Repository Port. The port that I should configure in the repository itself.
how can I get repository details?
Sorry, I'm not sure how this works in details. I don't have first hands experience configuring such a setup.