Skip to content

Commit

Permalink
release: v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Rodriguez authored and okraskaj committed Apr 18, 2019
1 parent 0b01151 commit ab0049d
Show file tree
Hide file tree
Showing 7 changed files with 63 additions and 6 deletions.
1 change: 1 addition & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ The list of contributors in alphabetical order:
- `Dinos Kousidis <https://orcid.org/0000-0002-4914-4289>`_
- `Jan Okraska <https://orcid.org/0000-0002-1416-3244>`_
- `Rokas Maciulaitis <https://orcid.org/0000-0003-1064-6967>`_
- `Sinclert Perez <https://www.linkedin.com/in/sinclert>`_
- `Tibor Simko <https://orcid.org/0000-0001-7202-5803>`_
26 changes: 26 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,32 @@
Changes
=======

Version 0.5.0 (2019-04-16)
--------------------------

- Centralises log level and log format configuration.
- Adds new utility to inspect the disk usage on a given workspace.
(``get_workspace_disk_usage``)
- Introduces the module to share Celery tasks accross REANA
components. (``tasks.py``)
- Introduces common Celery task to determine whether REANA can
execute new workflows depending on a set of conditions
such as running job count. (``reana_ready``, ``check_predefined_conditions``,
``check_running_job_count``)
- Allows the AMQP consumer to be configurable with multiple queues.
- Introduces new queue for workflow submission. (``workflow-submission``)
- Introduces new publisher for workflow submissions.
(``WorkflowSubmissionPublisher``)
- Centralises Kubernetes API client configuration and initialisation.
- Adds Kubernetes specific configuration for CVMFS volumes as utils.
- Introduces a new method, ``copy_openapi_specs``, to automatically move
validated OpenAPI specifications from components to REANA Commons
``openapi_specifications`` directory.
- Centralises interactive session types.
- Introduces central REANA errors through the ``errors.py`` module.
- Skips SSL verification for all HTTPS requests performed with the
``BaseAPIClient``.

Version 0.4.0 (2018-11-06)
--------------------------

Expand Down
7 changes: 5 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
.. image:: https://img.shields.io/travis/reanahub/reana-commons.svg
:target: https://travis-ci.org/reanahub/reana-commons

.. image:: https://readthedocs.org/projects/docs/badge/?version=latest
.. image:: https://readthedocs.org/projects/reana-commons/badge/?version=latest
:target: https://reana-commons.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/coveralls/reanahub/reana-commons.svg
Expand All @@ -30,8 +30,11 @@ schemas shared by the REANA cluster components.
Features
--------

- common API clients for internal communication
- centralised OpenAPI specifications for REANA components
- AMQP connection management and communication
- common Celery tasks
- utility functions for cluster components
- database models and schemas

Useful links
------------
Expand Down
28 changes: 28 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@
API
===

REANA API client
----------------

.. automodule:: reana_commons.api_client
:members:

REANA Kubernetes API client
---------------------------

.. automodule:: reana_commons.k8s.api_client
:members:

.. automodule:: reana_commons.k8s.volumes
:members:

REANA AMQP Publisher
--------------------

Expand All @@ -17,8 +32,21 @@ REANA AMQP Consumer
:members:


REANA Serial workflow utilities
-------------------------------

.. automodule:: reana_commons.serial
:members:


REANA utilities
---------------

.. automodule:: reana_commons.utils
:members:

REANA errors
------------

.. automodule:: reana_commons.errors
:members:
2 changes: 1 addition & 1 deletion reana_commons/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def check_if_cached(self, job_spec, step, workflow_workspace):


def get_current_api_client(component):
"""Return current state of the search extension."""
"""Proxy which returns current API client for a given component."""
rwc_api_client = BaseAPIClient(component)

return rwc_api_client._client
2 changes: 1 addition & 1 deletion reana_commons/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

from __future__ import absolute_import, print_function

__version__ = "0.5.0.dev20190416"
__version__ = "0.5.0"
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
'pytest-cache>=1.0',
'pytest-cov>=1.8.0',
'pytest-pep8>=1.0.6',
'pytest-reana==0.5.0.dev20190321',
'pytest>=3.8'
'pytest-reana==0.5.0',
]

extras_require = {
Expand Down

0 comments on commit ab0049d

Please sign in to comment.