[
https://issues.apache.org/jira/browse/FALCON-699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ruslan Ostafiychuk updated FALCON-699:
--------------------------------------
Description:
We should use InstancesResult, InstancesSummaryResult, APIResult, EntityList
and other classes from falcon-client directly.
- org.apache.falcon.regression.core.response.*EntitiesResult* ->
org.apache.falcon.resource.*EntityList*
- org.apache.falcon.regression.core.response.*EntityResult* ->
org.apache.falcon.resource.EntityList.*EntityElement*
- org.apache.falcon.regression.core.response.*InstancesResult* ->
org.apache.falcon.resource.*InstancesResult*
- org.apache.falcon.regression.core.response.*InstancesSummaryResult* ->
org.apache.falcon.resource.*InstancesSummaryResult*
- org.apache.falcon.regression.core.response.*APIResult* ->
org.apache.falcon.resource.*APIResult*
was:
Exception with InstancesResult parsing :
{code}
com.google.gson.JsonSyntaxException: 2014-09-09T06:40:07-07:00
...
at com.google.gson.Gson.fromJson(Gson.java:755)
...
org.apache.falcon.regression.core.util.InstanceUtil.hitUrl(InstanceUtil.java:189)
...
org.apache.falcon.regression.core.interfaces.IEntityManagerHelper.getProcessInstanceStatus(IEntityManagerHelper.java:378)
{code}
At least 2 tests fails because of it (LineageApiProcessInstanceTest).
We should use InstancesResult, InstancesSummaryResult, APIResult, EntityList
and other classes from falcon-client directly.
> Use APIResult and other support classes from falcon-client in
> falcon-regression
> -------------------------------------------------------------------------------
>
> Key: FALCON-699
> URL: https://issues.apache.org/jira/browse/FALCON-699
> Project: Falcon
> Issue Type: Improvement
> Components: merlin
> Affects Versions: 0.5
> Reporter: Ruslan Ostafiychuk
> Assignee: Ruslan Ostafiychuk
> Priority: Critical
>
> We should use InstancesResult, InstancesSummaryResult, APIResult, EntityList
> and other classes from falcon-client directly.
> - org.apache.falcon.regression.core.response.*EntitiesResult* ->
> org.apache.falcon.resource.*EntityList*
> - org.apache.falcon.regression.core.response.*EntityResult* ->
> org.apache.falcon.resource.EntityList.*EntityElement*
> - org.apache.falcon.regression.core.response.*InstancesResult* ->
> org.apache.falcon.resource.*InstancesResult*
> - org.apache.falcon.regression.core.response.*InstancesSummaryResult* ->
> org.apache.falcon.resource.*InstancesSummaryResult*
> - org.apache.falcon.regression.core.response.*APIResult* ->
> org.apache.falcon.resource.*APIResult*
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)