Please follow these checklists to help prevent any unexpected issues from being introduced by the changes in this pull request. If an item does not apply then indicate so by surrounding the line item with ~~ to strikethrough the text. See basic writing and formatting syntax for more information.
I. Web service and data model checklist
Please follow these checks if any changes were made to any classes in the web, service, or persistence layers.
Code checks:
[ ] Endpoints were tested to ensure their integrity.
[ ] Screenshots have been provided to demonstrate changes made to the response body JSON schema and/or swagger page.
[x] Unit tests were updated in relation to updates to the mocked test data.
II. Neo4j models and database schema checklist:
[ ] Neo4j persistence models were changed.
[x] The graph database produces the expected changes to models, relationships, and/or property names. [provide screenshot of updated elements in graph db below]
III. Message handlers checklist:
[x] Changes in this PR affect the workflow of incoming messages.
[x] Messages are following the expected workflow when published to the topic(s) changed or introduced in this pull request.
[ ] Unit tests were added to ensure messages are handled as expected.
If no unit tests were updated or added, then please explain why: Tested workflow on dev server.
Please describe how the workflow and messaging was tested/simulated:
Describe your testing environment:
NATS [local, local docker, dev server, production]
Neo4j [local, local docker, dev server, production]
SMILE Server [local, local docker, dev server, production]
Other: [insert details on how messages were published or simulated for testing]
IV. Configuration and/or permissions checklist:
[x] New topics were introduced.
[x] The topics and appropriate permissions were updated in smile-configuration.
[ ] If applicable, a new account was set up and the account credentials and keys are checked into smile-configuration.
[ ] Account credentials and keys were shared with the appropriate parties.
General checklist:
[ ] All requested changes and comments have been resolved.
[ ] The commit log is comprehensible. It follows 7 rules of great commit messages. For most PRs a single commit should suffice, in some cases multiple topical commits can be useful. During review it is ok to see tiny commits (e.g. Fix reviewer comments), but right before the code gets merged to master or rc branch, any such commits should be squashed since they are useless to the other developers. Definitely avoid merge commits, use rebase instead.
Added message handler for req-reply topic for gettign samples by CMO label.
Related changes:
Note: Only samples that have the CMO sample label assigned to their latest metadata will be considered matches.
Added a unit test for the new method and mock test data.
Signed-off-by: Angelica Ochoa 15623749+ao508@users.noreply.github.com
Crossing T's and dotting I's
Please follow these checklists to help prevent any unexpected issues from being introduced by the changes in this pull request. If an item does not apply then indicate so by surrounding the line item with
~~
to strikethrough the text. See basic writing and formatting syntax for more information.I. Web service and data model checklist
Please follow these checks if any changes were made to any classes in the web, service, or persistence layers.
Code checks:
II. Neo4j models and database schema checklist:
Neo4j persistence models were changed.III. Message handlers checklist:
Unit tests were added to ensure messages are handled as expected.If no unit tests were updated or added, then please explain why: Tested workflow on dev server.
Please describe how the workflow and messaging was tested/simulated:
Describe your testing environment:
Other: [insert details on how messages were published or simulated for testing]
IV. Configuration and/or permissions checklist:
If applicable, a new account was set up and the account credentials and keys are checked into smile-configuration.Account credentials and keys were shared with the appropriate parties.General checklist: