[JBoss JIRA] (JBIDE-21079) Importing OpenShift 3 application via shell menu shows empty build configs table
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21079?page=com.atlassian.jira.plugi... ]
Marián Labuda closed JBIDE-21079.
---------------------------------
Verified in nightly 4.3.1.Beta1 build with OpenShift plug-ins version 3.1.0.Beta1-v20151123-1937-B86.
> Importing OpenShift 3 application via shell menu shows empty build configs table
> --------------------------------------------------------------------------------
>
> Key: JBIDE-21079
> URL: https://issues.jboss.org/browse/JBIDE-21079
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta1
> Reporter: Marián Labuda
> Assignee: Andre Dietisheim
> Fix For: 4.3.1.Beta1
>
> Attachments: no-build-configs.png
>
>
> Table in Import OpenShift Application wizard is empty when trying to import an OpenShift application via shell menu File - Import - Existing OpenShift Application. It is necessary to hit Refresh button to get any build config to the table and making it possible to import an application.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 4 months
[JBoss JIRA] (JBIDE-21140) [application wizard] 2 connections from same server but for different users result in project mismatch
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21140?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-21140:
----------------------------------
Fix Version/s: (was: 4.3.1.Beta1)
> [application wizard] 2 connections from same server but for different users result in project mismatch
> ------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-21140
> URL: https://issues.jboss.org/browse/JBIDE-21140
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Fred Bricon
> Assignee: Fred Bricon
> Labels: application_wizard, upstream
> Fix For: 4.4.0.Alpha1
>
>
> In JBT, connecting 2 users on the same server, results in wrong projects being shown for the 2nd connection (in the new application wizard).
> This is caused by calling Connection.ownResource(project), having
> {code}
> public boolean ownsResource(IResource resource) {
> if (resource == null) {
> return false;
> }
> IClient client = resource.accept(new CapabilityVisitor<IClientCapability, IClient>() {
> @Override
> public IClient visit(IClientCapability capability) {
> return capability.getClient();
> }
> }, null);
> return ObjectUtils.equals(this.client, client);
> }
> {code}
> The problem is the clients are equals for both connections. A check for token equality should be performed to distinguish them
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 4 months
[JBoss JIRA] (JBIDE-21109) [application wizard] 2 connections from same server but for different users result in project mismatch
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21109?page=com.atlassian.jira.plugi... ]
Marián Labuda closed JBIDE-21109.
---------------------------------
Verified in nightly 4.3.1.Beta1 build with OpenShift plug-ins version 3.1.0.Beta1-v20151123-1937-B86.
> [application wizard] 2 connections from same server but for different users result in project mismatch
> ------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-21109
> URL: https://issues.jboss.org/browse/JBIDE-21109
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Fred Bricon
> Assignee: Fred Bricon
> Labels: application_wizard, upstream
> Fix For: 4.3.1.Beta1
>
>
> In JBT, connecting 2 users on the same server, results in wrong projects being shown for the 2nd connection (in the new application wizard).
> This is caused by calling Connection.ownResource(project), having
> {code}
> public boolean ownsResource(IResource resource) {
> if (resource == null) {
> return false;
> }
> IClient client = resource.accept(new CapabilityVisitor<IClientCapability, IClient>() {
> @Override
> public IClient visit(IClientCapability capability) {
> return capability.getClient();
> }
> }, null);
> return ObjectUtils.equals(this.client, client);
> }
> {code}
> The problem is the clients are equals for both connections. A check for token equality should be performed to distinguish them
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 4 months
[JBoss JIRA] (JBIDE-21140) [application wizard] 2 connections from same server but for different users result in project mismatch
by Marián Labuda (JIRA)
Marián Labuda created JBIDE-21140:
-------------------------------------
Summary: [application wizard] 2 connections from same server but for different users result in project mismatch
Key: JBIDE-21140
URL: https://issues.jboss.org/browse/JBIDE-21140
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: openshift
Reporter: Fred Bricon
Assignee: Fred Bricon
Fix For: 4.3.1.Beta1, 4.4.0.Alpha1
In JBT, connecting 2 users on the same server, results in wrong projects being shown for the 2nd connection (in the new application wizard).
This is caused by calling Connection.ownResource(project), having
{code}
public boolean ownsResource(IResource resource) {
if (resource == null) {
return false;
}
IClient client = resource.accept(new CapabilityVisitor<IClientCapability, IClient>() {
@Override
public IClient visit(IClientCapability capability) {
return capability.getClient();
}
}, null);
return ObjectUtils.equals(this.client, client);
}
{code}
The problem is the clients are equals for both connections. A check for token equality should be performed to distinguish them
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 4 months
[JBoss JIRA] (JBIDE-21140) [application wizard] 2 connections from same server but for different users result in project mismatch
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21140?page=com.atlassian.jira.plugi... ]
Marián Labuda resolved JBIDE-21140.
-----------------------------------
Resolution: Done
> [application wizard] 2 connections from same server but for different users result in project mismatch
> ------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-21140
> URL: https://issues.jboss.org/browse/JBIDE-21140
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Fred Bricon
> Assignee: Fred Bricon
> Labels: application_wizard, upstream
> Fix For: 4.3.1.Beta1, 4.4.0.Alpha1
>
>
> In JBT, connecting 2 users on the same server, results in wrong projects being shown for the 2nd connection (in the new application wizard).
> This is caused by calling Connection.ownResource(project), having
> {code}
> public boolean ownsResource(IResource resource) {
> if (resource == null) {
> return false;
> }
> IClient client = resource.accept(new CapabilityVisitor<IClientCapability, IClient>() {
> @Override
> public IClient visit(IClientCapability capability) {
> return capability.getClient();
> }
> }, null);
> return ObjectUtils.equals(this.client, client);
> }
> {code}
> The problem is the clients are equals for both connections. A check for token equality should be performed to distinguish them
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 4 months
[JBoss JIRA] (JBIDE-21109) [application wizard] 2 connections from same server but for different users result in project mismatch
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21109?page=com.atlassian.jira.plugi... ]
Marián Labuda updated JBIDE-21109:
----------------------------------
Fix Version/s: (was: 4.4.0.Alpha1)
> [application wizard] 2 connections from same server but for different users result in project mismatch
> ------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-21109
> URL: https://issues.jboss.org/browse/JBIDE-21109
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Fred Bricon
> Assignee: Fred Bricon
> Labels: application_wizard, upstream
> Fix For: 4.3.1.Beta1
>
>
> In JBT, connecting 2 users on the same server, results in wrong projects being shown for the 2nd connection (in the new application wizard).
> This is caused by calling Connection.ownResource(project), having
> {code}
> public boolean ownsResource(IResource resource) {
> if (resource == null) {
> return false;
> }
> IClient client = resource.accept(new CapabilityVisitor<IClientCapability, IClient>() {
> @Override
> public IClient visit(IClientCapability capability) {
> return capability.getClient();
> }
> }, null);
> return ObjectUtils.equals(this.client, client);
> }
> {code}
> The problem is the clients are equals for both connections. A check for token equality should be performed to distinguish them
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 4 months
[JBoss JIRA] (JBIDE-21009) Can not create openshift application from local template json file
by Marián Labuda (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21009?page=com.atlassian.jira.plugi... ]
Marián Labuda closed JBIDE-21009.
---------------------------------
Verified in nightly 4.3.1.Beta1 build with OpenShift plug-ins version 3.1.0.Beta1-v20151123-1937-B86.
> Can not create openshift application from local template json file
> ------------------------------------------------------------------
>
> Key: JBIDE-21009
> URL: https://issues.jboss.org/browse/JBIDE-21009
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta1
> Environment: OpenShift 3 Tools: 3.1.0.Beta1-v20151016-1836-B52
> OS: Fedora 17 & Windows 8
> Reporter: Chunyun Chen
> Assignee: Andre Dietisheim
> Priority: Critical
> Labels: app, openshift_v3
> Fix For: 4.3.1.Beta1
>
> Attachments: local_template.png
>
>
> Can not create openshift application from local template json file
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 4 months