Skip to content

Commit 586fdc6

Browse files
author
Brad Porter
authored
3.5 dev (#74)
3.5.0 ----- * Added get_all_directory_sdk_keys method to Organization client * Added integration testing suite * Added device failure sensor type * Added auth_methods and auth_policy attributes to the AuthorizationResponse object * Added handle_webhook as well as DeviceLinkCompletionResponse into the DirectoryClient * Updated the OrganizationClient update_directory() method and Directory object to include a webhook_url kwarg / attribute * Added Webhook example app 3.4.0 ----- * Added example CLI to codebase * Added ttl parameter to the DirectoryClient link_device method * Added cancel_authorization_request method to the ServiceClient * Fixed bug in ServiceClient which prevented handling of session end webhook request data when presented as a bytearray 3.3.1 ----- * Updated HTTP transport to no longer use sessions due to a bug that was causing BadStatusLine exceptions on long lived connections.
1 parent 7f44f62 commit 586fdc6

File tree

132 files changed

+11070
-219
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+11070
-219
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
features/environment.py
12
.python-version
23
version/
34
versions/
@@ -9,3 +10,4 @@ build
910
.eggs
1011
.coverage
1112
\.tox/*
13+
*.apk

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ dist: xenial
33
language: python
44
python:
55
- "2.7"
6-
- "3.4"
76
- "3.5"
87
- "3.5-dev"
98
- "3.6"

CHANGES.rst

+24-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
CHANGELOG for LaunchKey Python SDK
22
==================================
33

4+
3.5.0
5+
-----
6+
7+
* Added get_all_directory_sdk_keys method to Organization client
8+
* Added integration testing suite
9+
* Added device failure sensor type
10+
* Added auth_methods and auth_policy attributes to the AuthorizationResponse object
11+
* Added handle_webhook as well as DeviceLinkCompletionResponse into the DirectoryClient
12+
* Updated the OrganizationClient update_directory() method and Directory object to include a webhook_url kwarg / attribute
13+
* Added Webhook example app
14+
15+
3.4.0
16+
-----
17+
18+
* Added example CLI to codebase
19+
* Added ttl parameter to the DirectoryClient link_device method
20+
* Added cancel_authorization_request method to the ServiceClient
21+
* Fixed bug in ServiceClient which prevented handling of session end webhook request data when presented as a bytearray
22+
23+
3.3.1
24+
-----
25+
26+
* Updated HTTP transport to no longer use sessions due to a bug that was causing BadStatusLine exceptions on long lived connections.
27+
428
3.3.0
529
-----
630

@@ -24,7 +48,6 @@ CHANGELOG for LaunchKey Python SDK
2448
* Added full webhook validation
2549
* Cleaned up error handling and raising for webhooks
2650
* Switch RequestsTransport to use session in order to provide connection sharing between requests
27-
* Added dynamic auth TTL and title functionality
2851

2952
3.1.1
3053
-----

Makefile

-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ ci-py27: test
22

33
ci-pypy: test
44

5-
ci-py34: test
6-
75
ci-py35: test
86

97
ci-py36: ci
@@ -14,7 +12,6 @@ ci-py38: test
1412

1513
ci-pypy3: test
1614

17-
1815
ci: dependencies coverage flake8 pylint deps-check
1916

2017
test:

Pipfile

+5-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ url = "https://pypi.org/simple"
44
verify_ssl = true
55

66
[packages]
7-
launchkey = {path = ".", editable = true}
7+
launchkey = {path = ".",editable = true}
88
urllib3 = ">= 1.24.2" # Ensure CVE-2019-11324 is mitigated
99

1010
[dev-packages]
@@ -13,15 +13,16 @@ nose = ">= 1.3.0, < 2.0.0"
1313
nose-exclude = ">= 0.5.0, < 1.0.0"
1414
mock = ">= 2.0.0, < 3.0.0"
1515
ddt = ">= 1.1.1, < 2.0.0"
16-
1716
# Tools for static analysis
1817
flake8 = "~=3.6.0"
1918
pylint = "~=2.2.2"
2019
coverage = "~=4.5.2"
2120
astroid = "~=2.1.0" # Remove after pylint is updated to 2.3.0+
22-
2321
# Tools for multi-environment testing before sending to CI
2422
tox = "~=3.7.0"
23+
behave = "~=1.2.6"
24+
appium-python-client = "*"
25+
pyhamcrest = "*"
2526

2627
[requires]
27-
python = "~=3.4"
28+
python = "~=3.4"

Pipfile.lock

+133-93
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.rst

+13
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,19 @@ Use to more easily interact with iovation's LaunchKey API.
2020

2121
A more in-depth look at this SDK can be found at the official docs_.
2222

23+
Examples
24+
--------
25+
26+
CLI Example
27+
***********
28+
29+
`Go to the README <examples/cli/README.md>`_
30+
31+
Flask Webhooks Example
32+
**********************
33+
34+
`Go to the README <examples/flask-webhooks-example/README.md>`_
35+
2336
Installation
2437
------------
2538

examples/cli/Pipfile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[[source]]
2+
url = "https://pypi.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[dev-packages]
7+
8+
[packages]
9+
click = "*"
10+
six = "*"
11+
launchkey = {path = "./../..", editable = true}
12+
13+
[requires]
14+
python_version = "3.7"

examples/cli/Pipfile.lock

+150
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)