Skip to content

Conversation

@phycodurus
Copy link
Member

@phycodurus phycodurus commented Jul 30, 2025

This PR refactors the ESO facility integration to use user-specific credentials from the ESOProfile.

  • Get credentials from ESOProfile
  • The ESOAPI class is refactored to require explicit environment, username, and password parameters, removing the singleton pattern and settings dependency.
  • Add progress spinners for P2 API calls
  • Unimplemented facility interface methods now raise NotImplementedError for clarity.

Also, merged into this branch:

The facility is still in prototype stage and we may even want to rethink the ESO P2 Tool iframe in lieu of opening up the ESO P2 Tool in another browser TAB/window, but we should get some customer feedback @talister and @carrholt first and foremost.

dependabot bot and others added 5 commits July 21, 2025 15:34
Bumps [flake8](https://github.com/pycqa/flake8) from 7.0.0 to 7.3.0.
- [Commits](PyCQA/flake8@7.0.0...7.3.0)

---
updated-dependencies:
- dependency-name: flake8
  dependency-version: 7.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [tomtoolkit](https://github.com/TOMToolkit/tom_base) from 2.25.0 to 2.25.1.
- [Release notes](https://github.com/TOMToolkit/tom_base/releases)
- [Commits](TOMToolkit/tom_base@2.25.0...2.25.1)

---
updated-dependencies:
- dependency-name: tomtoolkit
  dependency-version: 2.25.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
This was linked to issues Jul 30, 2025
@phycodurus phycodurus mentioned this pull request Jul 30, 2025
6 tasks
@jchate6 jchate6 moved this to Needs Review in TOM Toolkit Aug 1, 2025
@phycodurus phycodurus requested a review from jchate6 August 12, 2025 22:20
@phycodurus phycodurus marked this pull request as ready for review August 12, 2025 22:21
Copy link

@jchate6 jchate6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also add an explanation for the default username/profile situation to the profile card itself. Make the explanation conditional on if the default is currently set, so users with actual credentials don't see it.

@phycodurus phycodurus requested a review from jchate6 August 20, 2025 22:24
Copy link

@jchate6 jchate6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This still isn't working for me the way it used to.
image
Is there something else I need to do to get these to work?

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

Labels

None yet

Projects

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

tom_eso API client library enhancements Update for Poetry 2.0

3 participants