Skip to content

Commit

Permalink
cleaned settings.py
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Jul 18, 2023
1 parent a6eac8b commit bb09dd0
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
'''
Settings for DATIM-OCL scripts
'''
import os


# Capture the root directory for the project
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))

### Settings for different environments

# API tokens for different environments
api_token_qa_datim_admin = ''
api_token_staging_datim_admin = ''
api_token_production_datim_admin = ''
api_token_dev_datim_admin = ''

# OCL API URL root - no slash at the end
ocl_api_url_production = 'https://api.openconceptlab.org'
ocl_api_url_staging = 'https://api.staging.openconceptlab.org'
ocl_api_url_qa = 'https://api.qa.openconceptlab.org'
ocl_api_url_who_staging = 'https://api.staging.who.openconceptlab.org'
ocl_api_url_demo = 'https://api.demo.openconceptlab.org'
ocl_api_url_dev = 'https://api.dev.openconceptlab.org'

# IMAP Mediator URL roots - no slash at the end
imap_mediator_url_test = 'https://test.ohie.datim.org:5000'
imap_mediator_url_production = 'https://ohie.datim4u.org:5000'

# DATIM DHIS2 Credentials for different environments
dhis2env_devde = 'https://dev-de.datim.org'
dhis2uid_devde = ''
dhis2pwd_devde = ''
dhis2env_testgeoalign = 'https://test.geoalign.datim.org'
dhis2uid_testgeoalign = ''
dhis2pwd_testgeoalign = ''
dhis2env_geoalign = 'https://geoalign.datim.org'
dhis2uid_geoalign = ''
dhis2pwd_geoalign = ''

0 comments on commit bb09dd0

Please sign in to comment.