Skip to content

Commit

Permalink
Release 0 92 9 (#79)
Browse files Browse the repository at this point in the history
* Syncing master with develop

Signed-off-by: Christian Tremblay <christian.tremblay@servisys.com>

* Quick fix to look for exception in scram login

* cleanup / fix setup.py, and add license (#69)

`re` and `requests` weren't used in this file, and weren't declared in
`setup_requires` causing some build issues. Removed these imports.

Removed mixed tabs & spaces.

Explicitly added the Apache License to list of Classifiers so this
project can be identified as Apache Licensed at pypi.org. This matches
the license file.

* Synchronise VRT's Pyhaystack tree (#71)

* WC-847: client.widesky: Expect to see 404 messages.

* WC-847: client.ops.entity: Handle "not found" errors.

If we get back a `HaystackError` of the form `HNotFoundError: …`, then
the entity does not exist.

* WC-847: client.mixins.vendor.widesky.crud: Handle 200/400/404 error codes.

- 200: the "happy path"
- 400: bad request
- 404: not found

* WC-621: client.ops.his: Handle rng=slice object case.

MeterMaster passes in a `slice` object with two `datetime.datetime`
objects when it wishes to do a read operation.  It seems this construct
causes some grief with `pyhaystack` and `hszinc` which shouldn't be an
issue.

This fixes the issue by converting the slice object into a
comma-separated string: standard Project Haystack format.

* WC-1534: fix for creating entity without specifing 'id' tag

* WC-1534: add api server version check for uuid support

* VRT-1681: mkdeb.sh: Add Debian package build script.

* VRT-1681: Drop out-of-date Debian package files.

The script `mkdeb.sh` just needs `stdeb` and should remain up-to-date.

* WC-847: client.session: Wrap low-level function calls

This lets a subclass easily insert options into the `_get` or `_post`
request passed to the HTTP client, e.g. to expect certain HTTP error
codes.

* VRT-1681: client.widesky: Clean up duplication from merge.

* Added a helper function to translate niagara ~2d, etc characters and make more readable strings

* Run black over the files.

* Update the company name of Widesky IoT platform (#78)

* cleanup / fix setup.py, and add license

`re` and `requests` weren't used in this file, and weren't declared in
`setup_requires` causing some build issues. Removed these imports.

Removed mixed tabs & spaces.

Explicitly added the Apache License to list of Classifiers so this
project can be identified as Apache Licensed at pypi.org. This matches
the license file.

* Update the company name of Widesky IoT platform

As of July 2019 Widesky.cloud is now the company responsible for developing Widesky.

* Added forgotten file

* Bumping version

* Trying to correct warning of deprecation for collections.abc (collections only won't work in Python 3.8)

* Formatting

* missing 2 in collection

* New encoding mixin for Niagara. Actually, added the unescaping function here.

* Will skip unescaping test for python 2... not supported

* Skip test

* Trying to set json by default for Niagara as zinc is unable to handle big requests.

* json by default for Niagara4

* Missing hszinc import

* format
  • Loading branch information
ChristianTremblay authored Oct 8, 2019
1 parent bb094d6 commit ea6177c
Show file tree
Hide file tree
Showing 66 changed files with 2,654 additions and 2,091 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ tests/haystackClient/HaystackClientTest.py
/docs/build
/.cache
/pyhaystack/client/ops/vendor/niagara4
.idea
14 changes: 0 additions & 14 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/needle.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

43 changes: 0 additions & 43 deletions .idea/workspace.xml

This file was deleted.

6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Actually, connection can be established with :

* Niagara4_ by Tridium
* NiagaraAX_ by Tridium
* Widesky_ by VRT_
* Widesky_ by Widesky.cloud_
* Skyspark_ by SkyFoundry (version 2 and 3+)

Connection to Niagara AX or Niagara 4 requires the nHaystack_ module by J2 Innovations to be installed
Expand Down Expand Up @@ -88,7 +88,7 @@ Pyhaystack is robust and will be ready for asynchronous development.
We have chosen a state machine approach with observer pattern. See the docs for
more informations.

This implementation has been mostly supported by VRT_ and Servisys_. We are hoping
This implementation has been mostly supported by Widesky.cloud_ and Servisys_. We are hoping
that more people will join us in our effort to build a well working open-source software
that will open the door of building data analysis to Python users.

Expand Down Expand Up @@ -123,7 +123,7 @@ to pyhaystack (ex. unit conversion)

.. _Niagara4 : https://www.tridium.com/en/products-services/niagara4

.. _VRT : http://www.vrt.com.au/
.. _Widesky.cloud : http://widesky.cloud/

.. _Servisys : http://www.servisys.com

Expand Down
55 changes: 0 additions & 55 deletions debian/changelog

This file was deleted.

1 change: 0 additions & 1 deletion debian/compat

This file was deleted.

35 changes: 0 additions & 35 deletions debian/control

This file was deleted.

31 changes: 0 additions & 31 deletions debian/rules

This file was deleted.

1 change: 0 additions & 1 deletion debian/source/format

This file was deleted.

1 change: 0 additions & 1 deletion debian/source/options

This file was deleted.

Loading

0 comments on commit ea6177c

Please sign in to comment.