ScilifelabDataCentre / dds_web

A cloud-based system for the delivery of data from SciLifeLab Facilities to their users (e.g. research group).
Other
8 stars 8 forks source link

Add maintenance status endpoint #1459

Closed valyo closed 1 year ago

valyo commented 1 year ago

Before submitting this PR

  1. Description: Adds get method to maintenance endpoint
  2. Jira task / GitHub issue: DDS-1436, DDS-1651
  3. How to test: Test together with https://github.com/ScilifelabDataCentre/dds_cli/pull/644
  4. Type of change: Check the relevant boxes in the section below
  5. Add docstrings and comments to code, even if you personally think it's obvious.

What type of change(s) does the PR contain?

Checklist

Actions / Scans

codecov[bot] commented 1 year ago

Codecov Report

Merging #1459 (a67e251) into dev (abb196e) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev    #1459      +/-   ##
==========================================
+ Coverage   89.49%   89.51%   +0.01%     
==========================================
  Files          29       29              
  Lines        4390     4396       +6     
==========================================
+ Hits         3929     3935       +6     
  Misses        461      461              
Files Changed Coverage Δ
dds_web/api/__init__.py 100.00% <100.00%> (ø)
dds_web/api/superadmin_only.py 98.82% <100.00%> (+0.04%) :arrow_up: