Project

Profile

Help

Refactor #891

closed

When we are finished converting all models to mongoengine, remove the SearchView's support for the old-style models

Added by rbarlow almost 9 years ago. Updated almost 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

We have a block of code in the SearchView[0] that decides how to search our models based on whether it is a new-style (mongoengine) or old-style (?) model. Once all of our models are converted to mongoengine, we should drop support for the old-style models in SearchView.

[0] https://github.com/pulp/pulp/blob/3a6ed463428123918b37505c525b76949cf7d881/server/pulp/server/webservices/views/search.py#L104-L114

Also available in: Atom PDF