CE-1709: Create Operation log endpoint
A new endpoint: /api/v1/operation/log/{operation_id} has been introduced.
Response:
{ "operation_id": <operation_id>, "log" "<log presented below>" }
Log schema:
<span class="process-queued">[IOC instance: 'test-instance-1'] New item has been added the the queue for further processing.</span>
<span class="process-queued">[IOC instance: 'test-instance-2'] New item has been added the the queue for further processing.</span>
<span class="process-running">[IOC instance: 'test-instance-1'] Started processing item in the queue.</span>
<span class="process-running">[IOC instance: 'test-instance-1'] Output GIT repository has been created with project id: 9021</span>
<span class="process-running">[IOC instance: 'test-instance-1'] All files has been committed to the output GIT repository.</span>
<span class="process-running">[IOC instance: 'test-instance-1'] Output Git repository has been tagged with name: 'Version-10'</span>
<span class="process-success">[IOC instance: 'test-instance-1'] Item has been processed successfully.</span>
<span class="process-running">[IOC instance: 'test-instance-2'] Started processing item in the queue.</span>
<span class="process-running">[IOC instance: 'test-instance-2'] Output GIT repository has been created with project id: 9056</span>
<span class="process-running">[IOC instance: 'test-instance-2'] All files has been committed to the output GIT repository.</span>
<span class="process-running">[IOC instance: 'test-instance-2'] Output Git repository has been tagged with name: 'Version-10'</span>
<span class="process-success">[IOC instance: 'test-instance-2'] Item has been processed successfully.</span>
Failed log entry schema:
<span class="process-failed">[IOC instance: 'test-instance-2'] Failed to process IOC instance. Error message: 'Some error message came from the exception's message'</span>