Skip to content

Commit

Permalink
OCI Vault
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Swanson <[email protected]>
  • Loading branch information
anders-swanson committed Jun 19, 2024
1 parent 21b0d7c commit 72c7c03
Show file tree
Hide file tree
Showing 11 changed files with 208 additions and 0 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Licensed under the Universal Permissive License v 1.0 as shown at https://oss.or
<module>spring-cloud-oci-logging</module>
<module>spring-cloud-oci-function</module>
<module>spring-cloud-oci-streaming</module>
<module>spring-cloud-oci-vault</module>
<module>spring-cloud-oci-queue</module>
<module>docs</module>
</modules>
Expand Down
5 changes: 5 additions & 0 deletions spring-cloud-oci-autoconfigure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ Licensed under the Universal Permissive License v 1.0 as shown at https://oss.or
<artifactId>spring-cloud-oci-streaming</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.oracle.cloud.spring</groupId>
<artifactId>spring-cloud-oci-vault</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.oracle.cloud.spring</groupId>
<artifactId>spring-cloud-oci-queue</artifactId>
Expand Down
10 changes: 10 additions & 0 deletions spring-cloud-oci-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@
<artifactId>spring-cloud-oci-storage</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.oracle.cloud.spring</groupId>
<artifactId>spring-cloud-oci-vault</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.oracle.cloud.spring</groupId>
<artifactId>spring-cloud-oci-function</artifactId>
Expand Down Expand Up @@ -105,6 +110,11 @@
<artifactId>spring-cloud-oci-starter-streaming</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.oracle.cloud.spring</groupId>
<artifactId>spring-cloud-oci-starter-vault</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.oracle.cloud.spring</groupId>
<artifactId>spring-cloud-oci-starter-storage</artifactId>
Expand Down
1 change: 1 addition & 0 deletions spring-cloud-oci-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Licensed under the Universal Permissive License v 1.0 as shown at https://oss.or
<module>spring-cloud-oci-gen-ai-sample</module>
<module>spring-cloud-oci-logging-sample</module>
<module>spring-cloud-oci-streaming-sample</module>
<module>spring-cloud-oci-vault-sample</module>
<module>spring-cloud-oci-queue-sample</module>
<module>spring-cloud-oci-function-sample</module>
</modules>
Expand Down
55 changes: 55 additions & 0 deletions spring-cloud-oci-samples/spring-cloud-oci-vault-sample/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.oracle.cloud.spring</groupId>
<artifactId>spring-cloud-oci-samples</artifactId>
<version>1.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.oracle.cloud.spring.sample.genai</groupId>
<artifactId>spring-cloud-oci-vault-sample</artifactId>
<name>spring-cloud-oci-vault-sample</name>
<description>spring-cloud-oci-vault-sample</description>
<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>
<properties>
<java.version>17</java.version>
</properties>
<dependencies>
<dependency>
<groupId>com.oracle.cloud.spring</groupId>
<artifactId>spring-cloud-oci-starter-vault</artifactId>
</dependency>
<dependency>
<groupId>com.oracle.cloud.spring.sample.common</groupId>
<artifactId>spring-cloud-oci-common-samples-utils</artifactId>
</dependency>
<dependency>
<groupId>com.oracle.cloud.spring.sample.common</groupId>
<artifactId>spring-cloud-oci-common-samples-utils</artifactId>
<type>test-jar</type>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>


</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.oracle.cloud.spring.sample.streaming.springcloudocivaultsample;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class SpringCloudOciVaultSampleApplication {
public static void main(String[] args) {
SpringApplication.run(SpringCloudOciVaultSampleApplication.class, args);
}
}
1 change: 1 addition & 0 deletions spring-cloud-oci-starters/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Licensed under the Universal Permissive License v 1.0 as shown at https://oss.or
<module>spring-cloud-oci-starter-gen-ai</module>
<module>spring-cloud-oci-starter-logging</module>
<module>spring-cloud-oci-starter-streaming</module>
<module>spring-cloud-oci-starter-vault</module>
<module>spring-cloud-oci-starter-queue</module>
<module>spring-cloud-oci-starter-function</module>
</modules>
Expand Down
54 changes: 54 additions & 0 deletions spring-cloud-oci-starters/spring-cloud-oci-starter-vault/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>spring-cloud-oci-starters</artifactId>
<groupId>com.oracle.cloud.spring</groupId>
<version>1.1.0-SNAPSHOT</version>
</parent>

<artifactId>spring-cloud-oci-starter-vault</artifactId>
<name>Spring Cloud OCI vault Starter Module</name>
<description>Spring Cloud OCI vault Starter Module</description>
<url>https://github.com/oracle/spring-cloud-oci/#spring-cloud-oci-documentation</url>

<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>

<developers>
<developer>
<id>oracle</id>
<name>Oracle</name>
<organizationUrl>https://www.oracle.com</organizationUrl>
</developer>
</developers>

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

<dependencies>
<dependency>
<groupId>com.oracle.cloud.spring</groupId>
<artifactId>spring-cloud-oci-starter</artifactId>
</dependency>
<dependency>
<groupId>com.oracle.cloud.spring</groupId>
<artifactId>spring-cloud-oci-vault</artifactId>
</dependency>
</dependencies>

</project>
62 changes: 62 additions & 0 deletions spring-cloud-oci-vault/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>spring-cloud-oci</artifactId>
<groupId>com.oracle.cloud.spring</groupId>
<version>1.1.0-SNAPSHOT</version>
</parent>

<artifactId>spring-cloud-oci-vault</artifactId>
<name>Spring Cloud OCI Vault Module</name>
<description>Spring Cloud OCI Vault Module</description>
<url>https://github.com/oracle/spring-cloud-oci/#spring-cloud-oci-documentation</url>

<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>

<developers>
<developer>
<id>oracle</id>
<name>Oracle</name>
<organizationUrl>https://www.oracle.com</organizationUrl>
</developer>
</developers>

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

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>com.oracle.cloud.spring</groupId>
<artifactId>spring-cloud-oci-core</artifactId>
</dependency>
<dependency>
<groupId>com.oracle.oci.sdk</groupId>
<artifactId>oci-java-sdk-vault</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package com.oracle.cloud.spring.vault;

public interface Vault {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package com.oracle.cloud.spring.vault;

public class VaultImpl {
}

0 comments on commit 72c7c03

Please sign in to comment.