-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SLING-7752 - Deserializing and serializing a feature model file suffles the configurations #144
base: trunk
Are you sure you want to change the base?
Conversation
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1822252 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1822265 13f79535-47bb-0310-9956-ffa450edef68
…ase class and add more tests git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1822320 13f79535-47bb-0310-9956-ffa450edef68
…bled git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1822454 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1822740 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1822741 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1822848 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1823573 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1823741 13f79535-47bb-0310-9956-ffa450edef68
…https git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1823742 13f79535-47bb-0310-9956-ffa450edef68
…https git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1823743 13f79535-47bb-0310-9956-ffa450edef68
…l (avoiding NPE on shutdown) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1824285 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1824450 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1824521 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1824965 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1825059 13f79535-47bb-0310-9956-ffa450edef68
…ugins.memoryusage-1.0.8 git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1825060 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1825063 13f79535-47bb-0310-9956-ffa450edef68
…ces, and set the version to 1.2.0-SNAPSHOT. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1825128 13f79535-47bb-0310-9956-ffa450edef68
…ackageinfos, version set to 6.0.0-SNAPSHOT, and adaption to the new R7 resolver api changes. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1825132 13f79535-47bb-0310-9956-ffa450edef68
…e dependency on org.osgi.core. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1825178 13f79535-47bb-0310-9956-ffa450edef68
…ve old, unsupported jdk profiles. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1825179 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1825378 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1825458 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1825459 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1825703 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1825852 13f79535-47bb-0310-9956-ffa450edef68
IP Clearance vote result: https://www.mail-archive.com/[email protected]/msg62591.html git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1826244 13f79535-47bb-0310-9956-ffa450edef68
Signed-off-by: Raymond Augé <[email protected]> git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1826276 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1826382 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833439 13f79535-47bb-0310-9956-ffa450edef68
… characters git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833507 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833513 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833514 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833515 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833516 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833518 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833523 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833539 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833540 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833542 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833543 13f79535-47bb-0310-9956-ffa450edef68
…1.1.0 git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833545 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833547 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833548 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833549 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833551 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833553 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833555 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833561 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833563 13f79535-47bb-0310-9956-ffa450edef68
… to prevent access outside the bundle cache. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833597 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833625 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833705 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1833715 13f79535-47bb-0310-9956-ffa450edef68
…es the configurations
Related to apache/sling-org-apache-sling-feature#2 . |
@@ -201,7 +194,7 @@ public static ConfigurationFile readJSON( | |||
int ranking = 0; | |||
ConfigPolicy policy = ConfigPolicy.DEFAULT; | |||
|
|||
final Dictionary<String, Object> properties = new Hashtable<>(); | |||
final Dictionary<String, Object> properties = new OrderedDictionary<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bosschaert @rombert I think that in this case we might have to maintain full backwards compatibility.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, here we need to keep everything backward compatible. The configurator 1.0.0 has already been released.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking a little more about this, I think we should try to implement SLING-7752 without needing any changes in the Felix Configurator. The configurator is an implementation of the OSGi Configurator Spec ( https://osgi.org/specification/osgi.cmpn/7.0.0/service.configurator.html ) which doesn't say anything about ordering. While AFAIK the Felix Configurator is currently the only implementation of this spec, in theory another implementation could be made that doesn't have such ordering and this could break SLING-7752 again if it was used with the Sling Feature model.
No description provided.