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

show-resources operation of jaxrs subsystem should be described in documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 7.0.0.CR2
    • Documentation
    • None

    Description

      show-resources operation of jaxrs subsystem should be described in documentation

      Example of usage:

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

      Example of CLI output:

      [standalone@localhost:9990 /] /deployment=jaxrs-eap.war/subsystem=jaxrs:show-resources
      {
          "outcome" => "success",
          "result" => [
              {
                  "resource-class" => "org.resteasy.simple.deployment.AdvancedService",
                  "resource-path" => "/sample/entity/post",
                  "resource-methods" => ["GET /jaxrs-eap/a/sample/entity/post - org.resteasy.simple.deployment.AdvancedService.post3()"]
              },
              {
                  "resource-class" => "org.resteasy.simple.deployment.SimpleService",
                  "resource-path" => "/test/sleep",
                  "resource-methods" => ["GET /jaxrs-eap/a/test/sleep - org.resteasy.simple.deployment.SimpleService.sleep()"]
              },
              {
                  "resource-class" => "org.resteasy.simple.deployment.AdvancedService",
                  "resource-path" => "/sample/entity/post2",
                  "resource-methods" => ["POST /jaxrs-eap/a/sample/entity/post2 - org.resteasy.simple.deployment.AdvancedService.post2(...)"]
              }
          ]
      }
      [standalone@localhost:9990 /] 
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-ahoffer Andrea Hoffer
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: