summaryrefslogtreecommitdiffstats
path: root/configserver/src/test/resources
diff options
context:
space:
mode:
authorHarald Musum <musum@yahoo-inc.com>2017-08-30 16:03:31 +0200
committerGitHub <noreply@github.com>2017-08-30 16:03:31 +0200
commit36f7e720738de89e13231ebaa803a95e98a2758d (patch)
treecab573adac5d32015404116e9eef7737f169b1ce /configserver/src/test/resources
parent3cb0be608c2d3b3253c24b56ba219baebef51946 (diff)
Revert "version in def files are deprecated"
Diffstat (limited to 'configserver/src/test/resources')
-rw-r--r--configserver/src/test/resources/configdefinitions/app.def1
-rw-r--r--configserver/src/test/resources/configdefinitions/datastructures.def1
-rw-r--r--configserver/src/test/resources/configdefinitions/function-test.def1
-rw-r--r--configserver/src/test/resources/configdefinitions/md5test.def2
-rw-r--r--configserver/src/test/resources/configdefinitions/simpletypes.def1
-rw-r--r--configserver/src/test/resources/configdefinitions/unicode.def1
6 files changed, 7 insertions, 0 deletions
diff --git a/configserver/src/test/resources/configdefinitions/app.def b/configserver/src/test/resources/configdefinitions/app.def
index 7c7bb58b3a6..02250339d81 100644
--- a/configserver/src/test/resources/configdefinitions/app.def
+++ b/configserver/src/test/resources/configdefinitions/app.def
@@ -1,4 +1,5 @@
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+version=1
namespace=config
message string default="Hello!"
diff --git a/configserver/src/test/resources/configdefinitions/datastructures.def b/configserver/src/test/resources/configdefinitions/datastructures.def
index 79b3a8e77a0..8d5582daeb4 100644
--- a/configserver/src/test/resources/configdefinitions/datastructures.def
+++ b/configserver/src/test/resources/configdefinitions/datastructures.def
@@ -1,4 +1,5 @@
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+version=3
namespace=config
date[] string
diff --git a/configserver/src/test/resources/configdefinitions/function-test.def b/configserver/src/test/resources/configdefinitions/function-test.def
index b2a27c42285..da024b7fb02 100644
--- a/configserver/src/test/resources/configdefinitions/function-test.def
+++ b/configserver/src/test/resources/configdefinitions/function-test.def
@@ -18,6 +18,7 @@
# - Have an array within a struct, to verify that we correctly recurse.
# - Reuse type name further within to ensure that this works.
+version=4
namespace=config
# Some random bool without a default value. These comments exist to check
diff --git a/configserver/src/test/resources/configdefinitions/md5test.def b/configserver/src/test/resources/configdefinitions/md5test.def
index 1c6eae0e587..a9483f417ab 100644
--- a/configserver/src/test/resources/configdefinitions/md5test.def
+++ b/configserver/src/test/resources/configdefinitions/md5test.def
@@ -1,7 +1,9 @@
# 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
+version=3
namespace=config
#even adding a variable name starting with 'version'
diff --git a/configserver/src/test/resources/configdefinitions/simpletypes.def b/configserver/src/test/resources/configdefinitions/simpletypes.def
index 569df41c97d..c5296e5a25e 100644
--- a/configserver/src/test/resources/configdefinitions/simpletypes.def
+++ b/configserver/src/test/resources/configdefinitions/simpletypes.def
@@ -1,6 +1,7 @@
# 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.
+version=1
namespace=config
boolval bool default=false
diff --git a/configserver/src/test/resources/configdefinitions/unicode.def b/configserver/src/test/resources/configdefinitions/unicode.def
index e3b93671e99..389db0f502e 100644
--- a/configserver/src/test/resources/configdefinitions/unicode.def
+++ b/configserver/src/test/resources/configdefinitions/unicode.def
@@ -1,4 +1,5 @@
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+version=2
namespace=config
unicodestring1 string