[jboss-jira] [JBoss JIRA] (DROOLS-573) Kie Server: bugs and enhancements
Petr Široký (JIRA)
issues at jboss.org
Tue Sep 16 07:44:02 EDT 2014
[ https://issues.jboss.org/browse/DROOLS-573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002794#comment-13002794 ]
Petr Široký commented on DROOLS-573:
------------------------------------
Currently there is now way to create stateless KieSession, server will always call newKieSession() no matter what is defined in kmodule.xml. As discussed over e-mail, this is bug and Edson is planning to fix it. Commenting here just to be sure it does not get forgotten.
> Kie Server: bugs and enhancements
> ---------------------------------
>
> Key: DROOLS-573
> URL: https://issues.jboss.org/browse/DROOLS-573
> Project: Drools
> Issue Type: Enhancement
> Affects Versions: 6.2.0.Beta1
> Reporter: Petr Široký
> Assignee: Edson Tirelli
>
> As discussed with Edson, I am creating list of possible bugs and enhancements for the KIE Server.
> Bugs:
> * Server returns NPE when the request body is empty (and is required). This happens for example when creating new container using /container/{id}, but not providing any data within the body (the XML/JSON specifying release-id, etc).
> * The server returns 201 (Created) even when the container was not actually created. Easy reproducer: try to create container using non-existing kjar GAV. The response code will be 201 and the response will be failure with message "Failed to create container 1...."
> Enhancements:
> * I think it it would useful to move the KieServer interface into -api module so that user's can use e.g. RestEasy ClientProxy to create own REST client in case the don't want to use the provided client.
> * When deplying the WAR into EAP 6.3.0 warning is dispalyed: JBAS016012: Deployment deployment "kie-server.war" contains CDI annotations but beans.xml was not found. The WAR file should contain beans.xml.
> The description will be updated if I found more such bugs/enhancements.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jboss-jira
mailing list