Skip to content

Commit

Permalink
Merge pull request openedx#34417 from qasimgulzar/qasim/DEPR/git-issu…
Browse files Browse the repository at this point in the history
…e-34342

[DEPR]: Remove Neo4J Support openedx#34342
  • Loading branch information
Feanil Patel authored May 28, 2024
2 parents 63e940d + 48cdbce commit 4085066
Show file tree
Hide file tree
Showing 20 changed files with 1 addition and 1,831 deletions.
1 change: 0 additions & 1 deletion .github/workflows/unit-test-shards.json
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@
"paths": [
"cms/djangoapps/api/",
"cms/djangoapps/cms_user_tasks/",
"cms/djangoapps/coursegraph/",
"cms/djangoapps/course_creators/",
"cms/djangoapps/export_course_metadata/",
"cms/djangoapps/maintenance/",
Expand Down
7 changes: 0 additions & 7 deletions cms/djangoapps/contentstore/signals/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,6 @@ def listen_for_course_publish(sender, course_key, **kwargs): # pylint: disable=
update_search_index,
update_special_exams_and_publish
)
from cms.djangoapps.coursegraph.tasks import (
dump_course_to_neo4j
)

# DEVELOPER README: probably all tasks here should use transaction.on_commit
# to avoid stale data, but the tasks are owned by many teams and are often
Expand All @@ -146,10 +143,6 @@ def listen_for_course_publish(sender, course_key, **kwargs): # pylint: disable=
# Push the course outline to learning_sequences asynchronously.
update_outline_from_modulestore_task.delay(course_key_str)

if settings.COURSEGRAPH_DUMP_COURSE_ON_PUBLISH:
# Push the course out to CourseGraph asynchronously.
dump_course_to_neo4j.delay(course_key_str)

# Kick off a courseware indexing action after the data is ready
if CoursewareSearchIndexer.indexing_is_enabled() and CourseAboutSearchIndexer.indexing_is_enabled():
transaction.on_commit(lambda: update_search_index.delay(course_key_str, datetime.now(UTC).isoformat()))
Expand Down
120 changes: 0 additions & 120 deletions cms/djangoapps/coursegraph/README.rst

This file was deleted.

Empty file.
123 changes: 0 additions & 123 deletions cms/djangoapps/coursegraph/admin.py

This file was deleted.

25 changes: 0 additions & 25 deletions cms/djangoapps/coursegraph/apps.py

This file was deleted.

Empty file.
Empty file.
Loading

0 comments on commit 4085066

Please sign in to comment.