[MGNLRESTCL-8] Provide app for testing of services Created: 02/Feb/15 Updated: 13/Apr/15 Resolved: 27/Mar/15 |
|
| Status: | Closed |
| Project: | REST Client |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.3 |
| Type: | New Feature | Priority: | Neutral |
| Reporter: | Roman Kovařík | Assignee: | Roman Kovařík |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Date of First Response: | |||||||||
| Description |
| Comments |
| Comment by Jaroslav Simak [ 09/Mar/15 ] |
|
Imho you shouldn't do all the logic in the view impl, that should be part of the presenter, see this this link RestClientAppModule
RestClientAppViewImpl
|
| Comment by Milan Divilek [ 26/Mar/15 ] |
|
Reopen: String errorMessage = e.getResponse().readEntity(ObjectNode.class).findValue("errorMessage").asText(); but this fails when response has no entity or when entity is for example ArrayNode. App should check if response has entity and instead of ObjectNode it should try to get JsonNode.class (which is parent of all node classes). |