-
Notifications
You must be signed in to change notification settings - Fork 1
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
DMP-2948: Encoding Event element as escaped string #383
Conversation
9427011
to
b9504ed
Compare
@@ -31,15 +33,15 @@ public class DarNotifyEventServiceImpl implements DarNotifyEventService { | |||
@Override | |||
public void darNotify(DarNotifyEvent darNotifyEvent) { | |||
if (enableDarNotify) { | |||
DARNotifyEvent xmlDarNotifyEvent = convertToXmlDarNotifyEvent(darNotifyEvent); | |||
darNotifyEventClient.darNotifyEvent(darNotifyEvent.getNotificationUrl(), xmlDarNotifyEvent); | |||
var eventAsXml = createEvent(darNotifyEvent); |
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.
Is this Xml? If not, maybe rename var
bb6ac94
to
20c3c74
Compare
@@ -0,0 +1,36 @@ | |||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |||
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> |
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.
2 very similar schemas in this folder. If both are needed, maybe add a comment to this file to make clear to a future developer why we need both and what the difference is.
https://tools.hmcts.net/jira/browse/DMP-2948
Encoding Event element as escaped string
Does this PR introduce a breaking change? (check one with "x")