![JAR search and dependency download from the Maven repository](/logo.png)
io.vertx.ext.configuration.spring.package-info Maven / Gradle / Ivy
/**
* = Spring Config Server Store
*
* The Spring Config Server Store extends the Vert.x Configuration Service and provides the
* a way to retrieve configuration from a Spring Server.
*
* == Using the Spring Config Server Store
*
* To use the Spring Config Server Store, add the following dependency to the
* _dependencies_ section of your build descriptor:
*
* * Maven (in your `pom.xml`):
*
* [source,xml,subs="+attributes"]
* ----
*
* ${maven.groupId}
* ${maven.artifactId}
* ${maven.version}
*
*
* ${maven.groupId}
* vertx-configuration
* ${maven.version}
*
* ----
*
* * Gradle (in your `build.gradle` file):
*
* [source,groovy,subs="+attributes"]
* ----
* compile '${maven.groupId}:vertx-configuration:${maven.version}'
* compile '${maven.groupId}:${maven.artifactId}:${maven.version}'
* ----
*
* == Configuring the store
*
* Once added to your classpath or dependencies, you need to configure the
* {@link io.vertx.ext.configuration.ConfigurationService} to use this store:
*
* [source, $lang]
* ----
* {@link examples.Examples#example1(io.vertx.core.Vertx)}
* ----
*
*
* Configurable attributes are:
*
* * `url` - the `url` to retrieve the configuration (mandatory)
* * `timeout` - the timeout (in milliseconds) to retrieve the configuration, 3000 by default
* * `user` - the `user` (no authentication by default)
* * `password` - the `password`
*
*/
@Document(fileName = "index.adoc")
@ModuleGen(name = "vertx-configuration", groupPackage = "io.vertx")
package io.vertx.ext.configuration.spring;
import io.vertx.codegen.annotations.ModuleGen;
import io.vertx.docgen.Document;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy