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

Getting system status data #72

Open
krishnaglodha opened this issue Nov 17, 2024 · 1 comment · May be fixed by #62
Open

Getting system status data #72

krishnaglodha opened this issue Nov 17, 2024 · 1 comment · May be fixed by #62
Assignees

Comments

@krishnaglodha
Copy link
Collaborator

When we hit http://localhost:8080/geoserver/rest/about/status.html we get info such as attached image , but when we get data using status.json we get result as

{
    "name": "GeoWebCache",
    "href": "http://localhost:8080/geoserver/rest/about/status/GeoWebCache.json"
},
{
    "name": "GeoServer KML",
    "href": "http://localhost:8080/geoserver/rest/about/status/GeoServer+KML.json"
},
{
    "name": "GeoServer Main",
    "href": "http://localhost:8080/geoserver/rest/about/status/GeoServer+Main.json"
},

The links given in href are not working, should we get data in html and then create json on our own ?

HTML results looks lie following
Image

@ricardogsilva
Copy link
Collaborator

I'd say follow those other links reported in the status.json response and build a more comprehensive response, which would be our result.

def get_geoserver_status():
    # make a first call to the `status.json` endpoint and gather the individual status URLs
    # call each status URL (geowebcache, Geoserver+kml, Geoserver+main, etc)
    # return a single result, which would be a model that is showing all of this information, 
    # kind of similar to what the HTML page does
    ...

@ricardogsilva ricardogsilva moved this from Backlog to Todo in geoserverx Jan 3, 2025
@ricardogsilva ricardogsilva linked a pull request Jan 3, 2025 that will close this issue
@ricardogsilva ricardogsilva moved this from Todo to In progress in geoserverx Jan 3, 2025
@ricardogsilva ricardogsilva linked a pull request Jan 3, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

Successfully merging a pull request may close this issue.

3 participants