For rules projects, the rest endpoint is generated even with kogito.generate.rest.rules=false configuration
Inside ApplicationGenerator.filterGeneratedFile(GeneratedFile), the following snippet
boolean keepFile = context.hasRESTGloballyAvailable() || !REST_TYPE.equals(generatedFile.type());
does not consider engine-specific configuration, result being that the boolean is true when the disabling has been made on a per-engine base, even for REST type.
The wrong behaviour seems evident only on rules engine, though, so more investigation is needed.
For rules projects, the rest endpoint is generated even with
kogito.generate.rest.rules=false
configurationInside ApplicationGenerator.filterGeneratedFile(GeneratedFile), the following snippet
boolean keepFile = context.hasRESTGloballyAvailable() || !REST_TYPE.equals(generatedFile.type());
does not consider engine-specific configuration, result being that the boolean istrue
when the disabling has been made on a per-engine base, even for REST type.The wrong behaviour seems evident only on rules engine, though, so more investigation is needed.