{
  "filters": {
    "revapi": {
      "java": {
        "_comment": "Only classes with javax.ws.rs annotations are included since we want to check only REST API.",
        "filter": {
          "packages": {
            "comment": "We don't want to check transitive classes, e.g. from kie-server-api, since we already check them in their own module.",
            "regex": true,
            "include": [
              "org\\.kie\\.server\\.remote\\.rest\\.jbpm\\.ui.*"
            ]
          },
          "_comment": "Classes are excluded, not included, so new classes in future are discovered by revapi.",
          "classes": {
            "regex": false,
            "exclude": [
              "org.kie.server.remote.rest.jbpm.ui.JbpmUIRestApplicationComponentsService"
            ]
          }
        }
      }
    }
  },

  "ignores": {
    "revapi": {
      "_comment": "Changes between 7.18.0.Final and the current branch. These changes are desired and thus ignored.",
      "ignore": [
        {
          "code": "java.method.numberOfParametersChanged",
          "old": "method javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ui.ImageResource::getProcessInstanceImage(javax.ws.rs.core.HttpHeaders, java.lang.String, java.lang.Long)",
          "new": "method javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ui.ImageResource::getProcessInstanceImage(javax.ws.rs.core.HttpHeaders, java.lang.String, java.lang.Long, java.lang.String, java.lang.String, java.lang.String)",
          "package": "org.kie.server.remote.rest.jbpm.ui",
          "classSimpleName": "ImageResource",
          "methodName": "getProcessInstanceImage",
          "elementKind": "method",
          "justification": "JBPM-8257: Configurable Color coding for executed flows in Process model "
        }
      ]
    }
  }
}
