Skip to content

Commit

Permalink
init for graalvm workshops
Browse files Browse the repository at this point in the history
  • Loading branch information
paulparkinson committed Oct 2, 2024
1 parent fffc721 commit ab303ef
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
[
{
"bean-class": "io.helidon.integrations.datasource.ucp.cdi.UCPBackedDataSourceExtension",
"ifaces": [
"java.io.Serializable",
"java.sql.Wrapper",
"javax.naming.Referenceable",
"javax.naming.spi.ObjectFactory",
"javax.sql.CommonDataSource",
"javax.sql.DataSource",
"oracle.ucp.jdbc.PoolDataSource",
"oracle.ucp.UniversalConnectionPoolAdapter"
]
},
{
"bean-class": "io.helidon.integrations.datasource.ucp.cdi.UniversalConnectionPoolExtension",
"ifaces": [
"java.io.Serializable",
"java.sql.Wrapper",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ server.host=0.0.0.0

# DataSource properties
javax.sql.DataSource.example.connectionFactoryClassName=oracle.jdbc.pool.OracleDataSource
javax.sql.DataSource.example.URL=jdbc:oracle:thin:@livelabs_high?TNS_ADMIN=/Users/youruser/Wallet_yourwalletdir
#javax.sql.DataSource.example.URL=jdbc:oracle:thin:@<ATP_NAME>_high?TNS_ADMIN=/home/<YOUR_USER>/<YOUR_WALLET_LOCATION>
javax.sql.DataSource.example.URL=jdbc:oracle:thin:@ATP110345_high?TNS_ADMIN=/home/LL110345_U/myatpwallet
javax.sql.DataSource.example.user=ADMIN
javax.sql.DataSource.example.password=Welcome12345
javax.sql.DataSource.example.password=##03pRivvzR2q4jv
#javax.sql.DataSource.example.password=<ADMIN_PASSWORD>
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Args=-H:+RemoveSaturatedTypeFlows --initialize-at-build-time=com.oracle.helidon.datasource \
--initialize-at-build-time=io.helidon.integrations.datasource.ucp.cdi.UniversalConnectionPool$_$$_WeldClientProxy \
--initialize-at-run-time=oracle.jdbc.driver.NTFListener \
--initialize-at-run-time=oracle.ucp.common.Service
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,22 @@ flyway.datasources.default.baseline-on-migrate=true
flyway.datasources.default.baseline-version=1.0.0

datasources.default.dialect=ORACLE
datasources.default.ocid=<YOUR_DB_OCID>
datasources.default.username=<YOUR_DB_ADMIN_USERNAME>
datasources.default.password=<YOUR_PASSWORD>
datasources.default.walletPassword=<YOUR_WALLET_PASSWORD>
#datasources.default.ocid=<YOUR_DB_OCID>
datasources.default.username=ADMIN
datasources.default.password=
#datasources.default.password=<YOUR_PASSWORD>
datasources.default.walletPassword=Welcome12345
#datasources.default.walletPassword=<YOUR_WALLET_PASSWORD>

# use these properties if running from OCI Console with Cloud Shell (https://rb.gy/64ebxw)
# technical reference at https://micronaut-projects.github.io/micronaut-oracle-cloud/snapshot/guide/
oci.fingerprint=<FINGERPRINT_VALUE>
# example private key file path + file extension pattern
# oci.private-key-file=file:/home/juarez/pk.pem
oci.private-key-file=file:<ABSOLUTE_KEY_FILE_PATH><FILE_NAME.pem>
oci.region=<REGION>
oci.tenant-id=<OCI_TENANCY_OCID>
oci.user-id=<OCI_USER_OCID>
#oci.fingerprint=<FINGERPRINT_VALUE>
## example private key file path + file extension pattern
## oci.private-key-file=file:/home/juarez/pk.pem
#oci.private-key-file=file:<ABSOLUTE_KEY_FILE_PATH><FILE_NAME.pem>
#oci.region=<REGION>
#oci.tenant-id=<OCI_TENANCY_OCID>
#oci.user-id=<OCI_USER_OCID>

# uncomment the property below if not using oci console with cloud shell
# oci.config.profile=DEFAULT

0 comments on commit ab303ef

Please sign in to comment.