Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wallet Starter #141

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 79 additions & 0 deletions database/starters/oracle-spring-boot-starter-wallet/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2023, 2024, Oracle and/or its affiliates. -->
<!-- Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. -->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>oracle-spring-boot-starters</artifactId>
<groupId>com.oracle.database.spring</groupId>
<version>24.3.0</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>oracle-spring-boot-starter-wallet</artifactId>
<version>24.3.0</version>

<name>Oracle Spring Boot Starter - Wallet</name>
<description>Oracle's implementation of Spring Boot Starter for Oracle Wallet</description>
<url>https://github.com/oracle/spring-cloud-oracle/tree/main/database/starters/oracle-spring-boot-starter-wallet</url>

<organization>
<name>Oracle America, Inc.</name>
<url>https://www.oracle.com</url>
</organization>

<developers>
<developer>
<name>Oracle</name>
<email>obaas_ww at oracle.com</email>
<organization>Oracle America, Inc.</organization>
<organizationUrl>https://www.oracle.com</organizationUrl>
</developer>
</developers>

<licenses>
<license>
<name>The Universal Permissive License (UPL), Version 1.0</name>
<url>https://oss.oracle.com/licenses/upl/</url>
<distribution>repo</distribution>
</license>
</licenses>

<scm>
<url>https://github.com/oracle/spring-cloud-oracle</url>
<connection>scm:git:https://github.com/oracle/spring-cloud-oracle.git</connection>
<developerConnection>scm:git:[email protected]:oracle/spring-cloud-oracle.git</developerConnection>
</scm>

<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.oracle.database.security</groupId>
<artifactId>oraclepki</artifactId>
</dependency>
<dependency>
<groupId>com.oracle.database.security</groupId>
<artifactId>osdt_core</artifactId>
</dependency>
<dependency>
<groupId>com.oracle.database.security</groupId>
<artifactId>osdt_cert</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
23 changes: 20 additions & 3 deletions database/starters/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@

<modules>
<module>oracle-spring-boot-starter-ucp</module>
<module>oracle-spring-boot-starter-wallet</module>
<module>oracle-spring-boot-starter-aqjms</module>
<module>oracle-spring-boot-starter-json-collections</module>
<module>oracle-spring-boot-starter-samples</module>
Expand All @@ -73,7 +74,8 @@

<okafka.version>23.5.0.0</okafka.version>
<kafka-clients.version>3.7.1</kafka-clients.version>
<ojdbc.version>23.5.0.24.07</ojdbc.version>
<oracle.version>23.5.0.24.07</oracle.version>
<osdt.version>21.15.0.0</osdt.version>
<oracledb-messaging.version>23.3.1.0</oracledb-messaging.version>
<jta.version>2.0.1</jta.version>
<micrometer.version>1.11.5</micrometer.version>
Expand Down Expand Up @@ -131,15 +133,30 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.oracle.database.security</groupId>
<artifactId>oraclepki</artifactId>
<version>${osdt.version}</version>
</dependency>
<dependency>
<groupId>com.oracle.database.security</groupId>
<artifactId>osdt_core</artifactId>
<version>${osdt.version}</version>
</dependency>
<dependency>
<groupId>com.oracle.database.security</groupId>
<artifactId>osdt_cert</artifactId>
<version>${osdt.version}</version>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc11</artifactId>
<version>${ojdbc.version}</version>
<version>${oracle.version}</version>
</dependency>
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ucp</artifactId>
<version>${ojdbc.version}</version>
<version>${oracle.version}</version>
</dependency>
<dependency>
<groupId>com.oracle.database.messaging</groupId>
Expand Down
31 changes: 27 additions & 4 deletions spring-cloud-oci/docs/src/main/asciidoc/db_starters.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To add this starter to your project, add this Maven dependency:
<dependency>
<groupId>com.oracle.database.spring</groupId>
<artifactId>oracle-spring-boot-starter-aqjms</artifactId>
<version>23.4.0</version>
<version>24.3.0</version>
</dependency>
----

Expand All @@ -26,7 +26,7 @@ For Gradle projects, add this dependency:
[source,subs="normal"]
----
dependencies {
implementation 'com.oracle.database.spring:oracle-spring-boot-starter-aqjms:23.4.0'
implementation 'com.oracle.database.spring:oracle-spring-boot-starter-aqjms:24.3.0'
}
----

Expand Down Expand Up @@ -131,7 +131,7 @@ To add this starter to your project, add this Maven dependency:
<dependency>
<groupId>com.oracle.database.spring</groupId>
<artifactId>oracle-spring-boot-starter-ucp</artifactId>
<version>23.4.0</version>
<version>24.3.0</version>
</dependency>
----

Expand All @@ -140,7 +140,7 @@ For Gradle projects, add this dependency:
[source,subs="normal"]
----
dependencies {
implementation 'com.oracle.database.spring:oracle-spring-boot-starter-ucp:23.4.0'
implementation 'com.oracle.database.spring:oracle-spring-boot-starter-ucp:24.3.0'
}
----

Expand Down Expand Up @@ -223,3 +223,26 @@ public class DataSourceConfiguration {
}
----

=== Oracle Database Wallet

This starter provides authentication mechanisms for Oracle Database connections using Oracle Database Wallet, such as connections to Autonomous Database with mTLS enabled.

To add this starter to your project, add this Maven dependency:

[source,xml]
----
<dependency>
<groupId>com.oracle.database.spring</groupId>
<artifactId>oracle-spring-boot-starter-wallet</artifactId>
<version>24.3.0</version>
</dependency>
----

For Gradle projects, add this dependency:

[source,subs="normal"]
----
dependencies {
implementation 'com.oracle.database.spring:oracle-spring-boot-starter-wallet:24.3.0'
}
----
Loading