Download the SAP Commerce Cloud (Hybris) 1905.X, for this example I use the version 1905.33
Requirement:
-
Set up new hybris project
-
Define new item type CustomerFeedbackReview with few properties (your choice)
-
Relate CustomerFeedbackReview to Customer item (one customer may have multiple feedbacks)
-
New extension to host the new code
-
OCC endpoint to return CustomerFeedbackReview for a given customer
Do the following backoffice customization:
- include all defined properties in CustomerFeedbackReview in advanced search
- place all defined properties in CustomerFeedbackReview in additional tab in editor area
- in listviewactions remove/disable possibility to delete CustomerFeedbackReview
Tests and TDD:
-
Service test
-
Facade test
-
Rest controller test
-
Client API test (Postman)