[Task] NullPointerException when called TaskResource.createTaskLogs

Description

CAPL - Bug default text according to the team DoR (Definition of Ready)

01 - PERSON OF CONTACT (PERSON THAT CAN ANSWER QUESTIONS ABOUT THE PROBLEM):

@Janderson Fernandes Cardoso
02 - PROBLEM (WHAT'S THE ISSUE?):

Analyzing the errors in the log
https://cloudlogging.app.goo.gl/jvRjwoNszeKEy8GdA

This endpoint was called without set the field mdmLogLevel , so we throw a NPE.

03 - STEPS TO REPRODUCE (STEP (1...N), VIDEO, SCREENSHOTS, LOGS FOLDER, HEARTBEAT, ETC. – IF IS NOT POSSIBLE TO REPRODUCE EXPLAIN THE REASON):
04 - LINKS (ADD A LINK TO THE BUG OR TO THE TENANT):
05 - EXPECTED BEHAVIOR (LIST THE EXPECTED BEHAVIORS TO CONSIDER THIS BUG AS DONE):

We need to add a validation to the required fields , when user doesn't set these required fields we need return a 400 (bad request) with a correct message.