{"issue":{"created_at":"2011-11-24T22:47:52Z","state":"open","updated_at":"2011-11-25T09:58:04Z","user":{"gravatar_id":"015a54e24d5f73bab6f3c499f9e23e90","id":45165,"url":"https://api.github.com/users/cstamas","login":"cstamas","avatar_url":"https://secure.gravatar.com/avatar/015a54e24d5f73bab6f3c499f9e23e90?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":2,"body":"A massive one:\r\n\r\n* opening up for other serializators, not being chained to XStream (as today)\r\n* slimming down AttributeStorage iface, because since Nexus 1.4 there was no need to persist whole StorageItem, the attributes was enough (it was a leftover since Proximity)\r\n* StorageItem cleanup, before it was: a bunch of transient fields, a bunch of persisted fields and one persisted map. Now, an item is: transient map (context, as before), persisted map (attributes, and everything else, the actual data)\r\n* upgrade path provided: if attributes detected in old place, \"legacy\" AttributeStore kicks in and Nexus seamlessly upgrades attribues to new ones (as Nexus is used).\r\n* current attribute storage is LS attribute storage (attributes as below storage/repo-id/.nexus/attributes) and have new, cleaner format, they are just a Map (series of key-val pairs).\r\n\r\nIn previous pull https://github.com/sonatype/nexus/pull/93 Marshaller iface is already provided. There, only the XStreamMarshaller was viable (jacksons were unable to cope with Item classes). Here, we have them all: XstreamMarshaller, but JacksonJSON and JacksonXML worx too! As I measured, JacksonJSON is a bit better over Xstream (about 10%-ish), but this is CPU only, since IO is clearly the same (no much size differences).\r\n\r\nAnd once Jackson enters core, nothing will stop it to come all way to the REST API ;)\r\nJust watch! :beer:","assignee":null,"labels":[],"pull_request":{"patch_url":"https://github.com/sonatype/nexus/pull/103.patch","html_url":"https://github.com/sonatype/nexus/pull/103","diff_url":"https://github.com/sonatype/nexus/pull/103.diff"},"id":2345373,"number":103,"title":"Nexus attributes verbesserung","closed_at":null,"html_url":"https://github.com/sonatype/nexus/issues/103","url":"https://api.github.com/repos/sonatype/nexus/issues/103","milestone":null},"action":"created","comment":{"created_at":"2011-11-25T09:58:04Z","updated_at":"2011-11-25T09:58:04Z","user":{"gravatar_id":"bda6e39b1d14333f5bfd7e1c6f6ddec6","id":169314,"url":"https://api.github.com/users/nabcos","login":"nabcos","avatar_url":"https://secure.gravatar.com/avatar/bda6e39b1d14333f5bfd7e1c6f6ddec6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Build failed hard before ITs:\r\n\r\nNexus4660AttributeStorageFSLSTransitioningUpgrade.java:[34,47] package com.sun.tools.internal.ws.processor.util does not exist","id":2872989,"url":"https://api.github.com/repos/sonatype/nexus/issues/comments/2872989"}}