{
    "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.*"
                        ],
                        "exclude": [
                            "org\\.kie\\.server\\.remote\\.rest\\.jbpm\\.resources"
                        ]
                    },
                    "classes": {
                        "_comment": "Classes are excluded, not included, so new classes in future are discovered by revapi.",
                        "regex": false,
                        "exclude": [
                            "org.kie.server.remote.rest.jbpm.JbpmRestApplicationComponentsService"
                        ]
                    }
                }
            }
        }
    },
    "ignores": {
        "revapi": {
            "_comment": "Changes between 7.44.0.Final and the current branch. These changes are desired and thus ignored.",
            "ignore": [
                {
                    "code": "java.annotation.attributeValueChanged",
                    "annotationType": "io.swagger.annotations.ApiResponses",
                    "attribute": "value",
                    "elementKind": "method",
                    "justification": "[JBPM-9410] No Model definition in KIE Server Swagger API"
                },
                {
                    "code": "java.annotation.attributeRemoved",
                    "annotationType": "io.swagger.annotations.ApiOperation",
                    "attribute": "code",
                    "elementKind": "method",
                    "justification": "[JBPM-9410] No Model definition in KIE Server Swagger API"
                },
                {
                    "code": "java.annotation.attributeRemoved",
                    "annotationType": "io.swagger.annotations.ApiOperation",
                    "attribute": "response",
                    "elementKind": "method",
                    "justification": "[JBPM-9410] No Model definition in KIE Server Swagger API"
                },
                {
                    "code": "java.annotation.attributeRemoved",
                    "annotationType": "io.swagger.annotations.ApiOperation",
                    "attribute": "responseContainer",
                    "elementKind": "method",
                    "justification": "[JBPM-9410] No Model definition in KIE Server Swagger API"
                },
                {
                    "code": "java.annotation.attributeAdded",
                    "annotationType": "io.swagger.annotations.ApiOperation",
                    "attribute": "response",
                    "elementKind": "method",
                    "justification": "[JBPM-9410] No Model definition in KIE Server Swagger API"
                },
                 {
                   "code": "java.annotation.attributeValueChanged",
                   "old": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, ===java.lang.String===, java.lang.String)",
                   "new": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, ===java.util.List<java.lang.String>===, java.lang.String, java.lang.String)",
                   "annotationType": "io.swagger.annotations.ApiParam",
                   "annotation": "@io.swagger.annotations.ApiParam(value = \"list of correlationKeys of the process instances to be signaled\", required = false)",
                   "attribute": "value",
                   "oldValue": "\"signal name to be send to process instance\"",
                   "newValue": "\"list of correlationKeys of the process instances to be signaled\"",
                   "package": "org.kie.server.remote.rest.jbpm",
                   "classSimpleName": "ProcessResource",
                   "methodName": "signalProcessInstances",
                   "parameterIndex": "3",
                   "elementKind": "parameter",
                   "justification": "[JBPM-9405] Provide API method to signal process instance with correlation key"
                 },
                 {
                   "code": "java.annotation.attributeValueChanged",
                   "old": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, ===java.lang.String===, java.lang.String)",
                   "new": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, ===java.util.List<java.lang.String>===, java.lang.String, java.lang.String)",
                   "annotationType": "io.swagger.annotations.ApiParam",
                   "annotation": "@io.swagger.annotations.ApiParam(value = \"list of correlationKeys of the process instances to be signaled\", required = false)",
                   "attribute": "required",
                   "oldValue": "true",
                   "newValue": "false",
                   "package": "org.kie.server.remote.rest.jbpm",
                   "classSimpleName": "ProcessResource",
                   "methodName": "signalProcessInstances",
                   "parameterIndex": "3",
                   "elementKind": "parameter",
                   "justification": "[JBPM-9405] Provide API method to signal process instance with correlation key"
                 },
                 {
                   "code": "java.annotation.attributeRemoved",
                   "old": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, ===java.lang.String===, java.lang.String)",
                   "new": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, ===java.util.List<java.lang.String>===, java.lang.String, java.lang.String)",
                   "annotationType": "io.swagger.annotations.ApiParam",
                   "annotation": "@io.swagger.annotations.ApiParam(value = \"list of correlationKeys of the process instances to be signaled\", required = false)",
                   "attribute": "example",
                   "value": "\"EventReceived\"",
                   "package": "org.kie.server.remote.rest.jbpm",
                   "classSimpleName": "ProcessResource",
                   "methodName": "signalProcessInstances",
                   "parameterIndex": "3",
                   "elementKind": "parameter",
                   "justification": "[JBPM-9405] Provide API method to signal process instance with correlation key"
                 },
                 {
                   "code": "java.annotation.removed",
                   "old": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, ===java.lang.String===, java.lang.String)",
                   "new": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, ===java.util.List<java.lang.String>===, java.lang.String, java.lang.String)",
                   "annotationType": "javax.ws.rs.PathParam",
                   "annotation": "@javax.ws.rs.PathParam(\"signalName\")",
                   "package": "org.kie.server.remote.rest.jbpm",
                   "classSimpleName": "ProcessResource",
                   "methodName": "signalProcessInstances",
                   "parameterIndex": "3",
                   "elementKind": "parameter",
                   "justification": "[JBPM-9405] Provide API method to signal process instance with correlation key"
                 },
                 {
                   "code": "java.annotation.added",
                   "old": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, ===java.lang.String===, java.lang.String)",
                   "new": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, ===java.util.List<java.lang.String>===, java.lang.String, java.lang.String)",
                   "annotationType": "javax.ws.rs.QueryParam",
                   "annotation": "@javax.ws.rs.QueryParam(\"correlationKey\")",
                   "package": "org.kie.server.remote.rest.jbpm",
                   "classSimpleName": "ProcessResource",
                   "methodName": "signalProcessInstances",
                   "parameterIndex": "3",
                   "elementKind": "parameter",
                   "justification": "[JBPM-9405] Provide API method to signal process instance with correlation key"
                 },
                 {
                   "code": "java.annotation.attributeValueChanged",
                   "old": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, java.lang.String, ===java.lang.String===)",
                   "new": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, java.util.List<java.lang.String>, ===java.lang.String===, java.lang.String)",
                   "annotationType": "io.swagger.annotations.ApiParam",
                   "annotation": "@io.swagger.annotations.ApiParam(value = \"signal name to be send to process instance\", required = true, example = \"EventReceived\")",
                   "attribute": "value",
                   "oldValue": "\"optional event data - any type can be provided\"",
                   "newValue": "\"signal name to be send to process instance\"",
                   "package": "org.kie.server.remote.rest.jbpm",
                   "classSimpleName": "ProcessResource",
                   "methodName": "signalProcessInstances",
                   "parameterIndex": "4",
                   "elementKind": "parameter",
                   "justification": "[JBPM-9405] Provide API method to signal process instance with correlation key"
                 },
                 {
                   "code": "java.annotation.attributeValueChanged",
                   "old": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, java.lang.String, ===java.lang.String===)",
                   "new": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, java.util.List<java.lang.String>, ===java.lang.String===, java.lang.String)",
                   "annotationType": "io.swagger.annotations.ApiParam",
                   "annotation": "@io.swagger.annotations.ApiParam(value = \"signal name to be send to process instance\", required = true, example = \"EventReceived\")",
                   "attribute": "required",
                   "oldValue": "false",
                   "newValue": "true",
                   "package": "org.kie.server.remote.rest.jbpm",
                   "classSimpleName": "ProcessResource",
                   "methodName": "signalProcessInstances",
                   "parameterIndex": "4",
                   "elementKind": "parameter",
                   "justification": "[JBPM-9405] Provide API method to signal process instance with correlation key"
                 },
                 {
                   "code": "java.annotation.attributeRemoved",
                   "old": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, java.lang.String, ===java.lang.String===)",
                   "new": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, java.util.List<java.lang.String>, ===java.lang.String===, java.lang.String)",
                   "annotationType": "io.swagger.annotations.ApiParam",
                   "annotation": "@io.swagger.annotations.ApiParam(value = \"signal name to be send to process instance\", required = true, example = \"EventReceived\")",
                   "attribute": "examples",
                   "value": "@io.swagger.annotations.Example({@io.swagger.annotations.ExampleProperty(mediaType = \"application\/json\", value = \"{\n    \"Person\": {\n        \"name\": \"john\"\n    }\n}\"), @io.swagger.annotations.ExampleProperty(mediaType = \"application\/xml\", value = \"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<person>\n    <name>john<\/name>\n<\/person>\")})",
                   "package": "org.kie.server.remote.rest.jbpm",
                   "classSimpleName": "ProcessResource",
                   "methodName": "signalProcessInstances",
                   "parameterIndex": "4",
                   "elementKind": "parameter",
                   "justification": "[JBPM-9405] Provide API method to signal process instance with correlation key"
                 },
                 {
                   "code": "java.annotation.attributeAdded",
                   "old": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, java.lang.String, ===java.lang.String===)",
                   "new": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, java.util.List<java.lang.String>, ===java.lang.String===, java.lang.String)",
                   "annotationType": "io.swagger.annotations.ApiParam",
                   "annotation": "@io.swagger.annotations.ApiParam(value = \"signal name to be send to process instance\", required = true, example = \"EventReceived\")",
                   "attribute": "example",
                   "value": "\"EventReceived\"",
                   "package": "org.kie.server.remote.rest.jbpm",
                   "classSimpleName": "ProcessResource",
                   "methodName": "signalProcessInstances",
                   "parameterIndex": "4",
                   "elementKind": "parameter",
                   "justification": "[JBPM-9405] Provide API method to signal process instance with correlation key"
                 },
                 {
                   "code": "java.annotation.added",
                   "old": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, java.lang.String, ===java.lang.String===)",
                   "new": "parameter javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, java.util.List<java.lang.String>, ===java.lang.String===, java.lang.String)",
                   "annotationType": "javax.ws.rs.PathParam",
                   "annotation": "@javax.ws.rs.PathParam(\"signalName\")",
                   "package": "org.kie.server.remote.rest.jbpm",
                   "classSimpleName": "ProcessResource",
                   "methodName": "signalProcessInstances",
                   "parameterIndex": "4",
                   "elementKind": "parameter",
                   "justification": "[JBPM-9405] Provide API method to signal process instance with correlation key"
                 },
                 {
                   "code": "java.method.numberOfParametersChanged",
                   "old": "method javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, java.lang.String, java.lang.String)",
                   "new": "method javax.ws.rs.core.Response org.kie.server.remote.rest.jbpm.ProcessResource::signalProcessInstances(javax.ws.rs.core.HttpHeaders, java.lang.String, java.util.List<java.lang.Long>, java.util.List<java.lang.String>, java.lang.String, java.lang.String)",
                   "package": "org.kie.server.remote.rest.jbpm",
                   "classSimpleName": "ProcessResource",
                   "methodName": "signalProcessInstances",
                   "elementKind": "method",
                   "justification": "[JBPM-9405] Provide API method to signal process instance with correlation key"
                 }        
            ]
        }
    }
}
