[
https://issues.apache.org/jira/browse/AIRAVATA-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17681458#comment-17681458
]
Eroma commented on AIRAVATA-3680:
---------------------------------
[~marcuschristie] Functionality is working and the test cases passed. It would
be better user experience if we could handle the search using experiment IDs
similar to searching with job ID. Except for the exceptions to show proper
messages.
Test Cases for the Fix
# Search by a valid existing experiment ID - The experiment is retrieved and
displayed to the admin.{*}: PASS{*}
# Search by non-existing experiment ID - Throws
"AiravataSystemException(airavataErrorType=2, message='Error while getting the
experiment. More info : Requested experiment id
Clone_of_Gaussian16_on_Jan_25,_2023_1:32_PM_d3c18fe5-6b2b- does not exist in
the system..')" *: PASS*
# Search by 'NULL' as the experiment ID - Throws "
AiravataSystemException(airavataErrorType=2, message='Error while getting the
experiment. More info : Requested experiment id NULL does not exist in the
system..')" *: PASS*
# Search without a string as the experiment ID - the 'Load' button is
disabled. *: PASS*
# Search by job ID as the experiment ID - Throws the exception
"AiravataSystemException(airavataErrorType=2, message='Error while getting the
experiment. More info : Requested experiment id 19183525 does not exist in the
system..')" *: PASS*
# Search by a valid existing job ID The job is retrieved and displayed to the
admin. *: PASS*
# Search by non-existing job ID - Displays "No experiment exists with job id
1918352" *: PASS*
# Search by 'NULL' as the job ID - Displays "No experiment exists with job id
NULL" *: PASS*
# Search without a string as the job ID - Cannot do this as the 'Load' button
is disabled for space and non-existing String *: PASS*
# Search by experiment ID as the job ID - Displays "No experiment exists with
job id
Clone_of_Gaussian16_on_Jan_25,_2023_1:32_PM_d3c18fe5-6b2b-476f-973a-f242728fdb8a"
*: PASS*
# Search by giving DEFAULT_JOB_ID as the experiment ID - Exception thrown
"AiravataSystemException(airavataErrorType=2, message='Error while getting the
experiment. More info : Requested experiment id DEFAULT_JOB_ID does not exist
in the system..')" *: PASS*
# Search by giving DEFAULT_JOB_ID as the job ID - Latest with the given value
is displayed and also gives the message "More than one experiment matches job
id DEFAULT_JOB_ID, showing the latest one" - *: PASS*
> Add search by job id to Experiment Statistics in Django portal
> --------------------------------------------------------------
>
> Key: AIRAVATA-3680
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3680
> Project: Airavata
> Issue Type: New Feature
> Components: Django Portal
> Reporter: Marcus Christie
> Assignee: Marcus Christie
> Priority: Major
> Labels: Jan/2023
>
> In addition to looking up experiments by experiment id, also have an option
> to look up by job id on the experiment statistics page.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)