Skip to content

Conversation

Obirah
Copy link

@Obirah Obirah commented Mar 12, 2018

No description provided.

Thomas Krause added 2 commits March 12, 2018 15:56
…ed ResourceKind for Namespace and registered it in the ResourceFactory.
@Override
public <T extends IResource> T create(T resource) {
return create(resource, resource.getNamespace());
return create(resource, resource.getNamespaceName());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adietish This is an API change that seems significant

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Obirah nice!
@jcantrill nicely spotted!
I'd ack this as change as preferrable to any kind of more compatible change (ex. call this #getNamespaceResource and and keep the existing #getNamespace) since it's consistent with the existing naming schemes (ex. #getProject retuns IProject, not the project name). Even more since we bumped to the next major lately (6.0.0).
Thoughts?

@adietish
Copy link
Member

[test]

@openshift-bot
Copy link
Contributor

Evaluated for javaclient test up to 59058dd

@openshift-bot
Copy link
Contributor

Openshift Restclient Java Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test-openshift-restclient-java/374/) (Base Commit: f78e598) (PR Branch Commit: 59058dd)

@adietish
Copy link
Member

adietish commented Mar 13, 2018

@jcantrill @jeffmaury are you okay merging this breaking change (it will require a fix in JBoss Tools and all other consumers) for the reasons mentioned above? #322 (comment)

@jcantrill
Copy link
Contributor

@adietish I defer to if you desire this change. The PR otherwise lgtm

@adietish
Copy link
Member

@jcantrill ok great, let me prepare the PR for JBoss Tools and merge this as soon as I have it ready.

@adietish
Copy link
Member

[merge]

@openshift-bot
Copy link
Contributor

Evaluated for javaclient merge up to 59058dd

@openshift-bot
Copy link
Contributor

openshift-bot commented Mar 15, 2018

Openshift Restclient Java Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test-openshift-restclient-java/375/) (Base Commit: f78e598) (PR Branch Commit: 59058dd)

@openshift-bot openshift-bot merged commit e7ab5b8 into openshift:master Mar 15, 2018
@adietish
Copy link
Member

artifact deployed to maven repository at jboss.org

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.

4 participants