[JIRA] (IDP-2062) Machine readable status handler
Matthew Slowe (Jira)
jira at shibboleth.atlassian.net
Wed Jan 4 14:30:30 UTC 2023
Matthew Slowe ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=5c45da4b23f5bf67262143c7 ) *created* an issue
Identity Provider ( https://shibboleth.atlassian.net/browse/IDP?atlOrigin=eyJpIjoiYzhlNTlkMzc5NWI3NGFlMzgyNjk4NjkwNjY0NzViNzMiLCJwIjoiaiJ9 ) / Improvement ( https://shibboleth.atlassian.net/browse/IDP-2062?atlOrigin=eyJpIjoiYzhlNTlkMzc5NWI3NGFlMzgyNjk4NjkwNjY0NzViNzMiLCJwIjoiaiJ9 ) IDP-2062 ( https://shibboleth.atlassian.net/browse/IDP-2062?atlOrigin=eyJpIjoiYzhlNTlkMzc5NWI3NGFlMzgyNjk4NjkwNjY0NzViNzMiLCJwIjoiaiJ9 ) Machine readable status handler ( https://shibboleth.atlassian.net/browse/IDP-2062?atlOrigin=eyJpIjoiYzhlNTlkMzc5NWI3NGFlMzgyNjk4NjkwNjY0NzViNzMiLCJwIjoiaiJ9 )
Issue Type: Improvement Affects Versions: 4.2.1 Assignee: Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) Components: Administration Created: 04/Jan/23 9:30 AM Priority: Trivial Reporter: Matthew Slowe ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=5c45da4b23f5bf67262143c7 )
Add support for Accept request header to the /idp/status handler for MIME types other than text/plain … for example:
* application/xml or text/xml
* application/json
The handler would then reply with a more easily parsed machine readable output using the requested (supported) content type.
For example in JSON…
{
"platform" :{
"operating_system" : "Linux" ,
"operating_system_version" : "5.13.0-1022-azure" ,
"operating_system_architecture" : "amd64" ,
"jdk_version" : "11.0.16" ,
"available_cores" : 2,
"used_memory" : "130 MB" ,
"maximum_memory" : "1024 MB"
},
"idp" : {
"idp_version" : "4.2.1" ,
"start_time" : "2022-09-08T08:33:46.658Z" ,
"current_time" : "2023-01-04T12:57:29.275603Z" ,
"uptime" : "PT2836H23M42.617S" ,
"modules" : [
"idp.authn.Duo" ,
"idp.authn.External" ,
"..."
],
"services" : [
{
"service" : "shibboleth.LoggingService" ,
"last successful reload attempt" : "2022-09-08T08:33:39.322629Z" ,
"last reload attempt" : "2022-09-08T08:33:39.322629Z"
},
{
"service" : "shibboleth.MetadataResolverService" ,
"last successful reload attempt" : "2022-12-20T08:52:31.917958Z" ,
"last reload attempt" : "2022-12-20T08:52:31.917958Z" ,
"details" :[
{
"metadata source" : "ShibbolethMetadata" ,
"last refresh attempt" : "2023-01-04T11:52:42.174569Z" ,
"last successful refresh" : "2023-01-04T11:52:42.174569Z" ,
"last update" : "2023-01-04T11:52:42.174569Z"
}
]
}
]
}
}
( https://shibboleth.atlassian.net/browse/IDP-2062#add-comment?atlOrigin=eyJpIjoiYzhlNTlkMzc5NWI3NGFlMzgyNjk4NjkwNjY0NzViNzMiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/IDP-2062#add-comment?atlOrigin=eyJpIjoiYzhlNTlkMzc5NWI3NGFlMzgyNjk4NjkwNjY0NzViNzMiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100213- sha1:9e5c4b9 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230104/87b5f4e5/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-0c47b2f0-4856-4709-b2a9-a8c0db6d1cf2
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230104/87b5f4e5/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-00122ad5-e9c8-49b2-9164-9dc68d910a61
Type: image/png
Size: 448 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230104/87b5f4e5/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-b473f8e4-562f-436b-b648-70eb75f4549f
Type: image/png
Size: 446 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230104/87b5f4e5/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-91c504fc-83ad-4fec-8473-a838acea7f28
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230104/87b5f4e5/attachment-0007.png>
More information about the commits
mailing list