Skip to content
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

Merged

Conversation

jcantrill
Copy link
Contributor

@jcantrill
Copy link
Contributor Author

[test]

@jcantrill jcantrill force-pushed the 244_metadata_from_dockerhub branch from 130c32e to 61f19f3 Compare March 8, 2016 20:22
@jcantrill
Copy link
Contributor Author

[test]


@Override
public String getName() {
return DockerRegistryImageStreamImportCapability.class.getSimpleName();
Copy link
Member

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.

Copy link
Contributor Author

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.

@jcantrill jcantrill force-pushed the 244_metadata_from_dockerhub branch from 61f19f3 to 365ce2c Compare March 9, 2016 13:35
@jcantrill
Copy link
Contributor Author

[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()) {
Copy link
Member

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?

@adietish
Copy link
Member

adietish commented Mar 9, 2016

other than those design related comments, +1

@jcantrill jcantrill force-pushed the 244_metadata_from_dockerhub branch from 365ce2c to 533555e Compare March 9, 2016 16:40
@openshift-bot
Copy link
Contributor

Evaluated for javaclient test up to 533555e

@jcantrill
Copy link
Contributor Author

[merge]

@openshift-bot
Copy link
Contributor

Java Client Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test-openshift-restclient-java/84/)

@openshift-bot
Copy link
Contributor

Java Client Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge-openshift-restclient-java/77/)

@openshift-bot
Copy link
Contributor

Evaluated for javaclient merge up to 533555e

openshift-bot pushed a commit that referenced this pull request Mar 9, 2016
@openshift-bot openshift-bot merged commit bec8b00 into openshift:master Mar 9, 2016
@jcantrill jcantrill deleted the 244_metadata_from_dockerhub branch March 9, 2016 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants