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

new search urls #1619

Merged
merged 1 commit into from
Feb 13, 2024
Merged
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
8 changes: 8 additions & 0 deletions pillar/heroku/ocw-studio.sls
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
'OCW_STUDIO_SUPPORT_EMAIL': '[email protected]',
'OPEN_CATALOG_URLS': 'https://discussions-ci.odl.mit.edu/api/v0/ocw_next_webhook/,https://mitopen-rc.odl.mit.edu/api/v1/ocw_next_webhook/',
'SEARCH_API_URL': 'https://discussions-ci.odl.mit.edu/api/v0/search/',
'COURSE_SEARCH_API_URL': 'https://mit-open-rc.odl.mit.edu/api/v1/learning_resources_search/',
'CONTENT_FILE_SEARCH_API_URL': 'https://mit-open-rc.odl.mit.edu/api/v1/content_file_search/',
'sentry_log_level': 'WARN',
'SITE_NAME': 'MIT OCW Studio CI',
'SOCIAL_AUTH_SAML_SP_ENTITY_ID': 'https://ocw-studio-ci.odl.mit.edu/saml/metadata',
Expand Down Expand Up @@ -75,6 +77,8 @@
'OCW_STUDIO_SUPPORT_EMAIL': '[email protected]',
'OPEN_CATALOG_URLS': 'https://discussions-rc.odl.mit.edu/api/v0/ocw_next_webhook/,https://mitopen-rc.odl.mit.edu/api/v1/ocw_next_webhook/',
'SEARCH_API_URL': 'https://discussions-rc.odl.mit.edu/api/v0/search/',
'COURSE_SEARCH_API_URL': 'https://mit-open-rc.odl.mit.edu/api/v1/learning_resources_search/',
'CONTENT_FILE_SEARCH_API_URL': 'https://mit-open-rc.odl.mit.edu/api/v1/content_file_search/',
'sentry_log_level': 'WARN',
'SITE_NAME': 'MIT OCW Studio RC',
'SOCIAL_AUTH_SAML_SP_ENTITY_ID': 'https://ocw-studio-rc.odl.mit.edu/saml/metadata',
Expand Down Expand Up @@ -116,6 +120,8 @@
'OCW_STUDIO_SUPPORT_EMAIL': '[email protected]',
'OPEN_CATALOG_URLS': 'https://open.mit.edu/api/v0/ocw_next_webhook/,https://mitopen.odl.mit.edu/api/v1/ocw_next_webhook/',
'SEARCH_API_URL': 'https://open.mit.edu/api/v0/search/',
'COURSE_SEARCH_API_URL': 'https://mitopen.odl.mit.edu/api/v1/learning_resources_search/',
'CONTENT_FILE_SEARCH_API_URL': 'https://mitopen.odl.mit.edu/api/v1/content_file_search/',
'sentry_log_level': 'WARN',
'SITE_NAME': 'MIT OCW Studio',
'SOCIAL_AUTH_SAML_SP_ENTITY_ID': 'https://ocw-studio.odl.mit.edu/saml/metadata',
Expand Down Expand Up @@ -213,6 +219,8 @@ heroku:
OPEN_CATALOG_URLS: {{ env_data.OPEN_CATALOG_URLS }}
PREPUBLISH_ACTIONS: videos.tasks.update_transcripts_for_website,videos.youtube.update_youtube_metadata,content_sync.tasks.update_website_in_root_website
SEARCH_API_URL: {{ env_data.SEARCH_API_URL }}
COURSE_SEARCH_API_URL: {{ env_data.COURSE_SEARCH_API_URL }}
CONTENT_FILE_SEARCH_API_URL: {{ env_data.CONTENT_FILE_SEARCH_API_URL }}
SECRET_KEY: __vault__:gen_if_missing:secret-{{ business_unit }}/{{ app }}/{{ environment }}/django-secret-key>data>value
SENTRY_DSN: __vault__::secret-operations/global/{{ business_unit }}/ocw-studio/sentry-dsn>data>value
SENTRY_LOG_LEVEL: {{ env_data.sentry_log_level }}
Expand Down