Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6564

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 10.0.0.Final
    • 11.0.0.Alpha1
    • 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
              ehugonne1@redhat.com Emmanuel Hugonnet
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: