Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-4373

show-resources operation of jaxrs subsystem shows wrong path in resource-methods attribute

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.DR5
    • 7.0.0.CR2
    • REST
    • None

    Description

      Description of problem:
      Show-resources operation of jaxrs subsystem shows wrong path in resource-methods attribute. There are double slash in path. Eg.: "/jaxrs-eap//sample", but correct path is "/jaxrs-eap/sample" (http://localhost:8080/jaxrs-eap/sample)

      This operation was added by WFLY-3045.

      How reproducible:
      Always

      Steps to Reproduce:

      1. ./standalone.sh
      2. deploy /home/mkopecky/playground/resteasy/single-application/target/jaxrs-eap.war
      3. /deployment=jaxrs-eap.war/subsystem=jaxrs:show-resources

      Actual results:

      ...
      "resource-methods" => ["GET /jaxrs-eap//sample - org.resteasy.simple.deployment.AdvancedService.get()"]
      ...
      

      Expected results:

      ...
      "resource-methods" => ["GET /jaxrs-eap/sample - org.resteasy.simple.deployment.AdvancedService.get()"]
      ...
      

      Attachments

        Issue Links

          Activity

            People

              ehugonne1@redhat.com Emmanuel Hugonnet
              mkopecky@redhat.com Marek Kopecky
              Marek Kopecky Marek Kopecky
              Marek Kopecky Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: