[JBoss JIRA] (JBIDE-13694) bump openshift maintenance 2.4.0->2.4.1
by Andre Dietisheim (JIRA)
Andre Dietisheim created JBIDE-13694:
----------------------------------------
Summary: bump openshift maintenance 2.4.0->2.4.1
Key: JBIDE-13694
URL: https://issues.jboss.org/browse/JBIDE-13694
Project: Tools (JBoss Tools)
Issue Type: Task
Components: openshift
Affects Versions: 4.0.1.Final
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 4.0.1.Final
changed the version ranges for required egit plugins in JBIDE-13588, thus need to bump version 2.4.0->2.4.1
did
{code}
mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=2.4.1-SNAPSHOT
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] (JBIDE-13664) tracing options for openshift client not showing up not is logging working when configured
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13664?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-13664 at 2/28/13 5:34 PM:
-------------------------------------------------------------------
yes, it solved it, great, thanks!
I did a "mvn clean install" in my plugins and pointed a vanilla Juno-SR1 to the freshly build repo (while adding the JBT nightlies updates site).
Tracing for the OpenShift client then became available in the preferences:
!openshift-tracing-available.png!
and once the flag were set to *true*, tracing output was produced:
{code}
tail -f /home/adietish/workspace/.metadata/trace.log
| Worker-1 | 2013-02-28 23:22:48.519 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Requesting GET on https://openshift.redhat.com/broker/rest/user |
| Worker-1 | 2013-02-28 23:22:48.520 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | creating connection to https://openshift.redhat.com/broker/rest/user using username "<USERNAME>" and password "<PASSWORD>" |
| Worker-1 | 2013-02-28 23:22:49.764 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Unmarshalling response
{"data":{"capabilities":{"subaccounts":false,"gear_sizes":["small","medium"]},"consumed_gears":2,"links":{"LIST_KEYS":{"href":"https://openshift.redhat.com/broker/rest/user/keys","method":"GET","optional_params":[],"rel":"Get SSH keys","required_params":[]},"ADD_KEY":{"href":"https://openshift.redhat.com/broker/rest/user/keys","method":"POST","optional_params":[],"rel":"Add new SSH key","required_params":[{"description":"Name of the key","invalid_options":[],"name":"name","type":"string","valid_options":[]},{"description":"Type of Key","invalid_options":[],"name":"type","type":"string","valid_options":["ssh-rsa","ssh-dss","ecdsa-sha2-nistp256-cert-v01(a)openssh.com","ecdsa-sha2-nistp384-cert-v01(a)openssh.com","ecdsa-sha2-nistp521-cert-v01(a)openssh.com","ssh-rsa-cert-v01(a)openssh.com","ssh-dss-cert-v01(a)openssh.com","ssh-rsa-cert-v00(a)openssh.com","ssh-dss-cert-v00(a)openssh.com","ecdsa-sha2-nistp256","ecdsa-sha2-nistp384","ecdsa-sha2-nistp521"]},{"description":"The key portion of an rsa key (excluding ssh-rsa and comment)","invalid_options":[],"name":"content","type":"string","valid_options":[]}]}},"login":"adietish(a)redhat.com","max_gears":10,"plan_id":"freeshift","usage_account_id":null},"messages":[],"status":"ok","supported_api_versions":[1.0,1.1,1.2,1.3],"type":"user","version":"1.0"}
|
| Worker-1 | 2013-02-28 23:22:49.774 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Requesting GET on https://openshift.redhat.com/broker/rest/domains |
| Worker-1 | 2013-02-28 23:22:49.776 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | creating connection to https://openshift.redhat.com/broker/rest/domains using username "<USERNAME>" and password "<PASSWORD>" |
| Worker-1 | 2013-02-28 23:22:50.987 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Unmarshalling response
{"data":[{"id":"honkabonka2","links":{"GET":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2","method":"GET","optional_params":[],"rel":"Get domain","required_params":[]},"LIST_APPLICATIONS":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2/applications","method":"GET","optional_params":[],"rel":"List applications","required_params":[]},"ADD_APPLICATION":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2/applications","method":"POST","optional_params":[{"default_value":null,"description":"framework-type, e.g: php-5.3","name":"cartridge","type":"string","valid_options":["nodejs-0.6","jbossews-2.0","zend-5.6","ruby-1.9","python-3.3","jbossas-7","python-2.6","jenkins-1.4","ruby-1.8","python-2.7","jbosseap-6.0","diy-0.1","jbossews-1.0","php-5.3","perl-5.10"]},{"default_value":false,"description":"Mark application as scalable","name":"scale","type":"boolean","valid_options":[true,false]},{"default_value":"small","description":"The size of the gear","name":"gear_profile","type":"string","valid_options":["small","medium"]}],"rel":"Create new application","required_params":[{"description":"Name of the application","invalid_options":["amentra","aop","apiviz","arquillian","blacktie","boxgrinder","byteman","cirras","cloud","cloudforms","cygwin","davcache","dogtag","drools","drools","ejb3","errai","esb","fedora","freeipa","gatein","git","gfs","gravel","guvnor","hibernate","hornetq","iiop","infinispan","ironjacamar","javassist","jbcaa","jbcd","jboss","jbpm","jdcom","jgroups","jmx","jopr","jrunit","jsfunit","kosmos","liberation","makara","mass","maven","metajizer","metamatrix","mobicents","mod_cluster","modeshape","mugshot","mysql","netty","openshift","osgi","overlord","ovirt","penrose","picketbox","picketlink","portletbridge","portletswap","posse","pressgang","qumranet","railo","redhat","resteasy","rhca","rhcds","rhce","rhcsa","rhcss","rhct","rhcva","rhel","rhev","rhq","rhx","richfaces","riftsaw","savara","scribble","seam","shadowman","shotoku","shrinkwrap","snowdrop","solidice","spacewalk","spice","steamcannon","stormgrind","switchyard","tattletale","teiid","tohu","torquebox","weld","wise","xnio"],"name":"name","type":"string","valid_options":[]}]},"UPDATE":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2","method":"PUT","optional_params":[],"rel":"Update domain","required_params":[{"description":"Name of the domain","invalid_options":[],"name":"id","type":"string","valid_options":[]}]},"DELETE":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2","method":"DELETE","optional_params":[{"default_value":false,"description":"Force delete domain. i.e. delete any applications under this domain","name":"force","type":"boolean","valid_options":[true,false]}],"rel":"Delete domain","required_params":[]}},"suffix":"rhcloud.com"}],"messages":[],"status":"ok","supported_api_versions":[1.0,1.1,1.2,1.3],"type":"domains","version":"1.0"}
{code}
Once I added log4j.properties to build.properties, (PR: https://github.com/jbosstools/jbosstools-openshift/pull/66)
Eclipse log showed basic logging for the client:
{code}
!ENTRY org.jboss.tools.openshift.express.client 1 0 2013-02-28 23:22:47.749
!MESSAGE Requesting GET on https://openshift.redhat.com/broker/rest/api (RestService.java:136)
!ENTRY org.jboss.tools.openshift.express.client 1 0 2013-02-28 23:22:48.520
!MESSAGE Requesting GET on https://openshift.redhat.com/broker/rest/user (RestService.java:136)
!ENTRY org.jboss.tools.openshift.express.client 1 0 2013-02-28 23:22:49.776
!MESSAGE Requesting GET on https://openshift.redhat.com/broker/rest/domains (RestService.java:136)
{code}
was (Author: adietish):
yes, it solved it, great, thanks!
I did a "mvn clean install" in my plugins and pointed a vanilla Juno-SR1 to the freshly build repo (while adding the JBT nightlies updates site).
Tracing for the OpenShift client then became available in the preferences:
!openshift-tracing-available.png!
and once the flag were set to *true*, tracing output was produced:
{code}
tail -f /home/adietish/workspace/.metadata/trace.log
| Worker-1 | 2013-02-28 23:22:48.519 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Requesting GET on https://openshift.redhat.com/broker/rest/user |
| Worker-1 | 2013-02-28 23:22:48.520 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | creating connection to https://openshift.redhat.com/broker/rest/user using username "<USERNAME>" and password "<PASSWORD>" |
| Worker-1 | 2013-02-28 23:22:49.764 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Unmarshalling response
{"data":{"capabilities":{"subaccounts":false,"gear_sizes":["small","medium"]},"consumed_gears":2,"links":{"LIST_KEYS":{"href":"https://openshift.redhat.com/broker/rest/user/keys","method":"GET","optional_params":[],"rel":"Get SSH keys","required_params":[]},"ADD_KEY":{"href":"https://openshift.redhat.com/broker/rest/user/keys","method":"POST","optional_params":[],"rel":"Add new SSH key","required_params":[{"description":"Name of the key","invalid_options":[],"name":"name","type":"string","valid_options":[]},{"description":"Type of Key","invalid_options":[],"name":"type","type":"string","valid_options":["ssh-rsa","ssh-dss","ecdsa-sha2-nistp256-cert-v01(a)openssh.com","ecdsa-sha2-nistp384-cert-v01(a)openssh.com","ecdsa-sha2-nistp521-cert-v01(a)openssh.com","ssh-rsa-cert-v01(a)openssh.com","ssh-dss-cert-v01(a)openssh.com","ssh-rsa-cert-v00(a)openssh.com","ssh-dss-cert-v00(a)openssh.com","ecdsa-sha2-nistp256","ecdsa-sha2-nistp384","ecdsa-sha2-nistp521"]},{"description":"The key portion of an rsa key (excluding ssh-rsa and comment)","invalid_options":[],"name":"content","type":"string","valid_options":[]}]}},"login":"adietish(a)redhat.com","max_gears":10,"plan_id":"freeshift","usage_account_id":null},"messages":[],"status":"ok","supported_api_versions":[1.0,1.1,1.2,1.3],"type":"user","version":"1.0"}
|
| Worker-1 | 2013-02-28 23:22:49.774 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Requesting GET on https://openshift.redhat.com/broker/rest/domains |
| Worker-1 | 2013-02-28 23:22:49.776 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | creating connection to https://openshift.redhat.com/broker/rest/domains using username "<USERNAME>" and password "<PASSWORD>" |
| Worker-1 | 2013-02-28 23:22:50.987 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Unmarshalling response
{"data":[{"id":"honkabonka2","links":{"GET":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2","method":"GET","optional_params":[],"rel":"Get domain","required_params":[]},"LIST_APPLICATIONS":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2/applications","method":"GET","optional_params":[],"rel":"List applications","required_params":[]},"ADD_APPLICATION":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2/applications","method":"POST","optional_params":[{"default_value":null,"description":"framework-type, e.g: php-5.3","name":"cartridge","type":"string","valid_options":["nodejs-0.6","jbossews-2.0","zend-5.6","ruby-1.9","python-3.3","jbossas-7","python-2.6","jenkins-1.4","ruby-1.8","python-2.7","jbosseap-6.0","diy-0.1","jbossews-1.0","php-5.3","perl-5.10"]},{"default_value":false,"description":"Mark application as scalable","name":"scale","type":"boolean","valid_options":[true,false]},{"default_value":"small","description":"The size of the gear","name":"gear_profile","type":"string","valid_options":["small","medium"]}],"rel":"Create new application","required_params":[{"description":"Name of the application","invalid_options":["amentra","aop","apiviz","arquillian","blacktie","boxgrinder","byteman","cirras","cloud","cloudforms","cygwin","davcache","dogtag","drools","drools","ejb3","errai","esb","fedora","freeipa","gatein","git","gfs","gravel","guvnor","hibernate","hornetq","iiop","infinispan","ironjacamar","javassist","jbcaa","jbcd","jboss","jbpm","jdcom","jgroups","jmx","jopr","jrunit","jsfunit","kosmos","liberation","makara","mass","maven","metajizer","metamatrix","mobicents","mod_cluster","modeshape","mugshot","mysql","netty","openshift","osgi","overlord","ovirt","penrose","picketbox","picketlink","portletbridge","portletswap","posse","pressgang","qumranet","railo","redhat","resteasy","rhca","rhcds","rhce","rhcsa","rhcss","rhct","rhcva","rhel","rhev","rhq","rhx","richfaces","riftsaw","savara","scribble","seam","shadowman","shotoku","shrinkwrap","snowdrop","solidice","spacewalk","spice","steamcannon","stormgrind","switchyard","tattletale","teiid","tohu","torquebox","weld","wise","xnio"],"name":"name","type":"string","valid_options":[]}]},"UPDATE":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2","method":"PUT","optional_params":[],"rel":"Update domain","required_params":[{"description":"Name of the domain","invalid_options":[],"name":"id","type":"string","valid_options":[]}]},"DELETE":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2","method":"DELETE","optional_params":[{"default_value":false,"description":"Force delete domain. i.e. delete any applications under this domain","name":"force","type":"boolean","valid_options":[true,false]}],"rel":"Delete domain","required_params":[]}},"suffix":"rhcloud.com"}],"messages":[],"status":"ok","supported_api_versions":[1.0,1.1,1.2,1.3],"type":"domains","version":"1.0"}
{code}
and eclipse log showed basic logging for the client:
{code}
!ENTRY org.jboss.tools.openshift.express.client 1 0 2013-02-28 23:22:47.749
!MESSAGE Requesting GET on https://openshift.redhat.com/broker/rest/api (RestService.java:136)
!ENTRY org.jboss.tools.openshift.express.client 1 0 2013-02-28 23:22:48.520
!MESSAGE Requesting GET on https://openshift.redhat.com/broker/rest/user (RestService.java:136)
!ENTRY org.jboss.tools.openshift.express.client 1 0 2013-02-28 23:22:49.776
!MESSAGE Requesting GET on https://openshift.redhat.com/broker/rest/domains (RestService.java:136)
{code}
> tracing options for openshift client not showing up not is logging working when configured
> ------------------------------------------------------------------------------------------
>
> Key: JBIDE-13664
> URL: https://issues.jboss.org/browse/JBIDE-13664
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.1.0.Alpha1
> Reporter: Max Rydahl Andersen
> Assignee: Andre Dietisheim
> Priority: Blocker
> Fix For: 4.1.0.Alpha2
>
> Attachments: openshift-tracing-available.png
>
>
> tracing options in .options in openshiftclient is not showing up.
> And when starting with -debug .options
> and .options contains:
> org.jboss.tools.openshift.express.client/debug=true
> org.jboss.tools.openshift.express.client/debug/client=true
> You get:
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
> Application Started: 37798
> log4j:WARN No appenders could be found for logger (com.openshift.internal.client.RestService).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> So this is not working at all.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] (JBIDE-13664) tracing options for openshift client not showing up not is logging working when configured
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13664?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-13664 at 2/28/13 5:27 PM:
-------------------------------------------------------------------
yes, it solved it, great, thanks!
I did a "mvn clean install" in my plugins and pointed a vanilla Juno-SR1 to the freshly build repo (while adding the JBT nightlies updates site).
Tracing for the OpenShift client then became available in the preferences:
!openshift-tracing-available.png!
and once the flag were set to *true*, tracing output was produced:
{code}
tail -f /home/adietish/workspace/.metadata/trace.log
| Worker-1 | 2013-02-28 23:22:48.519 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Requesting GET on https://openshift.redhat.com/broker/rest/user |
| Worker-1 | 2013-02-28 23:22:48.520 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | creating connection to https://openshift.redhat.com/broker/rest/user using username "<USERNAME>" and password "<PASSWORD>" |
| Worker-1 | 2013-02-28 23:22:49.764 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Unmarshalling response
{"data":{"capabilities":{"subaccounts":false,"gear_sizes":["small","medium"]},"consumed_gears":2,"links":{"LIST_KEYS":{"href":"https://openshift.redhat.com/broker/rest/user/keys","method":"GET","optional_params":[],"rel":"Get SSH keys","required_params":[]},"ADD_KEY":{"href":"https://openshift.redhat.com/broker/rest/user/keys","method":"POST","optional_params":[],"rel":"Add new SSH key","required_params":[{"description":"Name of the key","invalid_options":[],"name":"name","type":"string","valid_options":[]},{"description":"Type of Key","invalid_options":[],"name":"type","type":"string","valid_options":["ssh-rsa","ssh-dss","ecdsa-sha2-nistp256-cert-v01(a)openssh.com","ecdsa-sha2-nistp384-cert-v01(a)openssh.com","ecdsa-sha2-nistp521-cert-v01(a)openssh.com","ssh-rsa-cert-v01(a)openssh.com","ssh-dss-cert-v01(a)openssh.com","ssh-rsa-cert-v00(a)openssh.com","ssh-dss-cert-v00(a)openssh.com","ecdsa-sha2-nistp256","ecdsa-sha2-nistp384","ecdsa-sha2-nistp521"]},{"description":"The key portion of an rsa key (excluding ssh-rsa and comment)","invalid_options":[],"name":"content","type":"string","valid_options":[]}]}},"login":"adietish(a)redhat.com","max_gears":10,"plan_id":"freeshift","usage_account_id":null},"messages":[],"status":"ok","supported_api_versions":[1.0,1.1,1.2,1.3],"type":"user","version":"1.0"}
|
| Worker-1 | 2013-02-28 23:22:49.774 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Requesting GET on https://openshift.redhat.com/broker/rest/domains |
| Worker-1 | 2013-02-28 23:22:49.776 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | creating connection to https://openshift.redhat.com/broker/rest/domains using username "<USERNAME>" and password "<PASSWORD>" |
| Worker-1 | 2013-02-28 23:22:50.987 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Unmarshalling response
{"data":[{"id":"honkabonka2","links":{"GET":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2","method":"GET","optional_params":[],"rel":"Get domain","required_params":[]},"LIST_APPLICATIONS":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2/applications","method":"GET","optional_params":[],"rel":"List applications","required_params":[]},"ADD_APPLICATION":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2/applications","method":"POST","optional_params":[{"default_value":null,"description":"framework-type, e.g: php-5.3","name":"cartridge","type":"string","valid_options":["nodejs-0.6","jbossews-2.0","zend-5.6","ruby-1.9","python-3.3","jbossas-7","python-2.6","jenkins-1.4","ruby-1.8","python-2.7","jbosseap-6.0","diy-0.1","jbossews-1.0","php-5.3","perl-5.10"]},{"default_value":false,"description":"Mark application as scalable","name":"scale","type":"boolean","valid_options":[true,false]},{"default_value":"small","description":"The size of the gear","name":"gear_profile","type":"string","valid_options":["small","medium"]}],"rel":"Create new application","required_params":[{"description":"Name of the application","invalid_options":["amentra","aop","apiviz","arquillian","blacktie","boxgrinder","byteman","cirras","cloud","cloudforms","cygwin","davcache","dogtag","drools","drools","ejb3","errai","esb","fedora","freeipa","gatein","git","gfs","gravel","guvnor","hibernate","hornetq","iiop","infinispan","ironjacamar","javassist","jbcaa","jbcd","jboss","jbpm","jdcom","jgroups","jmx","jopr","jrunit","jsfunit","kosmos","liberation","makara","mass","maven","metajizer","metamatrix","mobicents","mod_cluster","modeshape","mugshot","mysql","netty","openshift","osgi","overlord","ovirt","penrose","picketbox","picketlink","portletbridge","portletswap","posse","pressgang","qumranet","railo","redhat","resteasy","rhca","rhcds","rhce","rhcsa","rhcss","rhct","rhcva","rhel","rhev","rhq","rhx","richfaces","riftsaw","savara","scribble","seam","shadowman","shotoku","shrinkwrap","snowdrop","solidice","spacewalk","spice","steamcannon","stormgrind","switchyard","tattletale","teiid","tohu","torquebox","weld","wise","xnio"],"name":"name","type":"string","valid_options":[]}]},"UPDATE":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2","method":"PUT","optional_params":[],"rel":"Update domain","required_params":[{"description":"Name of the domain","invalid_options":[],"name":"id","type":"string","valid_options":[]}]},"DELETE":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2","method":"DELETE","optional_params":[{"default_value":false,"description":"Force delete domain. i.e. delete any applications under this domain","name":"force","type":"boolean","valid_options":[true,false]}],"rel":"Delete domain","required_params":[]}},"suffix":"rhcloud.com"}],"messages":[],"status":"ok","supported_api_versions":[1.0,1.1,1.2,1.3],"type":"domains","version":"1.0"}
{code}
and eclipse log showed basic logging for the client:
{code}
!ENTRY org.jboss.tools.openshift.express.client 1 0 2013-02-28 23:22:47.749
!MESSAGE Requesting GET on https://openshift.redhat.com/broker/rest/api (RestService.java:136)
!ENTRY org.jboss.tools.openshift.express.client 1 0 2013-02-28 23:22:48.520
!MESSAGE Requesting GET on https://openshift.redhat.com/broker/rest/user (RestService.java:136)
!ENTRY org.jboss.tools.openshift.express.client 1 0 2013-02-28 23:22:49.776
!MESSAGE Requesting GET on https://openshift.redhat.com/broker/rest/domains (RestService.java:136)
{code}
was (Author: adietish):
yes, it solved it, great, thanks!
I did a "mvn clean install" in my plugins and pointed a vanilla Juno-SR1 to the freshly build repo (while adding the JBT nightlies updates site).
Tracing for the OpenShift client then became available in the preferences:
!openshift-tracing-available.png!
and once the flag were set to *true*, tracing output was produced:
{code}
tail -f /home/adietish/workspace/.metadata/trace.log
| Worker-1 | 2013-02-28 23:22:48.519 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Requesting GET on https://openshift.redhat.com/broker/rest/user |
| Worker-1 | 2013-02-28 23:22:48.520 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | creating connection to https://openshift.redhat.com/broker/rest/user using username "<USERNAME>" and password "<PASSWORD>" |
| Worker-1 | 2013-02-28 23:22:49.764 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Unmarshalling response
{"data":{"capabilities":{"subaccounts":false,"gear_sizes":["small","medium"]},"consumed_gears":2,"links":{"LIST_KEYS":{"href":"https://openshift.redhat.com/broker/rest/user/keys","method":"GET","optional_params":[],"rel":"Get SSH keys","required_params":[]},"ADD_KEY":{"href":"https://openshift.redhat.com/broker/rest/user/keys","method":"POST","optional_params":[],"rel":"Add new SSH key","required_params":[{"description":"Name of the key","invalid_options":[],"name":"name","type":"string","valid_options":[]},{"description":"Type of Key","invalid_options":[],"name":"type","type":"string","valid_options":["ssh-rsa","ssh-dss","ecdsa-sha2-nistp256-cert-v01(a)openssh.com","ecdsa-sha2-nistp384-cert-v01(a)openssh.com","ecdsa-sha2-nistp521-cert-v01(a)openssh.com","ssh-rsa-cert-v01(a)openssh.com","ssh-dss-cert-v01(a)openssh.com","ssh-rsa-cert-v00(a)openssh.com","ssh-dss-cert-v00(a)openssh.com","ecdsa-sha2-nistp256","ecdsa-sha2-nistp384","ecdsa-sha2-nistp521"]},{"description":"The key portion of an rsa key (excluding ssh-rsa and comment)","invalid_options":[],"name":"content","type":"string","valid_options":[]}]}},"login":"adietish(a)redhat.com","max_gears":10,"plan_id":"freeshift","usage_account_id":null},"messages":[],"status":"ok","supported_api_versions":[1.0,1.1,1.2,1.3],"type":"user","version":"1.0"}
|
| Worker-1 | 2013-02-28 23:22:49.774 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Requesting GET on https://openshift.redhat.com/broker/rest/domains |
| Worker-1 | 2013-02-28 23:22:49.776 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | creating connection to https://openshift.redhat.com/broker/rest/domains using username "<USERNAME>" and password "<PASSWORD>" |
| Worker-1 | 2013-02-28 23:22:50.987 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Unmarshalling response
{"data":[{"id":"honkabonka2","links":{"GET":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2","method":"GET","optional_params":[],"rel":"Get domain","required_params":[]},"LIST_APPLICATIONS":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2/applications","method":"GET","optional_params":[],"rel":"List applications","required_params":[]},"ADD_APPLICATION":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2/applications","method":"POST","optional_params":[{"default_value":null,"description":"framework-type, e.g: php-5.3","name":"cartridge","type":"string","valid_options":["nodejs-0.6","jbossews-2.0","zend-5.6","ruby-1.9","python-3.3","jbossas-7","python-2.6","jenkins-1.4","ruby-1.8","python-2.7","jbosseap-6.0","diy-0.1","jbossews-1.0","php-5.3","perl-5.10"]},{"default_value":false,"description":"Mark application as scalable","name":"scale","type":"boolean","valid_options":[true,false]},{"default_value":"small","description":"The size of the gear","name":"gear_profile","type":"string","valid_options":["small","medium"]}],"rel":"Create new application","required_params":[{"description":"Name of the application","invalid_options":["amentra","aop","apiviz","arquillian","blacktie","boxgrinder","byteman","cirras","cloud","cloudforms","cygwin","davcache","dogtag","drools","drools","ejb3","errai","esb","fedora","freeipa","gatein","git","gfs","gravel","guvnor","hibernate","hornetq","iiop","infinispan","ironjacamar","javassist","jbcaa","jbcd","jboss","jbpm","jdcom","jgroups","jmx","jopr","jrunit","jsfunit","kosmos","liberation","makara","mass","maven","metajizer","metamatrix","mobicents","mod_cluster","modeshape","mugshot","mysql","netty","openshift","osgi","overlord","ovirt","penrose","picketbox","picketlink","portletbridge","portletswap","posse","pressgang","qumranet","railo","redhat","resteasy","rhca","rhcds","rhce","rhcsa","rhcss","rhct","rhcva","rhel","rhev","rhq","rhx","richfaces","riftsaw","savara","scribble","seam","shadowman","shotoku","shrinkwrap","snowdrop","solidice","spacewalk","spice","steamcannon","stormgrind","switchyard","tattletale","teiid","tohu","torquebox","weld","wise","xnio"],"name":"name","type":"string","valid_options":[]}]},"UPDATE":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2","method":"PUT","optional_params":[],"rel":"Update domain","required_params":[{"description":"Name of the domain","invalid_options":[],"name":"id","type":"string","valid_options":[]}]},"DELETE":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2","method":"DELETE","optional_params":[{"default_value":false,"description":"Force delete domain. i.e. delete any applications under this domain","name":"force","type":"boolean","valid_options":[true,false]}],"rel":"Delete domain","required_params":[]}},"suffix":"rhcloud.com"}],"messages":[],"status":"ok","supported_api_versions":[1.0,1.1,1.2,1.3],"type":"domains","version":"1.0"}
{code}
> tracing options for openshift client not showing up not is logging working when configured
> ------------------------------------------------------------------------------------------
>
> Key: JBIDE-13664
> URL: https://issues.jboss.org/browse/JBIDE-13664
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.1.0.Alpha1
> Reporter: Max Rydahl Andersen
> Assignee: Andre Dietisheim
> Priority: Blocker
> Fix For: 4.1.0.Alpha2
>
> Attachments: openshift-tracing-available.png
>
>
> tracing options in .options in openshiftclient is not showing up.
> And when starting with -debug .options
> and .options contains:
> org.jboss.tools.openshift.express.client/debug=true
> org.jboss.tools.openshift.express.client/debug/client=true
> You get:
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
> Application Started: 37798
> log4j:WARN No appenders could be found for logger (com.openshift.internal.client.RestService).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> So this is not working at all.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] (JBIDE-13664) tracing options for openshift client not showing up not is logging working when configured
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13664?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-13664 at 2/28/13 5:25 PM:
-------------------------------------------------------------------
yes, it solved it, great, thanks!
I did a "mvn clean install" in my plugins and pointed a vanilla Juno-SR1 to the freshly build repo (while adding the JBT nightlies updates site).
Tracing for the OpenShift client then became available in the preferences:
!openshift-tracing-available.png!
and once the flag were set to *true*, tracing output was produced:
{code}
tail -f /home/adietish/workspace/.metadata/trace.log
| Worker-1 | 2013-02-28 23:22:48.519 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Requesting GET on https://openshift.redhat.com/broker/rest/user |
| Worker-1 | 2013-02-28 23:22:48.520 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | creating connection to https://openshift.redhat.com/broker/rest/user using username "<USERNAME>" and password "<PASSWORD>" |
| Worker-1 | 2013-02-28 23:22:49.764 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Unmarshalling response
{"data":{"capabilities":{"subaccounts":false,"gear_sizes":["small","medium"]},"consumed_gears":2,"links":{"LIST_KEYS":{"href":"https://openshift.redhat.com/broker/rest/user/keys","method":"GET","optional_params":[],"rel":"Get SSH keys","required_params":[]},"ADD_KEY":{"href":"https://openshift.redhat.com/broker/rest/user/keys","method":"POST","optional_params":[],"rel":"Add new SSH key","required_params":[{"description":"Name of the key","invalid_options":[],"name":"name","type":"string","valid_options":[]},{"description":"Type of Key","invalid_options":[],"name":"type","type":"string","valid_options":["ssh-rsa","ssh-dss","ecdsa-sha2-nistp256-cert-v01(a)openssh.com","ecdsa-sha2-nistp384-cert-v01(a)openssh.com","ecdsa-sha2-nistp521-cert-v01(a)openssh.com","ssh-rsa-cert-v01(a)openssh.com","ssh-dss-cert-v01(a)openssh.com","ssh-rsa-cert-v00(a)openssh.com","ssh-dss-cert-v00(a)openssh.com","ecdsa-sha2-nistp256","ecdsa-sha2-nistp384","ecdsa-sha2-nistp521"]},{"description":"The key portion of an rsa key (excluding ssh-rsa and comment)","invalid_options":[],"name":"content","type":"string","valid_options":[]}]}},"login":"adietish(a)redhat.com","max_gears":10,"plan_id":"freeshift","usage_account_id":null},"messages":[],"status":"ok","supported_api_versions":[1.0,1.1,1.2,1.3],"type":"user","version":"1.0"}
|
| Worker-1 | 2013-02-28 23:22:49.774 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Requesting GET on https://openshift.redhat.com/broker/rest/domains |
| Worker-1 | 2013-02-28 23:22:49.776 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | creating connection to https://openshift.redhat.com/broker/rest/domains using username "<USERNAME>" and password "<PASSWORD>" |
| Worker-1 | 2013-02-28 23:22:50.987 | org.jboss.tools.openshift.express.client | /debug/client | org.jboss.tools.openshift.express.client.internal.log.Trace | trace | 66 | Unmarshalling response
{"data":[{"id":"honkabonka2","links":{"GET":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2","method":"GET","optional_params":[],"rel":"Get domain","required_params":[]},"LIST_APPLICATIONS":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2/applications","method":"GET","optional_params":[],"rel":"List applications","required_params":[]},"ADD_APPLICATION":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2/applications","method":"POST","optional_params":[{"default_value":null,"description":"framework-type, e.g: php-5.3","name":"cartridge","type":"string","valid_options":["nodejs-0.6","jbossews-2.0","zend-5.6","ruby-1.9","python-3.3","jbossas-7","python-2.6","jenkins-1.4","ruby-1.8","python-2.7","jbosseap-6.0","diy-0.1","jbossews-1.0","php-5.3","perl-5.10"]},{"default_value":false,"description":"Mark application as scalable","name":"scale","type":"boolean","valid_options":[true,false]},{"default_value":"small","description":"The size of the gear","name":"gear_profile","type":"string","valid_options":["small","medium"]}],"rel":"Create new application","required_params":[{"description":"Name of the application","invalid_options":["amentra","aop","apiviz","arquillian","blacktie","boxgrinder","byteman","cirras","cloud","cloudforms","cygwin","davcache","dogtag","drools","drools","ejb3","errai","esb","fedora","freeipa","gatein","git","gfs","gravel","guvnor","hibernate","hornetq","iiop","infinispan","ironjacamar","javassist","jbcaa","jbcd","jboss","jbpm","jdcom","jgroups","jmx","jopr","jrunit","jsfunit","kosmos","liberation","makara","mass","maven","metajizer","metamatrix","mobicents","mod_cluster","modeshape","mugshot","mysql","netty","openshift","osgi","overlord","ovirt","penrose","picketbox","picketlink","portletbridge","portletswap","posse","pressgang","qumranet","railo","redhat","resteasy","rhca","rhcds","rhce","rhcsa","rhcss","rhct","rhcva","rhel","rhev","rhq","rhx","richfaces","riftsaw","savara","scribble","seam","shadowman","shotoku","shrinkwrap","snowdrop","solidice","spacewalk","spice","steamcannon","stormgrind","switchyard","tattletale","teiid","tohu","torquebox","weld","wise","xnio"],"name":"name","type":"string","valid_options":[]}]},"UPDATE":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2","method":"PUT","optional_params":[],"rel":"Update domain","required_params":[{"description":"Name of the domain","invalid_options":[],"name":"id","type":"string","valid_options":[]}]},"DELETE":{"href":"https://openshift.redhat.com/broker/rest/domains/honkabonka2","method":"DELETE","optional_params":[{"default_value":false,"description":"Force delete domain. i.e. delete any applications under this domain","name":"force","type":"boolean","valid_options":[true,false]}],"rel":"Delete domain","required_params":[]}},"suffix":"rhcloud.com"}],"messages":[],"status":"ok","supported_api_versions":[1.0,1.1,1.2,1.3],"type":"domains","version":"1.0"}
{code}
was (Author: adietish):
yes, it solved it, great, thanks!
I did a "mvn clean install" in my plugins and pointed a vanilla Juno-SR1 to the freshly build repo (while adding the JBT nightlies updates site).
Tracing for the OpenShift client then became available in the preferences:
!openshift-tracing-available.png!
> tracing options for openshift client not showing up not is logging working when configured
> ------------------------------------------------------------------------------------------
>
> Key: JBIDE-13664
> URL: https://issues.jboss.org/browse/JBIDE-13664
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.1.0.Alpha1
> Reporter: Max Rydahl Andersen
> Assignee: Andre Dietisheim
> Priority: Blocker
> Fix For: 4.1.0.Alpha2
>
> Attachments: openshift-tracing-available.png
>
>
> tracing options in .options in openshiftclient is not showing up.
> And when starting with -debug .options
> and .options contains:
> org.jboss.tools.openshift.express.client/debug=true
> org.jboss.tools.openshift.express.client/debug/client=true
> You get:
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
> Application Started: 37798
> log4j:WARN No appenders could be found for logger (com.openshift.internal.client.RestService).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> So this is not working at all.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] (JBIDE-13664) tracing options for openshift client not showing up not is logging working when configured
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13664?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-13664 at 2/28/13 5:15 PM:
-------------------------------------------------------------------
yes, it solved it, great, thanks!
I did a "mvn clean install" in my plugins and pointed a vanilla Juno-SR1 to the freshly build repo (while adding the JBT nightlies updates site).
Tracing for the OpenShift client then became available in the preferences:
!openshift-tracing-available.png!
was (Author: adietish):
yes, it solved it, great, thanks! Tracing is now available:
!openshift-tracing-available.png!
> tracing options for openshift client not showing up not is logging working when configured
> ------------------------------------------------------------------------------------------
>
> Key: JBIDE-13664
> URL: https://issues.jboss.org/browse/JBIDE-13664
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.1.0.Alpha1
> Reporter: Max Rydahl Andersen
> Assignee: Andre Dietisheim
> Priority: Blocker
> Fix For: 4.1.0.Alpha2
>
> Attachments: openshift-tracing-available.png
>
>
> tracing options in .options in openshiftclient is not showing up.
> And when starting with -debug .options
> and .options contains:
> org.jboss.tools.openshift.express.client/debug=true
> org.jboss.tools.openshift.express.client/debug/client=true
> You get:
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
> Application Started: 37798
> log4j:WARN No appenders could be found for logger (com.openshift.internal.client.RestService).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> So this is not working at all.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months
[JBoss JIRA] (JBIDE-13664) tracing options for openshift client not showing up not is logging working when configured
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13664?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-13664:
------------------------------------------
yes, it solved it, great, thanks! Tracing is now available:
!openshift-tracing-available.png!
> tracing options for openshift client not showing up not is logging working when configured
> ------------------------------------------------------------------------------------------
>
> Key: JBIDE-13664
> URL: https://issues.jboss.org/browse/JBIDE-13664
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.1.0.Alpha1
> Reporter: Max Rydahl Andersen
> Assignee: Andre Dietisheim
> Priority: Blocker
> Fix For: 4.1.0.Alpha2
>
> Attachments: openshift-tracing-available.png
>
>
> tracing options in .options in openshiftclient is not showing up.
> And when starting with -debug .options
> and .options contains:
> org.jboss.tools.openshift.express.client/debug=true
> org.jboss.tools.openshift.express.client/debug/client=true
> You get:
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
> Application Started: 37798
> log4j:WARN No appenders could be found for logger (com.openshift.internal.client.RestService).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
> So this is not working at all.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 9 months