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

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.0.0.GA
    • Fix Version/s: 7.0.1.GA
    • Component/s: Decision Central
    • Labels:
    • Environment:

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dward David Ward
                  Reporter:
                  McCloud Duncan Doyle
                  Tester:
                  Karel Suta
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: