code: @SuppressWarnings({ "rawtypes", "unchecked" })
    public static void deploy(URI storeUri, DeployableConfigSource confgSource, String version) throws Exception {
  
      ServiceLoader<ConfigStoreFactory> loader = ServiceLoader.load(ConfigStoreFactory.class);
  
      for (ConfigStoreFactory storeFactory : loader) {
  
        log.info("Found ConfigStore with scheme : " + storeFactory.getScheme());
  
        if (storeUri.getScheme().equals(storeFactory.getScheme())) {
  
          log.info("Using ConfigStore with scheme : " + storeFactory.getScheme());
  
          ConfigStore configStore = storeFactory.createConfigStore(storeUri);
  
          if (configStore instanceof Deployable<?>) {
  
            ((Deployable) configStore).deploy(new FsDeploymentConfig(confgSource, version));
  
          } else {
            log.error(String.format("Deployment failed. The store %s does not implement %s", storeFactory.getClass(),
                Deployable.class.getName()));
          }
        }
      }
    }
docs: Deploy configs in <code>classpathStoreRoot</code> to <code>storeUri</code>
  
  @param storeUri to which confgs are deployed
  @param confgSource The source that provides deployable configs.
  @param version to be used for this deployment