Skip to content

Commit 9c11b82

Browse files
authored
Merge pull request #1722 from oracle/release_gh
Releasing version 4.101.0
2 parents 1de1f6a + a02e573 commit 9c11b82

File tree

796 files changed

+49788
-3752
lines changed

Some content is hidden

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

796 files changed

+49788
-3752
lines changed

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
1.17.2
1+
1.18.8
22

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
## 4.101.0 (December 07, 2022)
2+
3+
### Added
4+
- Support for Golden Gate Deployment and Connection Type.
5+
- Support for Token Authentication in API Gateway
6+
- Support for Container Instances
7+
- Support for Complete Terraform testing for Diagnostics using TFACTL feature
8+
- Support for Report Scheduling Support in Data Safe audit
9+
- Support for Devops Deployment Stage Level Parameters
10+
- Support for Add BackupSummary compartmentId in API
11+
- Support for Managed Read Replicas - Load Balancing
12+
- Support for Managed Read Replicas
13+
- Support for OPSI: ExaCS Support
14+
- Support for MySQL Inbound replication support for filters and sources without transaction identifiers
15+
- Support for ADBD multi-vm
16+
- Support for Java Management Service 6.0
17+
- Missing is_default field for API Gateway
18+
- Support for Update Service Override for Public Logging
19+
- Golang upgrade to 1.18.8
20+
### Bug Fix
21+
- Fix bug of not being able to update nodepool which uses quantityPerSubnet
22+
- Fixing incorrect state mappings in Operator Control
23+
- oci_datascience_model Terraform Code Documentation correction
24+
- Empty check for optional values
25+
- Delay in updating network firewall
26+
127
## 4.100.0 (November 16, 2022)
228

329
### Added

GNUmakefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ default: build
2525
build: fmtcheck gomodenv
2626
go install
2727

28+
buildnovcs: fmtcheck errcheck gomodenv
29+
go install -buildvcs=false
30+
2831
### TODO: Fix this so that only unit tests are running
2932
test: fmtcheck
3033

@@ -157,4 +160,4 @@ check-untagged-tests:
157160
@sh -c "'$(CURDIR)/scripts/check-untagged-tests.sh' -s ''$(SERVICE)"
158161

159162
check-module-name:
160-
@sh -c "'$(CURDIR)/scripts/gomodnamecheck.sh'"
163+
@sh -c "'$(CURDIR)/scripts/gomodnamecheck.sh'"

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ Requirements
2020
------------
2121

2222
- [Terraform](https://www.terraform.io/downloads.html) v0.12.31 or greater
23-
- [Go](https://golang.org/doc/install) 1.17.2 (recommended)
24-
25-
Note: You may use any version 1.8 or above to build the provider. However, the `goimports`, `go vet`, and `gofmt` code checks will only pass when using version 1.17.
23+
- [Go](https://golang.org/doc/install) 1.18.8 (recommended)
2624

2725

2826
Building the Provider

examples/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ This directory contains Terraform configuration files showing how to create spec
4949
[![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/concepts.zip)
5050
- container_engine
5151
[![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/container_engine.zip)
52+
- container_instances
53+
[![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/container_instances.zip)
5254
- dataConnectivity
5355
[![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/dataConnectivity.zip)
5456
- database

examples/api_gateway/dynamic_routing/main.tf

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ variable "deployment_specification_routes_backend_type" {
3535
default = "DYNAMIC_ROUTING_BACKEND"
3636
}
3737

38-
variable "deployment_specification_routes_backend_" {
39-
default = "DYNAMIC_ROUTING_BACKEND"
40-
}
41-
4238
variable "deployment_specification_routes_methods" {
4339
default = ["GET"]
4440
}
@@ -79,6 +75,10 @@ variable "deployment_specification_routes_backend_routing_backends_backend_url"
7975
default = "https://api.weather.gov"
8076
}
8177

78+
variable "deployment_specification_routes_backend_routing_backends_key_is_default" {
79+
default = false
80+
}
81+
8282
provider "oci" {
8383
tenancy_ocid = var.tenancy_ocid
8484
user_ocid = var.user_ocid
@@ -135,9 +135,10 @@ resource "oci_apigateway_deployment" "test_deployment" {
135135
}
136136
routing_backends {
137137
key {
138-
type = var.deployment_specification_routes_backend_routing_backends_key_type
139-
values = var.deployment_specification_routes_backend_routing_backends_key_values
140-
name = var.deployment_specification_routes_backend_routing_backends_key_name
138+
type = var.deployment_specification_routes_backend_routing_backends_key_type
139+
values = var.deployment_specification_routes_backend_routing_backends_key_values
140+
name = var.deployment_specification_routes_backend_routing_backends_key_name
141+
is_default = var.deployment_specification_routes_backend_routing_backends_key_is_default
141142
}
142143
backend {
143144
type = var.deployment_specification_routes_backend_routing_backends_backend_type
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
// Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
2+
// Licensed under the Mozilla Public License v2.0
3+
/*
4+
* The following API Gateway and deployment demonstrate using OpenID connect
5+
* with API Gateway using an OAUTH2 flow.
6+
*/
7+
variable "tenancy_ocid" {}
8+
variable "user_ocid" {}
9+
variable "fingerprint" {}
10+
variable "private_key_path" {}
11+
variable "region" {}
12+
variable "compartment_ocid" {}
13+
variable "client_id" {
14+
description = "The OAuth2 Client ID"
15+
}
16+
variable "client_secret_id" {
17+
description = "An ID to an OCI Secret value containing the OAuth2 client secret"
18+
}
19+
variable "client_secret_version_number" {
20+
default = 1
21+
}
22+
provider "oci" {
23+
tenancy_ocid = var.tenancy_ocid
24+
user_ocid = var.user_ocid
25+
fingerprint = var.fingerprint
26+
private_key_path = var.private_key_path
27+
region = var.region
28+
}
29+
resource "oci_apigateway_deployment" "openid_connect_deployment" {
30+
compartment_id = var.compartment_ocid
31+
gateway_id = oci_apigateway_gateway.test_gateway.id
32+
path_prefix = "/"
33+
specification {
34+
request_policies {
35+
authentication {
36+
type = "TOKEN_AUTHENTICATION"
37+
token_header = "Authorization"
38+
token_auth_scheme = "Bearer"
39+
is_anonymous_access_allowed = false
40+
validation_policy {
41+
// Example validation policy using an OAuth2 introspection endpoint
42+
// (https://datatracker.ietf.org/doc/html/rfc7662) to validate the
43+
// clients authorization credentials
44+
type = "REMOTE_DISCOVERY"
45+
is_ssl_verify_disabled = true
46+
max_cache_duration_in_hours = 1
47+
source_uri_details {
48+
// Discover the OAuth2/OpenID configuration from an RFC8414
49+
// metadata endpoint (https://www.rfc-editor.org/rfc/rfc8414)
50+
type = "DISCOVERY_URI"
51+
uri = "https://auth.example.com/.well-known/oauth-authorization-server"
52+
}
53+
client_details {
54+
// Specify the OAuth client id and secret to use with the
55+
// introspection endpoint
56+
type = "CUSTOM"
57+
client_id = var.client_id
58+
client_secret_id = var.client_secret_id
59+
client_secret_version_number = var.client_secret_version_number
60+
}
61+
additional_validation_policy {
62+
issuers = ["https://identity.oraclecloud.com/"]
63+
audiences = ["https://www.oracle.com/"]
64+
verify_claims {
65+
is_required = true
66+
key = "key"
67+
values = ["value"]
68+
}
69+
}
70+
}
71+
validation_failure_policy {
72+
// When a client uses the API without auth credentials, or
73+
// invalid/expired credentials then invoke the OAuth2 flow using
74+
// the configuration below.
75+
type = "OAUTH2"
76+
scopes = ["openid"]
77+
response_type = "CODE"
78+
max_expiry_duration_in_hours = 1
79+
use_cookies_for_intermediate_steps = true
80+
use_cookies_for_session = true
81+
use_pkce = true
82+
fallback_redirect_path = "/fallback"
83+
source_uri_details {
84+
// Use the same discovery URI as the validation policy above.
85+
type = "VALIDATION_BLOCK"
86+
}
87+
client_details {
88+
// Use the same OAuth2 client details as the validation policy above.
89+
type = "VALIDATION_BLOCK"
90+
}
91+
}
92+
}
93+
}
94+
routes {
95+
path = "/"
96+
methods = ["GET", "HEAD"]
97+
backend {
98+
type = "STOCK_RESPONSE_BACKEND"
99+
status = 200
100+
body = "Hello World"
101+
}
102+
}
103+
}
104+
}
105+
resource "oci_apigateway_gateway" "test_gateway" {
106+
compartment_id = var.compartment_ocid
107+
endpoint_type = "PUBLIC"
108+
subnet_id = oci_core_subnet.regional_subnet.id
109+
}
110+
resource "oci_core_vcn" "vcn1" {
111+
cidr_block = "10.0.0.0/16"
112+
compartment_id = var.compartment_ocid
113+
display_name = "exampleVCN"
114+
dns_label = "tfexamplevcn"
115+
}
116+
resource "oci_core_subnet" "regional_subnet" {
117+
cidr_block = "10.0.1.0/24"
118+
display_name = "regionalSubnet"
119+
dns_label = "regionalsubnet"
120+
compartment_id = var.compartment_ocid
121+
vcn_id = oci_core_vcn.vcn1.id
122+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Overview
2+
This is a Terraform configuration that creates the `container_instances` service on Oracle Cloud Infrastructure.
3+
4+
The Terraform code is used to create a Resource Manager stack, that creates the required resources and configures the application on the created resources.
5+
## Magic Button
6+
[![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/container_instances.zip)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Overview
2+
This is a Terraform configuration that creates the `container_instances` service on Oracle Cloud Infrastructure.
3+
4+
The Terraform code is used to create a Resource Manager stack, that creates the required resources and configures the application on the created resources.

0 commit comments

Comments
 (0)