components/src/test/java/eu/internetofus/common/components/Containers.java
/**
   * Return the effective configuration over the started component.
   *
   * @param vertx                event bus to use to load the configurations.
   * @param configurationHandler the handler of the effective configuration
   */
Return the effective configuration over the started component.
@param vertx                event bus to use to load the configurations.
@param configurationHandler the handler of the effective configuration
Return the effective configuration over the started component . @param vertx event bus to use to load the configurations . @param configurationHandler the handler of the effective configuration
public static void defaultEffectiveConfiguration(final Vertx vertx,
      final Handler<AsyncResult<JsonObject>> configurationHandler) {
    final var effectiveConfigurationFile = new ConfigStoreOptions().setType("file").setFormat("json")
        .setConfig(new JsonObject().put("path", FileSystems.getDefault()
            .getPath(AbstractMain.DEFAULT_EFFECTIVE_CONFIGURATION_PATH).toFile().getAbsolutePath()));
    final var options = new ConfigRetrieverOptions().addStore(effectiveConfigurationFile);
    ConfigRetriever.create(vertx, options).getConfig(configurationHandler);
  }
public static void defaultEffectiveConfiguration ( final Vertx vertx , final Handler < AsyncResult < JsonObject > > configurationHandler ) { final var effectiveConfigurationFile = new ConfigStoreOptions ( ) . setType ( "file" ) . setFormat ( "json" ) . setConfig ( new JsonObject ( ) . put ( "path" , FileSystems . getDefault ( ) . getPath ( AbstractMain . DEFAULT_EFFECTIVE_CONFIGURATION_PATH ) . toFile ( ) . getAbsolutePath ( ) ) ) ; final var options = new ConfigRetrieverOptions ( ) . addStore ( effectiveConfigurationFile ) ; ConfigRetriever . create ( vertx , options ) . getConfig ( configurationHandler ) ; }
Return the effective configuration over the started component.
Return the effective configuration over the started component .