krud-dev / ostara

Ostara is a cross-platform desktop app for managing and monitoring Spring Boot applications using the Actuator API, providing comprehensive insights and effortless control.
https://ostara.dev
Apache License 2.0
319 stars 11 forks source link

Info endpoint page #483

Closed Idane closed 1 year ago

Idane commented 1 year ago

Required ability:

Misc information:

Custom cards dependent on key presence:

build

"build": {
    "artifact": "inapp-demo",
    "name": "inapp-demo",
    "time": "2023-06-06T09:42:54.806Z",
    "version": "0.0.1-SNAPSHOT",
    "group": "dev.krud.ostara"
},

git

Simple:

"git": {
    "branch": "master",
    "commit": {
        "id": "c6ca3a4",
        "time": "2023-06-06T09:35:18Z"
    }
},

Full:

"git": {
    "branch": "master",
    "commit": {
        "time": "2023-06-06T09:36:43Z",
        "message": {
            "full": "chore: add info contributors to demo\n",
            "short": "chore: add info contributors to demo"
        },
        "id": {
            "describe": "v0.9.0-37-g1b96b80-dirty",
            "abbrev": "1b96b80",
            "full": "1b96b8028fc6ff843e5c5170a1540af2c4f31131"
        },
        "user": {
            "email": "idan@elhalwani.com",
            "name": "Idan Elhalwani"
        }
    },
    "build": {
        "version": "0.0.1-SNAPSHOT",
        "user": {
            "name": "Idan Elhalwani",
            "email": "idan@elhalwani.com"
        },
        "host": "Idans-MacBook-Pro.local"
    },
    "dirty": "true",
    "tags": "",
    "total": {
        "commit": {
            "count": "793"
        }
    },
    "closest": {
        "tag": {
            "commit": {
                "count": "37"
            },
            "name": "v0.9.0"
        }
    },
    "remote": {
        "origin": {
            "url": "git@github.com:krud-dev/ostara.git"
        }
    }
},

os + java

OS:

"os": {
    "name": "Mac OS X",
    "version": "12.2.1",
    "arch": "x86_64"
}

Java:

"java": {
    "version": "17.0.5",
    "vendor": {
        "name": "Azul Systems, Inc.",
        "version": "Zulu17.38+21-CA"
    },
    "runtime": {
        "name": "OpenJDK Runtime Environment",
        "version": "17.0.5+8-LTS"
    },
    "jvm": {
        "name": "OpenJDK 64-Bit Server VM",
        "vendor": "Azul Systems, Inc.",
        "version": "17.0.5+8-LTS"
    }
},

All other fields

Sample:

"someKey": "someValue",
"objectKey": {
    "objectKey1": "objectValue1",
    "objectKey2": "objectValue2"
}

Add to demo: