Skip to content

enhancement: console integration#2502

Draft
fschade wants to merge 4 commits intoopencloud-eu:mainfrom
fschade:console-integration
Draft

enhancement: console integration#2502
fschade wants to merge 4 commits intoopencloud-eu:mainfrom
fschade:console-integration

Conversation

@fschade
Copy link
Copy Markdown
Member

@fschade fschade commented Mar 20, 2026

Description

Introduce a new console service that integrates the system with the console remote (instance management). It establishes the foundation for remote-driven functionality across the platform.

As a first use case, theme management is now handled via the remote service.

Motivation and Context

Introduce a console service to integrate the remote console service.

Changes

Console Service (main focus)

  • Introduced a new console service as an integration layer
  • Connects the system with the console remote (instance management)
  • Provides the foundation for remote-managed features

Web-Theming (first use case)

  • Replaced static themes with runtime-managed themes (for console themes only)
  • Uses shared storage to support distributed environments
  • Integrated with console remote to consume managed themes

SSE

  • Added support for subscribing to multiple topics (such as, all-users: theme updated notification)
  • Replaced previous SSE library (single-topic limitation)

How to test it

  • get and bootstrap the remote console service
  • remote console service: create an instance
  • opencloud: copy the instance token and make it available CONSOLE_REMOTE_JWT_TOKEN=xxx
  • opencloud: enable the console integration START_ADDITIONAL_SERVICES="console"
  • opencloud: start the server as usual
  • opencloud cli - subscription based: oc console update subscribe
  • opencloud cli - cmd based: oc console update run web-theme-get
  • opencloud web ui: reaload the ui

Open Questions

  • is the cs3 system storage needed? or should we use the fs (needs writable storage)
  • should the theme data live in the web space or in the context of the console service
  • events.SendSSE uses UserIDs for the toic, since the pr introduces the ability to subscribe to multiple topics, is it still a good naming?

ToDos

  • !!! VIP !!! release build flag (tls insecure)

Related topics

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

@fschade fschade self-assigned this Mar 20, 2026
@fschade fschade force-pushed the console-integration branch from 704b317 to 878e17a Compare March 20, 2026 14:20
@github-project-automation github-project-automation Bot moved this to Qualification in OpenCloud Team Board Mar 20, 2026
@fschade fschade moved this from Qualification to In Progress in OpenCloud Team Board Mar 20, 2026
@fschade fschade force-pushed the console-integration branch from 878e17a to 1b9bfc3 Compare March 20, 2026 14:34
@fschade fschade force-pushed the console-integration branch from 1b9bfc3 to 062cf76 Compare March 31, 2026 13:58
@fschade fschade force-pushed the console-integration branch 3 times, most recently from 4d60535 to 5f0e795 Compare April 9, 2026 10:26
@fschade
Copy link
Copy Markdown
Member Author

fschade commented Apr 9, 2026

@AlexAndBear, please add your feedback regarding multi topic sse notifications :) a web draft is already done... but i wanna get your feedback first.

fschade added 4 commits April 22, 2026 13:32
replaced SSE library since the previous one only supported a single topic.
adds support for adding, removing, and checking themes at runtime.
replaces static themes with a shared storage-based (cs3 system-storage) solution
suitable for distributed systems.
adds a new console service that connects the system with the
console remote (instance management).

includes initial support for using themes managed by the remote service.

# Conflicts:
#	go.mod
@fschade fschade force-pushed the console-integration branch from 5f0e795 to cff798a Compare April 22, 2026 11:34
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
6.8% Duplication on New Code (required ≤ 3%)
D Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant