-
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
fix(rest): Added a commit message while create a moderation request. #2405
base: main
Are you sure you want to change the base?
fix(rest): Added a commit message while create a moderation request. #2405
Conversation
37f04fa
to
798d2a2
Compare
92785fb
to
b7b3c51
Compare
b7b3c51
to
fcd4263
Compare
(from discussion) The new front-end should be aware that current action will result in a Moderation Request and should capture comment from user before submitting. This is the current behavior of existing UI with Liferay. |
fcd4263
to
655f85c
Compare
d74f7ea
to
029d4bd
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.
Lot of irrelevant changes make PR hard to review. Please revert them.
...erver/src/main/java/org/eclipse/sw360/rest/resourceserver/component/ComponentController.java
Show resolved
Hide resolved
...erver/src/main/java/org/eclipse/sw360/rest/resourceserver/component/ComponentController.java
Show resolved
Hide resolved
...erver/src/main/java/org/eclipse/sw360/rest/resourceserver/component/ComponentController.java
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
...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
029d4bd
to
887b2cf
Compare
50e9cec
to
3c7ca36
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.
Response status needs to be changed for bad request.
...erver/src/main/java/org/eclipse/sw360/rest/resourceserver/component/ComponentController.java
Show resolved
Hide resolved
...erver/src/main/java/org/eclipse/sw360/rest/resourceserver/component/ComponentController.java
Show resolved
Hide resolved
...erver/src/main/java/org/eclipse/sw360/rest/resourceserver/component/ComponentController.java
Show resolved
Hide resolved
...erver/src/main/java/org/eclipse/sw360/rest/resourceserver/component/ComponentController.java
Show resolved
Hide resolved
...erver/src/main/java/org/eclipse/sw360/rest/resourceserver/component/ComponentController.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
...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
3c7ca36
to
6a5d415
Compare
@GMishx , Addressed comment. |
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.
@nikkuma7 one thing I noticed is for requests where a map object is used in request body, the additional parameter for Something like @Parameter(description = "Project with `dependencyNetwork` set. Add `comment` field in the body for moderation request.",
schema = @Schema(implementation = Project.class))
@RequestBody Map<String, Object> reqBodyMap This will be required for following functions:
|
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.
Missed it.
...erver/src/main/java/org/eclipse/sw360/rest/resourceserver/component/ComponentController.java
Outdated
Show resolved
Hide resolved
6a5d415
to
66232d6
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.
Needs test.
@nikkuma7 please rebase for testing. |
66232d6
to
3d30bf2
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.
@nikkuma7 please rebase for testing. |
Bumps org.apache.velocity:velocity-engine-core from 2.4 to 2.4.1. --- updated-dependencies: - dependency-name: org.apache.velocity:velocity-engine-core dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Nikesh kumar <[email protected]>
3d30bf2
to
3040c25
Compare
Issue: Closes : #2404
Suggest Reviewer
How To Test?
Checklist
Must: