Details

    • Sub-Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • N/A
    • 26.10.0
    • maxgui
    • None
    • MXS-SPRINT-247, MXS-SPRINT-248

    Description

      The `maxctrl create report` command generates a JSON file by combining the responses from the following endpoints:

      /maxscale
      /servers
      /services
      /monitors
      /listeners
      /filters
      /sessions
      /users
      /maxscale/modules
      /maxscale/query_classifier
      /maxscale/threads
      /logs/data/?page[cursor]=0&page[size]=1000
      /maxscale/debug/server_diagnostics
      

      To view the combined JSON without polluting the DOM, a JSON viewer component should be created to efficiently handle large JSON data and support searching.
      Since Monaco Editor is already used for SQL and includes built-in JSON support, it can be reused. However, the current setup is configured for the MariaDB language and needs to be refactored to also support JSON.

      Attachments

        Activity

          People

            thien.ly Thien Ly
            thien.ly Thien Ly
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.