Project: talendesb
Issue TESB-6925: SR: Provide an AtomPub collection resource for policies in the registry
As developer of clients for registries I like to have a standard based REST conform interface, so that the syntax and semantics is easy to grasp The Atom Publishing Protocol (AtomPub or APP) is an application-level protocol for publishing and editing Web resources. In this sense it nicely fits to the requirements of a client interface for the registry that folloes the REST style. As first step this feature is about the corresponding APP based interface for policy documents. The registry needs to provide a collection resource following the APP specification for policies. It must be possible to add, update and delete policies to the collection as specified in the spec. All mandatory meta data must be provided, especially the corresponding link elements. The policies itselve must be included within a content element as XML. We need to invent our own proprietary MIME media type for policy documents (if none yet exists) to be used as type attribute for the content element. ID's used within meta data or URL's must be opaque (no policy name). Also HTTP staus codes should be used as specified in the specs. Update documentation reflecting the new APP based interface. Especially provide sample requests and responses for the new interface. Document possible error situations and corresponding HTTP status codes.
Story points: 3