You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@griffin.apache.org by "Eugene (JIRA)" <ji...@apache.org> on 2018/10/09 13:52:00 UTC

[jira] [Work started] (GRIFFIN-204) postman collection is not up to date, some APIs don't work well, like create measure

     [ https://issues.apache.org/jira/browse/GRIFFIN-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on GRIFFIN-204 started by Eugene.
--------------------------------------
> postman collection is not up to date, some APIs don't work well, like create measure
> ------------------------------------------------------------------------------------
>
>                 Key: GRIFFIN-204
>                 URL: https://issues.apache.org/jira/browse/GRIFFIN-204
>             Project: Griffin (Incubating)
>          Issue Type: Bug
>    Affects Versions: 0.2.0-incubating
>            Reporter: Eugene
>            Assignee: Eugene
>            Priority: Minor
>             Fix For: 1.0.0-incubating
>
>
> apply [https://github.com/apache/incubator-griffin/blob/master/griffin-doc/service/postman/griffin.json,] and launch create measure api, then get an error. I find the json is not matched to latest implementation
> {
>     "timestamp": 1539073909006,
>     "status": 400,
>     "error": "Bad Request",
>     "exception": "org.springframework.http.converter.HttpMessageNotReadableException",
>     "message": "Could not read document: Can not construct instance of org.apache.griffin.core.measure.entity.DqType from String value 'accuracy': value not one of declared Enum instance names: [COMPLETENESS, TIMELINESS, PROFILING, CONSISTENCY, ACCURACY, UNIQUENESS]\n at [Source: java.io.PushbackInputStream@565f5e70; line: 4, column: 15] (through reference chain: org.apache.griffin.core.measure.entity.GriffinMeasure[\"dq.type\"]); nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of org.apache.griffin.core.measure.entity.DqType from String value 'accuracy': value not one of declared Enum instance names: [COMPLETENESS, TIMELINESS, PROFILING, CONSISTENCY, ACCURACY, UNIQUENESS]\n at [Source: java.io.PushbackInputStream@565f5e70; line: 4, column: 15] (through reference chain: org.apache.griffin.core.measure.entity.GriffinMeasure[\"dq.type\"])",
>     "path": "/api/v1/measures"
> }



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)