Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Commit

Permalink
Server side repo set up for OpenSRP ANC Project backend
Browse files Browse the repository at this point in the history
  • Loading branch information
ndegwamartin committed Jun 18, 2018
1 parent 1f3810b commit 2a788b8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions assets/config/couchdb.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#this file is used by motech
host=localhost
port=5984
maxConnections=20
Expand Down
4 changes: 2 additions & 2 deletions assets/config/opensrp.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ mcts-report-delay-in-days=10
mcts.poll.time.interval.in.minutes=10

# OpenMRS configuration
openmrs.url=http://localhost:8181/openmrs/
openmrs.url=http://localhost:8080/openmrs/
openmrs.username=admin
openmrs.password=Admin123
openmrs.idgen.url=/module/idgen/exportIdentifiers.form
Expand Down Expand Up @@ -51,7 +51,7 @@ jdbc.backend=MYSQL
jdbc.driverClassName=com.mysql.jdbc.Driver
jdbc.username=root
jdbc.password=VA1913wm
jdbc.url=jdbc:mysql://localhost:3306/opensrp_hpv_uganda?createDatabaseIfNotExist=true
jdbc.url=jdbc:mysql://localhost:3306/opensrp_anc?createDatabaseIfNotExist=true

##jdbc url with server and port but without database
jdbc.url-wo-db=jdbc:mysql://localhost:3306
Expand Down
1 change: 1 addition & 0 deletions assets/config/schedule_tracking.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#this file is used by motech
schedule.definitions.directory=/schedules
2 changes: 1 addition & 1 deletion opensrp-web/src/main/resources/quartz.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ org.quartz.jobStore.tablePrefix = QRTZ_
org.quartz.jobStore.misfireThreshold = 300000

org.quartz.dataSource.motechDS.driver = com.mysql.jdbc.Driver
org.quartz.dataSource.motechDS.URL = jdbc:mysql://localhost:3306/motechquartz_uganda_hpv
org.quartz.dataSource.motechDS.URL = jdbc:mysql://localhost:3306/motechquartz_anc
org.quartz.dataSource.motechDS.user = root
org.quartz.dataSource.motechDS.password = VA1913wm
org.quartz.dataSource.motechDS.maxConnections = 30
Expand Down
2 changes: 1 addition & 1 deletion opensrp-web/src/main/webapp/META-INF/context.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
username="opensrp_admin"
password="admin"
driverClassName="org.postgresql.Driver"
url="jdbc:postgresql://localhost:5432/opensrp"
url="jdbc:postgresql://localhost:5432/opensrp_anc"
/>

</Context>

0 comments on commit 2a788b8

Please sign in to comment.