spec/liberty_buildpack/container/feature_manager_spec.rb
# invoke the buildpack feature manager code that eventually calls the
# liberty featureManager script, if the given configuration indicates it
# should use the liberty repository.
invoke the buildpack feature manager code that eventually calls the
liberty featureManager script, if the given configuration indicates it
should use the liberty repository.
invoke the buildpack feature manager code that eventually calls the liberty featureManager script if the given configuration indicates it should use the liberty repository .
def call_feature_manager(app_dir, liberty_dir, configuration_file, server_xml_file)
      configuration = YAML.load_file(File.open(configuration_file))
      feature_manager = FeatureManager.new(app_dir, 'my-java-home', configuration)
      feature_manager.download_and_install_features(server_xml_file, liberty_dir)
    end
def call_feature_manager ( app_dir , liberty_dir , configuration_file , server_xml_file ) configuration = YAML . load_file ( File . open ( configuration_file ) ) feature_manager = FeatureManager . new ( app_dir , 'my-java-home' , configuration ) feature_manager . download_and_install_features ( server_xml_file , liberty_dir ) end
invoke the buildpack feature manager code that eventually calls the
liberty featureManager script, if the given configuration indicates it
should use the liberty repository.
invoke the buildpack feature manager code that eventually calls the liberty featureManager script if the given configuration indicates it should use the liberty repository .
app_dir
liberty_dir
configuration_file
server_xml_file