Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.

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

====================
1.3.6 - 2017-08-10
====================

Added
-------
* Documentation for UploadManager.

Changed
-------
* Upgraded cryptography dependency to 1.8.2.

====================
1.3.5 - 2017-07-20
====================
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ To get started, head over to the :ref:`installation instructions <install>` or s
forward-compatibility
quickstart
parallel-ops
upload-manager
raw-requests
api/index
contributions
Expand Down
8 changes: 8 additions & 0 deletions docs/upload-manager.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.. _upload-manager:

Uploading Large Objects
~~~~~~~~~~~~~~~~~~~~~~~~

The Object Storage service supports multipart uploads to make large object uploads easier by splitting the large object into parts. The Python SDK supports raw multipart upload operations for advanced use cases, as well as a higher-level upload class that uses the multipart upload APIs. `Managing Multipart Uploads <https://docs.us-phoenix-1.oraclecloud.com/Content/Object/Tasks/managingmultipartuploads.htm>`_ provides links to the APIs used for raw multipart upload operations. Higher-level uploads can be performed using the UploadManager. The UploadManger will: split a large object into parts for you, upload the parts in parallel, and then recombine and commit the parts as a single object in Object Storage.

The `UploadObject <https://github.com/oracle/bmcs-python-sdk/blob/master/examples/multipart_object_upload.py>`_ example shows how UploadManager can be used to upload files to object storage.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
certifi
configparser==3.5.0
coverage==4.2
cryptography==1.8.1
cryptography==1.8.2
flake8==3.0.4
httpsig_cffi==15.0.0
pytest==3.0.2
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def open_relative(*path):
requires = [
"certifi",
"configparser==3.5.0",
"cryptography==1.8.1",
"cryptography==1.8.2",
"httpsig_cffi==15.0.0",
"python-dateutil==2.5.3",
"pytz==2016.7",
Expand Down
2 changes: 1 addition & 1 deletion src/oraclebmc/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"additional_user_agent": "",
"pass_phrase": None
}
DEFAULT_LOCATION = '~/.oraclebmc/config'
DEFAULT_LOCATION = os.path.join('~', '.oraclebmc', 'config')
DEFAULT_PROFILE = "DEFAULT"
PATTERNS = {
# Tenancy and user have the same shape
Expand Down
2 changes: 1 addition & 1 deletion src/oraclebmc/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf-8
# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.

__version__ = "1.3.5"
__version__ = "1.3.6"