Project: talendesb
Issue TESB-7360: Improve the current AtomPub API for policy and wsdl documents
- For id elements feed and entry use URN's. The Namespace identifer should be 'uuid'. So an id would look like this: urn:uuid:a1d9099a-1910-4161-83d2-2ea49e5c3bdb. - The date and time of the updated element feed should be set to the laste change in the feed and not to the current date and time. - Remove the xml:base attribute in the feed element. - Provide a generator element, text should be 'Talend ESB Registry vx.x.x' - Always provide absolute URL's in href attributes - Entry elements contain an xml:base attribute with the id of the document as value. Remove it. - For the feed provide a link element with attribute rel="self" and href linking to itself. - As name for the collections in the URL use ws-policy instead of POLICY and wsdl instead of WSDL - For the link element in an entry change the rel attribute from 'alternate' to 'self' Change the documentation accordingly. Documentation issues - Document the service document - Instead of documenting URL's and possible actions out of band, e.g {quote} upload policy using atompub POST http://localhost:8042/services/RegistryAtom/POLICY?? {quote} explain where to find the URL (in the service document)
Story points: 3