Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1188601

Summary: BC ignoring GIT and SSH daemon settings.
Product: [Retired] JBoss BPMS Platform 6 Reporter: Marek Baluch <mbaluch>
Component: Build and AssemblyAssignee: Alexandre Porcelli <porcelli>
Status: CLOSED EOL QA Contact: Marek Baluch <mbaluch>
Severity: high Docs Contact:
Priority: high    
Version: 6.1.0CC: etirelli, kverlaen, porcelli, wmedvede
Target Milestone: ER5   
Target Release: 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 18:33:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marek Baluch 2015-02-03 11:05:03 UTC
*** Description of problem

When GIT and SSH daemon settings are changed by using 

org.uberfire.nio.git.daemon.hostport,
org.uberfire.nio.git.ssh.hostport

properties then BC still displays the old values in the repository editor screen.

*** How to reproduce

1/ increase both ports by 1 using the above properties to 9419 and 8002.
2/ restart the server
3/ go to BC 'repository editor' screen

*** Actual result
BC displays repository URLs like:

ssh://localhost:8001/repository1
git://localhost:9418/repository1

and 

git clone git://localhost:9418/repository1
git clone ssh://user@localhost:8001/repository1

do not work anymore, but the work with the ports increased by 1.

Comment 1 Marek Baluch 2015-02-03 11:06:01 UTC
Correction: ... do not work anymore, but they work with ports increased by 1

Comment 3 Alexandre Porcelli 2015-02-10 17:03:25 UTC
Just tested here with latest changes (6.2.x) and it seems to work as expected.

Important to be aware that now we have 4 variables to configure ports:

org.uberfire.nio.git.daemon.port -> internal port
org.uberfire.nio.git.daemon.hostport -> external port
org.uberfire.nio.git.ssh.hostport -> internal port
org.uberfire.nio.git.ssh.port -> external port

Even if both (ssh or git) pairs are the same, you still need to configure both. Internal and external are needed more to cloud enviroment where you may have a different setup.

Comment 4 Marek Baluch 2015-02-13 09:36:37 UTC
Verified on 6.1.0.ER5.