To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorUpdate report request status
- Scenarios
-
- Report generation is successfully completed
-
Once a report has been generated and uploaded to gdrive, we need to set that status of the report request
to completed.- Given
-
a "Record Report Request Completion" job version "1" is invoked with the following uic:
targets attributes <ns>;ReportRequest;<report_request_id>;1 <ns>;ReportRequestCompleted;<request_completed_id>;0 <request_completed_id>;executed_datetime;123454111 <request_completed_id>;output_directory;whatever <request_completed_id>;resource_id;whatever_url_it_is - And
- the "ReportRequest" with id "<report_request_id>" is a :requested_report_request that already exists
- When
- the request to "Record Report Request Completion" is received
- Then
-
a new "ReportRequestCompleted" will be created under "ReportRequest" with:
attribute value domain_obj_id <request_completed_id> domain_obj_state active output_directory whatever resource_id whatever_url_it_is - And
-
the "ReportRequest" will be updated with:
attribute value domain_obj_state successful
- Report has failed to be generated
-
This scenario handles when a report generation has failed to be completed.
- Given
-
a "Record Report Request Failure" job version "1" is invoked with the following uic:
targets attributes <ns>;ReportRequest;<report_request_id>;1 <ns>;ReportRequestFailed;<request_failed_id>;0 <request_failed_id>;executed_datetime;123454111 <request_failed_id>;reason_for_failure;whatever - And
- the "ReportRequest" with id "<report_request_id>" is a :requested_report_request that already exists
- When
- the request to "Record Report Request Failure" is received
- Then
-
a new "ReportRequestFailed" will be created under "ReportRequest" with:
attribute value domain_obj_id <request_failed_id> domain_obj_state active reason_for_failure whatever - And
-
the "ReportRequest" will be updated with:
attribute value domain_obj_state failed
Last published over 7 years ago by nbeagley.