You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expose various attributes on SlurmRestApi instances (#231)
So that downstream applications can e.g. check expiry on the user token.
Load user_token from external file in SlurmRestApi rather than in the
zocalo.configuration Slurm plugin to allow token changes to be picked
up without reloading zocalo.configuration (which may have side effects
such as duplicating graylog logging handlers.
Copy file name to clipboardExpand all lines: HISTORY.rst
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@ History
4
4
5
5
Unreleased
6
6
----------
7
+
* Expose ``url``, ``version``, ``user_name`` and ``user_token`` attributes on ``SlurmRestApi`` instances
8
+
* Load ``user_token`` from external file in ``SlurmRestApi`` rather than in the ``zocalo.configuration`` Slurm plugin to allow token changes to be picked up without re-loading ``zocalo.configuration``
0 commit comments