New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OSJC-244] Retrieve metadata from dockerhub v2 registry #124
[OSJC-244] Retrieve metadata from dockerhub v2 registry #124
Conversation
[test] |
130c32e
to
61f19f3
Compare
[test] |
|
||
@Override | ||
public String getName() { | ||
return DockerRegistryImageStreamImportCapability.class.getSimpleName(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could actually implement this in a base class that then does getClass().getSimpleName().
But since no other common functionality there's not much sense to it right now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. I don't actually recall why I added it into the original api.
61f19f3
to
365ce2c
Compare
[test] |
Map<String, String> auth = parseAuthDetails(details); | ||
if(auth.containsKey(REALM)) { | ||
Request request = client.newRequest(StringUtils.strip(auth.get(REALM),"\"")); | ||
for (Entry<String, String> e: auth.entrySet()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ideal candidate for a method ex. addRealmParameters?
other than those design related comments, +1 |
365ce2c
to
533555e
Compare
Evaluated for javaclient test up to 533555e |
[merge] |
Java Client Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test-openshift-restclient-java/84/) |
Java Client Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge-openshift-restclient-java/77/) |
Evaluated for javaclient merge up to 533555e |
cc @fbricon @adietish