diff options
author | Morten Tokle <mortent@verizonmedia.com> | 2021-01-28 10:52:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 10:52:26 +0100 |
commit | ea3f3b8a89d59ce529fba70414d948ae4c0497a0 (patch) | |
tree | 3b55370cfb10c84323dfc21cd2529fa173ae477a | |
parent | cb12512769744892ec7416f4548697c3d21d0af6 (diff) | |
parent | 4df42a057aa03e6387f351add284d24f48a04d92 (diff) |
Merge pull request #16268 from vespa-engine/mortent/aws-secret
New module jdisc-cloud-aws
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | dist/vespa.spec | 1 | ||||
-rw-r--r-- | jdisc-cloud-aws/CMakeLists.txt | 3 | ||||
-rw-r--r-- | jdisc-cloud-aws/OWNERS | 2 | ||||
-rw-r--r-- | jdisc-cloud-aws/pom.xml | 43 | ||||
-rw-r--r-- | jdisc-cloud-aws/src/main/java/com/yahoo/jdisc/cloud/aws/AwsParameterStore.java | 21 | ||||
-rw-r--r-- | pom.xml | 1 |
7 files changed, 72 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d3621de617a..72df4cf524b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,6 +90,7 @@ add_subdirectory(flags) add_subdirectory(fnet) add_subdirectory(fsa) add_subdirectory(hosted-zone-api) +add_subdirectory(jdisc-cloud-aws) add_subdirectory(jdisc_core) add_subdirectory(jdisc-security-filters) add_subdirectory(jdisc_http_service) diff --git a/dist/vespa.spec b/dist/vespa.spec index 50d591bde5c..b19d1c9a201 100644 --- a/dist/vespa.spec +++ b/dist/vespa.spec @@ -612,6 +612,7 @@ fi %{_prefix}/lib/jars/jackson-*.jar %{_prefix}/lib/jars/javassist-*.jar %{_prefix}/lib/jars/javax.*.jar +%{_prefix}/lib/jars/jdisc-cloud-aws-jar-with-dependencies.jar %{_prefix}/lib/jars/jdisc_core-jar-with-dependencies.jar %{_prefix}/lib/jars/jdisc_http_service-jar-with-dependencies.jar %{_prefix}/lib/jars/jdisc-security-filters-jar-with-dependencies.jar diff --git a/jdisc-cloud-aws/CMakeLists.txt b/jdisc-cloud-aws/CMakeLists.txt new file mode 100644 index 00000000000..cc53e39f6a5 --- /dev/null +++ b/jdisc-cloud-aws/CMakeLists.txt @@ -0,0 +1,3 @@ +# Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +install_fat_java_artifact(jdisc-cloud-aws) +install_config_definitions() diff --git a/jdisc-cloud-aws/OWNERS b/jdisc-cloud-aws/OWNERS new file mode 100644 index 00000000000..e3da51bd047 --- /dev/null +++ b/jdisc-cloud-aws/OWNERS @@ -0,0 +1,2 @@ +mortent +oyving diff --git a/jdisc-cloud-aws/pom.xml b/jdisc-cloud-aws/pom.xml new file mode 100644 index 00000000000..9089c5785c7 --- /dev/null +++ b/jdisc-cloud-aws/pom.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. + --> + +<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> + <groupId>com.yahoo.vespa</groupId> + <artifactId>parent</artifactId> + <version>7-SNAPSHOT</version> + <relativePath>../parent/pom.xml</relativePath> + </parent> + <artifactId>jdisc-cloud-aws</artifactId> + <version>7-SNAPSHOT</version> + <packaging>container-plugin</packaging> + <name>${project.artifactId}</name> + + <dependencies> + <dependency> + <groupId>com.yahoo.vespa</groupId> + <artifactId>container-disc</artifactId> + <version>${project.version}</version> + <scope>provided</scope> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + </plugin> + <plugin> + <groupId>com.yahoo.vespa</groupId> + <artifactId>bundle-plugin</artifactId> + <extensions>true</extensions> + </plugin> + </plugins> + </build> +</project>
\ No newline at end of file diff --git a/jdisc-cloud-aws/src/main/java/com/yahoo/jdisc/cloud/aws/AwsParameterStore.java b/jdisc-cloud-aws/src/main/java/com/yahoo/jdisc/cloud/aws/AwsParameterStore.java new file mode 100644 index 00000000000..8e7678723e6 --- /dev/null +++ b/jdisc-cloud-aws/src/main/java/com/yahoo/jdisc/cloud/aws/AwsParameterStore.java @@ -0,0 +1,21 @@ +// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. + +package com.yahoo.jdisc.cloud.aws; + +import com.yahoo.container.jdisc.secretstore.SecretStore; + +/** + * @author mortent + */ +public class AwsParameterStore implements SecretStore { + + @Override + public String getSecret(String key) { + return null; + } + + @Override + public String getSecret(String key, int version) { + return null; + } +} @@ -91,6 +91,7 @@ <module>indexinglanguage</module> <module>jaxrs_client_utils</module> <module>jaxrs_utils</module> + <module>jdisc-cloud-aws</module> <module>jdisc-security-filters</module> <module>jdisc_core</module> <module>jdisc_core_test</module> |