Skip to content

Commit 8c44724

Browse files
authored
Releasing version 2.16.0
Releasing version 2.16.0
2 parents 4fce8ce + c384685 commit 8c44724

File tree

61 files changed

+5356
-568
lines changed

Some content is hidden

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

61 files changed

+5356
-568
lines changed

CHANGELOG.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,24 @@ Change Log
33
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/>`_.
6+
====================
7+
2.16.0 - 2020-06-09
8+
====================
9+
10+
Added
11+
-----
12+
* Support for returning the database version of backups in the Database service
13+
* Support for patching on Exadata Cloud at Customer resources in the Database service
14+
* Support for new lifecycle substates on instances in the Digital Assistant service
15+
* Support for file servers in the Integration service
16+
* Support for deleting non-empty tag namespaces and bulk deleting tags in the Identity service
17+
* Support for bulk move and bulk delete of resources by compartment in the Identity service
18+
19+
Breaking
20+
--------
21+
* Data type for paramater `data_storage_size_in_tbs` changed from int to float in the Database service
22+
* Parameter `lifecycle_state` removed state `OFFLINE` and added `DISCONNECTED` in the Database service
23+
624
====================
725
2.15.0 - 2020-06-02
826
====================

docs/api/identity.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ Identity
2424
oci.identity.models.AuthenticationPolicy
2525
oci.identity.models.AvailabilityDomain
2626
oci.identity.models.BaseTagDefinitionValidator
27+
oci.identity.models.BulkActionResource
28+
oci.identity.models.BulkActionResourceType
29+
oci.identity.models.BulkActionResourceTypeCollection
30+
oci.identity.models.BulkDeleteResourcesDetails
31+
oci.identity.models.BulkDeleteTagsDetails
32+
oci.identity.models.BulkMoveResourcesDetails
2733
oci.identity.models.ChangeTagNamespaceCompartmentDetail
2834
oci.identity.models.Compartment
2935
oci.identity.models.CreateApiKeyDetails
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
BulkActionResource
2+
==================
3+
4+
.. currentmodule:: oci.identity.models
5+
6+
.. autoclass:: BulkActionResource
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+
BulkActionResourceType
2+
======================
3+
4+
.. currentmodule:: oci.identity.models
5+
6+
.. autoclass:: BulkActionResourceType
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+
BulkActionResourceTypeCollection
2+
================================
3+
4+
.. currentmodule:: oci.identity.models
5+
6+
.. autoclass:: BulkActionResourceTypeCollection
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+
BulkDeleteResourcesDetails
2+
==========================
3+
4+
.. currentmodule:: oci.identity.models
5+
6+
.. autoclass:: BulkDeleteResourcesDetails
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+
BulkDeleteTagsDetails
2+
=====================
3+
4+
.. currentmodule:: oci.identity.models
5+
6+
.. autoclass:: BulkDeleteTagsDetails
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+
BulkMoveResourcesDetails
2+
========================
3+
4+
.. currentmodule:: oci.identity.models
5+
6+
.. autoclass:: BulkMoveResourcesDetails
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ Executing using Cloud Shell:
1515
git clone https://github.com/oracle/oci-python-sdk
1616
1717
4. Execute
18-
cd $HOME/oci-python-sdk/examples/list_ipsec_and_virtual_circuits_in_tenancy
18+
cd $HOME/oci-python-sdk/examples/list_resources_in_tenancy
1919
python list_all_ipsec_tunnels_in_tenancy.py -dt
2020
python list_all_virtual_circuits_in_tenancy.py -dt
21+
python list_compute_tags_in_tenancy.py -dt
22+
python list_dbsystem_with_maintenance_in_tenancy.py -dt
2123
2224
Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/usr/bin/env python3
22
##########################################################################
3-
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
4-
# 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.
5-
#
3+
# Copyright(c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
64
# list_all_ipsec_tunnels_in_tenancy.py
75
#
86
# @author: Adi Zohar
@@ -118,12 +116,6 @@ def create_signer(config_profile, is_instance_principals, is_delegation_token):
118116
print("")
119117
raise SystemExit
120118

121-
# check if file exist
122-
if not os.path.isfile(env_config_file):
123-
print("*** Config File " + env_config_file + " does not exist, Abort. ***")
124-
print("")
125-
raise SystemExit
126-
127119
config = oci.config.from_file(env_config_file, env_config_section)
128120
delegation_token_location = config["delegation_token_file"]
129121

@@ -145,12 +137,6 @@ def create_signer(config_profile, is_instance_principals, is_delegation_token):
145137
# config file authentication
146138
# -----------------------------
147139
else:
148-
# check if file exist
149-
if not os.path.isfile(oci.config.DEFAULT_LOCATION):
150-
print("*** Config File " + oci.config.DEFAULT_LOCATION + " does not exist, Abort. ***")
151-
print("")
152-
raise SystemExit
153-
154140
config = oci.config.from_file(
155141
oci.config.DEFAULT_LOCATION,
156142
(config_profile if config_profile else oci.config.DEFAULT_PROFILE)
@@ -205,6 +191,7 @@ def identity_read_compartments(identity, tenancy):
205191
start_time = str(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S"))
206192
print_header("Running List IPSecTunnels")
207193
print("Starts at " + str(datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")))
194+
print("Written By Adi Zohar, June 2020")
208195
print("Command Line : " + ' '.join(x for x in sys.argv[1:]))
209196

210197
# Identity extract compartments
@@ -332,15 +319,15 @@ def identity_read_compartments(identity, tenancy):
332319

333320
# Add all data to the data array
334321
data.append({
322+
'region_name': region_name,
323+
'compartment_name': str(compartment.name),
324+
'compartment_id': str(compartment.id),
335325
'id': str(ipsec_conn.id),
336326
'name': str(ipsec_conn.display_name),
337327
'drg_id': str(ipsec_conn.drg_id),
338328
'drg_redundancy': drg_redundancy,
339329
'cpe_id': str(ipsec_conn.cpe_id),
340330
'time_created': str(ipsec_conn.time_created),
341-
'compartment_name': str(compartment.name),
342-
'compartment_id': str(compartment.id),
343-
'region_name': region_name,
344331
'static_routes': [str(es) for es in ipsec_conn.static_routes],
345332
'tunnels': data_tunnel
346333
})

0 commit comments

Comments
 (0)