Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command recorder Admin Console plugin to configure admin command logging (with plain facelets, no JSF templating) #24898

Merged
merged 9 commits into from
Jul 17, 2024

Commits on Jul 11, 2024

  1. Configuration menu
    Copy the full SHA
    b176b61 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e66b107 View commit details
    Browse the repository at this point in the history
  3. GH eclipse-ee4j#25039 Support plain JSF pages in Admin Console

    URLs that start with /faces/* are handled by xhtml pages
    (e.g. /faces/header.xhtml handled by header.xhtml (in the webapp root).
    Can be injected to JSF templating pages via iframe.
    Example in upload.jsf (Application -> Deploy...)
    OndroMih committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    9da971b View commit details
    Browse the repository at this point in the history
  4. GH eclipse-ee4j#25039 Facelets in Console: Resources in Console plugins

    Adds a custom resource handler wrapper that loads facelets from a console plugin, from the META-INF/resources directory.
    Adds a Console plugin for command recorder, which provides a menu facelet wtih a toggle button. The MenuView bean is not found yet.
    OndroMih committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    bcb734c View commit details
    Browse the repository at this point in the history
  5. GH eclipse-ee4j#25039 Facelets in Console: Command recorder plugin

    Button to toggle Command logger
    Simplified plugins via Faces - plain JARs in Admin WAR,
    which contain facelets and resources in META-INF/resources,
    and Java model as plain CDI beans in the JAR.
    
    Subject is retrieved from Jakarta Security - worth to move to a common module.
    OndroMih committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    807a4da View commit details
    Browse the repository at this point in the history
  6. GH eclipse-ee4j#25039 Facelets in Console: Moved integration to the c…

    …ommandrecorder plugin
    
    Moved all the code needed to integrate the Command Recorder console plugin into the plugin module. This means that Admin Console will work without issues if the module is not present.
    
    Since the Admin Recorder plugin is deployed in the AdminGUI application and not as an OSGi bundle in modules, I needed to update the ConsolePluginService:
    
    * it's now created by an HK2 locator specific to the deployed app, so that it finds console plugins also in the web app, not only in OSGi modules
    * it searches for all plugin configuration files in the classloader and remove duplicities (because the web app classloader also finds all files in OSGi bundles via the parent classloader)
    
    Also removed the demo facelets files.(header.xhtml, etc.)
    OndroMih committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    94ae8aa View commit details
    Browse the repository at this point in the history
  7. GH eclipse-ee4j#25039 Facelets in Console: Clean up

    Moved CDI producers into Admin Core, so that they can be reused by other modules and we avoid conflicts or implicit dependencies if multiple modules define the same producers or rely on beans produced by other modules.
    OndroMih committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    3bb8de0 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2024

  1. GH eclipse-ee4j#25039 Facelets in Console: Clean up

    Removed unnecessary Serializable
    OndroMih committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    97767d5 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Configuration menu
    Copy the full SHA
    dc5613f View commit details
    Browse the repository at this point in the history