Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-1897

Add PortMapper to Fuse e.g., to map between public and private ports in OpenShift

    XMLWordPrintable

Details

    • % %

    Description

      For example, when creating CXF endpoints using (blueprint.xml file):

          <jaxws:server id="service1" serviceClass="io.fabric8.demo.cxf.Hello" address="http://$[bind.address]:$[app1.port]/server/server1">
              <jaxws:serviceBean>
                   <ref component-id="hello1" />
              </jaxws:serviceBean>
          </jaxws:server>
      

      I'd like to be able to convert:

      this mapping (3001 → 47106) is available in System.getEnv() - OpenShift has two (among others) files (in /var/lib/openshift/540844c8e659c55e54000053/.env):

      • OPENSHIFT_FUSE_APP_PORT_1 (contains 3001)
      • OPENSHIFT_FUSE_APP_PORT_1_PROXY_PORT (contains 47106)

      Attachments

        Issue Links

          Activity

            People

              ggrzybek Grzegorz Grzybek
              ggrzybek Grzegorz Grzybek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: