Skip to content

Commit 97e2c7f

Browse files
authored
Merge pull request #55 from oracle/release_2018-05-03
Releasing version 1.3.20
2 parents c56e082 + e4aa3e0 commit 97e2c7f

File tree

79 files changed

+5085
-292
lines changed

Some content is hidden

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

79 files changed

+5085
-292
lines changed

CHANGELOG.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on `Keep a Changelog <http://keepachangelog.com/>`_.
66

7+
====================
8+
1.3.20 - 2018-05-03
9+
====================
10+
11+
Added
12+
-----
13+
* Support for returning names for events in the Audit service
14+
* Support for multiple hostnames per listener in the Load Balancing service
15+
* Helper function for Base64-ing scripts for user_data in launch instance options
16+
17+
* An example of Base64-ing scripts for user_data can be found on `GitHub <https://github.com/oracle/oci-python-sdk/blob/master/examples/launch_instance_example.py>`__.
18+
19+
Changed
20+
-------
21+
* Add httpsig_cffi as a vendored package
22+
23+
Fixed
24+
-----
25+
* Multipart object put resume to account when final part is less than part size
26+
727
====================
828
1.3.19 - 2018-04-19
929
====================

Thirdpartyreadme.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
httpsig_cffi
2+
=============
3+
Copyright (c) 2014 Adam Knight
4+
Copyright (c) 2012 Adam T. Lindsay (original author)
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7+
8+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9+
10+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

docs/api/load_balancer.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,15 @@ Load Balancer
3030
oci.load_balancer.models.CreateBackendDetails
3131
oci.load_balancer.models.CreateBackendSetDetails
3232
oci.load_balancer.models.CreateCertificateDetails
33+
oci.load_balancer.models.CreateHostnameDetails
3334
oci.load_balancer.models.CreateListenerDetails
3435
oci.load_balancer.models.CreateLoadBalancerDetails
3536
oci.load_balancer.models.CreatePathRouteSetDetails
3637
oci.load_balancer.models.HealthCheckResult
3738
oci.load_balancer.models.HealthChecker
3839
oci.load_balancer.models.HealthCheckerDetails
40+
oci.load_balancer.models.Hostname
41+
oci.load_balancer.models.HostnameDetails
3942
oci.load_balancer.models.IpAddress
4043
oci.load_balancer.models.Listener
4144
oci.load_balancer.models.ListenerDetails
@@ -55,6 +58,7 @@ Load Balancer
5558
oci.load_balancer.models.UpdateBackendDetails
5659
oci.load_balancer.models.UpdateBackendSetDetails
5760
oci.load_balancer.models.UpdateHealthCheckerDetails
61+
oci.load_balancer.models.UpdateHostnameDetails
5862
oci.load_balancer.models.UpdateListenerDetails
5963
oci.load_balancer.models.UpdateLoadBalancerDetails
6064
oci.load_balancer.models.UpdatePathRouteSetDetails
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
CreateHostnameDetails
2+
=====================
3+
4+
.. currentmodule:: oci.load_balancer.models
5+
6+
.. autoclass:: CreateHostnameDetails
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Hostname
2+
========
3+
4+
.. currentmodule:: oci.load_balancer.models
5+
6+
.. autoclass:: Hostname
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
HostnameDetails
2+
===============
3+
4+
.. currentmodule:: oci.load_balancer.models
5+
6+
.. autoclass:: HostnameDetails
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
UpdateHostnameDetails
2+
=====================
3+
4+
.. currentmodule:: oci.load_balancer.models
5+
6+
.. autoclass:: UpdateHostnameDetails
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:

docs/api/utilities.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66

77
.. autofunction:: to_dict
88

9+
.. autofunction:: file_content_as_launch_instance_user_data
10+
911
.. autoclass:: Sentinel

docs/installation.rst

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,34 @@ The Python SDK supports operations for the following services:
5151

5252
You can install the Python SDK through the Python Package Index (PyPI), or alternatively through GitHub.
5353

54-
**PyPi**
54+
Set up a virtual environment
55+
-----------------------------
56+
57+
Oracle recommends that you run the SDK in a virtual environment with virtualenv. This allows
58+
you to isolate the dependencies for the SDK and avoids any potential conflicts with other Python packages
59+
which may already be installed (e.g. in your system-wide Python).
60+
61+
With Linux, virtualenv is usually in a separate package from the main Python package.
62+
If you need to install virtualenv, use ``pip install virtualenv``.
63+
To create and activate a virtual environment::
64+
65+
virtualenv <environment name>
66+
source <environment name>/bin/activate
67+
68+
For example::
69+
70+
virtualenv oci_sdk_env
71+
source oci_sdk_env/bin/activate
72+
73+
PyPi
74+
-----
5575

5676
To install from `PyPI <https://pypi.python.org/pypi/oci>`_ use the following command::
5777

5878
pip install oci
5979

60-
**GitHub**
80+
GitHub
81+
-------
6182

6283
To install from GitHub:
6384

@@ -74,23 +95,6 @@ To install from GitHub:
7495
Use ``pip install -U pip`` and then try to install the whl file again.
7596

7697

77-
**Virtual environment (Optional)**
78-
79-
Although optional, Oracle recommends that you run the SDK in a virtual environment with virtualenv.
80-
81-
With Linux, it's usually in a separate package from the main Python package.
82-
If you need to install virtualenv, use pip install virtualenv.
83-
To create and activate a virtual environment::
84-
85-
virtualenv <environment name>
86-
source <environment name>/bin/activate
87-
88-
For example::
89-
90-
virtualenv oci_sdk_env
91-
source oci_sdk_env/bin/activate
92-
93-
9498
=====================
9599
Configuring the SDK
96100
=====================
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
# This file will be Base64-ed and provided as user_data when launching an instance.
4+
# See: https://docs.us-phoenix-1.oraclecloud.com/api/#/en/iaas/20160918/datatypes/LaunchInstanceDetails
5+
# for more information
6+
7+
mkdir /tmp/mydir
8+
touch /tmp/mydir/mytxt.txt

0 commit comments

Comments
 (0)