Skip to content

Commit

Permalink
Merge pull request #1488 from GSA/add-harvest-admin-url
Browse files Browse the repository at this point in the history
Add harvest admin URL
  • Loading branch information
Jin-Sun-tts authored Nov 6, 2024
2 parents d99ef5c + dbda142 commit f96089c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ CKANEXT__DATAGOVCATALOG__ADD_PACKAGES_TRACKING_INFO=false

# remove ckanext-harvest dependency
CKANEXT__DATAGOVTHEME__HARVEST_NEXT=True
CKANEXT__DATAGOVTHEME__HARVEST_ADMIN_URL=http://localhost:8080

# Render recent view using AJAX call to boost page loading speed
CKANEXT__DATAGOVTHEME__JS_RECENT_VIEW=true
Expand Down
3 changes: 3 additions & 0 deletions .profile
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ export CKANEXT__DATAGOVCATALOG__ADD_PACKAGES_TRACKING_INFO=false
# remove ckanext-harvest dependency
export CKANEXT__DATAGOVTHEME__HARVEST_NEXT=True

# add harvest admin url
export CKANEXT__DATAGOVTHEME__HARVEST_ADMIN_URL=$HARVEST_ADMIN_URL

# Render recent view using AJAX call to boost page loading speed
export CKANEXT__DATAGOVTHEME__JS_RECENT_VIEW=true

Expand Down
3 changes: 2 additions & 1 deletion manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ applications:
NEW_RELIC_MONITOR_MODE: ((new_relic_monitor_mode))
CKAN_SITE_URL: https://((route-public))
CKAN___GOOGLEANALYTICS__ID: ((googleanalytics_id))
HARVEST_ADMIN_URL: ((harvest_admin_url))

- name: ((app_name))-admin
buildpacks:
Expand Down Expand Up @@ -59,6 +60,7 @@ applications:
NEW_RELIC_HOST: gov-collector.newrelic.com
NEW_RELIC_MONITOR_MODE: ((new_relic_monitor_mode))
CKAN_SITE_URL: https://((route-external-admin))
HARVEST_ADMIN_URL: ((harvest_admin_url))

- name: ((app_name))-proxy
buildpacks:
Expand All @@ -80,4 +82,3 @@ applications:
EXTERNAL_ROUTE_ADMIN: ((route-external-admin))
INTERNAL_ROUTE_ADMIN: ((route-internal-admin))
DENY_PACKAGE_CREATE: ((deny_package_create))

2 changes: 2 additions & 0 deletions vars.development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,5 @@ saml2_certificate: |
googleanalytics_id: UA-00000000-4

deny_package_create: false

harvest_admin_url: https://datagov-harvest-admin-dev.app.cloud.gov

0 comments on commit f96089c

Please sign in to comment.