Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-7142

Create API Descriptor for info service

    XMLWordPrintable

    Details

    • Story
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • OpenIDM 5.5.0
    • _Schema

      Description

      See OPENIDM-7238 for info on how to write an API Descriptor for this class.


      org.forgerock.openidm.info.impl.InfoService
      

      This service maps to the configuration endpoints under the "info" factoryPid. It essentially executes the scripts under /openidm-zip/src/main/resources/bin/defaults/script/info.

      • info-login.json
      • info-ping.json
      • info-version.json
      curl --insecure --header "X-OpenIDM-Username: openidm-admin" --header "X-OpenIDM-Password: openidm-admin" -X GET --header 'Accept: application/json' --header 'X-Requested-With: Swagger-UI' 'http://localhost:8080/openidm/info/login'
      
      {"_id":"login","authorization":{"component":"repo/internal/user","roles":["openidm-admin","openidm-authorized"],"ipAddress":"0:0:0:0:0:0:0:1","id":"openidm-admin","moduleId":"INTERNAL_USER"},"authenticationId":"openidm-admin"}
      
      curl --insecure --header "X-OpenIDM-Username: openidm-admin" --header "X-OpenIDM-Password: openidm-admin" -X GET --header 'Accept: application/json' --header 'X-Requested-With: Swagger-UI' 'http://localhost:8080/openidm/info/ping'
      
      {"_id":"","shortDesc":"OpenIDM ready","state":"ACTIVE_READY"}
      
      curl --insecure --header "X-OpenIDM-Username: openidm-admin" --header "Xplication/json' --header 'X-Requested-With: Swagger-UI' 'http://localhost:8080/openidm/info/version'
      
      {"_id":"","productVersion":"5.5.0-SNAPSHOT","productRevision":"unknown"}
      

        Attachments

          Issue Links

            Activity

              People

              travis.haagen Travis Haagen [X] (Inactive)
              brmiller Brendan Miller
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: