Skip to content

[OGUI-1709] Implement token rejection event#2990

Merged
graduta merged 56 commits into
devfrom
feature/TKN/OGUI-1709/handle-rejecting-token
Nov 4, 2025
Merged

[OGUI-1709] Implement token rejection event#2990
graduta merged 56 commits into
devfrom
feature/TKN/OGUI-1709/handle-rejecting-token

Conversation

@OmegaCreations
Copy link
Copy Markdown
Contributor

@OmegaCreations OmegaCreations commented Aug 4, 2025

I have JIRA issue created

  • branch and/or PR name(s) includes JIRA ID
  • issue has "Fix version" assigned
  • issue "Status" is set to "In review"
  • PR labels are selected
  • FLP integration tests were ran successful

In the scope of this PR I have additionally refactored code structure for command design pattern. I believe it will be the best choice for such duplex communication as:

Connection <- ConnectionManager <- CentralConnection <- central system
Connection -> ConnectionManager -> CentralConnection -> central system

Without it, we could use event emitters, but they would be bad for eventual queues (if needed) and for testing. Moreover, we could merge handlers and commands into one class, but in my opinion it was okay to separate business logic from handler (same as controller/service in http).

Sample flow of connecting and revoking token:
You can see all peer2peer (hardcoded) defined connections and their: target address + direction + status
image

OmegaCreations and others added 30 commits June 8, 2025 20:40
…liceO2Group/WebUi into feature/TKN/OGUI-1703/basic-typescript-interfaces
…liceO2Group/WebUi into feature/TKN/OGUI-1703/basic-typescript-interfaces
…ithub.com:AliceO2Group/WebUi into feature/TKN/OGUI-1704/data-serialization-utils
…ub.com:AliceO2Group/WebUi into feature/TKN/OGUI-1705/client-central-basic-stream
@graduta graduta merged commit e162e4b into dev Nov 4, 2025
5 checks passed
@graduta graduta deleted the feature/TKN/OGUI-1709/handle-rejecting-token branch November 4, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants