Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-536

Allow access to the decision-central image git repository

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.1.GA
    • 7.0.0.GA
    • Decision Central
    • OpenShift 3.7, Red Hat Decision Manager 7.0.0.GA

    Description

      Decision Central on OpenShift does not export the HTTP Git port (9418) and SSH Git port(8001) and services. This makes it impossible to, for example, clone the Decision Central Git repo's. Developers cannot clone the Git repo's onto their development machines, CI/CD environments (e.g. Jenkins) cannot clone the repo's to do builds, etc.

      Currently I resolve this by patching the service and exposing a route:

      oc patch svc/rhdm7-cicd-rhdmcentr --type='json' -p="[{'op': 'add', 'path': '/spec/ports/0/name', 'value': 'http'}]"
          oc patch svc/rhdm7-cicd-rhdmcentr -p '{"spec":{"ports":[{"name":"git","port":9418,"protocol":"TCP", "targetPort":9418}]}}'
          oc patch route/rhdm7-cicd-rhdmcentr -p '{"spec":{"port":{"targetPort":"http"}}}'
      

      And I think I also need to also set the following Java system props using JAVA_OPTS_APPEND:

      • org.uberfire.nio.git.daemon.host
      • org.uberfire.nio.git.ssh.host
        and point them to "0.0.0.0", as by default they bind to localhost.

      Attachments

        Issue Links

          Activity

            People

              dward-se-jboss David Ward
              rhn-gps-ddoyle Duncan Doyle (Inactive)
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: