Skip to content

Commit

Permalink
Revert "Move secret impl to open source pt2 try2"
Browse files Browse the repository at this point in the history
  • Loading branch information
hmusum authored Sep 24, 2024
1 parent 3696c8c commit f3263ff
Show file tree
Hide file tree
Showing 18 changed files with 23 additions and 928 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
*/
public class CloudSecrets extends SimpleComponent implements SecretsConfig.Producer {

private static final String CLASS = "ai.vespa.secret.aws.SecretsImpl";
private static final String BUNDLE = "jdisc-cloud-aws";
private static final String CLASS = "ai.vespa.secret.cloud.SecretsImpl";
private static final String BUNDLE = "cloud-common";

private final List<SecretConfig> secrets = new ArrayList<>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
public class SecretsTest extends ContainerModelBuilderTestBase {

private static String IMPL_ID = "ai.vespa.secret.aws.SecretsImpl";
private static String IMPL_ID = "ai.vespa.secret.cloud.SecretsImpl";

@Test
void testCloudSecretsNeedHosted() {
Expand Down

This file was deleted.

This file was deleted.

24 changes: 0 additions & 24 deletions container-disc/src/test/java/ai/vespa/secret/model/KeyTest.java

This file was deleted.

This file was deleted.

58 changes: 0 additions & 58 deletions container-disc/src/test/java/ai/vespa/secret/model/SecretTest.java

This file was deleted.

1 change: 0 additions & 1 deletion dependency-versions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
find zkfacade/src/main/java/org/apache/curator -name package-info.java | \
xargs perl -pi -e 's/major = [0-9]+, minor = [0-9]+, micro = [0-9]+/major = 5, minor = 3, micro = 0/g'
-->
<aws-sdk2.vespa.version>2.27.4</aws-sdk2.vespa.version>
<bouncycastle.vespa.version>1.78.1</bouncycastle.vespa.version>
<byte-buddy.vespa.version>1.14.18</byte-buddy.vespa.version>
<checker-qual.vespa.version>3.38.0</checker-qual.vespa.version>
Expand Down
2 changes: 1 addition & 1 deletion jdisc-cloud-aws/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
install_configserver_component(jdisc-cloud-aws)
install_jar(jdisc-cloud-aws-jar-with-dependencies.jar)
install_config_definitions()
34 changes: 1 addition & 33 deletions jdisc-cloud-aws/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<artifactId>jdisc-cloud-aws</artifactId>
<version>8-SNAPSHOT</version>
<packaging>container-plugin</packaging>
<name>${project.artifactId}</name>

<dependencies>
<dependency>
Expand All @@ -28,12 +29,6 @@
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.yahoo.vespa</groupId>
<artifactId>vespa-athenz</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-core</artifactId>
Expand All @@ -56,22 +51,6 @@
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-ssm</artifactId>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>secretsmanager</artifactId>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>*</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>


<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
Expand All @@ -92,17 +71,6 @@
</dependencies>

<build>
<resources>
<!-- Exclude config defs, as they are already installed in the configserver's serverdb -->
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>configdefinitions/*</exclude>
</excludes>
<filtering>false</filtering>
</resource>
</resources>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
Loading

0 comments on commit f3263ff

Please sign in to comment.