[JBoss JIRA] (JBIDE-10261) Rework on the OpenShift client library
by Xavier Coulon (Created) (JIRA)
Rework on the OpenShift client library
--------------------------------------
Key: JBIDE-10261
URL: https://issues.jboss.org/browse/JBIDE-10261
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: openshift
Affects Versions: 3.3.0.M4
Reporter: Xavier Coulon
Assignee: Andre Dietisheim
Rework on the OpenShift client library to avoid duplicate and potentially out-of-sync layers of Objects on the client side, while still being able to lazyly load the data from OpenShift when they are queried:
Code sample :
{code}
public String getRhlogin() throws OpenShiftException {
if (rhlogin == null) {
refresh();
}
return rhlogin;
}
public void refresh() throws OpenShiftException {
UserInfo userInfo = service.getUserInfo(this);
this.uuid = userInfo.getUuid();
this.namespace = userInfo.getNamespace();
this.rhcDomain = userInfo.getRhcDomain();
this.sshKey = userInfo.getSshPublicKey();
this.domain = new Domain(
this.namespace
, this.rhcDomain
, this
, service);
this.applications = null;
}
{code}
Idem for the list of applications, perhaps using a custom ApplicationList (extends List<Application>) instance which would maintain an internal state value (initialized : boolean), and that would be able to call the OpenShift service when necessary (a bit in the Hibernate way of managing lazy containers)
--
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
13 years, 10 months
[JBoss JIRA] Created: (JBIDE-9690) Openshift service: Destroying an application requires you to indicate the cartrdige that was used to create it
by Andre Dietisheim (JIRA)
Openshift service: Destroying an application requires you to indicate the cartrdige that was used to create it
--------------------------------------------------------------------------------------------------------------
Key: JBIDE-9690
URL: https://issues.jboss.org/browse/JBIDE-9690
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: JBossAS/Servers
Affects Versions: 3.3.0.M3
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: LATER
When destroying an application on openshift, you'd have to indicate the cartridge that was used to create the application:
https://github.com/openshift/os-client-tools/blob/master/express/doc/API states for application control:
{code}
Submit JSON String:
{
'cartridge': 'framework-type, e.g. php-5.3 - Valid types determined from /broker/cartlist with cart_type of standalone',
'action': 'configure, start, stop, restart, reload, status, deconfigure',
'app_name': 'Application_name',
'rhlogin': 'login',
'debug': 'true - An optional flag to get debug information returned'
}
{code}
"cartridge" is required for any application control request. This information may be requested by listing all applications (request user info). This information is already present on the server, there should be no need to provide this "redundant" information. I already talked to the openshift team about this and they agreed upon correcting this in a future release.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] Created: (JBIDE-9566) Load remote service binding configuration
by Nick Bower (JIRA)
Load remote service binding configuration
-----------------------------------------
Key: JBIDE-9566
URL: https://issues.jboss.org/browse/JBIDE-9566
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: runtimes
Affects Versions: 3.1.0.GA
Reporter: Nick Bower
Assignee: Snjezana Peco
Priority: Minor
Hi. Using JBDS 4.0GA, a remote server (setup using ssh for exmaple) gets its service binding configuration (ports etc) not from the remote server runtime but from a local file installation. Thus things like port configuration can be wrong. You think you're editing a remote server config, and you're not (you're just editing a local file).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] Created: (JBIDE-6828) Provide actions to open AS/EAP/SOA-P specific management apps
by Lukas Jungmann (JIRA)
Provide actions to open AS/EAP/SOA-P specific management apps
-------------------------------------------------------------
Key: JBIDE-6828
URL: https://jira.jboss.org/browse/JBIDE-6828
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: JBossAS
Reporter: Lukas Jungmann
Assignee: Rob Stryker
It would be nice if a user would be able to open ie JBoss jmx console within embedded browser in the IDE through some specific action on the server node in the server view.
List of apps worth to have some specific action:
-jmx console
-administration console
-jbossws app
there might be others I'm not aware of but first two from the list are IMO the most important ones
See attached screenshot for how this looks like in Glassfish plugin
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 10 months
[JBoss JIRA] Created: (JBIDE-9689) Openshift: response to list cartridges is invalid Json
by Andre Dietisheim (JIRA)
Openshift: response to list cartridges is invalid Json
------------------------------------------------------
Key: JBIDE-9689
URL: https://issues.jboss.org/browse/JBIDE-9689
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS/Servers
Affects Versions: 3.3.0.M3
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: LATER
when requesting available cartridges the openshift service currently answers with invalid json:
{code}
...
"data" : "{" \"carts:\"
...
{code}
The json object that holds the "carts" property is erroneously quoted and all its quotes are escaped.
The current code in our openshift service client does not handle this bogus answer. I alredy reported this bug to jimjag in #libra. This issue is about tracking the progress/correction on the server side.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months
[JBoss JIRA] Created: (JBIDE-7969) Empty error message from KB validator
by Max Andersen (JIRA)
Empty error message from KB validator
-------------------------------------
Key: JBIDE-7969
URL: https://issues.jboss.org/browse/JBIDE-7969
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Reporter: Max Andersen
Assignee: Alexey Kazakov
Fix For: 3.2.0.CR1
Not sure what triggered it but got about 10 of these in my error log:
The error message is empty in the error log view; only the stack trace reveals details.
org.eclipse.jface.text.BadLocationException
at org.eclipse.jface.text.ListLineTracker.getLineNumberOfOffset(ListLineTracker.java:140)
at org.eclipse.jface.text.AbstractLineTracker.getLineNumberOfOffset(AbstractLineTracker.java:161)
at org.eclipse.jface.text.AbstractDocument.getLineOfOffset(AbstractDocument.java:915)
at org.eclipse.core.internal.filebuffers.SynchronizableDocument.getLineOfOffset(SynchronizableDocument.java:398)
at org.jboss.tools.jst.web.kb.internal.validation.ValidationErrorManager.addError(ValidationErrorManager.java:223)
at org.jboss.tools.jst.web.kb.internal.validation.ValidationErrorManager.addError(ValidationErrorManager.java:259)
at org.jboss.tools.jst.web.kb.internal.validation.ValidationErrorManager.addError(ValidationErrorManager.java:175)
at org.jboss.tools.jst.web.kb.internal.validation.ValidationErrorManager.addError(ValidationErrorManager.java:126)
at org.jboss.tools.jst.web.kb.internal.validation.ValidationErrorManager.addError(ValidationErrorManager.java:140)
at org.jboss.tools.cdi.internal.core.validation.CDICoreValidator.validateInjectionPoint(CDICoreValidator.java:1213)
at org.jboss.tools.cdi.internal.core.validation.CDICoreValidator.validateBean(CDICoreValidator.java:440)
at org.jboss.tools.cdi.internal.core.validation.CDICoreValidator.validateAll(CDICoreValidator.java:268)
at org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager.validateAll(ValidatorManager.java:116)
at org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager.validateInJob(ValidatorManager.java:81)
at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 11 months