Skip to content

Commit

Permalink
Releasing version 2.128.1
Browse files Browse the repository at this point in the history
Releasing version 2.128.1
  • Loading branch information
oci-dex-release-bot authored Jun 11, 2024
2 parents cad2bdb + b03e6b3 commit 40c34e8
Show file tree
Hide file tree
Showing 64 changed files with 4,124 additions and 218 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,19 @@ Change Log
All notable changes to this project will be documented in this file.

The format is based on `Keep a Changelog <http://keepachangelog.com/>`_.
====================
2.128.1 - 2024-06-11
====================

Added
-----
* Support for 23ai based databases in Globally Distributed Database service
* Support for testing span enrichment groups in Application Performance Monitoring service
* Support for subscription suspension and termination orders in Fusion Apps as a Service
* Support for time first occurred and time last occurred for resource sightings in Cloud Guard service
* Support for alarm summary, notification title, and slack duration on create and update operations in Monitoring service
* Support for message creation timestamp in Queue service

====================
2.128.0 - 2024-06-04
====================
Expand Down
5 changes: 5 additions & 0 deletions docs/api/apm_config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Apm Config
oci.apm_config.models.CreateOptionsDetails
oci.apm_config.models.CreateSpanFilterDetails
oci.apm_config.models.Dimension
oci.apm_config.models.FilterTextOrId
oci.apm_config.models.Metric
oci.apm_config.models.MetricGroup
oci.apm_config.models.MetricGroupSummary
Expand All @@ -43,6 +44,10 @@ Apm Config
oci.apm_config.models.SpanFilter
oci.apm_config.models.SpanFilterReference
oci.apm_config.models.SpanFilterSummary
oci.apm_config.models.TestDetails
oci.apm_config.models.TestOutput
oci.apm_config.models.TestSpanEnrichmentDetails
oci.apm_config.models.TestSpanEnrichmentOutput
oci.apm_config.models.UpdateApdexRulesDetails
oci.apm_config.models.UpdateConfigDetails
oci.apm_config.models.UpdateMetricGroupDetails
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FilterTextOrId
==============

.. currentmodule:: oci.apm_config.models

.. autoclass:: FilterTextOrId
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
11 changes: 11 additions & 0 deletions docs/api/apm_config/models/oci.apm_config.models.TestDetails.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
TestDetails
===========

.. currentmodule:: oci.apm_config.models

.. autoclass:: TestDetails
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
11 changes: 11 additions & 0 deletions docs/api/apm_config/models/oci.apm_config.models.TestOutput.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
TestOutput
==========

.. currentmodule:: oci.apm_config.models

.. autoclass:: TestOutput
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
TestSpanEnrichmentDetails
=========================

.. currentmodule:: oci.apm_config.models

.. autoclass:: TestSpanEnrichmentDetails
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
TestSpanEnrichmentOutput
========================

.. currentmodule:: oci.apm_config.models

.. autoclass:: TestSpanEnrichmentOutput
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
2 changes: 2 additions & 0 deletions docs/api/fusion_apps.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Fusion Apps
oci.fusion_apps.models.DataMaskingActivityCollection
oci.fusion_apps.models.DataMaskingActivitySummary
oci.fusion_apps.models.EnvironmentRole
oci.fusion_apps.models.ExtractDetailsCollection
oci.fusion_apps.models.ExtractDetailsSummary
oci.fusion_apps.models.FamilyMaintenancePolicy
oci.fusion_apps.models.FusionEnvironment
oci.fusion_apps.models.FusionEnvironmentCollection
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ExtractDetailsCollection
========================

.. currentmodule:: oci.fusion_apps.models

.. autoclass:: ExtractDetailsCollection
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ExtractDetailsSummary
=====================

.. currentmodule:: oci.fusion_apps.models

.. autoclass:: ExtractDetailsSummary
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
1 change: 1 addition & 0 deletions examples/oci_capacity_reporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ options:
-t CONFIG_PROFILE Config Profile inside the config file
-p PROXY Set Proxy (i.e. www-proxy-server.com:80)
-ip Use Instance Principals for Authentication
-is Use Config and Security Token
```

## Check Other Projects
Expand Down
29 changes: 27 additions & 2 deletions examples/oci_capacity_reporter/oci_capacity_reporter_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def onShapeSelect(self, eventShape):
# Input - config_profile and is_instance_principals
# Output - config and signer objects
##########################################################################
def create_signer(self, config_file, config_profile, is_instance_principals):
def create_signer(self, config_file, config_profile, is_instance_principals, is_security_token):

# if instance principals authentications
if is_instance_principals:
Expand All @@ -459,6 +459,30 @@ def create_signer(self, config_file, config_profile, is_instance_principals):
self.print_header("Error obtaining instance principals certificate, aborting", 0)
raise SystemExit

elif is_security_token:
try:
# create signer from config and security token
config = oci.config.from_file(
(config_file if config_file else oci.config.DEFAULT_LOCATION),
(config_profile if config_profile else oci.config.DEFAULT_PROFILE)
)
security_token_file = config.get("security_token_file")
token = None
with open(security_token_file, 'r') as f:
token = f.read()
private_key = oci.signer.load_private_key_from_file(config['key_file'])
signer = oci.auth.signers.SecurityTokenSigner(token, private_key)
return config, signer

except Exception as e:
print("*********************************************************************")
print("* Error Authenticating using config file and Security Token *")
print("* " + str(e))
print("* Aborting. *")
print("*********************************************************************")
print('')
raise SystemExit

# -----------------------------
# config file authentication
# -----------------------------
Expand Down Expand Up @@ -497,6 +521,7 @@ def main_input(self):
parser.add_argument('-t', default="", dest='config_profile', help='Config Profile inside the config file')
parser.add_argument('-p', default="", dest='proxy', help='Set Proxy (i.e. www-proxy-server.com:80) ')
parser.add_argument('-ip', action='store_true', default=False, dest='is_instance_principals', help='Use Instance Principals for Authentication')
parser.add_argument('-is', action='store_true', default=False, dest='is_security_token', help='Use Config and Security Token')
cmd = parser.parse_args()

# Start print time info
Expand All @@ -514,7 +539,7 @@ def main_input(self):
print("Command Line : " + ' '.join(x for x in sys.argv[1:]))

self.proxy = cmd.proxy
self.config, self.signer = self.create_signer(cmd.config_file, cmd.config_profile, cmd.is_instance_principals)
self.config, self.signer = self.create_signer(cmd.config_file, cmd.config_profile, cmd.is_instance_principals, cmd.is_security_token)
self.tenancy_id = self.config["tenancy"]

##########################################################################
Expand Down
16 changes: 16 additions & 0 deletions examples/showoci/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file.

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

=====================
24.06.11 - 24.06.11
=====================
* Added security list and network security group details to the CSVs

=====================
24.06.04 - 24.06.04
=====================
* Added Subnet Name and VCN Name to the DB Base and ExaCS VM Cluster CSVs
* Align the description and security alert in the network security rules and security list.

=====================
24.05.28 - 24.05.28
=====================
* Added logs for IPSEC and Virtual Cirtcuits

=====================
24.05.24 - 24.05.24
=====================
Expand Down
2 changes: 1 addition & 1 deletion examples/showoci/showoci.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
import os
import time

version = "24.05.24"
version = "24.06.11"

##########################################################################
# check OCI version
Expand Down
22 changes: 17 additions & 5 deletions examples/showoci/showoci_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


class ShowOCIData(object):
version = "24.05.24"
version = "24.06.11"

############################################
# ShowOCIService - Service object to query
Expand Down Expand Up @@ -1305,7 +1305,8 @@ def __get_core_network_ipsec(self, region_name, compartment):
'compartment_path': ips['compartment_path'],
'region_name': ips['region_name'],
'drg_route_table_id': ips['drg_route_table_id'],
'drg_route_table': ips['drg_route_table']
'drg_route_table': ips['drg_route_table'],
'logs': self.service.get_logging_log(ips['id'])
}

data.append(main_data)
Expand Down Expand Up @@ -1363,7 +1364,8 @@ def __get_core_network_virtual_circuit(self, region_name, compartment):
'freeform_tags': vc['freeform_tags'],
'region_name': vc['region_name'],
'drg_route_table_id': vc['drg_route_table_id'],
'drg_route_table': vc['drg_route_table']
'drg_route_table': vc['drg_route_table'],
'logs': self.service.get_logging_log(vc['id'])
}

# find Attachment for the Virtual Circuit
Expand Down Expand Up @@ -2542,8 +2544,12 @@ def __get_database_db_exadata(self, region_name, compartment):
'availability_domain': vm['availability_domain'],
'data_subnet_id': vm['data_subnet_id'],
'data_subnet': vm['data_subnet'],
'data_subnet_name': vm['data_subnet_name'],
'data_vcn_name': vm['data_vcn_name'],
'backup_subnet_id': vm['backup_subnet_id'],
'backup_subnet': vm['backup_subnet'],
'backup_subnet_name': vm['backup_subnet_name'],
'backup_vcn_name': vm['backup_vcn_name'],
'nsg_ids': vm['nsg_ids'],
'backup_network_nsg_ids': vm['backup_network_nsg_ids'],
'last_update_history_entry_id': vm['last_update_history_entry_id'],
Expand Down Expand Up @@ -2822,10 +2828,14 @@ def __get_database_db_systems(self, region_name, compartment):
'version_date': dbs['version_date'],
'host': dbs['hostname'],
'domain': dbs['domain'],
'data_subnet': dbs['data_subnet'],
'data_subnet_id': dbs['data_subnet_id'],
'backup_subnet': dbs['backup_subnet'],
'data_subnet': dbs['data_subnet'],
'data_subnet_name': dbs['data_subnet_name'],
'data_vcn_name': dbs['data_vcn_name'],
'backup_subnet_id': dbs['backup_subnet_id'],
'backup_subnet': dbs['backup_subnet'],
'backup_subnet_name': dbs['backup_subnet_name'],
'backup_vcn_name': dbs['backup_vcn_name'],
'scan_dns': dbs['scan_dns_record_id'],
'scan_ips': dbs['scan_ips'],
'data_storage_size_in_gbs': dbs['data_storage_size_in_gbs'],
Expand Down Expand Up @@ -3135,6 +3145,8 @@ def __get_database_adb_dedicated(self, region_name, compartment, infra_id):
'description': vm['description'],
'subnet_id': vm['subnet_id'],
'subnet_name': vm['subnet_name'],
'subnet_name_full': vm['subnet_name_full'],
'vcn_name': vm['vcn_name'],
'nsg_ids': vm['nsg_ids'],
'last_update_history_entry_id': vm['last_update_history_entry_id'],
'lifecycle_state': vm['lifecycle_state'],
Expand Down
Loading

0 comments on commit 40c34e8

Please sign in to comment.