Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AKTIN
dwh-import
Commits
a4c6348e
Commit
a4c6348e
authored
Jan 31, 2019
by
Majeed
Browse files
return HTTP 409 conflict for CDAStatus.Rejected
parent
daa17bd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
cda-server/src/main/java/org/aktin/cda/etl/fhir/Binary.java
View file @
a4c6348e
...
...
@@ -169,6 +169,8 @@ public class Binary implements ExternalInterface{
// Location header not allowed for status 200
hallihallo2
.
addUpdated
();
importSuccessful
=
true
;
}
else
if
(
stat
.
getStatus
()
==
Status
.
Rejected
)
{
response
=
Response
.
status
(
409
);
// HTTP conflict
}
else
{
throw
new
UnsupportedOperationException
(
"Unexpected CDA status "
+
stat
.
getStatus
());
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment