[jboss-jira] [JBoss JIRA] (DROOLS-1077) [POST] /containers/{id} is outdated
Filippe Spolti (JIRA)
issues at jboss.org
Tue Mar 1 09:06:00 EST 2016
Filippe Spolti created DROOLS-1077:
--------------------------------------
Summary: [POST] /containers/{id} is outdated
Key: DROOLS-1077
URL: https://issues.jboss.org/browse/DROOLS-1077
Project: Drools
Issue Type: Bug
Components: docs
Affects Versions: 6.3.0.Final
Environment: The REST URI to send the command fire-all-rules to an running container is outdated.
Using the URI described in the docs I get the following result:
{code}
2016-02-29 17:03:26 DEBUG org.apache.http.headers - http-outgoing-0 << Allow: HEAD, DELETE, GET, OPTIONS, PUT
2016-02-29 17:03:26 DEBUG org.apache.http.headers - http-outgoing-0 << Content-Type: text/html;charset=utf-8
2016-02-29 17:03:26 DEBUG org.apache.http.headers - http-outgoing-0 << Content-Length: 1022
2016-02-29 17:03:26 DEBUG org.apache.http.headers - http-outgoing-0 << Date: Mon, 29 Feb 2016 20:03:58 GMT
Exception in thread "main" java.lang.RuntimeException: Failed with HTTP error code : 405
at org.jboss.test.arquillian.ce.decisionserver.DecisionServerSecureTest.main(DecisionServerSecureTest.java:404)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
{code}
The correct URI is:
. [POST] instances/containers/{id}
After to change the REST call worked as exp
Documentation link: https://docs.jboss.org/drools/release/6.3.0.Final/drools-docs/pdf/drools-docs.pdf
Item 22.6.7.
Reporter: Filippe Spolti
Assignee: Mario Fusco
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list