Skip to content

Releases: jrxFive/python-nomad

python-nomad-1.0.1

31 Oct 14:07
9ce1450
Compare
Choose a tag to compare

Update requests to 2.20.0

Vulnerable versions: <= 2.19.1
Patched version: 2.20.0
The Requests package through 2.19.1 before 2018-09-14 for Python sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network.

python-nomad-1.0.0

20 Oct 21:04
c2bc00a
Compare
Choose a tag to compare

Restructure base Requester class, inherit from class instead of passing object to each instantiation. Removes all helpers _get, _post, _no_post, _put, _delete in each endpoint. Additional exceptions for status_codes. Should address:

#42
#59
#62
#64

Additional endpoints for client:

read_at
stream_file
stream_logs
gc_allocate
gc_all

Fixes:
Diff parameter for jobs plan endpoint, thanks @jeteon!

This change is a breaking change along with some methods in the init being removed:

Exceptions that occur from communication with the Nomad API should now be following based on the status codes from, and inherit from BaseNomadException:

https://www.nomadproject.io/api/index.html#http-response-codes

set_namespace
set_token

python-nomad-0.9.0

31 May 17:03
1e929b9
Compare
Choose a tag to compare
python-nomad-0.9.0 Pre-release
Pre-release

python-nomad-0.8.0

20 Apr 02:00
Compare
Choose a tag to compare
python-nomad-0.8.0 Pre-release
Pre-release

Add support for:

  • node drain with drainspec
  • node eligibility
  • node prune

python-nomad-0.7.0

22 Mar 14:31
a01f381
Compare
Choose a tag to compare
python-nomad-0.7.0 Pre-release
Pre-release

Metrics and Stats Endpoints thanks to @gokhansengun
Environment Variable lookups and matching to other tools thanks to @vladshub

python-nomad-0.6.1

31 Jan 13:04
dde5c2c
Compare
Choose a tag to compare
python-nomad-0.6.1 Pre-release
Pre-release

Exception handling fix to obtain nomad_resp object for all custom exceptions raised. Thanks to @etrabelsi

python-nomad-0.6.0

10 Jan 23:03
7a751ff
Compare
Choose a tag to compare
python-nomad-0.6.0 Pre-release
Pre-release

Huge thanks to @i4s-pserrano who added functionality for:

Tokens
Policies
Namespaces (Enterprise only)
Sentinel policies (Enterprise only)
As well as documenting examples for all the properties available currently!

python-nomad-0.5.0

08 Aug 03:31
Compare
Choose a tag to compare
python-nomad-0.5.0 Pre-release
Pre-release

Add optional cert file parameter for cert tuple (cert,key)

python-nomad-0.4.0

04 Aug 14:30
Compare
Choose a tag to compare
python-nomad-0.4.0 Pre-release
Pre-release

Added calls for features new to nomad 0.6.0:

  • deployments
  • deployment
  • validate

python-nomad-0.3.0

15 Jul 16:40
Compare
Choose a tag to compare
python-nomad-0.3.0 Pre-release
Pre-release

CA certfile option to request session thanks to @marcjay