crs4 / life_monitor

Workflow Sustainability Service
MIT License
4 stars 4 forks source link

Feature/User friendly rendering of automated checks list #273

Closed kikkomep closed 1 year ago

kikkomep commented 1 year ago

This PR addresses issue #248.

The endpoint /workflows/issues has been extended to support a new format parameter. It can accept two values: json (default) and html. When format is set to html the server returns a HTML page like:

Screenshot 2022-11-15 at 15 26 57

(fix #248)

ilveroluca commented 1 year ago

How about choosing the format through content negotiation rather than a parameter? I think the default format could still be JSON.

kikkomep commented 1 year ago

The format parameter has been removed and a new endpoint serves the HTML content.

So, we have two different endpoints: