Eugene created GRIFFIN-204:
------------------------------

             Summary: 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
             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)

Reply via email to