Skip to content

Commit

Permalink
Releasing version 2.125.2
Browse files Browse the repository at this point in the history
Releasing version 2.125.2
  • Loading branch information
VidhiBhansali authored Apr 8, 2024
2 parents ca5dd13 + 7592d88 commit 2f70be0
Show file tree
Hide file tree
Showing 40 changed files with 2,445 additions and 178 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@ 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.125.2 - 2024-04-09
====================

Added
-----

* Support for calling Oracle Cloud Infrastructure services in the ap-dcc-gazipur-1 region
* Support for the DNS-based backend health check in the Network Load Balancer service
* Support for Fail Open in the Network Load Balancer service
* Support for adding and updating Instant failover in the Network Load Balancer service
* Support for adding and updating source type and resource category for resource types in the Stack Monitoring service
* Support for searching resources based on resource category, source type, multiple compartments, multiple lifecycle states in the Stack Monitoring service
* Support for filtering listed resources based on lifecycle status in the Stack Monitoring service
* Support for creating tasks with new config parameters in the Stack Monitoring service
* Support for Composite Resource Principal integration in the Data Flow service



====================
2.125.1 - 2024-04-02
====================
Expand Down
1 change: 1 addition & 0 deletions docs/api/network_load_balancer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Network Load Balancer
oci.network_load_balancer.models.CreateBackendSetDetails
oci.network_load_balancer.models.CreateListenerDetails
oci.network_load_balancer.models.CreateNetworkLoadBalancerDetails
oci.network_load_balancer.models.DnsHealthCheckerDetails
oci.network_load_balancer.models.HealthCheckResult
oci.network_load_balancer.models.HealthChecker
oci.network_load_balancer.models.HealthCheckerDetails
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
DnsHealthCheckerDetails
=======================

.. currentmodule:: oci.network_load_balancer.models

.. autoclass:: DnsHealthCheckerDetails
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
10 changes: 10 additions & 0 deletions examples/showoci/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.

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

=====================
24.04.09 - 24.04.09
=====================
* Exclude GENAI until the service deployed on all regions to avoid process hung

=====================
24.04.02 - 24.04.02
=====================
* Added is_symmetric_hash_enabled flag for network load balancers

=====================
24.04.02 - 24.04.02
=====================
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.04.02"
version = "24.04.09"

##########################################################################
# check OCI version
Expand Down
4 changes: 3 additions & 1 deletion 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.04.02"
version = "24.04.09"

############################################
# ShowOCIService - Service object to query
Expand Down Expand Up @@ -3875,6 +3875,8 @@ def __get_load_balancer_network_details(self, load_balance_obj):
data['time_created'] = lb['time_created']
data['time_updated'] = lb['time_updated']
data['is_preserve_source_destination'] = lb['is_preserve_source_destination']
data['nlb_ip_version'] = lb['nlb_ip_version']
data['is_symmetric_hash_enabled'] = lb['is_symmetric_hash_enabled']
data['is_private'] = lb['is_private']
data['ips'] = lb['ip_addresses']
data['nsg_ids'] = lb['nsg_ids']
Expand Down
9 changes: 8 additions & 1 deletion examples/showoci/showoci_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@


class ShowOCIOutput(object):
version = "24.04.02"
version = "24.04.09"

##########################################################################
# spaces for align
Expand Down Expand Up @@ -1047,9 +1047,12 @@ def __print_load_balancer_details(self, load_balance_obj):
def __print_load_balancer_network_details(self, load_balance_obj):
try:
lb = load_balance_obj
sym = lb['is_symmetric_hash_enabled'] if lb['is_symmetric_hash_enabled'] else "False"
prsv = lb['is_preserve_source_destination'] if lb['is_preserve_source_destination'] else "False"
print(self.taba + "Name : " + lb['name'])
print(self.tabs + "Status : " + lb['status'])
print(self.tabs + "Subnet : " + lb['subnet_name'])
print(self.tabs + "Flags : is_symmetric_hash_enabled = " + sym + ", is_preserve_source_destination = " + prsv)

if 'nsg_names' in lb:
if lb['nsg_names']:
Expand Down Expand Up @@ -7858,6 +7861,8 @@ def __csv_load_balancer_details(self, region_name, load_balance_obj):
'shape': lb['shape_name'],
'type': ("Private" if lb['is_private'] else "Public"),
'is_preserve_source_destination': "",
'nlb_ip_version': "",
'is_symmetric_hash_enabled': "",
'ip_addresses': str(', '.join(x for x in lb['ips'])),
'listeners': str(', '.join(x['desc'] for x in lb['listeners'])),
'log_errors': log_errors,
Expand Down Expand Up @@ -7936,6 +7941,8 @@ def __csv_network_load_balancer_main(self, region_name, network_load_balancers):
'time_updated': lb['time_updated'],
'type': ("Private" if lb['is_private'] else "Public"),
'is_preserve_source_destination': lb['is_preserve_source_destination'],
'nlb_ip_version': lb['nlb_ip_version'],
'is_symmetric_hash_enabled': lb['is_symmetric_hash_enabled'],
'subnets': lb['subnet_name'],
'nsg_names': lb['nsg_names'],
'ip_addresses': str(', '.join(x for x in lb['ips'])),
Expand Down
19 changes: 13 additions & 6 deletions examples/showoci/showoci_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
# class ShowOCIService
##########################################################################
class ShowOCIService(object):
version = "24.04.02"
oci_compatible_version = "2.119.1"
version = "24.04.09"
oci_compatible_version = "2.125.0"
thread_lock = threading.Lock()

##########################################################################
Expand Down Expand Up @@ -684,6 +684,11 @@ def generate_signer_from_delegation_token(self):
# get signer from delegation token
self.signer = oci.auth.signers.InstancePrincipalsDelegationTokenSigner(delegation_token=delegation_token)

print('**********************************************************************')
print('* Cloud Shell has 20 minutes timeout, this process may not complete! *')
print('* Please use dedicated VM if hung *')
print('**********************************************************************')

except KeyError:
print('**********************************************************************')
print('* Key Error obtaining delegation_token_file')
Expand Down Expand Up @@ -7545,6 +7550,8 @@ def __load_load_balancers_network(self, network_load_balancer, compartments):
'time_updated': self.get_value(arr.time_updated)[0:16],
'is_private': self.get_value(arr.is_private),
'is_preserve_source_destination': self.get_value(arr.is_preserve_source_destination),
'nlb_ip_version': self.get_value(arr.nlb_ip_version),
'is_symmetric_hash_enabled': self.get_value(arr.is_symmetric_hash_enabled),
'subnet_id': self.get_value(arr.subnet_id),
'subnet_name': "" if arr.subnet_id is None else self.get_network_subnet(arr.subnet_id, True),
'status': str(status),
Expand Down Expand Up @@ -15202,7 +15209,7 @@ def __load_section_native_data_ai_main(self):
oda_client = self.__create_client(oci.oda.OdaClient, key=self.EXCLUDE_ODA)
bds_client = self.__create_client(oci.bds.BdsClient, key=self.EXCLUDE_BDS)
di_client = self.__create_client(oci.data_integration.DataIntegrationClient, key=self.EXCLUDE_DI)
genai_client = self.__create_client(oci.generative_ai.GenerativeAiClient, key=self.EXCLUDE_GENAI)
# genai_client = self.__create_client(oci.generative_ai.GenerativeAiClient, key=self.EXCLUDE_GENAI)

# reference to compartments
compartments = self.get_compartments()
Expand Down Expand Up @@ -15244,7 +15251,7 @@ def __load_section_native_data_ai_main(self):
data_ai[self.C_DATA_AI_ODA] += self.__load_data_ai_oda(oda_client, compartments)
data_ai[self.C_DATA_AI_BDS] += self.__load_data_ai_bds(bds_client, compartments)
data_ai[self.C_DATA_AI_DI] += self.__load_data_ai_data_integration(di_client, compartments)
data_ai[self.C_DATA_AI_GENAI] += self.__load_data_ai_data_genai(genai_client, compartments)
# data_ai[self.C_DATA_AI_GENAI] += self.__load_data_ai_data_genai(genai_client, compartments)

##########################
# if parallel execution
Expand All @@ -15265,7 +15272,7 @@ def __load_section_native_data_ai_main(self):
future_DATA_AI_ODA = executor.submit(self.__load_data_ai_oda, oda_client, compartments)
future_DATA_AI_BDS = executor.submit(self.__load_data_ai_bds, bds_client, compartments)
future_DATA_AI_DI = executor.submit(self.__load_data_ai_data_integration, di_client, compartments)
future_DATA_AI_GENAI = executor.submit(self.__load_data_ai_data_genai, genai_client, compartments)
# future_DATA_AI_GENAI = executor.submit(self.__load_data_ai_data_genai, genai_client, compartments)

paas = self.data[self.C_PAAS_NATIVE]
paas[self.C_PAAS_NATIVE_OCVS] += next(as_completed([future_PAAS_NATIVE_OCVS])).result()
Expand All @@ -15283,7 +15290,7 @@ def __load_section_native_data_ai_main(self):
data_ai[self.C_DATA_AI_ODA] += next(as_completed([future_DATA_AI_ODA])).result()
data_ai[self.C_DATA_AI_BDS] += next(as_completed([future_DATA_AI_BDS])).result()
data_ai[self.C_DATA_AI_DI] += next(as_completed([future_DATA_AI_DI])).result()
data_ai[self.C_DATA_AI_GENAI] += next(as_completed([future_DATA_AI_GENAI])).result()
# data_ai[self.C_DATA_AI_GENAI] += next(as_completed([future_DATA_AI_GENAI])).result()

self.__load_print_section_time(section_start_time)
print("")
Expand Down
122 changes: 0 additions & 122 deletions examples/showoci/step_by_step_howto.md

This file was deleted.

1 change: 1 addition & 0 deletions examples/showrewards/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ optional arguments:

## Below example of reports from demo tenancy (random info generated)

```
########################################################################################################################
# Running Show Rewards #
########################################################################################################################
Expand Down
Loading

0 comments on commit 2f70be0

Please sign in to comment.