Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-25490

Reimplement SystemInfo in ez-support-tools

    XMLWordPrintable

    Details

      Description

      Collect system information, using zeta-components/system-information. Reimplementation of what exists in PlatformUI as of 16.02. Reimplementation of a subset of what exists in PlatformUI as of 16.02, specifically the hardware information (cpu, memory).

      SystemInfo value object

      Each collected set of info must (system, composer, version...) use its own Information value object.
      Each information should have its own property (cpuCount, ...)

      SystemInfoCollector service

      The SystemInformation value object must come with its own SystemInformationCollector, that returns a SystemInformation object. It must have its own interface.
      Suggested name: support_tools.info_collectors.system_info

      Dump command

      To ease development, a console command (like ez-support-tools:dump-info should be implemented. It must accept as an argument the name of the dumped info, but it can be hardcoded for now:

      php app/console ez-support-tools:dump-info support_tools.info_collectors.ezc_hardware

      It should use the SystemInfoCollector service from above, and dump (print_r, or maybe json_encode) the collected SystemInfo object.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gunnstein.lye@ez.no Gunnstein Lye
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 1 day, 2 hours, 40 minutes
                  1w 1d 2h 40m