[JBoss JIRA] (JBIDE-9854) Openshift Express: Application#getCreationTime fails on 2nd application
by Andre Dietisheim (Created) (JIRA)
Openshift Express: Application#getCreationTime fails on 2nd application
-----------------------------------------------------------------------
Key: JBIDE-9854
URL: https://issues.jboss.org/browse/JBIDE-9854
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS/Servers
Affects Versions: 3.3.0.M4
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 3.3.0.M4
#EXECUTE create a new user with valid credentials
#EXECUTE create a 1st application
#EXECUTE get the creation time on on it
#EXECUTE create a 2nd application
#EXECUTE get the creation time on this 2nd application
Result:
NPE
The reason is that the creation time is only available in the user info object that has to be requested separately. So when you create an application and request the creation time for it, it will request the user info from the user behind the scenes. The user will cache that user info object for later requests from the same application. If you now create a 2nd application and request the creation time of it, the application will ask the user for the user info and get the user info that was requested from the server when the 1st application was created. The 2nd application will therefore not find its creation time in that user info. The solution is pretty simple: the 2nd application must force the user to re-request the user info.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] Created: (JBIDE-9762) Openshift Express: add #getUrl and #getGitUri to Application
by Andre Dietisheim (JIRA)
Openshift Express: add #getUrl and #getGitUri to Application
------------------------------------------------------------
Key: JBIDE-9762
URL: https://issues.jboss.org/browse/JBIDE-9762
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: JBossAS/Servers
Affects Versions: 3.3.0.M4
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 3.3.0.M4
Currently there's no way to find out about the url an openshift application is reachable at. We could offer this on the Application class with a method #getUrl.
There's also no way currently to find out in what repo this application is reachable. We could offer this via a #getGitUri method on the Application class.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] Created: (JBIDE-9813) Openshift Express: implement IDomain#setNamespace
by Andre Dietisheim (JIRA)
Openshift Express: implement IDomain#setNamespace
-------------------------------------------------
Key: JBIDE-9813
URL: https://issues.jboss.org/browse/JBIDE-9813
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: JBossAS/Servers
Affects Versions: 3.3.0.M4
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 3.3.0.M4
Currently there's no way in IDomain to change the namespace. You'd have to go for the service: IOpenshiftService#changeDomain. Since my implementation tries to hide the service and provide transparent access on behalf of an object graph (User, Domain, Application, SShPublicKey, etc.) we need a way to change the namespace of the domain on the IDomain object.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months