Skip to content
This repository was archived by the owner on Sep 7, 2019. It is now read-only.

Conversation

@jsmith2
Copy link

@jsmith2 jsmith2 commented May 21, 2018

Adds ability to send SOAP header values from responding adapter to NwHIN response and also pull SOAP headers from NwHIN response and pass to requesting adapter.

This PR is for team review and only covers Document Query. After review, other needed services (PD/DR) will be updated and a regression test will also be added.

AssertionType assertion = new AssertionType();

StandardOutboundDocQuery entitydocqueryimpl = new StandardOutboundDocQuery(strategy, service, policyChecker) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of creating a new class definition and copy/pasting the same code 5 times in this file, perhaps a helper method to give you this object could be used? Smaller file size, less number of lines, and easier to maintain in the future.

Copy link
Author

Choose a reason for hiding this comment

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

Agree. Ignore the unit tests for now. Review is to determine if method of passing headers is effective and if the team has any better ways of doing it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants