{
  "filters": {
    "revapi": {
      "java": {
        "filter": {
          "_comment": "We don't want to check transitive classes, e.g. from OptaPlanner, since we already check them in their own module.",
          "packages": {
            "regex": true,
            "include": [
              "org\\.kie\\.server\\.api.*"
            ]
          }
        }
      }
    }
  },
  "ignores": {
    "revapi": {
      "_comment": "Changes between 7.5.0.Final and the current branch. These changes are desired and thus ignored.",
      "ignore": [
        {
          "code": "java.class.removed",
          "old": "enum org.kie.server.api.model.ServiceResponse.ResponseType",
          "package": "org.kie.server.api.model",
          "classSimpleName": "ResponseType",
          "elementKind": "enum",
          "justification": "JBPM-6243 - Moved ResponseType enum to interface"
        },
        {
          "code": "java.method.parameterTypeChanged",
          "old": "parameter void org.kie.server.api.model.ServiceResponse<T>::<init>(===org.kie.server.api.model.ServiceResponse.ResponseType===, java.lang.String)",
          "new": "parameter void org.kie.server.api.model.ServiceResponse<T>::<init>(===org.kie.server.api.model.KieServiceResponse.ResponseType===, java.lang.String)",
          "oldType": "org.kie.server.api.model.ServiceResponse.ResponseType",
          "newType": "org.kie.server.api.model.KieServiceResponse.ResponseType",
          "package": "org.kie.server.api.model",
          "classSimpleName": "ServiceResponse",
          "methodName": "<init>",
          "parameterIndex": "0",
          "elementKind": "parameter",
          "justification": "JBPM-6243 - Moved ResponseType enum to interface"
        },
        {
          "code": "java.method.parameterTypeChanged",
          "old": "parameter void org.kie.server.api.model.ServiceResponse<T>::<init>(===org.kie.server.api.model.ServiceResponse.ResponseType===, java.lang.String, T)",
          "new": "parameter void org.kie.server.api.model.ServiceResponse<T>::<init>(===org.kie.server.api.model.KieServiceResponse.ResponseType===, java.lang.String, T)",
          "oldType": "org.kie.server.api.model.ServiceResponse.ResponseType",
          "newType": "org.kie.server.api.model.KieServiceResponse.ResponseType",
          "package": "org.kie.server.api.model",
          "classSimpleName": "ServiceResponse",
          "methodName": "<init>",
          "parameterIndex": "0",
          "elementKind": "parameter",
          "justification": "JBPM-6243 - Moved ResponseType enum to interface"
        },
        {
          "code": "java.method.returnTypeChanged",
          "old": "method org.kie.server.api.model.ServiceResponse.ResponseType org.kie.server.api.model.ServiceResponse<T>::getType()",
          "new": "method org.kie.server.api.model.KieServiceResponse.ResponseType org.kie.server.api.model.ServiceResponse<T>::getType()",
          "oldType": "org.kie.server.api.model.ServiceResponse.ResponseType",
          "newType": "org.kie.server.api.model.KieServiceResponse.ResponseType",
          "package": "org.kie.server.api.model",
          "classSimpleName": "ServiceResponse",
          "methodName": "getType",
          "elementKind": "method",
          "justification": "JBPM-6243 - Moved ResponseType enum to interface"
        },
        {
          "code": "java.method.parameterTypeChanged",
          "old": "parameter void org.kie.server.api.model.ServiceResponse<T>::setType(===org.kie.server.api.model.ServiceResponse.ResponseType===)",
          "new": "parameter void org.kie.server.api.model.ServiceResponse<T>::setType(===org.kie.server.api.model.KieServiceResponse.ResponseType===)",
          "oldType": "org.kie.server.api.model.ServiceResponse.ResponseType",
          "newType": "org.kie.server.api.model.KieServiceResponse.ResponseType",
          "package": "org.kie.server.api.model",
          "classSimpleName": "ServiceResponse",
          "methodName": "setType",
          "parameterIndex": "0",
          "elementKind": "parameter",
          "justification": "JBPM-6243 - Moved ResponseType enum to interface"
        },
        {
          "code": "java.method.returnTypeChanged",
          "old": "method java.util.Set<org.kie.server.api.model.dmn.DMNDecisionInfo> org.kie.server.api.model.dmn.DMNModelInfo::getDecisions()",
          "new": "method java.util.Collection<org.kie.server.api.model.dmn.DMNDecisionInfo> org.kie.server.api.model.dmn.DMNModelInfo::getDecisions()",
          "oldType": "java.util.Set<org.kie.server.api.model.dmn.DMNDecisionInfo>",
          "newType": "java.util.Collection<org.kie.server.api.model.dmn.DMNDecisionInfo>",
          "package": "org.kie.server.api.model.dmn",
          "classSimpleName": "DMNModelInfo",
          "methodName": "getDecisions",
          "elementKind": "method",
          "justification": ""
        },
        {
          "code": "java.method.parameterTypeChanged",
          "old": "parameter void org.kie.server.api.model.dmn.DMNModelInfo::setDecisions(===java.util.Set<org.kie.server.api.model.dmn.DMNDecisionInfo>===)",
          "new": "parameter void org.kie.server.api.model.dmn.DMNModelInfo::setDecisions(===java.util.Collection<org.kie.server.api.model.dmn.DMNDecisionInfo>===)",
          "oldType": "java.util.Set<org.kie.server.api.model.dmn.DMNDecisionInfo>",
          "newType": "java.util.Collection<org.kie.server.api.model.dmn.DMNDecisionInfo>",
          "package": "org.kie.server.api.model.dmn",
          "classSimpleName": "DMNModelInfo",
          "methodName": "setDecisions",
          "parameterIndex": "0",
          "elementKind": "parameter",
          "justification": ""
        },
        {
          "code": "java.field.constantValueChanged",
          "old": "field org.kie.server.api.rest.RestURI.ADMIN_CASE_URI",
          "new": "field org.kie.server.api.rest.RestURI.ADMIN_CASE_URI",
          "oldValue": "admin\/cases",
          "newValue": "admin",
          "package": "org.kie.server.api.rest",
          "classSimpleName": "RestURI",
          "fieldName": "ADMIN_CASE_URI",
          "elementKind": "field",
          "justification": "Refactored case admin URI to allow fine grained control while keeping backward compatibility on existing endpoints"
        },
        {
          "code": "java.field.removedWithConstant",
          "old": "field org.kie.server.api.KieServerConstants.CAPABILITY_BPM_QUERIES",
          "package": "org.kie.server.api",
          "classSimpleName": "KieServerConstants",
          "fieldName": "CAPABILITY_BPM_QUERIES",
          "elementKind": "field",
          "justification": "Remove unused constant"
        },
        {
          "code": "java.method.removed",
          "old": "method org.kie.server.api.model.instance.TaskInstance.Builder org.kie.server.api.model.instance.TaskInstance.Builder::correlationKey(java.lang.String)",
          "package": "org.kie.server.api.model.instance",
          "classSimpleName": "Builder",
          "methodName": "correlationKey",
          "elementKind": "method",
          "justification": "JBPM-6890: Adding the customTaskID as a unique identifier for an active"
        },
        {
          "code": "java.method.removed",
          "old": "method org.kie.server.api.model.instance.TaskInstance.Builder org.kie.server.api.model.instance.TaskInstance.Builder::lastModificationDate(java.util.Date)",
          "package": "org.kie.server.api.model.instance",
          "classSimpleName": "Builder",
          "methodName": "lastModificationDate",
          "elementKind": "method",
          "justification": "JBPM-6890: Adding the customTaskID as a unique identifier for an active"
        },
        {
          "code": "java.method.removed",
          "old": "method org.kie.server.api.model.instance.TaskInstance.Builder org.kie.server.api.model.instance.TaskInstance.Builder::lastModificationUser(java.lang.String)",
          "package": "org.kie.server.api.model.instance",
          "classSimpleName": "Builder",
          "methodName": "lastModificationUser",
          "elementKind": "method",
          "justification": "JBPM-6890: Adding the customTaskID as a unique identifier for an active"
        },
        {
          "code": "java.method.removed",
          "old": "method java.lang.String org.kie.server.api.model.instance.TaskInstance::getCorrelationKey()",
          "package": "org.kie.server.api.model.instance",
          "classSimpleName": "TaskInstance",
          "methodName": "getCorrelationKey",
          "elementKind": "method",
          "justification": "JBPM-6890: Adding the customTaskID as a unique identifier for an active"
        },
        {
          "code": "java.method.removed",
          "old": "method java.util.Date org.kie.server.api.model.instance.TaskInstance::getLastModificationDate()",
          "package": "org.kie.server.api.model.instance",
          "classSimpleName": "TaskInstance",
          "methodName": "getLastModificationDate",
          "elementKind": "method",
          "justification": "JBPM-6890: Adding the customTaskID as a unique identifier for an active"
        },
        {
          "code": "java.method.removed",
          "old": "method java.lang.String org.kie.server.api.model.instance.TaskInstance::getLastModificationUser()",
          "package": "org.kie.server.api.model.instance",
          "classSimpleName": "TaskInstance",
          "methodName": "getLastModificationUser",
          "elementKind": "method",
          "justification": "JBPM-6890: Adding the customTaskID as a unique identifier for an active"
        },
        {
          "code": "java.method.removed",
          "old": "method void org.kie.server.api.model.instance.TaskInstance::setCorrelationKey(java.lang.String)",
          "package": "org.kie.server.api.model.instance",
          "classSimpleName": "TaskInstance",
          "methodName": "setCorrelationKey",
          "elementKind": "method",
          "justification": "JBPM-6890: Adding the customTaskID as a unique identifier for an active"
        },
        {
          "code": "java.method.removed",
          "old": "method void org.kie.server.api.model.instance.TaskInstance::setLastModificationDate(java.util.Date)",
          "package": "org.kie.server.api.model.instance",
          "classSimpleName": "TaskInstance",
          "methodName": "setLastModificationDate",
          "elementKind": "method",
          "justification": "JBPM-6890: Adding the customTaskID as a unique identifier for an active"
        },
        {
          "code": "java.method.removed",
          "old": "method void org.kie.server.api.model.instance.TaskInstance::setLastModificationUser(java.lang.String)",
          "package": "org.kie.server.api.model.instance",
          "classSimpleName": "TaskInstance",
          "methodName": "setLastModificationUser",
          "elementKind": "method",
          "justification": "JBPM-6890: Adding the customTaskID as a unique identifier for an active"
        }
      ]
    }
  }
}
