[Design of Kosmos] - Re: Kosmos Jira Authentication using Soap
by melpelotones
Hi again,
Now I am configuring the subversion plugin, after reading
the reference manual I have seen that is possible to access to
secure subversion repositories.
I am accessing to my repository in this way:
portlet.xml
<portlet-name>ONESvnMonitoringPortlet</portlet-name>
<portlet-class>hu.midori.kosmos.portlet.svn.SvnMonitoringPortlet</portlet-class>
<init-param>
monitored.resource
ONE Subversion
</init-param>
<init-param>
service.url
http://localhost:8091/kosmos-server/kosmos-services/svn-service
</init-param>
<init-param>
monitored.urls
svn+ssh://myserver/home/myproject/svn_repo
</init-param>
<mime-type>text/html</mime-type>
<portlet-mode>HELP</portlet-mode>
<portlet-mode>VIEW</portlet-mode>
<supported-locale>en</supported-locale>
<supported-locale>fr</supported-locale>
<resource-bundle>hu.midori.kosmos.portlet.svn.svn_monitoring</resource-bundle>
<portlet-info>
Subversion Monitoring
</portlet-info>
and I am having this error
[INFO] SvnMonitoringPortlet - Initializing...
[INFO] SvnMonitoringPortlet - Viewing...
[INFO] MethodResultCacheInterceptor - Cache-miss: reloading "hu.midori.kosmos.server.svn.SvnServiceImpl.getRepositories.svn+ssh://myserver/home/myproject/svn_repo"...
[ERROR] SvnServiceImpl - Unable to process the SVN repo <java.net.MalformedURLException: unknown protocol: svn+ssh>java.net.MalformedURLException: unknown protocol: svn+ssh
Can i Use svn+ssh?
in case of being possible, how can I put the login/password in the request?
Thank you in advance,
Best Regards,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957380#3957380
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957380
19 years, 9 months
[Design of Kosmos] - Re: Kosmos Jira Authentication using Soap
by melpelotones
Hi Aron,
I have already configured the cruise control monitoring portlet.Working fine at the moment.
Regarding Jira Portlet:
I have created a filter called Myfilter on my Jira project.
This filter querys any issue.
My portlet.xml
<portlet-name>MyProjectJiraMonitoringPortlet</portlet-name>
<portlet-class>hu.midori.kosmos.portlet.jira.JiraMonitoringPortlet</portlet-class>
<init-param>
monitored.resource
Myproject Issues
</init-param>
<init-param>
service.url
http://localhost:8091/kosmos-server/kosmos-services/jirasoap-service
</init-param>
<init-param>
monitored.urls
http://myuser:mypassword@myjiraserver:8080/rpc/soap/jirasoapservice-v2?ws...
</init-param>
<mime-type>text/html</mime-type>
<portlet-mode>HELP</portlet-mode>
<portlet-mode>VIEW</portlet-mode>
<supported-locale>en</supported-locale>
<supported-locale>fr</supported-locale>
<resource-bundle>hu.midori.kosmos.portlet.jira.jira_monitoring</resource-bundle>
<portlet-info>
</portlet-info>
But I am still having the same problem/
[INFO] Http11Protocol - Starting Coyote HTTP/1.1 on http-8443
[INFO] ChannelSocket - JK2: ajp13 listening on /0.0.0.0:8009
[INFO] JkMain - Jk running ID=0 time=0/18 config=/home/ONE/exo-tomcat/conf/jk2.properties
[INFO] Catalina - Server startup in 18918 ms
[INFO] JiraMonitoringPortlet - Initializing...
[INFO] JiraMonitoringPortlet - Viewing...
[INFO] MethodResultCacheInterceptor - Cache-miss: reloading "hu.midori.kosmos.server.jira.JiraSoapServiceImpl.getProjects.http://myuser:mypassword@myjiraserver:8080/rpc/soap/jirasoapservice-v2?wsdl:Myfilter"...
[ERROR] JiraSoapServiceImpl - Unable to log out <java.lang.NullPointerException>java.lang.NullPointerException
at hu.midori.kosmos.server.jira.JiraSoapServiceImpl.disconnect(JiraSoapServiceImpl.java:217)
at hu.midori.kosmos.server.jira.JiraSoapServiceImpl.getProjects(JiraSoapServiceImpl.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
I have seen in Jira doc that when configuring the RPC plugin
you have to configure some properties
Allow users to vote on issues
Allo users to watch issues
Allow unassigned issues
Cache issues
External user management
Logout COnfirmation
Use GZip COmpression
Accept Remote API calls.
Which are the exact values of these properties in order to
work with Kosmos?
Sorry for the insistence, but I would really like to monitor my
project with Kosmos.
Thank you in advance and Best Regards,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957358#3957358
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957358
19 years, 9 months