Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-11409

Make Jaxrs work within the osgi container and allow access from the OpenNMS Jetty Container

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 22.0.0
    • Component/s: OSGi, REST
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      At the moment it is not possible to expose rest services via the osgi container. This is probably an issue with our http web bridge. Implementing rest services within osgi, need to be done in form of a servlet. See https://github.com/OpenNMS/opennms/blob/develop/features/datachoices/src/main/java/org/opennms/features/datachoices/web/internal/ApiServlet.java for example.
      Instead, using apache cxf with its <jaxrs:server> syntax should be used (http://cxf.apache.org/docs/jaxrs-services-configuration.html)

        Attachments

          Activity

            People

            • Assignee:
              mvr Markus von Rüden
              Reporter:
              mvr Markus von Rüden
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: