Skip to content

feat: ENTERPRISE_ALGOLIA_SEARCH_API_KEY setting [BB-8083] - #602

Closed
0x29a wants to merge 1 commit into
opencraft-release/palm.1from
0x29a/bb8083/per-user-algolia-key
Closed

feat: ENTERPRISE_ALGOLIA_SEARCH_API_KEY setting [BB-8083]#602
0x29a wants to merge 1 commit into
opencraft-release/palm.1from
0x29a/bb8083/per-user-algolia-key

Conversation

@0x29a

@0x29a 0x29a commented Nov 10, 2023

Copy link
Copy Markdown

Description

Adds a new ENTERPRISE_ALGOLIA_SEARCH_API_KEY setting that's intended to be consumed by edx-enterprise service. See this PR for more details: open-craft/edx-enterprise#11

@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment started.

@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment successful.

Sandbox LMS is available at pr-602-0e7f8a.staging.do.opencraft.hosting
Sandbox Studio is available at studio.pr-602-0e7f8a.staging.do.opencraft.hosting

@0x29a 0x29a changed the title feat: ENTERPRISE_ALGOLIA_SEARCH_API_KEY setting feat: ENTERPRISE_ALGOLIA_SEARCH_API_KEY setting [BB-8083] Nov 14, 2023

@CefBoud CefBoud left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

@Agrendalath Agrendalath left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@0x29a, please see the review comment and open-craft/edx-enterprise#11 (comment). We don't need to add this to the edx-platform.

Comment thread lms/envs/production.py
Comment on lines +887 to +890
ENTERPRISE_ALGOLIA_SEARCH_API_KEY = ENV_TOKENS.get(
'ENTERPRISE_ALGOLIA_SEARCH_API_KEY',
ENTERPRISE_ALGOLIA_SEARCH_API_KEY
)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: using explicit ENV_TOKENS is a legacy thing - YAML configs are used automatically.

@0x29a 0x29a closed this Nov 17, 2023
@0x29a
0x29a deleted the 0x29a/bb8083/per-user-algolia-key branch November 17, 2023 12:32
@open-craft-grove

Copy link
Copy Markdown

Sandbox update request received. Deployment will start soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants