-
Notifications
You must be signed in to change notification settings - Fork 523
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
Removes FhirRepository class #214
Conversation
src/Microsoft.Health.Fhir.Core/Features/Resources/Get/GetResourceHandler.cs
Outdated
Show resolved
Hide resolved
|
||
namespace Microsoft.Health.Fhir.Core.Features.Resources.Delete | ||
{ | ||
public class FireEventForDeleteResourceBehavior : |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
src/Microsoft.Health.Fhir.Core/Messages/Delete/DeleteResourceResponse.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Health.Fhir.Core/Messages/Delete/ResourceDeletedEvent.cs
Outdated
Show resolved
Hide resolved
b716055
to
686728a
Compare
|
||
namespace Microsoft.Health.Fhir.Core.Extensions | ||
{ | ||
public static class FhirRepositoryExtensions |
There was a problem hiding this comment.
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?
0525eb2
to
3813635
Compare
3813635
to
d5b1443
Compare
d5b1443
to
6f418f1
Compare
Removes the FhirRepository layer and moves the existing logic into the corresponding request handlers.
Refactors the functionality from FhirRepository into the respective message handlers, #285