Skip to content

Commit

Permalink
Set internet connectivity functionality off by default. Other configs.
Browse files Browse the repository at this point in the history
Also include internet related parameters in application.example.conf. It is easy to accidentally commit connection settings while developing, so by  putting them in the example config that becomes the gitignored application.dev.config, this change hopes to cut down on accidentally commited defaults changes
  • Loading branch information
Alexander Nakhleh authored and Kevin Zurek committed May 23, 2018
1 parent 3dd9c1c commit 7be9409
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ play.modules.enabled += "femr.util.dependencyinjection.modules.SeederModule"
# This scheduler will check for internet connectivity and inform and
# endpoint defined by locationDataEndpoint
# It will also try to build a reverse SSH connection to the server running fEMR
internetconnection.enableInternetConnectivityFunctionality = true
internetconnection.enableInternetConnectivityFunctionality = false
# Time to wait before the task times out
internetconnection.timeoutInMiliseconds = 1000
# How often the scheduled task will check for internet
Expand All @@ -66,7 +66,7 @@ internetconnection.sshUser = ""
internetconnection.sshHost = ""
# SSH key that is not password protected
internetconnection.pathToSshKey = ""
#internetconnection.pathToSshKnownHosts = "/home/kevin/.ssh/known_hosts"
#internetconnection.pathToSshKnownHosts = "/home/<your user>/.ssh/known_hosts"
# Remote port listening for an SSH connection
internetconnection.remoteSshPort = 0
# Remote port that will forward SSH traffic
Expand Down
13 changes: 13 additions & 0 deletions conf/application.example.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,16 @@ photos.path="./Upload/Pictures/Patients"
photos.encounterPath="./Upload/Pictures/PatientEncounters"
photos.defaultProfilePhoto="./public/img/defaultProfile.png"
csv.path="./Upload/CSV"

internetconnection.enableInternetConnectivityFunctionality = false
internetconnection.sshUser = ""
internetconnection.sshHost = ""
# SSH key that is not password protected
internetconnection.pathToSshKey = ""
# Remote port listening for an SSH connection
internetconnection.remoteSshPort = 0
# Remote port that will forward SSH traffic
internetconnection.remoteSshPortForward = 0
# Local port listening for an SSH conncetion
internetconnection.localSshPort = 0
internetconnection.sshTimeoutInMilliseconds = 100000

0 comments on commit 7be9409

Please sign in to comment.