Repository navigation
Conversation
Applied default sorting to various UI tables
Reduced excessive spacing between action buttons in expander columns across multiple UI modules. Standardized HBox spacing and updated margins to create a more compact and visually cohesive interface. Fixes #867
Adjusted UI button spacing for consistency
Adjusted the graph UI logic to prevent the removal of the selected state when resetting highlights. This ensured that a user's explicit selection persisted despite changes in contextual or neighborhood highlighting. Fixes #869
Added a "Select All" button and logic to both bundle and component graph views to streamline item selection. Relocated the layout selection dropdown to the top toolbar and grouped view checkboxes to optimize the interface. Included a tooltip for the graph generation button to provide better user guidance. Fixes #869
Removed static edge labels from the graph to reduce visual clutter. Implemented click interactions on edges to display connection details in the info panel. Added a legend to explain node highlighting and provide user guidance. Enhanced visual feedback by highlighting neighboring nodes when an edge was selected. Fixes #869
Graph Refactoring
Introduced a new UI module and backend infrastructure to visualize JAX-RS Whiteboard components, including applications, extensions, and resources. Implemented the agent logic to retrieve JAX-RS runtime metadata and updated the snapshot functionality to include this data in framework captures. Extended the data provider and event system to handle JAX-RS DTOs and lifecycle events, allowing for real-time monitoring of RESTful services within the OSGi environment. Closes #871
Added JAX-RS support to the console
Introduced a dedicated CDI view to visualize containers, components, and extensions within the OSGi framework. Implemented agent-side administrative logic to retrieve runtime metadata from the OSGi CDI Component Runtime service. Enhanced the JAX-RS detail view by adding a tabbed interface for resource method information. Integrated CDI data into the runtime data provider and snapshot functionality for persistence and remote analysis. Fixes #873
Added CDI runtime inspection and management
Logged a warning message when the agent was configured without a restricted command allowlist. Encouraged the definition of an allowlist to improve security and prevent the execution of unauthorized commands. Fixes #849
Warned about missing command allowlist settings
Verified the presence of JavaFX modules during startup to provide early failure feedback. Included clear error messaging and suggested specific JDK distributions to help users resolve environment issues. Closes #876
Added JavaFX runtime validation
Removed redundant apply attributes from Model-Fragment headers across various modules to clean up bundle configurations. Adjusted position indices within UI model fragments to improve the display sequence of application tabs. Fixes #878
Refined UI fragment headers and tab ordering
Updated the cast of the expanded node from BorderPane to TabPane to resolve a type mismatch with the associated FXML. Fixes #881
Corrected component type in JaxRs controller
Changed the cast of the expanded FXML node from BorderPane to TabPane to align with layout modifications. Fixes #884
Updated UI component type for CDI expanded view
Removed redundant locking mechanism as UI updates were handled by the JavaFX application thread. Adjusted X-axis bound calculation to correctly initialize and slide based on current timestamps. Cleared the memory usage chart collection during pane initialization to prevent stale state. Added data size validation before purging old entries during chart window shifts. Fixes #883
Improved heap monitor chart logic and synchronization
Introduced a new API to access files from a bundle's persistent storage area. Implemented security checks to prevent path traversal during file retrieval. Exposed this functionality through a new MCP tool for external client integration. Refactored internal log file handling to use a centralized constant. Fixes #887
Added support for retrieving bundle data files
…ns for efficiency
Introduced a new "ECF Metadata" section to the Remote Service Admin details UI and enhanced the handling of ECF-specific properties. Updated the logic to display "Container ID" instead of "Provider" for ECF endpoints and added specialized support for asynchronous interface properties. Closes #943
Introduced a new "Aries Metadata" section to the Remote Service Admin details UI and expanded property handling to include Aries and Zookeeper-specific keys. Updated the logic to display "Container ID" for Aries providers and ensured relevant IDs are marked as handled to avoid duplication in the custom properties section. Closes #943
Included 'service.imported', 'remote.configs.supported', and 'remote.intents.supported' in the list of handled keys to prevent these standard properties from being duplicated in the custom properties section of the RSA details UI. Closes #943
Moved the Remote Services Admin description to the end of the feature list to maintain consistent ordering within the table. Closes #943
RSA Enhancements
Implemented a new bundle to generate Gogo shell commands from natural language using BM25 local matching and remote LLM providers. Enhanced the Gogo console UI with a side panel for command generation, staging, and step-by-step execution. Closed #949
Introduced AI Command Builder for Gogo shell
Updated Maven dependency configuration for the console agent
Deleted the `BM25RetrieverTest` class which was used for manual verification of the BM25 retrieval logic and added a `.gitignore` file to the test directory.
Removed manual BM25 retriever test class
- Implemented JSON-RPC batch request support and pagination for tool listing - Added CORS headers and origin validation for improved security - Refined SSE connection management and session ID handling - Updated supported protocol versions and added comprehensive unit tests Fixes #942
- Updated recommended configuration to use Streamable HTTP as the primary transport - Documented supported protocol versions, including the latest 2025-11-25 version - Added comprehensive security information regarding origin validation and session management - Included specification compliance notes for JSON-RPC batching and tool pagination Fixes #942
MCP Enhancements
Moved `argBuffer.get()` and `argBufferOut.get()` calls outside of the argument encoding loop in `MqttRPC#encodeRequest`. A micro-benchmark confirmed that hoisting `ThreadLocal.get()` outside of a 100M iteration loop reduces execution time by approximately 40% (from ~280ms to ~165ms). The implementation correctly updates local references and the `ThreadLocal` values when the buffer is reallocated due to exceeding the 1MB size threshold, ensuring both performance and correctness. Co-authored-by: amitjoy <13380182+amitjoy@users.noreply.github.com>
This commit optimizes the `map()` method in `XLoggerAdmin` to resolve an N+1 performance bottleneck. The following changes were implemented: 1. **Loop-Invariant Hoisting**: The retrieval of the root log level is now performed once outside the bundle iteration loop, instead of repeatedly for each bundle. 2. **Service Call Caching**: A local `contextCache` is introduced to store the log levels for each unique Bundle Symbolic Name (BSN). This prevents redundant calls to `LoggerAdmin.getLoggerContext(bsn)` for bundles that share the same BSN. Benchmarks showed a significant performance improvement (approx. 89% in a simulated environment with 500 bundles and 50 unique BSNs). - Baseline: 278,076 ns - Optimized: 29,027 ns - Improvement: 89.56% These changes maintain exactly the same functionality while reducing CPU and memory overhead during state snapshotting. Co-authored-by: amitjoy <13380182+amitjoy@users.noreply.github.com>
…e-call-5382996453592502144 ⚡ Fix N+1 Service Call in XLoggerAdmin.map()
…pc-loop-1291877709303055871 ⚡ Optimize ThreadLocal Retrieval in MqttRPC Loop
Adjusted whitespace in variable assignments to improve code readability.
Configured a fixup message rule in the build configuration to manage or suppress messages related to Sonatype publishing.
Modified the MCP HTTP server to allow GET requests to the /sse path without requiring an explicit event-stream Accept header. This change treats /sse as a dedicated endpoint by convention, improving compatibility with clients like Claude Code and Cursor.
Registered the connection before sending the endpoint event to ensure the connection is tracked before a client can attempt to POST to the /messages endpoint.
Deleted the com.osgifx.console.agent.rsa.mock project and removed its references from the osgifx.bndrun file as the mock topology is no longer required for testing.
Adjusted the whitespace and indentation of the Import-Package instruction to improve readability and maintain consistency within the configuration file.
Moved the retrieval of cached output streams from the ThreadLocal storage to outside the serialization loop to avoid redundant lookups for each value. The local references are now updated only when the buffer exceeds the size threshold and requires reallocation.
Refactoring
Added PERFORMANCE_ANALYSIS.md detailing performance optimization opportunities for CPU overhead, memory footprint, GC pressure, and Network I/O in the com.osgifx.console.agent bundle targeting edge-constrained devices. Co-authored-by: amitjoy <13380182+amitjoy@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Added PERFORMANCE_ANALYSIS.md detailing performance optimization opportunities for CPU overhead, memory footprint, GC pressure, and Network I/O in the com.osgifx.console.agent bundle targeting edge-constrained devices.
PR created automatically by Jules for task 16070400204002110437 started by @amitjoy