Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add harvest admin URL #1488

Merged
merged 4 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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