<commit_before>package org.rundeck.app.api.model

import io.swagger.v3.oas.annotations.media.Schema

import java.lang.management.ThreadInfo;

@Schema(description="System Information")
class SystemInfoModel {
    @Schema(name="system", description="System Information")
    SystemInfoSystem system
    static class SystemInfoSystem{
        TimestampInfoModel timestamp
        RundeckInfoModel rundeck
        ExecutionsInfoModel executions
        OsInfoModel os
        JvmInfoModel jvm
        StatInfoModel stats
        MetricsInfoModel metrics
        ThreadDumpInfoModel threadDump
        HealthCheckInfoModel healthcheck
        PingInfoModel ping
        Map extended

        @Schema(name="timestamp", description="Timestamp Information")
        static class TimestampInfoModel {
            long epoch
            String unit
            String datetime
        }
        @Schema(name="executions", description="Executions Information")
        static class ExecutionsInfoModel {
            String active
            String executionMode
        }
        @Schema(name="os", description="Operating System Information")
        static class OsInfoModel {
            String arch
            String name
            String version
        }
        @Schema(name="jvm", description="Jvm System Information")
        static class JvmInfoModel {
            String name
            String vendor
            String version
            String implementationVersion
        }

        @Schema(name="rundeck", description="Rundeck Information")
        static class RundeckInfoModel {
            String version
            String build
            String buildGit
            String node
            String base
            String apiversion
            String serverUUID
        }
        @Schema(name="stats", description="Stat Information")
        static class StatInfoModel {

            UptimeInfoModel uptime
            CpuInfoModel cpu
            MemoryInfoModel memory
            SchedulerInfoModel scheduler
            ThreadInfoModel threads
        }
        @Schema(name="uptime", description="Uptime Information")
        static class UptimeInfoModel {
            int duration
            String unit
            SinceInfoModel since
        }
        @Schema(name="since", description="Since Uptime Information")
        static class SinceInfoModel {
            long epoch
            String unit
            String datetime
        }
        @Schema(name="cpu", description="Cpu Information")
        static class CpuInfoModel {
            LoadAverageInfoModel loadAverage
            int processors
        }
        @Schema(name="loadAverage", description="Cpu Load Average Information")
        static class LoadAverageInfoModel {
            String unit
            int average
        }
        @Schema(name="memory", description="Memory Information")
        static class MemoryInfoModel {
            String unit
            int max
            int free
            int total
        }
        @Schema(name="scheduler", description="Scheduler Information")
        static class SchedulerInfoModel {
            int running
            int threadPoolSize
        }
        @Schema(name="threads", description="Thread Information")
        static class ThreadInfoModel {
            int active
        }

        @Schema(name="metrics", description="Metrics Information")
        static class MetricsInfoModel {
            String href
            String contentType
        }
        @Schema(name="threadDump", description="Thread Dump Information")
        static class ThreadDumpInfoModel {
            String href
            String contentType
        }

        @Schema(name="healthcheck", description="Health Check Information")
        static class HealthCheckInfoModel {
            String href
            String contentType<commit_msg>RUN-1000: System Report 'Allocated Memory' display broken in the GUI<commit_after>package org.rundeck.app.api.model

import io.swagger.v3.oas.annotations.media.Schema

import java.lang.management.ThreadInfo;

@Schema(description="System Information")
class SystemInfoModel {
    @Schema(name="system", description="System Information")
    SystemInfoSystem system
    static class SystemInfoSystem{
        TimestampInfoModel timestamp
        RundeckInfoModel rundeck
        ExecutionsInfoModel executions
        OsInfoModel os
        JvmInfoModel jvm
        StatInfoModel stats
        MetricsInfoModel metrics
        ThreadDumpInfoModel threadDump
        HealthCheckInfoModel healthcheck
        PingInfoModel ping
        Map extended

        @Schema(name="timestamp", description="Timestamp Information")
        static class TimestampInfoModel {
            long epoch
            String unit
            String datetime
        }
        @Schema(name="executions", description="Executions Information")
        static class ExecutionsInfoModel {
            String active
            String executionMode
        }
        @Schema(name="os", description="Operating System Information")
        static class OsInfoModel {
            String arch
            String name
            String version
        }
        @Schema(name="jvm", description="Jvm System Information")
        static class JvmInfoModel {
            String name
            String vendor
            String version
            String implementationVersion
        }

        @Schema(name="rundeck", description="Rundeck Information")
        static class RundeckInfoModel {
            String version
            String build
            String buildGit
            String node
            String base
            String apiversion
            String serverUUID
        }
        @Schema(name="stats", description="Stat Information")
        static class StatInfoModel {

            UptimeInfoModel uptime
            CpuInfoModel cpu
            MemoryInfoModel memory
            SchedulerInfoModel scheduler
            ThreadInfoModel threads
        }
        @Schema(name="uptime", description="Uptime Information")
        static class UptimeInfoModel {
            int duration
            String unit
            SinceInfoModel since
        }
        @Schema(name="since", description="Since Uptime Information")
        static class SinceInfoModel {
            long epoch
            String unit
            String datetime
        }
        @Schema(name="cpu", description="Cpu Information")
        static class CpuInfoModel {
            LoadAverageInfoModel loadAverage
            int processors
        }
        @Schema(name="loadAverage", description="Cpu Load Average Information")
        static class LoadAverageInfoModel {
            String unit
            int average
        }
        @Schema(name="memory", description="Memory Information")
        static class MemoryInfoModel {
            String unit
            long max
            long free
            long total
        }
        @Schema(name="scheduler", description="Scheduler Information")
        static class SchedulerInfoModel {
            int running
            int threadPoolSize
        }
        @Schema(name="threads", description="Thread Information")
        static class ThreadInfoModel {
            int active
        }

        @Schema(name="metrics", description="Metrics Information")
        static class MetricsInfoModel {
            String href
            String contentType
        }
        @Schema(name="threadDump", description="Thread Dump Information")
        static class ThreadDumpInfoModel {
            String href
            String contentType
        }

        @Schema(name="healthcheck", description="Health Check Information")
        static class HealthCheckInfoModel {
            String href
            String contentType
{'fraction_non_alphanumeric': 0.05829711071337254, 'fraction_numerical': 0.000767067246228586, 'mean_word_length': 1.9310603222180591, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5046335', 'n_tokens_mistral': 1722, 'n_tokens_neox': 1677, 'n_words': 482}