Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 418621

Summary: [server] UserServiceHelper needs a better way to pick user admin service
Product: [ECD] Orion Reporter: Anthony Hunter <ahunter.eclipse>
Component: ServerAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 4.0   
Target Milestone: 4.0 RC2   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2013-10-03 16:12:21 EDT
Following from Bug 335390 I was having difficulty with the UserServiceHelper.

It expects to get one registered service for IOrionCredentialsService but it is getting two now, the legacy service and the new simple service.

I added a small piece of code to fix the issue in 4.0 RC1 but it needs to be fixed properly for 4.0 RC2.
Comment 1 Anthony Hunter CLA 2013-10-04 10:49:30 EDT
The first change cased build tests failure Bug 418655
	
I removed the hack to UserServiceHelper and removed the two new service contribution to get a build running.
Comment 2 Anthony Hunter CLA 2013-10-07 10:17:42 EDT
I have removed the OSGi service contributions from the manifest and added them to the bundle activation. The activation is wrapped with our check to:
orion.core.metastore=simple

The default is still the legacy setting:
orion.core.metastore=legacy