Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-458

Allow XML namespaces to be defined in the RSS configuration file for the CAS REST service ('fmprod' webapp)

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.6
    • file manager
    • None

    Description

      Update the CAS REST RSS service to allow namespaces to be defined in the RSS configuration file.

      Tag format for the RSS configuration file suggested by Paul Ramirez on OODT-449. Examples shown below:

      <namespace prefix="geo" uri="http://www.w3.org/2003/01/geo/wgs84_pos#" />
      <namespace prefix="georss" uri="http://www.georss.org/georss" />
      <namespace prefix="gml" uri="http://www.opengis.net/gml" />
      

      Two RSS java classes have hard-coded 'cas' namespace definitions: RSSProductServlet and RSSProductTransferServlet. These classes both use a hashmap constant 'NS_MAP' to store namespaces and write them to the RSS output. With configurable namespaces, the 'cas' namespace definition could also be moved to the RSS config and picked up by the ProductServlet and TransferServlet from there instead of having hard-coded definitions:

      <namespace prefix="cas" uri="http://oodt.apache.org/components/cas" />
      

      Attachments

        Activity

          People

            rlaidlaw Ross Laidlaw
            rlaidlaw Ross Laidlaw
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment