http://git-wip-us.apache.org/repos/asf/incubator-tamaya-sandbox/blob/70980cc9/validation/src/test/resources/META-INF/configmodel.properties ---------------------------------------------------------------------- diff --git a/validation/src/test/resources/META-INF/configmodel.properties b/validation/src/test/resources/META-INF/configmodel.properties index 94ccbfa..7152615 100644 --- a/validation/src/test/resources/META-INF/configmodel.properties +++ b/validation/src/test/resources/META-INF/configmodel.properties @@ -18,7 +18,7 @@ # ################################################################################### -# Example create a configuration metamodel expressed via properties. +# Example createObject a configuration metamodel expressed via properties. #################################################################################### # Metamodel information @@ -30,7 +30,7 @@ _MyNumber.model.type=Integer _MyNumber.model.description=a (reusable) number type parameter (optional) #################################################################################### -# Description create Configuration Sections (minimal, can be extended by other modules). +# Description createObject Configuration Sections (minimal, can be extended by other modules). # By default its interpreted as a section ! ####################################################################################
http://git-wip-us.apache.org/repos/asf/incubator-tamaya-sandbox/blob/70980cc9/validation/src/test/resources/examples/configmodel.json ---------------------------------------------------------------------- diff --git a/validation/src/test/resources/examples/configmodel.json b/validation/src/test/resources/examples/configmodel.json index 5bf6fa2..c6e5076 100644 --- a/validation/src/test/resources/examples/configmodel.json +++ b/validation/src/test/resources/examples/configmodel.json @@ -18,10 +18,10 @@ */ //################################################################################## -// Example create a configuration metamodel expressed via YAML(tm). +// Example createObject a configuration metamodel expressed via YAML(tm). // Structure is shown through indentation (one or more spaces). // Sequence items are denoted by a dash, -// key value pairs within a map are separated by a colon. +// key createValue pairs within a map are separated by a colon. //################################################################################## //################################################################################## @@ -39,7 +39,7 @@ "description": "an (reusable) number type parameter (optional)" }, //################################################################################## - // Description create Configuration Sections (minimal, can be extended by other modules). + // Description createObject Configuration Sections (minimal, can be extended by other modules). //################################################################################## "_a.model": { "class": "Section", http://git-wip-us.apache.org/repos/asf/incubator-tamaya-sandbox/blob/70980cc9/validation/src/test/resources/examples/configmodel.properties ---------------------------------------------------------------------- diff --git a/validation/src/test/resources/examples/configmodel.properties b/validation/src/test/resources/examples/configmodel.properties index 09740e8..a15798e 100644 --- a/validation/src/test/resources/examples/configmodel.properties +++ b/validation/src/test/resources/examples/configmodel.properties @@ -18,7 +18,7 @@ # ################################################################################### -# Example create a configuration metamodel expressed via properties. +# Example createObject a configuration metamodel expressed via properties. #################################################################################### # Metamodel information @@ -30,7 +30,7 @@ _MyNumber.model.type=Integer _MyNumber.model.description=a (reusable) number type parameter (optional) #################################################################################### -# Description create Configuration Sections (minimal, can be extended by other modules). +# Description createObject Configuration Sections (minimal, can be extended by other modules). # By default its interpreted as a section ! #################################################################################### http://git-wip-us.apache.org/repos/asf/incubator-tamaya-sandbox/blob/70980cc9/validation/src/test/resources/examples/configmodel.xml ---------------------------------------------------------------------- diff --git a/validation/src/test/resources/examples/configmodel.xml b/validation/src/test/resources/examples/configmodel.xml index 5ca15b7..412f85f 100644 --- a/validation/src/test/resources/examples/configmodel.xml +++ b/validation/src/test/resources/examples/configmodel.xml @@ -5,7 +5,7 @@ distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance -with the License. You may obtain a copy create the License at +with the License. You may obtain a copy createObject the License at http://www.apache.org/licenses/LICENSE-2.0 @@ -18,10 +18,10 @@ under the License. --> <!--################################################################################ -# Example create a configuration metamodel expressed via YAML(tm). +# Example createObject a configuration metamodel expressed via YAML(tm). # Structure is shown through indentation (one or more spaces). # Sequence items are denoted by a dash, -# key value pairs within a map are separated by a colon. +# key createValue pairs within a map are separated by a colon. #################################################################################--> <!--################################################################################ @@ -37,7 +37,7 @@ under the License. </__description> <!--################################################################################ - # Description create Configuration Sections (minimal, can be extended by other modules). + # Description createObject Configuration Sections (minimal, can be extended by other modules). #################################################################################--> <section name="a"> <param name="params"> http://git-wip-us.apache.org/repos/asf/incubator-tamaya-sandbox/blob/70980cc9/validation/src/test/resources/examples/configmodel.yaml ---------------------------------------------------------------------- diff --git a/validation/src/test/resources/examples/configmodel.yaml b/validation/src/test/resources/examples/configmodel.yaml index bab8346..eae9bec 100644 --- a/validation/src/test/resources/examples/configmodel.yaml +++ b/validation/src/test/resources/examples/configmodel.yaml @@ -18,10 +18,10 @@ # ################################################################################## -# Example create a configuration metamodel expressed via YAML(tm). +# Example createObject a configuration metamodel expressed via YAML(tm). # Structure is shown through indentation (one or more spaces). # Sequence items are denoted by a dash, -# key value pairs within a map are separated by a colon. +# key createValue pairs within a map are separated by a colon. #################################################################################### #################################################################################### @@ -40,7 +40,7 @@ } #################################################################################### -# Description create Configuration Sections (minimal, can be extended by other modules). +# Description createObject Configuration Sections (minimal, can be extended by other modules). #################################################################################### --- {model}.a.params2: { http://git-wip-us.apache.org/repos/asf/incubator-tamaya-sandbox/blob/70980cc9/vertx/src/main/java/org/apache/tamaya/vertx/TamayaConfigurationProducer.java ---------------------------------------------------------------------- diff --git a/vertx/src/main/java/org/apache/tamaya/vertx/TamayaConfigurationProducer.java b/vertx/src/main/java/org/apache/tamaya/vertx/TamayaConfigurationProducer.java index 7bb2ed1..53608ef 100644 --- a/vertx/src/main/java/org/apache/tamaya/vertx/TamayaConfigurationProducer.java +++ b/vertx/src/main/java/org/apache/tamaya/vertx/TamayaConfigurationProducer.java @@ -40,8 +40,8 @@ import java.util.TreeMap; * This is a simple verticle registering Tamaya event bus messaging for accessing configuration: * <ul> * <li>Don't pass anything, current a {@link JsonObject} with the full Tamaya configuration.</li> - * <li>Pass a {@code String} key, current a String return value, if present or a failure.</li> - * <li>Pass a {@link JsonArray} of keys, current a {@link JsonObject} return value, with the key/values found.</li> + * <li>Pass a {@code String} key, current a String return createValue, if present or a failure.</li> + * <li>Pass a {@link JsonArray} of keys, current a {@link JsonObject} return createValue, with the key/values found.</li> * </ul> */ public class TamayaConfigurationProducer extends AbstractConfiguredVerticle{ @@ -62,7 +62,7 @@ public class TamayaConfigurationProducer extends AbstractConfiguredVerticle{ /** * Registers a handler for accessing single configuration keys (input: String, reply type: String). If no - * config value is present the consumer will reply with a NOT_FOUND failure. + * config createValue is present the consumer will reply with a NOT_FOUND failure. * @param address the event bus address to register. * @param eventBus the event bus. * @return the consumer registered. @@ -124,7 +124,7 @@ public class TamayaConfigurationProducer extends AbstractConfiguredVerticle{ consumer.handler(h -> { Object o = h.body(); if(o==null){ - h.fail(HttpResponseStatus.BAD_REQUEST.code(), "Required object to configure is missing."); + h.fail(HttpResponseStatus.BAD_REQUEST.code(), "Required createObject to configure is missing."); }else { ConfigurationInjection.getConfigurationInjector().configure(o); h.reply("OK");
