Ticket #8811 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Login function for ICAT works at SNS

Reported by: Peter Peterson Owned by: Shelly Ren
Priority: blocker Milestone: Release 3.1
Component: Framework Keywords:
Cc: doucetm@…, petersonpf@…, jay.rainey@… Blocked By:
Blocking: Tester: Peter Peterson

Description

The menu item Catalog->Login should be configured to work with SNS ICAT4 inside the ORNL firewall for a UCAMS account. In other words, Shelly/Mathieu/Pete can login from their office to the SNS ICAT server. Shelly says that this is just a matter of getting the correct URL into the Facilities.xml file.

Change History

comment:1 Changed 7 years ago by Peter Peterson

Two things to get "closer" to working:

First: On line 48 of ICat4Catalog.cpp change the plugin string to "ldap". Second: Add the following (some bits are obviously wrong) bit to the SNS facility in Facilities.xml

  <catalog name="ICat4Catalog">
    <soapendpoint url="https://icat.sns.gov:8181/ICATService/ICAT" />
    <externaldownload url="https://isisicatds.stfc.ac.uk/idsbeta/" />
    <filelocation>
      <prefix regex="\\\\isis\\inst\$\\Instruments\$"></prefix>
      <windows replacement=""></windows>
      <linux replacement="/archive"></linux>
      <mac replacement="/archive"></mac>
    </filelocation>
  </catalog>

Adding ?wsdl to the end of the endpoint changes nothing.

comment:2 Changed 7 years ago by Shelly Ren

  • Status changed from new to inprogress

Added SNS ICAT4 Refs #8811

Changeset: ceff3e81d47e380d9a6542304abdf70b9e19f0aa

comment:3 Changed 7 years ago by Shelly Ren

Restored SNS computeResource fermi --- Refs #8811

Changeset: 82557bbe697ad86c5955233cb87b3902b78aea4e

comment:4 Changed 7 years ago by Shelly Ren

  • Status changed from inprogress to verify
  • Resolution set to fixed

Would like to have this ticket tested from both facilities.

comment:5 Changed 7 years ago by Jay Rainey

I was not able to test the login functionality as the SNS end-point is not accessible outside SNS. I did log in from ISIS to verify the changes did not affect our ability to login. All is fine.

The prefix regex in Facilities.xml needs to be updated to the default SNS location of the archives. (This will enable users to 'load' datafiles directly from the ICAT Search interface into Mantid). Note: this is used internally as a regex, so all backslashes and $ need to be escaped.

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

comment:6 Changed 7 years ago by Peter Peterson

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

comment:7 Changed 7 years ago by Peter Peterson

  • Status changed from verifying to reopened
  • Resolution fixed deleted

This does work, but I would like @Stuart to test it before it gets merged in.

Also, I second Jay's comments about the rest of the information added points to the wrong things at SNS. They should be commented out, or correct and pointing at broken servers.

comment:8 Changed 7 years ago by Stuart Campbell

I can login to both facilities with no problems.

ISIS works fine - some minor GUI tweaks but nothing to worry about now. For the SNS, I cannot see anything, I get the following errors

CatalogListInstruments started
Algorithm: CatalogListInstruments v1
Parameters:
  Name: InstrumentList, Value: , Default?: Yes, Direction: Output
  Name: IsValid, Value: 1, Default?: Yes, Direction: Output
Error in execution of algorithm CatalogListInstruments:
Read access to this Instrument is not allowed.
CatalogListInvestigationTypes started
Algorithm: CatalogListInvestigationTypes v1
Parameters:
  Name: InvestigationTypes, Value: , Default?: Yes, Direction: Output
  Name: IsValid, Value: 1, Default?: Yes, Direction: Output
Error in execution of algorithm CatalogListInvestigationTypes:
Read access to this InvestigationType is not allowed.

comment:9 Changed 7 years ago by Shelly Ren

  • Status changed from reopened to inprogress

updated SNS IDS path Refs #8811

Changeset: a22bdfbac84a89a8e5487d1cb9a05fd0a70f6154

comment:10 Changed 7 years ago by Shelly Ren

  • Status changed from inprogress to verify
  • Resolution set to fixed

Updated SNS IDS path; commented out SNS prefixes for archives.

comment:11 Changed 7 years ago by Peter Peterson

  • Status changed from verify to closed

Merge remote branch 'origin/feature/8811_icat_sns'

Full changeset: 5f4aa8457c5e251946a2446a19d458ffffc0de35

comment:12 Changed 6 years ago by Roman Tolchenov

Re #8811. Plotting of spectra

Changeset: 34108829065c39817dc3ac16ffccf2cfee35dcea

comment:13 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 9655

Note: See TracTickets for help on using tickets.