-
Notifications
You must be signed in to change notification settings - Fork 266
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 #426 from telefonicaid/bug/pagination_details_on_n…
…ot_rendering Fix bug related with pagination
- Loading branch information
Showing
10 changed files
with
113 additions
and
42 deletions.
There are no files selected for viewing
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
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
6 changes: 0 additions & 6 deletions
6
test/unittests/testData/ngsi10.queryContextResponse.notFound.valid.xml
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
test/unittests/testData/ngsi10.queryContextResponse.ok.valid.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,7 @@ | ||
<queryContextResponse> | ||
<errorCode> | ||
<code>200</code> | ||
<reasonPhrase>OK</reasonPhrase> | ||
<details>Detail2</details> | ||
</errorCode> | ||
</queryContextResponse> |
5 changes: 3 additions & 2 deletions
5
test/unittests/testData/ngsi10.restReply.queryContextResponse01.ok.valid.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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<queryContextResponse> | ||
<errorCode> | ||
<code>404</code> | ||
<reasonPhrase>No context element found</reasonPhrase> | ||
<code>200</code> | ||
<reasonPhrase>OK</reasonPhrase> | ||
<details>detail</details> | ||
</errorCode> | ||
</queryContextResponse> |
2 changes: 0 additions & 2 deletions
2
test/unittests/testData/ngsi9.discoverContextAvailabilityResponse.empty.invalid.xml
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
test/unittests/testData/ngsi9.discoverContextAvailabilityResponse.empty.valid.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,7 @@ | ||
<discoverContextAvailabilityResponse> | ||
<errorCode> | ||
<code>500</code> | ||
<reasonPhrase>Internal Server Error</reasonPhrase> | ||
<details>Both the error-code structure and the response vector were empty</details> | ||
</errorCode> | ||
</discoverContextAvailabilityResponse> |
7 changes: 7 additions & 0 deletions
7
.../unittests/testData/ngsi9.discoverContextAvailabilityResponse.jsonRender.empty.valid.json
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,7 @@ | ||
{ | ||
"errorCode" : { | ||
"code" : "500", | ||
"reasonPhrase" : "Internal Server Error", | ||
"details" : "Both the error-code structure and the response vector were empty" | ||
} | ||
} |