{
  "filters": {
    "revapi": {
      "java": {
        "_comment": "Only classes with javax.ws.rs annotations are included since we want to check only REST API.",
        "filter": {
          "_comment": "We don't want to check transitive classes, e.g. from package org.kie.server.controller.api, since we already check them in their own module.",
          "packages": {
            "regex": false,
            "include": [
              "org.kie.server.controller.rest"
            ]
          },
          "classes": {
            "regex": false,
            "exclude": [
              "org.kie.server.controller.rest.ControllerUtils"
            ]
          }
        }
      }
    }
  },
  "ignores": {
    "revapi": {
      "_comment": "Changes between 7.33.0.Final and the current branch. These changes are desired and thus ignored.",
      "ignore": [
        {
          "code": "java.annotation.attributeValueChanged",
          "old": "parameter javax.ws.rs.core.Response org.kie.server.controller.rest.RestSpecManagementServiceImpl::saveContainerSpec(javax.ws.rs.core.HttpHeaders, java.lang.String, java.lang.String, ===java.lang.String===, javax.ws.rs.core.UriInfo)",
          "new": "parameter javax.ws.rs.core.Response org.kie.server.controller.rest.RestSpecManagementServiceImpl::saveContainerSpec(javax.ws.rs.core.HttpHeaders, java.lang.String, java.lang.String, ===java.lang.String===, javax.ws.rs.core.UriInfo)",
          "annotationType": "io.swagger.annotations.ApiParam",
          "annotation": "@io.swagger.annotations.ApiParam(name = \"body\", value = \"A map containing the container-name, relevant release-id (group ID, artifact ID, and version), configuration specifications (rule, process, planning), and other components of the new KIE container\", required = true, examples = @io.swagger.annotations.Example({@io.swagger.annotations.ExampleProperty(mediaType = \"application\/json\", value = \"{\n  \"container-id\" : \"evaluation_1.0.0-SNAPSHOT\",\n  \"container-name\" : \"evaluation\",\n  \"server-template-key\" : null,\n  \"release-id\" : {\n    \"group-id\" : \"evaluation\",\n    \"artifact-id\" : \"evaluation\",\n    \"version\" : \"1.0.0-SNAPSHOT\"\n  },\n  \"configuration\" : {\n    \"RULE\" : {\n      \"org.kie.server.controller.api.model.spec.RuleConfig\" : {\n        \"pollInterval\" : null,\n        \"scannerStatus\" : \"STOPPED\"\n      }\n    },\n    \"PROCESS\" : {\n      \"org.kie.server.controller.api.model.spec.ProcessConfig\" : {\n        \"runtimeStrategy\" : \"SINGLETON\",\n        \"kbase\" : \"\",\n        \"ksession\" : \"\",\n        \"mergeMode\" : \"MERGE_COLLECTIONS\"\n      }\n    }\n  },\n  \"status\" : \"STARTED\"\n}\"), @io.swagger.annotations.ExampleProperty(mediaType = \"application\/xml\", value = \"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<container-spec-details>\n    <container-id>evaluation_1.0.0-SNAPSHOT<\/container-id>\n    <container-name>evaluation<\/container-name>\n    <release-id>\n        <artifact-id>evaluation<\/artifact-id>\n        <group-id>evaluation<\/group-id>\n        <version>1.0.0-SNAPSHOT<\/version>\n    <\/release-id>\n    <configs>\n        <entry>\n            <key>RULE<\/key>\n            <value xsi:type=\"ruleConfig\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\">\n                <scannerStatus>STOPPED<\/scannerStatus>\n            <\/value>\n        <\/entry>\n        <entry>\n            <key>PROCESS<\/key>\n            <value xsi:type=\"processConfig\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\">\n                <runtimeStrategy>SINGLETON<\/runtimeStrategy>\n                <kbase><\/kbase>\n                <ksession><\/ksession>\n                <mergeMode>MERGE_COLLECTIONS<\/mergeMode>\n            <\/value>\n        <\/entry>\n    <\/configs>\n    <status>STARTED<\/status>\n<\/container-spec-details>\")}))",
          "attribute": "examples",
          "oldValue": "@io.swagger.annotations.Example({@io.swagger.annotations.ExampleProperty(mediaType = \"application\/json\", value = \"{\n  \"container-id\" : \"evaluation_1.0.0-SNAPSHOT\",\n  \"container-name\" : \"evaluation\",\n  \"server-template-key\" : null,\n  \"release-id\" : {\"\n    \"group-id\" : \"evaluation\",\n    \"artifact-id\" : \"evaluation\",\n    \"version\" : \"1.0.0-SNAPSHOT\"\n  },\n  \"configuration\" : {\n    \"RULE\" : {\n      \"org.kie.server.controller.api.model.spec.RuleConfig\" : {\n        \"pollInterval\" : null,\n        \"scannerStatus\" : \"STOPPED\"\n      }\n    },\n    \"PROCESS\" : {\n      \"org.kie.server.controller.api.model.spec.ProcessConfig\" : {\n        \"runtimeStrategy\" : \"SINGLETON\",\n        \"kbase\" : \"\",\n        \"ksession\" : \"\",\n        \"mergeMode\" : \"MERGE_COLLECTIONS\"\n      }\n    }\n  },\n  \"status\" : \"STARTED\"\n}\"), @io.swagger.annotations.ExampleProperty(mediaType = \"application\/xml\", value = \"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<container-spec-details>\n    <container-id>evaluation_1.0.0-SNAPSHOT<\/container-id>\n    <container-name>evaluation<\/container-name>\n    <release-id>\n        <artifact-id>evaluation<\/artifact-id>\n        <group-id>evaluation<\/group-id>\n        <version>1.0.0-SNAPSHOT<\/version>\n    <\/release-id>\n    <configs>\n        <entry>\n            <key>RULE<\/key>\n            <value xsi:type=\"ruleConfig\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\">\n                <scannerStatus>STOPPED<\/scannerStatus>\n            <\/value>\n        <\/entry>\n        <entry>\n            <key>PROCESS<\/key>\n            <value xsi:type=\"processConfig\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\">\n                <runtimeStrategy>SINGLETON<\/runtimeStrategy>\n                <kbase><\/kbase>\n                <ksession><\/ksession>\n                <mergeMode>MERGE_COLLECTIONS<\/mergeMode>\n            <\/value>\n        <\/entry>\n    <\/configs>\n    <status>STARTED<\/status>\n<\/container-spec-details>\")})",
          "newValue": "@io.swagger.annotations.Example({@io.swagger.annotations.ExampleProperty(mediaType = \"application\/json\", value = \"{\n  \"container-id\" : \"evaluation_1.0.0-SNAPSHOT\",\n  \"container-name\" : \"evaluation\",\n  \"server-template-key\" : null,\n  \"release-id\" : {\n    \"group-id\" : \"evaluation\",\n    \"artifact-id\" : \"evaluation\",\n    \"version\" : \"1.0.0-SNAPSHOT\"\n  },\n  \"configuration\" : {\n    \"RULE\" : {\n      \"org.kie.server.controller.api.model.spec.RuleConfig\" : {\n        \"pollInterval\" : null,\n        \"scannerStatus\" : \"STOPPED\"\n      }\n    },\n    \"PROCESS\" : {\n      \"org.kie.server.controller.api.model.spec.ProcessConfig\" : {\n        \"runtimeStrategy\" : \"SINGLETON\",\n        \"kbase\" : \"\",\n        \"ksession\" : \"\",\n        \"mergeMode\" : \"MERGE_COLLECTIONS\"\n      }\n    }\n  },\n  \"status\" : \"STARTED\"\n}\"), @io.swagger.annotations.ExampleProperty(mediaType = \"application\/xml\", value = \"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<container-spec-details>\n    <container-id>evaluation_1.0.0-SNAPSHOT<\/container-id>\n    <container-name>evaluation<\/container-name>\n    <release-id>\n        <artifact-id>evaluation<\/artifact-id>\n        <group-id>evaluation<\/group-id>\n        <version>1.0.0-SNAPSHOT<\/version>\n    <\/release-id>\n    <configs>\n        <entry>\n            <key>RULE<\/key>\n            <value xsi:type=\"ruleConfig\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\">\n                <scannerStatus>STOPPED<\/scannerStatus>\n            <\/value>\n        <\/entry>\n        <entry>\n            <key>PROCESS<\/key>\n            <value xsi:type=\"processConfig\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\">\n                <runtimeStrategy>SINGLETON<\/runtimeStrategy>\n                <kbase><\/kbase>\n                <ksession><\/ksession>\n                <mergeMode>MERGE_COLLECTIONS<\/mergeMode>\n            <\/value>\n        <\/entry>\n    <\/configs>\n    <status>STARTED<\/status>\n<\/container-spec-details>\")})",
          "package": "org.kie.server.controller.rest",
          "classSimpleName": "RestSpecManagementServiceImpl",
          "methodName": "saveContainerSpec",
          "parameterIndex": "3",
          "elementKind": "parameter",
          "justification": "Fix typo in JSON example body"
        },
        {
          "code": "java.annotation.attributeValueChanged",
          "old": "parameter javax.ws.rs.core.Response org.kie.server.controller.rest.RestSpecManagementServiceImpl::updateContainerSpec(javax.ws.rs.core.HttpHeaders, java.lang.String, java.lang.String, ===java.lang.String===, boolean)",
          "new": "parameter javax.ws.rs.core.Response org.kie.server.controller.rest.RestSpecManagementServiceImpl::updateContainerSpec(javax.ws.rs.core.HttpHeaders, java.lang.String, java.lang.String, ===java.lang.String===, boolean)",
          "annotationType": "io.swagger.annotations.ApiParam",
          "annotation": "@io.swagger.annotations.ApiParam(name = \"body\", value = \"A map containing the updated specifications for the KIE container\", required = true, examples = @io.swagger.annotations.Example({@io.swagger.annotations.ExampleProperty(mediaType = \"application\/json\", value = \"{\n  \"container-id\" : \"evaluation_1.0.0-SNAPSHOT\",\n  \"container-name\" : \"evaluation\",\n  \"server-template-key\" : null,\n  \"release-id\" : {\n    \"group-id\" : \"evaluation\",\n    \"artifact-id\" : \"evaluation\",\n    \"version\" : \"1.0.0-SNAPSHOT\"\n  },\n  \"configuration\" : {\n    \"RULE\" : {\n      \"org.kie.server.controller.api.model.spec.RuleConfig\" : {\n        \"pollInterval\" : null,\n        \"scannerStatus\" : \"STOPPED\"\n      }\n    },\n    \"PROCESS\" : {\n      \"org.kie.server.controller.api.model.spec.ProcessConfig\" : {\n        \"runtimeStrategy\" : \"SINGLETON\",\n        \"kbase\" : \"\",\n        \"ksession\" : \"\",\n        \"mergeMode\" : \"MERGE_COLLECTIONS\"\n      }\n    }\n  },\n  \"status\" : \"STARTED\"\n}\"), @io.swagger.annotations.ExampleProperty(mediaType = \"application\/xml\", value = \"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<container-spec-details>\n    <container-id>evaluation_1.0.0-SNAPSHOT<\/container-id>\n    <container-name>evaluation<\/container-name>\n    <release-id>\n        <artifact-id>evaluation<\/artifact-id>\n        <group-id>evaluation<\/group-id>\n        <version>1.0.0-SNAPSHOT<\/version>\n    <\/release-id>\n    <configs>\n        <entry>\n            <key>RULE<\/key>\n            <value xsi:type=\"ruleConfig\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\">\n                <scannerStatus>STOPPED<\/scannerStatus>\n            <\/value>\n        <\/entry>\n        <entry>\n            <key>PROCESS<\/key>\n            <value xsi:type=\"processConfig\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\">\n                <runtimeStrategy>SINGLETON<\/runtimeStrategy>\n                <kbase><\/kbase>\n                <ksession><\/ksession>\n                <mergeMode>MERGE_COLLECTIONS<\/mergeMode>\n            <\/value>\n        <\/entry>\n    <\/configs>\n    <status>STARTED<\/status>\n<\/container-spec-details>\")}))",
          "attribute": "examples",
          "oldValue": "@io.swagger.annotations.Example({@io.swagger.annotations.ExampleProperty(mediaType = \"application\/json\", value = \"{\n  \"container-id\" : \"evaluation_1.0.0-SNAPSHOT\",\n  \"container-name\" : \"evaluation\",\n  \"server-template-key\" : null,\n  \"release-id\" : {\"\n    \"group-id\" : \"evaluation\",\n    \"artifact-id\" : \"evaluation\",\n    \"version\" : \"1.0.0-SNAPSHOT\"\n  },\n  \"configuration\" : {\n    \"RULE\" : {\n      \"org.kie.server.controller.api.model.spec.RuleConfig\" : {\n        \"pollInterval\" : null,\n        \"scannerStatus\" : \"STOPPED\"\n      }\n    },\n    \"PROCESS\" : {\n      \"org.kie.server.controller.api.model.spec.ProcessConfig\" : {\n        \"runtimeStrategy\" : \"SINGLETON\",\n        \"kbase\" : \"\",\n        \"ksession\" : \"\",\n        \"mergeMode\" : \"MERGE_COLLECTIONS\"\n      }\n    }\n  },\n  \"status\" : \"STARTED\"\n}\"), @io.swagger.annotations.ExampleProperty(mediaType = \"application\/xml\", value = \"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<container-spec-details>\n    <container-id>evaluation_1.0.0-SNAPSHOT<\/container-id>\n    <container-name>evaluation<\/container-name>\n    <release-id>\n        <artifact-id>evaluation<\/artifact-id>\n        <group-id>evaluation<\/group-id>\n        <version>1.0.0-SNAPSHOT<\/version>\n    <\/release-id>\n    <configs>\n        <entry>\n            <key>RULE<\/key>\n            <value xsi:type=\"ruleConfig\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\">\n                <scannerStatus>STOPPED<\/scannerStatus>\n            <\/value>\n        <\/entry>\n        <entry>\n            <key>PROCESS<\/key>\n            <value xsi:type=\"processConfig\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\">\n                <runtimeStrategy>SINGLETON<\/runtimeStrategy>\n                <kbase><\/kbase>\n                <ksession><\/ksession>\n                <mergeMode>MERGE_COLLECTIONS<\/mergeMode>\n            <\/value>\n        <\/entry>\n    <\/configs>\n    <status>STARTED<\/status>\n<\/container-spec-details>\")})",
          "newValue": "@io.swagger.annotations.Example({@io.swagger.annotations.ExampleProperty(mediaType = \"application\/json\", value = \"{\n  \"container-id\" : \"evaluation_1.0.0-SNAPSHOT\",\n  \"container-name\" : \"evaluation\",\n  \"server-template-key\" : null,\n  \"release-id\" : {\n    \"group-id\" : \"evaluation\",\n    \"artifact-id\" : \"evaluation\",\n    \"version\" : \"1.0.0-SNAPSHOT\"\n  },\n  \"configuration\" : {\n    \"RULE\" : {\n      \"org.kie.server.controller.api.model.spec.RuleConfig\" : {\n        \"pollInterval\" : null,\n        \"scannerStatus\" : \"STOPPED\"\n      }\n    },\n    \"PROCESS\" : {\n      \"org.kie.server.controller.api.model.spec.ProcessConfig\" : {\n        \"runtimeStrategy\" : \"SINGLETON\",\n        \"kbase\" : \"\",\n        \"ksession\" : \"\",\n        \"mergeMode\" : \"MERGE_COLLECTIONS\"\n      }\n    }\n  },\n  \"status\" : \"STARTED\"\n}\"), @io.swagger.annotations.ExampleProperty(mediaType = \"application\/xml\", value = \"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<container-spec-details>\n    <container-id>evaluation_1.0.0-SNAPSHOT<\/container-id>\n    <container-name>evaluation<\/container-name>\n    <release-id>\n        <artifact-id>evaluation<\/artifact-id>\n        <group-id>evaluation<\/group-id>\n        <version>1.0.0-SNAPSHOT<\/version>\n    <\/release-id>\n    <configs>\n        <entry>\n            <key>RULE<\/key>\n            <value xsi:type=\"ruleConfig\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\">\n                <scannerStatus>STOPPED<\/scannerStatus>\n            <\/value>\n        <\/entry>\n        <entry>\n            <key>PROCESS<\/key>\n            <value xsi:type=\"processConfig\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\">\n                <runtimeStrategy>SINGLETON<\/runtimeStrategy>\n                <kbase><\/kbase>\n                <ksession><\/ksession>\n                <mergeMode>MERGE_COLLECTIONS<\/mergeMode>\n            <\/value>\n        <\/entry>\n    <\/configs>\n    <status>STARTED<\/status>\n<\/container-spec-details>\")})",
          "package": "org.kie.server.controller.rest",
          "classSimpleName": "RestSpecManagementServiceImpl",
          "methodName": "updateContainerSpec",
          "parameterIndex": "3",
          "elementKind": "parameter",
          "justification": "Fix typo in JSON example body"
        }
      ]
    }
  }
}
