Skip to content

[JENKINS-1315] Add remote api for the '/computer' url #24114

Closed

Description

@jenkins-infra-bot

I would like to see the existing api extended to the 'http://hudson/computer/'
url. This would provide both xml and json responses to the current status of
all nodes.

My use of this api would be to drive a management dashboard to show the
online/offline status of all slave hudson connections (over 8-9 independent
hudson instances).

The data presented on the html rendered page would be sufficient:

  • node name
  • online/offline status
  • clock difference
  • architecture

Originally reported by tblack, imported from: Add remote api for the '/computer' url
  • status: Closed
  • priority: Major
  • component(s): other
  • resolution: Fixed
  • resolved: 2008-03-12T21:56:31+00:00
  • votes: 0
  • watchers: 0
  • imported: 2025-12-08
Raw content of original issue

I would like to see the existing api extended to the 'http://hudson/computer/' url. This would provide both xml and json responses to the current status of all nodes.

My use of this api would be to drive a management dashboard to show the online/offline status of all slave hudson connections (over 8-9 independent hudson instances).

The data presented on the html rendered page would be sufficient:

  • node name
  • online/offline status
  • clock difference
  • architecture
  • environment: Platform: All, OS: Linux
3 attachments

Activity

  1. jenkins-infra-bot commented on Feb 18, 2008

    @jenkins-infra-bot
    Author
    tblack:
    • Original comment link
    • Raw content of original comment:

      I will take a crack at this one.

    I will take a crack at this one.

  2. jenkins-infra-bot commented on Feb 18, 2008

    @jenkins-infra-bot
    Author
    tblack:
    • Original comment link
    • Raw content of original comment:

      Created an attachment (id=180) api entry point

    Created an attachment (id=180)
    api entry point

  3. jenkins-infra-bot commented on Feb 18, 2008

    @jenkins-infra-bot
    Author
    tblack:
    • Original comment link
    • Raw content of original comment:

      Created an attachment (id=181) exported Computer methods

    Created an attachment (id=181)
    exported Computer methods

  4. jenkins-infra-bot commented on Feb 18, 2008

    @jenkins-infra-bot
    Author
    tblack:
    • Original comment link
    • Raw content of original comment:

      Created an attachment (id=182) exported ComputerSet methods

    Created an attachment (id=182)
    exported ComputerSet methods

  5. jenkins-infra-bot commented on Feb 18, 2008

    @jenkins-infra-bot
    Author
    tblack:
    • Original comment link
    • Raw content of original comment:

      I was able to get the computer (node) data exposed, but not any of the monitor data (clock, diskspace, architecture).

      Can I can a review and feedback on the proposed solution (attached)? In particular, I was not sure when @ExportedBean was needed versus @Exported. The javadoc for @ExportedBean seemed to say all fields and getter methods would be exposed, but I still had to add @Exported to the methods I wanted to publish.

    I was able to get the computer (node) data exposed, but not any of the monitor
    data (clock, diskspace, architecture).

    Can I can a review and feedback on the proposed solution (attached)? In
    particular, I was not sure when @​ExportedBean was needed versus @​Exported. The
    javadoc for @​ExportedBean seemed to say all fields and getter methods would be
    exposed, but I still had to add @​Exported to the methods I wanted to publish.

  6. jenkins-infra-bot commented on Feb 29, 2008

    @jenkins-infra-bot
    Author
  7. jenkins-infra-bot commented on Mar 12, 2008

    @jenkins-infra-bot
    Author
    tblack:
    • Original comment link
    • Raw content of original comment:

      implemented remote api for computer nodes

    implemented remote api for computer nodes

  8. jenkins-infra-bot commented on Mar 12, 2008

    @jenkins-infra-bot
    Author
    tblack:
    • Original comment link
    • Raw content of original comment:

      implemented in release 1.195

    implemented in release 1.195

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions