Skip to content

Conversation

@andrey-canon
Copy link
Collaborator

@andrey-canon andrey-canon commented May 3, 2024

Description

This is a backport of openedx#33173
There are two extra commits

  1. Parse ordered dict to json format This allows to compare the response with the expected data
  2. This is taken from [OldMongo FC-0004] Remove support for children in Old Mongo  openedx/openedx-platform#31134 and basically allows to create a course with the new structure instead of the default old mongo structure

How to test

  1. Go to /api/contentstore/v1/course_rerun/<course-id>
  2. Go to /api/contentstore/v1/home
  3. Go to the studio main page

@andrey-canon andrey-canon force-pushed the and/backport_home_api branch 7 times, most recently from 75c8900 to 342b469 Compare May 7, 2024 18:04
@andrey-canon andrey-canon requested a review from johanseto May 7, 2024 18:08
Copy link
Collaborator

@johanseto johanseto left a comment

Choose a reason for hiding this comment

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

Is working the apis, and studio.
2024-05-08_16-10
2024-05-08_16-08

Copy link
Collaborator

Choose a reason for hiding this comment

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

This add new modulestore, the next commit add the import xD

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

My mistake I made a interactive rebase a this line was moved from the other commit

Copy link
Collaborator

Choose a reason for hiding this comment

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

Interesting, I think the response.data is in disorder so the json manipulation order it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Nop, the problem was that literally in palm appears an OrderedDict so that raises an error because a dict is dict different from an orderedDict

image

@andrey-canon andrey-canon force-pushed the and/backport_home_api branch from 342b469 to 23fe279 Compare May 8, 2024 21:51
@andrey-canon andrey-canon force-pushed the and/backport_tagging branch from 8c770b5 to e9ac94d Compare May 8, 2024 22:01
@andrey-canon andrey-canon changed the base branch from and/backport_tagging to open-release/palm.nelp May 9, 2024 23:23
@andrey-canon andrey-canon force-pushed the and/backport_home_api branch from 23fe279 to 7d8f3a5 Compare May 9, 2024 23:24
@andrey-canon andrey-canon merged commit b22a2b8 into open-release/palm.nelp May 14, 2024
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