Skip to content

Releases: XSEDE/amieclient

v0.6.1

25 Apr 18:15

Choose a tag to compare

AMIE API client bugfixes:

  • Send proper StatusCode for ITC packets generated by reply_with_failure() (#30, thanks @LiangGeorge)
  • Correct field name error in the process_packets.py example (#29, thanks @davidecarlson)
  • Properly handle JSON generation of packets with no timestamp (#28, thanks @rynge)

v0.6.0

27 Oct 16:55

Choose a tag to compare

AMIE API client bugfixes:

  • Add test to ensure that the JSON we get from a packet is the same as the JSON that went into making it (b4f46f1)
  • Misc. cosmetic changes to ensure JSON matches:
    • Format packet_timestamp before serializing as json (1a7be29)
    • serialize expected replies with timeouts (b2246a9)
    • Capitalize DATA_TYPE values, to match what server sends (fb965ab)
    • Pass through type ID (9fa61a8)
  • remove old date attribute (c3bf93d) (fixes #20, thanks @jmlowe)
  • Add missing UserZip and UserUID fields to NotifyAccountCreate packets (650971f, 74b2910)
  • Make some methods that only take a single argument not insist on that argument being passed as a keyword (a947821)

AMIE API client new features:

  • Packets now have a reply_with_failure() method, which works similarly to the reply_packet() method and can be used to generate a packet that informs the server that the transaction the packet belongs to has failed. For more details please see the documentation. (bc6b6df)

v0.5.1

26 Aug 16:57

Choose a tag to compare

AMIE API updates:

  • Add support for packet_timestamp field in AMIE packets (#16)

Usage API updates (thanks to @pauldalewilliams for both of these):

  • Fix conversion of StorageUsageRecord to dict (#15)
  • Fix url formatting for clear_failed_records function in usage client (#17)

Miscellaneous updates:

  • Update python-dateutil dependency for Python > 3.7. Python 3.6 will keep on the older version, to maintain compatibility with the version distributed as part of CentOS 8. (5e0cd68)
  • Use setup.py for installing test dependencies (01e5ae2)
  • Python 3.9 now supported (91e4495)

CI updates:

v0.4.0

07 Jul 14:56

Choose a tag to compare

Changes:

  • Fix a bug in parsing the result of a transaction query (9b1932b)
  • Correct invalid packet fields in example code (#14)
  • Update development dependencies to fix an upstream vuln. (e27d633)

v0.3.5

02 Apr 15:21

Choose a tag to compare

Changes:

  • Fixes bug that tries to PUT client_json as form-encoded data instead of JSON #12
  • Add validation function to packets with ResourceList attributes: make sure ResourceLists only have one element #13