An open API service indexing awesome lists of open source software.

https://github.com/umd-lib/umdlib-system-status

Drupal module for getting system status information from LibAnswers
https://github.com/umd-lib/umdlib-system-status

Last synced: 12 days ago
JSON representation

Drupal module for getting system status information from LibAnswers

Awesome Lists containing this project

README

          

# UMDlib System Status module

This module provides a cached system status json endpoint that pulls data from
external system status json service.

## To Install

```bash
composer require umd-lib/umdlib_system_status
```

## Setup

Enable the "System Status" module in "Manage | Extend"

## Config

The configuration for the upstream System Status JSON API url will be available
in the "Drupal Configuration" page > "SYSTEM" section > "System Status"
(/admin/config/system/system_status), or by running the following "drush"
command:

```
> drush config:set --yes umdlib_system_status.settings service_url ''
```

where \ is the URL of the API endpoint. For example, if the URL is
"http://docker.for.mac.localhost:4567/status", the command would be:

```
> drush config:set --yes umdlib_system_status.settings service_url 'http://docker.for.mac.localhost:4567/status'
```

## JavaScript

This module includes JavaScript for updating the "Systems Status" menu item in
the "utility navigation" menu provided by the "utility_nav" module.

## Testing

The system status endpoint can be tested in the local development environment
using the "system-status" Docker image
(see ).