Ticket #8740 (closed: invalid)

Opened 7 years ago

Last modified 5 years ago

icat usage display

Reported by: Jay Rainey Owned by: Jay Rainey
Priority: major Milestone: Release 3.1
Component: Framework Keywords: ICAT
Cc: owen.arnold@… Blocked By:
Blocking: Tester: Peter Parker

Description

In an email Owen noted that:

It be a useful feature in MantidPlot to have a green light feature for ICAT usage? That way you could determine whether ICAT could be used very easily. There are many issues that could affect this on both the server and client side. A help button next to it which might help you to trouble shoot issues and report problems would be great.

I have partially addressed this by adding significantly better error messages for uploading/downloading in #8727. I now use error messages that the IDS returns when an error occurs. For example, if a file already exists when publishing the user gets an informative message to indicate this, a long with the related filename/ID of the file being published.

To implement this I will need to create a few small labels on the Search and Publish interfaces that indicate the server status (up = green & down = red).

ICAT search usage

  1. Obtain the status of the ICAT server using getAPIVersion().
  2. If a version is returned then ICAT server is alive. Set the label to green. Otherwise, set the label to red and create a button that lets users report the problem to the Mantid team.
  3. Create a small label on the Search GUI that changes in color to shows the user ICAT usage. For example:
  ICAT Status: {small colored label} (When user hovers display detailed usage message)

IDS publishing usage

  1. Perform ids.ping to obtain the status of the server (up/down).
  2. Add and update a label as described above.

Change History

comment:1 Changed 7 years ago by Jay Rainey

  • Status changed from new to verify
  • Resolution set to invalid

Significantly better error handling from the IDS has been implemented in #8727, which resolves errors encountered by Owen.

Having discussed this further with Owen, we agreed that there is no need for a usage display as the errors returned from ICAT & the IDS are more than sufficient.

This ticket is therefore invalid (since the suggestions are now unnecessary) and can be closed.

Last edited 7 years ago by Jay Rainey (previous) (diff)

comment:2 Changed 7 years ago by Jay Rainey

  • Summary changed from [ICAT] Usage display to icat usage display

comment:3 Changed 7 years ago by Peter Parker

  • Status changed from verify to verifying
  • Tester set to Peter Parker

comment:4 Changed 7 years ago by Peter Parker

  • Status changed from verifying to closed

#8727 will indeed offer improved error handling/reporting.

comment:5 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 9584

Note: See TracTickets for help on using tickets.