Uploaded image for project: 'KIE Cloud'
  1. KIE Cloud
  2. KIECLOUD-160

Add HTTP protocol to Business Central git in OpenShift

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 7.5.0.GA
    • 7.3.0.GA
    • RHDM, RHPAM
    • None

      Support new git http properties added in AF-1908:

      "It's not an easy task to setup SSH support in Kubernetes/OpenShift environment, so it's necessary to provide a more friendly protocol.

      HTTP is fully supported by OCP."

      Http properties in kiegroup/appformer:
      uberfire-nio2-backport/uberfire-nio2-impls/uberfire-nio2-jgit/src/main/java/org/uberfire/java/nio/fs/jgit/JGitFileSystemProviderConfiguration.java

      public static final String GIT_HTTP_ENABLED = "org.uberfire.nio.git.http.enabled";
      public static final String GIT_HTTP_HOSTNAME = "org.uberfire.nio.git.http.hostname";
      public static final String GIT_HTTP_HOST = "org.uberfire.nio.git.http.host";
      public static final String GIT_HTTP_PORT = "org.uberfire.nio.git.http.port";
      
      public static final String GIT_HTTP_SSL_VERIFY = "org.uberfire.nio.git.http.sslVerify";
      
      public static final String SSH_OVER_HTTP = "org.uberfire.nio.git.proxy.ssh.over.http";
      public static final String SSH_OVER_HTTPS = "org.uberfire.nio.git.proxy.ssh.over.https";
      
      public static final String HTTP_PROXY_HOST = "http.proxyHost";
      public static final String HTTP_PROXY_PASSWORD = "http.proxyPassword";
      public static final String HTTP_PROXY_PORT = "http.proxyPort";
      public static final String HTTP_PROXY_USER = "http.proxyUser";
      public static final String HTTPS_PROXY_HOST = "https.proxyHost";
      public static final String HTTPS_PROXY_PASSWORD = "https.proxyPassword";
      public static final String HTTPS_PROXY_PORT = "https.proxyPort";
      public static final String HTTPS_PROXY_USER = "https.proxyUser";
      
      public static final Boolean DEFAULT_GIT_HTTP_SSL_VERIFY = Boolean.TRUE;
      
      public static final String DEFAULT_HTTP_ENABLED = "true";
      public static final String DEFAULT_HTTP_PORT = "8080";
      public static final String DEFAULT_HTTPS_ENABLED = "false";
      public static final String DEFAULT_HTTPS_PORT = "8443";
      public static final String DEFAULT_SSH_OVER_HTTP = "false";
      public static final String DEFAULT_SSH_OVER_HTTPS = "false";
      

            rhn-support-zanini Ricardo Zanini Fernandes
            dward-se-jboss David Ward
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: