medic / cht-sync

Data synchronization between CouchDB and PostgreSQL for the purpose of analytics.
GNU General Public License v3.0
4 stars 5 forks source link

Add the port when saving the instance #166

Open njuguna-n opened 1 month ago

njuguna-n commented 1 month ago

Describe the bug Currently, instances that make use of a specific port for example cht.example.com:3000 and syncing the medic database will be saved as cht.example.com/medic in the source column in the couchdb_progress table.

To Reproduce

  1. Use a dev CHT Core instance in which the URL has a port
  2. Run CHT Sync and check the source column in the couchdb_progress table.

Expected behavior The instance URL is saved with the specified port.

Logs

Screenshots

Environment

Additional context