Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5703

Make CXF OSGi Blueprint implementation neutral (not depending on Apache Aries namespace handler)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.11, 2.6.14
    • Fix Version/s: 3.0
    • Component/s: OSGi
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      In order to use Blueprint in Eclipse OSGi environment, I have to use Apache Aries, because the *.xml defined in OSGI-INF/blueprint requires namespace handler from Apache Aries. I cannot use Eclipse's Blueprint implementation Gemini. Can these *.xml defined in a way implementation neutral? So that, if somebody uses Karaf/Felix, they prefer Apache Aries; somebody else uses Eclipse Equinox, they prefer Gemini.

      For example, osgiservlet.xml relines on
      xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"

      <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
      
                 xsi:schemaLocation="
                  http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
      
        <cm:property-placeholder persistent-id="org.apache.cxf.osgi" id="cxfOsgiProperties">
      
          <cm:default-properties>
      
            <cm:property name="org.apache.cxf.servlet.context" value="/cxf"/>
            <cm:property name="org.apache.cxf.servlet.name" value="cxf-osgi-transport-servlet"/>
            <cm:property name="org.apache.cxf.servlet.hide-service-list-page" value="false"/>
            <cm:property name="org.apache.cxf.servlet.disable-address-updates" value="false"/>
            <cm:property name="org.apache.cxf.servlet.base-address" value=""/>
            <cm:property name="org.apache.cxf.servlet.service-list-path" value=""/>
            <cm:property name="org.apache.cxf.servlet.static-resources-list" value=""/>
            <cm:property name="org.apache.cxf.servlet.redirects-list" value=""/>
            <cm:property name="org.apache.cxf.servlet.redirect-servlet-name" value=""/>
            <cm:property name="org.apache.cxf.servlet.redirect-servlet-path" value=""/>
            <cm:property name="org.apache.cxf.servlet.service-list-all-contexts" value=""/>
            <cm:property name="org.apache.cxf.servlet.service-list-page-authenticate" value="false"/>
            <cm:property name="org.apache.cxf.servlet.service-list-page-authenticate-realm" value="karaf"/>
          </cm:default-properties>
      
        </cm:property-placeholder>
      
        <bean id="destinationRegistry" class="org.apache.cxf.transport.http.DestinationRegistryImpl"/>
      .....
      

      I originally had a research to bring in CXF into Eclipse Equinox which causes a lot of struggle, see http://www.eclipse.org/forums/index.php/t/687219/.

        Issue Links

          Activity

          Hide
          dkulp Daniel Kulp added a comment -

          Already resolved for 3.0

          Show
          dkulp Daniel Kulp added a comment - Already resolved for 3.0

            People

            • Assignee:
              chris@die-schneider.net Christian Schneider
              Reporter:
              samz2000 samz2000
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development