Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 139320 - Adapt to new API in Jira core services 0.9
Summary: Adapt to new API in Jira core services 0.9
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: dev   Edit
Hardware: All All
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Mik Kersten CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 133764
  Show dependency tree
 
Reported: 2006-04-28 17:59 EDT by Brock Janiczak CLA
Modified: 2006-05-17 13:02 EDT (History)
1 user (show)

See Also:


Attachments
patch to org.eclipse.mylar.jira (2.17 KB, patch)
2006-04-28 18:02 EDT, Brock Janiczak CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brock Janiczak CLA 2006-04-28 17:59:35 EDT
There were several API additions in jira core service version 0.10, all of which are backwards compatible.  I will attach a patch to update the Mylar JiraServerFacade to use this new API.  The API of interest is JiraServer#refreshDetails and ServerManager#testConnection.
Comment 1 Brock Janiczak CLA 2006-04-28 18:02:06 EDT
Created attachment 39841 [details]
patch to org.eclipse.mylar.jira

Also removes call to JiraServer#login, as this is now handled transparently to the caller.  You can still call logout if you want, but it is not needed (server will timeout connections).
Comment 2 Mik Kersten CLA 2006-04-28 18:10:15 EDT
Brock, should I try to get this now (0.5.1) or wait until next week?
Comment 3 Brock Janiczak CLA 2006-04-28 18:15:58 EDT
It is safe to wait as it should be functionally the same.
Comment 4 Mik Kersten CLA 2006-05-16 21:41:56 EDT
Brock, I just applied the patch, it works and tests pass, but can't build now because 0.9.0 is not on the 
  http://jira-dashboard.tigris.org/update/site.xml
update site.  Could you please add it, and also update the version number in org.tigris.jira.core-feature?
Comment 5 Mik Kersten CLA 2006-05-17 13:02:29 EDT
Done, Mylar is now on 0.9.0.  Thanks for the new build and patch Brock.