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

Bug 349549

Summary: Provide a more flexible storage mechanism for project data, customization etc.
Product: z_Archived Reporter: Michael Ochmann <michael.ochmann>
Component: SkalliAssignee: Michael Ochmann <michael.ochmann>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: britta.varwig
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch introducing storage service
none
patch introducing storage service for customization data
none
fixed patch introducing storage service for customization data
none
Improved dynamic binding of StorageService
none
Introduced StorageService for configurations
none
fix for patch Introduced StorageService for configurations
none
patch to remove obsolete getWorkdirFile method none

Description Michael Ochmann CLA 2011-06-16 07:57:50 EDT
Currently entities (projects, users, groups, issues..) and customization information (scm mappings etc.) are stored in the file system and there is no way to apply alternative content stores (like a database).
Comment 1 Michael Ochmann CLA 2011-06-16 10:22:28 EDT
Created attachment 198108 [details]
patch introducing storage service
Comment 2 Michael Ochmann CLA 2011-06-16 10:23:03 EDT
Created attachment 198109 [details]
patch introducing storage service for customization data
Comment 3 Michael Ochmann CLA 2011-06-16 10:30:50 EDT
If the patches do not apply with "git am", try it with --ignore-whitespace option. Don't know, why this is so, since all our .java files seem to consistently use CR+LF, but there is still something that irritates git.
Comment 4 Michael Ochmann CLA 2011-06-16 11:20:55 EDT
Created attachment 198119 [details]
fixed patch introducing storage service for customization data
Comment 6 Michael Ochmann CLA 2011-06-17 09:57:14 EDT
Created attachment 198182 [details]
Improved dynamic binding of StorageService
Comment 7 Michael Ochmann CLA 2011-06-17 09:59:37 EDT
Improved the startup behavior: storage service may be resolved too late, i.e. before another service tries to retrieve configuration/customization information.
Furthermore, EventCustomizingUpdate listeners should be notified if a new storage service is bound.
Comment 9 Michael Ochmann CLA 2011-06-17 11:08:33 EDT
Created attachment 198184 [details]
Introduced StorageService for configurations
Comment 10 Michael Ochmann CLA 2011-06-20 04:33:45 EDT
Created attachment 198241 [details]
fix for patch Introduced StorageService for configurations

changed SECURESTORE to PROPERTYSTORE: the former would be misleading, since the content is not encrypted
Comment 12 Michael Ochmann CLA 2011-06-20 06:11:09 EDT
Created attachment 198243 [details]
patch to remove obsolete getWorkdirFile method