summaryrefslogtreecommitdiffstats
path: root/filedistribution
diff options
context:
space:
mode:
authorHarald Musum <musum@oath.com>2017-11-14 15:21:04 +0100
committerHarald Musum <musum@oath.com>2017-11-14 15:21:04 +0100
commitc5fd22cb287015ff165f928712dc2324c711241c (patch)
treef4568cdfdd788885003fce0461801e834ea74183 /filedistribution
parent1520200006e19dd1996e054d64dcee7f05e57cad (diff)
Move filedistribution config definitions to configdefinitions module
To ease transition to new filedsitribution code
Diffstat (limited to 'filedistribution')
-rw-r--r--filedistribution/pom.xml30
-rw-r--r--filedistribution/src/vespa/filedistribution/distributor/filedistributor.def10
-rw-r--r--filedistribution/src/vespa/filedistribution/model/filereferences.def3
3 files changed, 0 insertions, 43 deletions
diff --git a/filedistribution/pom.xml b/filedistribution/pom.xml
index 0a4b75788bc..e63b85a22b8 100644
--- a/filedistribution/pom.xml
+++ b/filedistribution/pom.xml
@@ -13,34 +13,4 @@
<version>6-SNAPSHOT</version>
<packaging>jar</packaging>
<name>${project.artifactId}</name>
- <dependencies>
- <dependency>
- <groupId>com.yahoo.vespa</groupId>
- <artifactId>config-lib</artifactId>
- <version>${project.version}</version>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <groupId>com.yahoo.vespa</groupId>
- <artifactId>config-class-plugin</artifactId>
- <version>${project.version}</version>
- <configuration>
- <defFilesDirectories>
- src/vespa/filedistribution/distributor,
- src/vespa/filedistribution/model
- </defFilesDirectories>
- </configuration>
- <executions>
- <execution>
- <id>config-gen</id>
- <goals>
- <goal>config-gen</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
</project>
diff --git a/filedistribution/src/vespa/filedistribution/distributor/filedistributor.def b/filedistribution/src/vespa/filedistribution/distributor/filedistributor.def
deleted file mode 100644
index 13dd373eac6..00000000000
--- a/filedistribution/src/vespa/filedistribution/distributor/filedistributor.def
+++ /dev/null
@@ -1,10 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-namespace=cloud.config.filedistribution
-
-torrentport int
-stateport int default = 0
-hostname string
-filedbpath string
-
-maxdownloadspeed double
-maxuploadspeed double
diff --git a/filedistribution/src/vespa/filedistribution/model/filereferences.def b/filedistribution/src/vespa/filedistribution/model/filereferences.def
deleted file mode 100644
index 03e071959ce..00000000000
--- a/filedistribution/src/vespa/filedistribution/model/filereferences.def
+++ /dev/null
@@ -1,3 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-namespace=cloud.config.filedistribution
-filereferences[] string