Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes FhirRepository class #214

Conversation

brendankowitz
Copy link
Member

@brendankowitz brendankowitz commented Nov 20, 2018

Refactors the functionality from FhirRepository into the respective message handlers, #285

@brendankowitz brendankowitz added the Enhancement-Refactor Refactor on existing functionality. label Nov 20, 2018

namespace Microsoft.Health.Fhir.Core.Features.Resources.Delete
{
public class FireEventForDeleteResourceBehavior :
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should remove the event stuff for now since we're not using it. Same goes for the UpsertedEvent

Copy link
Member Author

Choose a reason for hiding this comment

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

These should probably replace the AuditFilters...next time then.

@brendankowitz brendankowitz force-pushed the personal/bkowitz/remove-repository branch 2 times, most recently from b716055 to 686728a Compare December 7, 2018 00:53

namespace Microsoft.Health.Fhir.Core.Extensions
{
public static class FhirRepositoryExtensions
Copy link
Member

Choose a reason for hiding this comment

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

Use these from controller. Maybe include search?

@brendankowitz brendankowitz force-pushed the personal/bkowitz/remove-repository branch from 0525eb2 to 3813635 Compare December 12, 2018 02:00
@brendankowitz brendankowitz force-pushed the personal/bkowitz/remove-repository branch from 3813635 to d5b1443 Compare December 12, 2018 02:08
@brendankowitz brendankowitz force-pushed the personal/bkowitz/remove-repository branch from d5b1443 to 6f418f1 Compare December 12, 2018 17:35
@brendankowitz brendankowitz merged commit 090e818 into microsoft:master Dec 13, 2018
@brendankowitz brendankowitz deleted the personal/bkowitz/remove-repository branch December 13, 2018 16:39
poadhika pushed a commit that referenced this pull request Jan 2, 2019
Removes the FhirRepository layer and moves the existing logic into the corresponding request handlers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement-Refactor Refactor on existing functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants