-
Notifications
You must be signed in to change notification settings - Fork 100
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
feat(Rest) : Advanced Search for project page #2851
base: main
Are you sure you want to change the base?
feat(Rest) : Advanced Search for project page #2851
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor changes for better documentation.
...ce-server/src/main/java/org/eclipse/sw360/rest/resourceserver/project/ProjectController.java
Outdated
Show resolved
Hide resolved
...ce-server/src/main/java/org/eclipse/sw360/rest/resourceserver/project/ProjectController.java
Outdated
Show resolved
Hide resolved
...ce-server/src/main/java/org/eclipse/sw360/rest/resourceserver/project/ProjectController.java
Outdated
Show resolved
Hide resolved
@keerthi-bl please fix the commit message as well. |
6319c03
to
eb9a778
Compare
...ce-server/src/main/java/org/eclipse/sw360/rest/resourceserver/project/ProjectController.java
Outdated
Show resolved
Hide resolved
...ce-server/src/main/java/org/eclipse/sw360/rest/resourceserver/project/ProjectController.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Keerthi B L <[email protected]>
eb9a778
to
1537205
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor change needed.
During testing, discovered another issue. The function call to getProjectsForUser()
(when lucene is false
) gives wrong amount of projects (always 20). Will open a separate issue for the same.
return getProjectResponse(pageable, projectType, group, tag, allDetails, luceneSearch, request, sw360User, | ||
mapOfProjects, isSearchByName, sw360Projects, isNoFilter); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getProjectResponse()
no longer requires filter of projectType
, group
, etc. as it is already done by filterProjectMap()
and refineSearch()
.
Created separate issue #2854 . Please fix the changes requested for merging this pr. |
Issue:
Closes : #2832
Description
Rest end point added with following parameters for advance search in a project list page.
Version, Project responsible, State, Clearing State, additional Data.
Suggest Reviewer
How To Test?
URL : http://localhost:8080/resource/api/projects?name=update&version=1.1&state=PHASE_OUT&[email protected]
Response :
{
}
Checklist
Must: