-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from NHSDigital/feature/NRLF-440-apigee-pointe…
…r-400 Feature/nrlf 440 apigee pointer 400
- Loading branch information
Showing
6 changed files
with
68 additions
and
4 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
proxies/live/apiproxy/policies/RaiseFault.403NoPointers.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<RaiseFault async="false" continueOnError="false" enabled="true" name="RaiseFault.403NoPointers"> | ||
<FaultResponse> | ||
<Set> | ||
<Payload contentType="application/json"> { | ||
"resourceType": "OperationOutcome", | ||
"issue": [ | ||
{ | ||
"severity": "error", | ||
"code": "403", | ||
"details": { | ||
"coding": [ | ||
{ | ||
"code": "403", | ||
"display": "Forbidden" | ||
} | ||
] | ||
}, | ||
"diagnostics": "Provided ODS code has no pointers within requesting app" | ||
} | ||
] | ||
}</Payload> | ||
<StatusCode>403</StatusCode> | ||
<ReasonPhrase>Forbidden</ReasonPhrase> | ||
</Set> | ||
</FaultResponse> | ||
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables> | ||
<DisplayName>RaiseFault.403NoPointers</DisplayName> | ||
</RaiseFault> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
proxies/sandbox/apiproxy/policies/RaiseFault.403NoPointers.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<RaiseFault async="false" continueOnError="false" enabled="true" name="RaiseFault.403NoPointers"> | ||
<FaultResponse> | ||
<Set> | ||
<Payload contentType="application/json"> { | ||
"resourceType": "OperationOutcome", | ||
"issue": [ | ||
{ | ||
"severity": "error", | ||
"code": "403", | ||
"details": { | ||
"coding": [ | ||
{ | ||
"code": "403", | ||
"display": "Forbidden" | ||
} | ||
] | ||
}, | ||
"diagnostics": "Provided ODS code has no pointers within requesting app" | ||
} | ||
] | ||
}</Payload> | ||
<StatusCode>403</StatusCode> | ||
<ReasonPhrase>Forbidden</ReasonPhrase> | ||
</Set> | ||
</FaultResponse> | ||
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables> | ||
<DisplayName>RaiseFault.403NoPointers</DisplayName> | ||
</RaiseFault> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters