Skip to content

Commit 092e761

Browse files
upgrading the archirectures based on the archirecture center sync content
1 parent 68b8402 commit 092e761

Some content is hidden

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

44 files changed

+347
-1910
lines changed

cloud-foundation/solutions/Departmental-data-warehousing-Small-Footprint-Solution/.gitignore renamed to cloud-foundation/solutions/Data-platform-data-warehouse-with-e-business-integration/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2022, Oracle and/or its affiliates.
1+
# Copyright © 2023, Oracle and/or its affiliates.
22
# All rights reserved. Licensed under the Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl.
33

44
.terraform

cloud-foundation/solutions/Departmental-data-warehousing-Full-Solution/CONTRIBUTING.md renamed to cloud-foundation/solutions/Data-platform-data-warehouse-with-e-business-integration/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
3-
# Copyright © 2022, Oracle and/or its affiliates.
3+
# Copyright © 2023, Oracle and/or its affiliates.
44
# All rights reserved. Licensed under the Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl.
55
66

cloud-foundation/solutions/Departmental-data-warehousing-Small-Footprint-Solution/LICENSE renamed to cloud-foundation/solutions/Data-platform-data-warehouse-with-e-business-integration/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright © 2022 Oracle and/or its affiliates. All rights reserved.
1+
Copyright © 2023 Oracle and/or its affiliates. All rights reserved.
22

33
The Universal Permissive License (UPL), Version 1.0
44

cloud-foundation/solutions/Departmental-data-warehousing-an-EBS-integration-example/README.md renamed to cloud-foundation/solutions/Data-platform-data-warehouse-with-e-business-integration/README.md

Lines changed: 131 additions & 38 deletions
Large diffs are not rendered by default.

cloud-foundation/solutions/Departmental-data-warehousing-an-EBS-integration-example/local.tf renamed to cloud-foundation/solutions/Data-platform-data-warehouse-with-e-business-integration/local.tf

Lines changed: 59 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright © 2022, Oracle and/or its affiliates.
1+
# Copyright © 2023, Oracle and/or its affiliates.
22
# All rights reserved. Licensed under the Universal Permissive License (UPL), Version 1.0 as shown at https://oss.oracle.com/licenses/upl.
33

44
data "oci_identity_availability_domains" "ADs" {
@@ -125,6 +125,62 @@ locals {
125125
}
126126

127127

128+
# API GATEWAY CONFIGURATION:
129+
apigw_params = {
130+
apigw = {
131+
compartment_id = var.compartment_id,
132+
endpoint_type = "PUBLIC"
133+
subnet_id = lookup(module.network-subnets.subnets,"public-subnet").id,
134+
display_name = var.apigw_display_name
135+
defined_tags = { "${oci_identity_tag_namespace.ArchitectureCenterTagNamespace.name}.${oci_identity_tag.ArchitectureCenterTag.name}" = var.release }
136+
}
137+
}
138+
139+
gwdeploy_params = {
140+
api_deploy1 = {
141+
compartment_id = var.compartment_id,
142+
gateway_name = "apigw"
143+
display_name = var.apigwdeploy_display_name
144+
path_prefix = "/tf"
145+
access_log = true
146+
exec_log_lvl = "WARN"
147+
defined_tags = { "${oci_identity_tag_namespace.ArchitectureCenterTagNamespace.name}.${oci_identity_tag.ArchitectureCenterTag.name}" = var.release }
148+
149+
function_routes = []
150+
151+
http_routes = [
152+
{
153+
type = "http"
154+
path = "/http"
155+
methods = ["GET", ]
156+
url = "http://152.67.128.232/"
157+
ssl_verify = true
158+
connect_timeout = 60
159+
read_timeout = 40
160+
send_timeout = 10
161+
},
162+
]
163+
stock_routes = [
164+
{
165+
methods = ["GET", ]
166+
path = "/stock"
167+
type = "stock_response"
168+
status = 200
169+
body = "The API GW deployment was successful."
170+
headers = [
171+
{
172+
name = "Content-Type"
173+
value = "text/plain"
174+
},
175+
]
176+
177+
},
178+
]
179+
180+
}
181+
}
182+
183+
128184
#create Bastion for the solution
129185
bastion_instance_params = {
130186
#Create the Odi Bastion Instance
@@ -160,9 +216,9 @@ bastion_instance_params = {
160216
shape = var.odi_instance_shape
161217
defined_tags = { "${oci_identity_tag_namespace.ArchitectureCenterTagNamespace.name}.${oci_identity_tag.ArchitectureCenterTag.name}" = var.release }
162218
freeform_tags = {}
163-
subnet_id = lookup(module.network-subnets.subnets,"private-subnet").id
219+
subnet_id = lookup(module.network-subnets.subnets,"public-subnet").id
164220
vnic_display_name = ""
165-
assign_public_ip = false
221+
assign_public_ip = true
166222
hostname_label = ""
167223
source_type = "image"
168224
source_id = local.odi_image

0 commit comments

Comments
 (0)