Skip to content

Commit

Permalink
Merge pull request #1936 from oracle/release_gh
Browse files Browse the repository at this point in the history
Releasing version 5.8.0
  • Loading branch information
NagaRajuPasunuri authored Aug 9, 2023
2 parents 0ead5b9 + c4bcffe commit cb60e90
Show file tree
Hide file tree
Showing 1,170 changed files with 135,526 additions and 2,930 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## 5.8.0 (August 09, 2023)

### Added
- Support for Oracle Cloud AI Services Language V2.3 - Enhancement
- Support for ADB-S: Phase 2 - New ECPU-based SKUs for ADW and ATP
- Support for ADB-S: Automatic failover with upto RPO amount (1 min) of data loss
- Support for IdentityDomains/IDCS API - Phase 2
- Support for Exclude tables for replication only
- Changes to enable C3 in OPCTL
- Support for Logging Analytics Gingko Release
### Bug Fix
- Null pointer exception in CVM resource

## 5.7.0 (August 01, 2023)

### Added
Expand Down
2 changes: 2 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ This directory contains Terraform configuration files showing how to create spec
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/aiAnomalyDetection.zip)
- aiDocument
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/aiDocument.zip)
- aiLanguage
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/aiLanguage.zip)
- aiVision
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/aiVision.zip)
- always_free
Expand Down
6 changes: 6 additions & 0 deletions examples/aiLanguage/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Overview
This is a Terraform configuration that creates the AI Language service on Oracle Cloud Infrastructure.

The Terraform code is used to create a Resource Manager stack, that creates the required resources and configures the application on the created resources.
## Magic Button
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://cloud.oracle.com/resourcemanager/stacks/create?zipUrl=https://github.com/oracle/terraform-provider-oci/raw/master/examples/zips/aiLanguage.zip)
4 changes: 4 additions & 0 deletions examples/aiLanguage/description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Overview
This is a Terraform configuration that creates the AI Language service on Oracle Cloud Infrastructure.

The Terraform code is used to create a Resource Manager stack, that creates the required resources and configures the application on the created resources.
59 changes: 59 additions & 0 deletions examples/aiLanguage/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
variable "tenancy_ocid" {
default = ""
}

variable "region" {
default = ""
}

variable "compartment_ocid" {
default = ""
}

variable "fingerprint" {
default = ""
}

variable "private_key_path" {
default = ""
}

provider "oci" {
tenancy_ocid = var.tenancy_ocid
fingerprint = var.fingerprint
private_key_path = var.private_key_path
region = var.region

}

variable defined_tag_namespace_name { default = "" }


resource "oci_ai_language_project" "test_project" {
compartment_id = var.compartment_ocid
}

resource "oci_ai_language_model" "test_model" {
compartment_id = var.compartment_ocid
project_id = oci_ai_language_project.test_project.id
description = "Creating test model"
model_details {
model_type = "NAMED_ENTITY_RECOGNITION"
language_code = "en"
}
training_dataset {
dataset_type = "OBJECT_STORAGE"
location_details {
location_type = "OBJECT_LIST"
bucket = "TERSI-Test"
namespace = "idngwwc5ajp5"
object_names = ["test.jsonl"]
}
}
}

resource "oci_ai_language_endpoint" "test_endpoint" {
compartment_id = var.compartment_ocid
model_id = oci_ai_language_model.test_model.id
inference_units = 1
}
27 changes: 27 additions & 0 deletions examples/database/adb/autonomous_database.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,20 @@ resource "oci_database_autonomous_database" "test_autonomous_database_ecpu" {
is_free_tier = "false"
}

resource "oci_database_autonomous_database" "test_autonomous_database_local_adg_failover_data_loss_limit" {
admin_password = random_string.autonomous_database_admin_password.result
compartment_id = var.compartment_ocid
cpu_core_count = "1"
data_storage_size_in_tbs = "1"
db_name = "adbLocalAdg"
is_local_data_guard_enabled = "true"
local_adg_auto_failover_max_data_loss_limit = "30"
db_version = "19c"
db_workload = "OLTP"
license_model = "LICENSE_INCLUDED"
is_free_tier = "false"
}

resource "oci_database_autonomous_database" "test_autonomous_database_apex" {
admin_password = random_string.autonomous_database_admin_password.result
compartment_id = var.compartment_ocid
Expand All @@ -81,6 +95,19 @@ resource "oci_database_autonomous_database" "test_autonomous_database_apex" {
is_free_tier = "false"
}

resource "oci_database_autonomous_database" "test_autonomous_database_bck_ret_days" {
admin_password = random_string.autonomous_database_admin_password.result
compartment_id = var.compartment_ocid
cpu_core_count = "1"
data_storage_size_in_tbs = "1"
backup_retention_period_in_days = "15"
db_name = "adbBckRetDays"
db_version = "19c"
db_workload = "AJD"
license_model = "LICENSE_INCLUDED"
is_free_tier = "false"
}

resource "oci_database_autonomous_database" "test_autonomous_database_actions" {
admin_password = random_string.autonomous_database_admin_password.result
compartment_id = var.compartment_ocid
Expand Down
6 changes: 6 additions & 0 deletions examples/databasemigration/migration/migration.tf
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,12 @@ resource "oci_database_migration_migration" "test_migration" {
type = "TABLESPACE"
}
}
exclude_objects {
object = ".*"
owner = "owner"
is_omit_excluded_table_from_replication = "false"
type = "ALL"
}
golden_gate_details {
hub {
rest_admin_credentials {
Expand Down
49 changes: 49 additions & 0 deletions examples/identity_domains/account_mgmt_info.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
// Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
// Licensed under the Mozilla Public License v2.0

variable "account_mgmt_info_account_mgmt_info_count" {
default = 10
}

variable "account_mgmt_info_account_mgmt_info_filter" {
default = ""
}

variable "account_mgmt_info_attribute_sets" {
default = ["all"]
}

variable "account_mgmt_info_attributes" {
default = "attributes"
}

variable "account_mgmt_info_authorization" {
default = "authorization"
}

variable "account_mgmt_info_idcs_endpoint" {
default = "idcsEndpoint"
}

# use the latest if not provided
variable "account_mgmt_info_resource_type_schema_version" {
default = "resourceTypeSchemaVersion"
}

variable "account_mgmt_info_start_index" {
default = 10
}

data "oci_identity_domains_account_mgmt_infos" "test_account_mgmt_infos" {
#Required
idcs_endpoint = data.oci_identity_domain.test_domain.url

#Optional
account_mgmt_info_count = var.account_mgmt_info_account_mgmt_info_count
account_mgmt_info_filter = var.account_mgmt_info_account_mgmt_info_filter
attribute_sets = ["all"]
attributes = ""
authorization = var.account_mgmt_info_authorization
# resource_type_schema_version = var.account_mgmt_info_resource_type_schema_version
start_index = var.account_mgmt_info_start_index
}
170 changes: 170 additions & 0 deletions examples/identity_domains/account_recovery_setting.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
// Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
// Licensed under the Mozilla Public License v2.0

variable "account_recovery_setting_attribute_sets" {
default = ["all"]
}

variable "account_recovery_setting_attributes" {
default = ""
}

variable "account_recovery_setting_authorization" {
default = "authorization"
}

variable "account_recovery_setting_compartment_ocid" {
default = "compartmentOcid"
}

variable "account_recovery_setting_delete_in_progress" {
default = false
}

variable "account_recovery_setting_domain_ocid" {
default = "domainOcid"
}

variable "account_recovery_setting_factors" {
default = ["email"]
}

variable "account_recovery_setting_id" {
default = "AccountRecoverySettings"
}

variable "account_recovery_setting_idcs_created_by_display" {
default = "display"
}

variable "account_recovery_setting_idcs_created_by_ocid" {
default = "ocid"
}

variable "account_recovery_setting_idcs_created_by_ref" {
default = "ref"
}

variable "account_recovery_setting_idcs_created_by_type" {
default = "User"
}

variable "account_recovery_setting_idcs_created_by_value" {
default = "value"
}

variable "account_recovery_setting_idcs_endpoint" {
default = "idcsEndpoint"
}

variable "account_recovery_setting_idcs_last_modified_by_display" {
default = "display"
}

variable "account_recovery_setting_idcs_last_modified_by_ocid" {
default = "ocid"
}

variable "account_recovery_setting_idcs_last_modified_by_ref" {
default = "ref"
}

variable "account_recovery_setting_idcs_last_modified_by_type" {
default = "User"
}

variable "account_recovery_setting_idcs_last_modified_by_value" {
default = "value"
}

variable "account_recovery_setting_idcs_last_upgraded_in_release" {
default = "idcsLastUpgradedInRelease"
}

variable "account_recovery_setting_idcs_prevented_operations" {
default = []
}

variable "account_recovery_setting_lockout_duration" {
default = 10
}

variable "account_recovery_setting_max_incorrect_attempts" {
default = 10
}

variable "account_recovery_setting_meta_created" {
default = "created"
}

variable "account_recovery_setting_meta_last_modified" {
default = "lastModified"
}

variable "account_recovery_setting_meta_location" {
default = "location"
}

variable "account_recovery_setting_meta_resource_type" {
default = "resourceType"
}

variable "account_recovery_setting_meta_version" {
default = "version"
}

# use the latest if not provided
variable "account_recovery_setting_resource_type_schema_version" {
default = "resourceTypeSchemaVersion"
}

variable "account_recovery_setting_schemas" {
default = ["urn:ietf:params:scim:schemas:oracle:idcs:AccountRecoverySettings"]
}

variable "account_recovery_setting_tags_key" {
default = "key"
}

variable "account_recovery_setting_tags_value" {
default = "value"
}

variable "account_recovery_setting_tenancy_ocid" {
default = "tenancyOcid"
}


resource "oci_identity_domains_account_recovery_setting" "test_account_recovery_setting" {
#Required
account_recovery_setting_id = var.account_recovery_setting_id
factors = var.account_recovery_setting_factors
idcs_endpoint = data.oci_identity_domain.test_domain.url

lockout_duration = var.account_recovery_setting_lockout_duration
max_incorrect_attempts = var.account_recovery_setting_max_incorrect_attempts
schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:AccountRecoverySettings"]

#Optional
attribute_sets = ["all"]
attributes = ""
authorization = var.account_recovery_setting_authorization
external_id = "externalId"
# resource_type_schema_version = var.account_recovery_setting_resource_type_schema_version
tags {
#Required
key = var.account_recovery_setting_tags_key
value = var.account_recovery_setting_tags_value
}
}

data "oci_identity_domains_account_recovery_settings" "test_account_recovery_settings" {
#Required
idcs_endpoint = data.oci_identity_domain.test_domain.url

#Optional
attribute_sets = ["all"]
attributes = ""
authorization = var.account_recovery_setting_authorization
# resource_type_schema_version = var.account_recovery_setting_resource_type_schema_version
}
Loading

0 comments on commit cb60e90

Please sign in to comment.