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

Index project script should also reindex timelines and milestones #608

Open
maxceem opened this issue Dec 29, 2020 · 1 comment
Open

Index project script should also reindex timelines and milestones #608

maxceem opened this issue Dec 29, 2020 · 1 comment

Comments

@maxceem
Copy link
Contributor

maxceem commented Dec 29, 2020

We have endpoint for re-indexing project by admin: /projects/admin/es/project/index, see https://github.com/topcoder-platform/tc-project-service/blob/develop/src/routes/admin/project-index-create.js

  • When we call it reindex all the data we have in the project index.
  • Though we also have some data in timelines index, like timelines and milestones of the project.
  • So when we reindex project, we also have to find all the timelines and milestones of the project and reindex them too.

The same should also work for data export script:

  • npm run data:import and npm run local:init

For the demo, we have to update npm run data:export script so it also exports timelines and milestones of the projects and updates demo data accordingly.

@RishiRajSahu
Copy link
Contributor

fyi @vikasrohit

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

No branches or pull requests

2 participants