Skip to content

Feature/bi 1716#254

Merged
davedrp merged 7 commits intodevelopfrom
feature/BI-1716
Jun 5, 2023
Merged

Feature/bi 1716#254
davedrp merged 7 commits intodevelopfrom
feature/BI-1716

Conversation

@davedrp
Copy link
Contributor

@davedrp davedrp commented May 23, 2023

Description

Story: BI-1716 Sub-story of BI-1644 View experiment: Details, Summary Stats, Actions

  • Added endpoint GET /v1/programs/{programId}/brapi/v2/trials/{trialId} to ExperimentController
  • Added getTrialDataByUUID() to BrAPITrialService.java in order to service the above endpoint and call DAO's.

Dependencies

bi-web: feature/BI-1717 branch

Testing

(See Acceptance Criteria in BI-1644)

Checklist:

  • I have performed a self-review of my own code
  • I have tested my code and ensured it meets the acceptance criteria of the story
  • I have create/modified unit tests to cover this change
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to documentation
  • I have run TAF: <link to TAF run>

@davedrp davedrp requested review from a team, dmeidlin and timparsons May 23, 2023 18:28
@timparsons timparsons removed the request for review from a team May 24, 2023 13:36
Copy link
Member

@timparsons timparsons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of very minor things. Approving assuming they will be addressed.


import javax.inject.Inject;
import javax.validation.Valid;
import java.util.HashMap;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This import statement isn't needed

}
return trial;
} catch (ApiException e) {
throw new InternalServerException(e.getMessage(), e);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a error log message here. You can use Utilities#generateApiExceptionLogMessage to generate a log message from the ApiException object.

@davedrp davedrp merged commit 525f7e0 into develop Jun 5, 2023
@davedrp davedrp deleted the feature/BI-1716 branch June 5, 2023 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants