summaryrefslogtreecommitdiffstats
path: root/config-lib
diff options
context:
space:
mode:
authorgjoranv <gv@oath.com>2017-08-17 12:04:28 +0200
committergjoranv <gv@oath.com>2017-08-17 12:13:20 +0200
commita0b9d3a034bc8499c3012713036d8cc9132defe0 (patch)
treec895d41929d45b31085e09029f4dcda49b365dc9 /config-lib
parent702399219195d98db5b007596e772936388054bb (diff)
Remove redundant def files.
* They were probably copied to another module a long time ago.
Diffstat (limited to 'config-lib')
-rw-r--r--config-lib/src/test/resources/configdefinitions/arraytypes.def11
-rw-r--r--config-lib/src/test/resources/configdefinitions/chains-test.def42
-rw-r--r--config-lib/src/test/resources/configdefinitions/datastructures.def11
-rw-r--r--config-lib/src/test/resources/configdefinitions/defaulttest.def8
-rw-r--r--config-lib/src/test/resources/configdefinitions/md5test.def24
-rw-r--r--config-lib/src/test/resources/configdefinitions/simpletypes.def11
-rw-r--r--config-lib/src/test/resources/configdefinitions/specialtypes.def5
-rw-r--r--config-lib/src/test/resources/configdefinitions/standard.def8
-rwxr-xr-xconfig-lib/src/test/resources/configdefinitions/string.def4
-rw-r--r--config-lib/src/test/resources/configdefinitions/structtypes.def21
-rw-r--r--config-lib/src/test/resources/configdefinitions/test-nodefs.def16
-rw-r--r--config-lib/src/test/resources/configdefinitions/test-nonstring.def9
-rw-r--r--config-lib/src/test/resources/configdefinitions/test-reference.def4
-rw-r--r--config-lib/src/test/resources/configdefinitions/testnamespace.def3
-rw-r--r--config-lib/src/test/resources/configdefinitions/unicode.def5
15 files changed, 0 insertions, 182 deletions
diff --git a/config-lib/src/test/resources/configdefinitions/arraytypes.def b/config-lib/src/test/resources/configdefinitions/arraytypes.def
deleted file mode 100644
index 8add790c6cb..00000000000
--- a/config-lib/src/test/resources/configdefinitions/arraytypes.def
+++ /dev/null
@@ -1,11 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-# Config containing only simple array types that can be used for testing
-# individual types in detail.
-namespace=test
-
-boolarr[] bool
-doublearr[] double
-enumarr[] enum { VAL1, VAL2 }
-intarr[] int
-longarr[] long
-stringarr[] string
diff --git a/config-lib/src/test/resources/configdefinitions/chains-test.def b/config-lib/src/test/resources/configdefinitions/chains-test.def
deleted file mode 100644
index 88921b96d8d..00000000000
--- a/config-lib/src/test/resources/configdefinitions/chains-test.def
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-# Chains configuration
-namespace=test
-
-component[].id string
-
-# Configured functionality provided by this - comes in addition to those set in the code
-component[].dependencies.provides[] string
-
-# Configured "before" dependencies provided by this - comes in addition to those set in the code
-component[].dependencies.before[] string
-
-# Configured "after" dependencies provided by this - comes in addition to those set in the code
-component[].dependencies.after[] string
-
-# The id of this chain. The id has the form name(:version)?
-# where the version has the form 1(.2(.3(.identifier)?)?)?.
-# The default chain must be called "default".
-chain[].id string
-
-#The type of this chain
-chain[].type enum {DOCPROC, SEARCH} default=SEARCH
-
-# The id of a component to include in this chain.
-# The id has the form fullclassname(:version)?
-# where the version has the form 1(.2(.3(.identifier)?)?)?.
-chain[].component[] string
-
-# The optional list of chain ids this inherits.
-# The ids has the form name(:version)?
-# where the version has the form 1(.2(.3(.identifier)?)?)?.
-# If the version is not specified the newest version is used.
-chain[].inherit[] string
-
-# The optional list of component ids to exclude from this chain even if they exists in inherited chains
-# If versions are specified in these ids, they are ignored.
-chain[].exclude[] string
-
-# The phases for a chain
-chain[].phase[].id string
-chain[].phase[].before[] string
-chain[].phase[].after[] string
diff --git a/config-lib/src/test/resources/configdefinitions/datastructures.def b/config-lib/src/test/resources/configdefinitions/datastructures.def
deleted file mode 100644
index 7b0aa22c941..00000000000
--- a/config-lib/src/test/resources/configdefinitions/datastructures.def
+++ /dev/null
@@ -1,11 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-namespace=test
-
-date[] string
-
-stock[].ticker string
-stock[].type enum { COMMON, ETF, ETC } default=COMMON
-stock[].volume[] int
-
-basicstruct.foo string default="foo"
-basicstruct.bar int default=0
diff --git a/config-lib/src/test/resources/configdefinitions/defaulttest.def b/config-lib/src/test/resources/configdefinitions/defaulttest.def
deleted file mode 100644
index d1210890184..00000000000
--- a/config-lib/src/test/resources/configdefinitions/defaulttest.def
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-namespace=test
-
-nondefaultstring string
-defaultstring string default="thedefault"
-
-nondefaultreference reference
-defaultreference reference default="thedefault"
diff --git a/config-lib/src/test/resources/configdefinitions/md5test.def b/config-lib/src/test/resources/configdefinitions/md5test.def
deleted file mode 100644
index b419bd975bb..00000000000
--- a/config-lib/src/test/resources/configdefinitions/md5test.def
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-# version=4 , version in comment does not count.
-
-# Added empty line to see if we can confuse
-# the server's md5 calculation
-namespace=test
-
-#even adding a variable name starting with 'version'
-versiontag int default=3
-
-blabla string default=""
-tabs string default=" "
-test int
-
-# test multiple spaces/tabs
-spaces int
-singletab string
-multitabs double
-
-# test enum
-normal enum { VAL1, VAL2 } default=VAL1
-spacevalues enum { V1 , V2 , V3 , V4 } default=V3
-
-# Comments and empty lines at the end
diff --git a/config-lib/src/test/resources/configdefinitions/simpletypes.def b/config-lib/src/test/resources/configdefinitions/simpletypes.def
deleted file mode 100644
index b54ea43435d..00000000000
--- a/config-lib/src/test/resources/configdefinitions/simpletypes.def
+++ /dev/null
@@ -1,11 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-# Config containing only simple leaf types with default values, that can be used
-# for testing individual types in detail.
-namespace=test
-
-boolval bool default=false
-doubleval double default=0.0
-enumval enum { VAL1, VAL2 } default=VAL1
-intval int default=0
-longval long default=0
-stringval string default="s"
diff --git a/config-lib/src/test/resources/configdefinitions/specialtypes.def b/config-lib/src/test/resources/configdefinitions/specialtypes.def
deleted file mode 100644
index 3b129c810c0..00000000000
--- a/config-lib/src/test/resources/configdefinitions/specialtypes.def
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-namespace=test
-
-myfile file
-myref reference
diff --git a/config-lib/src/test/resources/configdefinitions/standard.def b/config-lib/src/test/resources/configdefinitions/standard.def
deleted file mode 100644
index 36c4c55f339..00000000000
--- a/config-lib/src/test/resources/configdefinitions/standard.def
+++ /dev/null
@@ -1,8 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-# Config containing only simple leaf types with default values, that can be used
-# for testing individual types in detail.
-namespace=test
-
-basicStruct.intVal int default=0
-basicStruct.stringVal string default="s"
-stringArr[] string
diff --git a/config-lib/src/test/resources/configdefinitions/string.def b/config-lib/src/test/resources/configdefinitions/string.def
deleted file mode 100755
index 63d189c3a4e..00000000000
--- a/config-lib/src/test/resources/configdefinitions/string.def
+++ /dev/null
@@ -1,4 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-namespace=test
-
-stringVal string default="_default_"
diff --git a/config-lib/src/test/resources/configdefinitions/structtypes.def b/config-lib/src/test/resources/configdefinitions/structtypes.def
deleted file mode 100644
index 5a646efc2c7..00000000000
--- a/config-lib/src/test/resources/configdefinitions/structtypes.def
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-# Config containing only structs in various forms
-namespace=test
-
-simple.name string default="_default_"
-simple.gender enum { MALE, FEMALE } default=MALE
-simple.emails[] string
-
-nested.inner.name string default="_default_"
-nested.inner.gender enum { MALE, FEMALE } default=MALE
-nested.inner.emails[] string
-
-simplearr[].name string
-simplearr[].gender enum { MALE, FEMALE }
-
-nestedarr[].inner.name string
-nestedarr[].inner.gender enum { MALE, FEMALE }
-nestedarr[].inner.emails[] string
-
-complexarr[].innerarr[].name string
-complexarr[].innerarr[].gender enum { MALE, FEMALE }
diff --git a/config-lib/src/test/resources/configdefinitions/test-nodefs.def b/config-lib/src/test/resources/configdefinitions/test-nodefs.def
deleted file mode 100644
index b4c46a89695..00000000000
--- a/config-lib/src/test/resources/configdefinitions/test-nodefs.def
+++ /dev/null
@@ -1,16 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-namespace=test
-
-# test config vars with no defaults
-
-s string
-j int
-b bool
-f double
-e enum { AA, BB, CC }
-
-basicstruct.foo string
-basicstruct.bar int
-
-arr[].s string
-arr[].i int
diff --git a/config-lib/src/test/resources/configdefinitions/test-nonstring.def b/config-lib/src/test/resources/configdefinitions/test-nonstring.def
deleted file mode 100644
index 474c11770f1..00000000000
--- a/config-lib/src/test/resources/configdefinitions/test-nonstring.def
+++ /dev/null
@@ -1,9 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-namespace=test
-
-# Test non-string config vars with defaults
-
-i int default=0
-b bool default=false
-d double default=0.0
-e enum { AA, BB, CC } default=AA
diff --git a/config-lib/src/test/resources/configdefinitions/test-reference.def b/config-lib/src/test/resources/configdefinitions/test-reference.def
deleted file mode 100644
index b5d82a7b4b6..00000000000
--- a/config-lib/src/test/resources/configdefinitions/test-reference.def
+++ /dev/null
@@ -1,4 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-namespace=test
-
-configId reference default=":parent:"
diff --git a/config-lib/src/test/resources/configdefinitions/testnamespace.def b/config-lib/src/test/resources/configdefinitions/testnamespace.def
deleted file mode 100644
index 6e58c691097..00000000000
--- a/config-lib/src/test/resources/configdefinitions/testnamespace.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=foo
-basicStruct.stringVal string
diff --git a/config-lib/src/test/resources/configdefinitions/unicode.def b/config-lib/src/test/resources/configdefinitions/unicode.def
deleted file mode 100644
index 9a1ab170d92..00000000000
--- a/config-lib/src/test/resources/configdefinitions/unicode.def
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-namespace=test
-
-unicodestring1 string
-unicodestring2 string default="abc æøå 囲碁 ÆØÅ ABC"