Skip the temp-service-create if already exists
- If a temp-service with a commonId already exists in the
data-store (temp-service-list), and if the temp-service-create
is issued, then the controller should fail with an error
message, indicating it already exists.
- Add code to check if the same commonId exists in the datastore
and add a failed response.
- Add a new Junit test to check it
JIRA: TRNSPRTPCE-753
Signed-off-by: Balagangadhar (Bala) Bathula <bb4341@att.com>
Co-authored-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I9f425e9febd8820f3053ecd5dfdd14f8a66279c4