Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-8227

workbench REST controller/kie-server controller returning 405 responses all the time

    Details

    • Sprint:
      2019 Week 05-07
    • Steps to Reproduce:
      Hide
      # download EAP 7.2.0 and unzip it
      wget http://download.eng.brq.redhat.com/devel/candidates/JBEAP/JBEAP-7.2.0/jboss-eap-7.2.0.zip
      unzip jboss-eap-7.2.0.zip
      
      # Add a user
      jboss-eap-7.2/bin/add-user.sh -a -u usr -p pwd -g admin,kie-server,rest-all
      
      # download business-central to deployments dir
      wget --output-document=jboss-eap-7.2/standalone/deployments/business-central.war \
      https://repository.jboss.org/org/kie/business-central/7.18.0-SNAPSHOT/business-central-7.18.0-20190211.114513-47-eap7.war
      
      # start business-central
      ./jboss-eap-7.2/bin/standalone.sh
      
      # After BC is fully started run the following rest request to create space (in another terminal)
      curl -u "usr:pwd" -H "Content-Type: application/json" -X POST \
      -d '{"name":"testspace","owner":"usr","defaultGroupId":"org.mydomain","description":"test space"}' \
      http://localhost:8080/business-central/rest/spaces
      

      Actual result: the request fails with "HTTP/1.1 405 Method Not Allowed"
      Expected result: the space is created successfully
      If you try identical steps with snapshot from week ago it works fine

      1. https://repository.jboss.org/org/kie/business-central/7.18.0-SNAPSHOT/business-central-7.18.0-20190206.033200-19-eap7.war
      Show
      # download EAP 7.2.0 and unzip it wget http: //download.eng.brq.redhat.com/devel/candidates/JBEAP/JBEAP-7.2.0/jboss-eap-7.2.0.zip unzip jboss-eap-7.2.0.zip # Add a user jboss-eap-7.2/bin/add-user.sh -a -u usr -p pwd -g admin,kie-server, rest -all # download business-central to deployments dir wget --output-document=jboss-eap-7.2/standalone/deployments/business-central.war \ https: //repository.jboss.org/org/kie/business-central/7.18.0-SNAPSHOT/business-central-7.18.0-20190211.114513-47-eap7.war # start business-central ./jboss-eap-7.2/bin/standalone.sh # After BC is fully started run the following rest request to create space (in another terminal) curl -u "usr:pwd" -H "Content-Type: application/json" -X POST \ -d '{ "name" : "testspace" , "owner" : "usr" , "defaultGroupId" : "org.mydomain" , "description" : "test space" }' \ http: //localhost:8080/business-central/ rest /spaces Actual result: the request fails with "HTTP/1.1 405 Method Not Allowed" Expected result: the space is created successfully If you try identical steps with snapshot from week ago it works fine https://repository.jboss.org/org/kie/business-central/7.18.0-SNAPSHOT/business-central-7.18.0-20190206.033200-19-eap7.war
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      Business central rest controller got broken in the past week.
      It's impossible to create spaces or to connect kie-servers.
      All requests return HTTP 405 responses (with the same setup that worked a week ago).

      This is blocking large portions of our end to end and UI testing.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  cristiano.nicolai Cristiano Nicolai
                  Reporter:
                  cristiano.nicolai Cristiano Nicolai
                  Tester:
                  Jan Hrcek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: