Skip to content

Commit 2685035

Browse files
authored
Releasing version 3.2.0
Releasing version 3.2.0
2 parents 158e847 + 93525db commit 2685035

File tree

15 files changed

+1274
-210
lines changed

15 files changed

+1274
-210
lines changed

CHANGELOG.rst

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

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

9+
3.2.0 - 2021-10-19
10+
------------------
11+
Added
12+
~~~~~
13+
* Support for Node subsetting feature for vmcluster resources for ExaCC in Database Service
14+
15+
* ``oci db vm-cluster add --db-servers``
16+
* ``oci db vm-cluster create --db-servers``
17+
* ``oci db vm-cluster remove --db-servers``
18+
19+
* Support for convert to pdb, rollback, sync, sync-rollback, list-pdb-conversion-history, get-pdb-conversion-history in Database Service
20+
21+
* ``oci db database convert-to-new-pdb``
22+
* ``oci db database convert-to-new-pdb-precheck``
23+
* ``oci db database convert-to-pdb-sync``
24+
* ``oci db database convert-to-pdb-sync-rollback``
25+
* ``oci db database list-pdb-conversion-history``
26+
* ``oci db pdb-conversion-history get --history-id``
27+
28+
* Support to optionally provide peer database unique name AND SID prefix during database creation in ExaCS and ExaCC in Database Service
29+
30+
* ``oci db database create --sid-prefix``
31+
* ``oci db database create-from-backup --sid-prefix``
32+
* ``oci db data-guard-association create from-existing-db-system --peer-db-unique-name --peer-sid-prefix``
33+
* ``oci db data-guard-association create from-existing-vm-cluster --peer-db-unique-name --peer-sid-prefix``
34+
35+
* Support for a parameter for creating db system from the backup with database software image in Database Service
36+
37+
* ``oci db system launch-from-backup --database-software-image-id``
38+
39+
* Support for preference get/update/remove in Log Analytics Service
40+
41+
* ``oci log-analytics preference get``
42+
* ``oci log-analytics preference update``
43+
* ``oci log-analytics preference remove``
44+
45+
* Support for unprocessed data bucket in Log Analytics Service
46+
47+
* ``oci log-analytics upload set-unprocessed-bucket``
48+
* ``oci log-analytics upload get-unprocessed-bucket``
49+
* ``oci log-analytics source disable-auto-assoc``
50+
51+
* Support for new parameter ``object-name-filters`` to object collection rule in Log Analytics Service
52+
53+
* ``oci log-analytics object-collection-rule create --object-name-filters``
54+
55+
Changed
56+
~~~~~~~
57+
58+
* Logic for CLI retries.
59+
60+
* Number of attempts is now 8 (previously 5)
61+
* Maximum time for retries is now 600s (previously 300s)
62+
* Exponential backoff with de-correlated jitter is used
63+
964
3.1.2 - 2021-10-12
1065
------------------
1166
Added

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Jinja2==2.11.3
1414
jmespath==0.10.0
1515
ndg-httpsclient==0.4.2
1616
mock==2.0.0
17-
oci==2.47.1
17+
oci==2.48.0
1818
packaging==20.2
1919
pluggy==0.13.0
2020
py==1.10.0
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
2+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
3+
# XCode Python version
4+
release_version=$(curl -s https://api.github.com/repos/oracle/oci-cli/releases/latest | jq '.name' | sed 's/\"//g')
5+
6+
echo XCode Python CLI Installation
7+
./scripts/install/install.sh --accept-all-defaults
8+
if [ "$release_version" != "$(oci --version)" ]; then
9+
exit 1
10+
fi
11+
12+
13+
# Homebrew Python version
14+
echo Homebrew Python CLI Installation
15+
python3 --version
16+
pip3 install -U pip
17+
pip3 install -U virtualenv
18+
rm -rf /Users/runner/lib/oracle-cli
19+
brew update python
20+
virtualenv -p python3 cli-3
21+
source cli-3/bin/activate
22+
./scripts/install/install.sh --accept-all-defaults
23+
if [ "$release_version" != "$(oci --version)" ]; then
24+
exit 1
25+
fi
26+
deactivate
27+
28+
# Official Python version
29+
echo Official Python CLI Installation
30+
rm -rf /Users/runner/lib/oracle-cli
31+
OPENSSL_DIR=$((brew info openssl | grep "/usr/local/Cellar") | cut -d' ' -f1)
32+
curl -OL http://www.python.org/ftp/python/3.7.5/Python-3.7.5.tgz
33+
tar xzvf Python-3.7.5.tgz
34+
cd Python-3.7.5
35+
./configure --prefix=/usr/local --with-openssl=${OPENSSL_DIR} --enable-shared
36+
make
37+
make install
38+
cd ..
39+
./scripts/install/install.sh --accept-all-defaults
40+
if [ "$release_version" != "$(oci --version)" ]; then
41+
exit 1
42+
fi

scripts/install/install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ if ([System.Enum]::GetNames('System.Net.SecurityProtocolType') -Contains 'Tls12'
6565

6666
$PythonInstallScriptUrl = "https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.py"
6767
$FallbackPythonInstallScriptUrl = "https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.py"
68-
$PythonVersionToInstall = "3.6.5" # version of Python to install if none exists
68+
$PythonVersionToInstall = "3.8.5" # version of Python to install if none exists
6969
$MinValidPython3Version = "3.6.0" # minimum required version of Python 3 on system
7070

7171
function LogOutput($Output) {

scripts/install/install.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -342,13 +342,13 @@ if [ "$need_to_install_python" = true ]; then
342342
echo "ERROR: Required native dependencies were not installed, exiting install script. If you did not receive a prompt to install native dependencies please ensure you are not piping the script into bash and are instead using the following command: bash -c \"\$(curl -L $SHELL_INSTALL_SCRIPT_URL)\""
343343
exit 1
344344
fi
345-
curl --tlsv1.2 -O https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz
346-
tar -xvzf Python-3.6.5.tgz
347-
cd Python-3.6.5
348-
python_exe=/usr/local/bin/python3.6
345+
curl --tlsv1.2 -O https://www.python.org/ftp/python/3.8.12/Python-3.8.12.tgz
346+
tar -xvzf Python-3.8.12.tgz
347+
cd Python-3.8.12
348+
python_exe=/usr/local/bin/python3.8
349349
if [ -n "$PYTHON_INSTALL_LOCATION" ]; then
350350
configure_args="prefix=$PYTHON_INSTALL_LOCATION"
351-
python_exe="$PYTHON_INSTALL_LOCATION/bin/python3.6"
351+
python_exe="$PYTHON_INSTALL_LOCATION/bin/python3.8"
352352
fi
353353
./configure $configure_args
354354
make

0 commit comments

Comments
 (0)