• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jira + Liferay Integration through OAuth

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Has anyone integrated Jira and Liferay using OAuth?

I created public/private key using keytool and exported the certificate into rsaSigningKey.pem. Placed this file in liferaydatafolder/opensocial/.

Configured Incoming authentication in Application Links of Jira with
Consumer key - www.myliferay.com
Consumer Name - Liferay
Public key - public key text from rsaSigningKey.pem file.

Public key greyed out and saved the configuration.

Added the OpenSocial gadget onto the Liferay page. Gave the url of activityStream of Jira and in Manage OAuth section selected RSA_private and gave the consumer key as www.myliferay.com. Saved the configuration.

My activity stream in Liferay shows empty. When I checked the liferay console, it shows an error of jodd.bean.BeanException: Simple property not found: oAuthConsumerId Invalid property: 'OAuthConsumerImpl#oAuthconsumerId (actual: 'OAuthConsumerImpl#oAuthConsumerId', forced=false)

Where am I going wrong? should the consumer key be the CN of public/private key creation?

Regards,
Kicha
 
author
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Kicha,

This is well-known issue. See this ticket.

http://issues.liferay.com/browse/LPS-10005

Thanks

Jonas Yuan

-----------------
Blogs profile: http://www.liferay.com/web/jonas.yuan/profile
Author profile: http://www.packtpub.com/authors/profiles/jonas-x-yuan
 
Kicha Paddu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jonas,

But Dennis Ju in this post came out with a fix [http://stackoverflow.com/questions/8491844/jira-liferay-integration] and mentioned that by Liferay 6.1.0 the fix would be incorporated. Since I am using Liferay 6.1.0, I thought the issue is fixed.

Also I see under your blog (http://www.liferay.com/web/jonas.yuan/profile) there is portlet which pulls issue statistics from Jira(Image Attached). This seems to be Jira Gadget. Is that Liferay of different version?

Is there any other alternative? or should I have to wait for the next version? Does this affects only Community Edition?

Regards
Kicha
Jonas-profile.JPG
[Thumbnail for Jonas-profile.JPG]
Jonas Profile image
 
Jonas X. Yuan
author
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Kicha,

It is true that Auth 2.0 integration is almost ready. Just a few bugs are opening.

By the way, JIRA and SVN integration are available in the plugin: social-coding-portlet. You can use the same plugin for both EE and CE version.

The website www.liferay.com eats its own dog's food - the same plugin is in use.

Thanks

Jonas Yuan
 
Kicha Paddu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jonas. I will wait for the next release.

Currently, I gave browse permission to anyone on the Jira projects. So skipping OAuth I am able to display the Jira gadgets on the Liferay page.

Regards,
Kicha
 
reply
    Bookmark Topic Watch Topic
  • New Topic