Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1882

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

    XMLWordPrintable

Details

    • 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
    • 2019 Week 05-07

    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.

      Attachments

        Issue Links

          Activity

            People

              cnicolai@redhat.com Cristiano Nicolai
              jhrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: