├── .github
└── workflows
│ └── release-reminder.yml
├── .gitignore
├── .idea
├── .name
├── codeStyles
│ ├── Project.xml
│ └── codeStyleConfig.xml
├── compiler.xml
├── copyright
│ ├── Apache_License__Version_2_0.xml
│ └── profiles_settings.xml
├── dictionaries
│ └── bhale.xml
├── encodings.xml
├── google-java-format.xml
├── inspectionProfiles
│ └── Project_Default.xml
├── misc.xml
├── modules.xml
├── runConfigurations
│ ├── All_Tests__2_5_.xml
│ ├── All_Tests__2_7_.xml
│ ├── All_Tests__3_0_.xml
│ ├── Without_Integration_Tests__2_5_.xml
│ ├── Without_Integration_Tests__2_7_.xml
│ ├── Without_Integration_Tests__3_0_.xml
│ ├── rubocop.xml
│ ├── versions.xml
│ ├── versions__Markdown_.xml
│ ├── versions__Pivotal_Network_.xml
│ └── versions__YAML_.xml
├── scopes
│ └── scope_settings.xml
└── vcs.xml
├── .rspec
├── .rubocop.yml
├── .ruby-version
├── .yardopts
├── CONTRIBUTING.md
├── Gemfile
├── Gemfile.lock
├── LICENSE
├── NOTICE
├── README.md
├── Rakefile
├── bin
├── compile
├── detect
├── finalize
├── release
├── ruby-run
└── run
├── ci
├── Dockerfile
├── auto-merge.sh
├── create-release.sh
├── package-test.sh
├── unit-test.sh
├── versions-json.sh
├── versions-markdown.sh
├── versions-yaml.sh
└── versions.sh
├── config
├── app_dynamics_agent.yml
├── aspectj_weaver_agent.yml
├── azure_application_insights_agent.yml
├── cache.yml
├── client_certificate_mapper.yml
├── components.yml
├── container_customizer.yml
├── container_security_provider.yml
├── contrast_security_agent.yml
├── datadog_javaagent.yml
├── debug.yml
├── dist_zip.yml
├── dist_zip_like.yml
├── elastic_apm_agent.yml
├── google_stackdriver_debugger.yml
├── google_stackdriver_profiler.yml
├── graal_vm_jre.yml
├── groovy.yml
├── ibm_jre.yml
├── introscope_agent.yml
├── jacoco_agent.yml
├── java_cf_env.yml
├── java_main.yml
├── java_memory_assistant.yml
├── java_opts.yml
├── jmx.yml
├── jprofiler_profiler.yml
├── jrebel_agent.yml
├── logging.yml
├── luna_security_provider.yml
├── maria_db_jdbc.yml
├── metric_writer.yml
├── new_relic_agent.yml
├── open_jdk_jre.yml
├── open_telemetry_javaagent.yml
├── oracle_jre.yml
├── packaging.yml
├── postgresql_jdbc.yml
├── protect_app_security_provider.yml
├── repository.yml
├── riverbed_appinternals_agent.yml
├── ruby.yml
├── sap_machine_jre.yml
├── sealights_agent.yml
├── sky_walking_agent.yml
├── splunk_otel_java_agent.yml
├── spring_auto_reconfiguration.yml
├── spring_boot_cli.yml
├── takipi_agent.yml
├── tomcat.yml
├── your_kit_profiler.yml
├── zing_jre.yml
└── zulu_jre.yml
├── docs
├── buildpack-modes.md
├── container-dist_zip.md
├── container-groovy.md
├── container-java_main.md
├── container-play_framework.md
├── container-ratpack.md
├── container-spring_boot.md
├── container-spring_boot_cli.md
├── container-tomcat.md
├── debugging-the-buildpack.md
├── design.md
├── example-embedded-web-server.md
├── example-grails.md
├── example-groovy.md
├── example-java_main.md
├── example-play_framework.md
├── example-servlet.md
├── example-spring_boot_cli.md
├── extending-application.md
├── extending-base_component.md
├── extending-caches.md
├── extending-droplet.md
├── extending-logging.md
├── extending-modular_component.md
├── extending-repositories.md
├── extending-utilities.md
├── extending-versioned_dependency_component.md
├── extending.md
├── framework-app_dynamics_agent.md
├── framework-aspectj_weaver_agent.md
├── framework-azure_application_insights_agent.md
├── framework-checkmarx_iast_agent.md
├── framework-client_certificate_mapper.md
├── framework-container_customizer.md
├── framework-container_security_provider.md
├── framework-contrast_security_agent.md
├── framework-datadog_javaagent.md
├── framework-debug-eclipse.png
├── framework-debug.md
├── framework-dynatrace_one_agent.md
├── framework-elastic_apm_agent.md
├── framework-google_stackdriver_debugger.md
├── framework-google_stackdriver_profiler.md
├── framework-introscope_agent.md
├── framework-jacoco_agent.md
├── framework-java-cfenv.md
├── framework-java_memory_assistant.md
├── framework-java_opts.md
├── framework-jmx-jconsole.png
├── framework-jmx.md
├── framework-jprofiler_profiler.md
├── framework-jprofiler_profiler.png
├── framework-jrebel_agent.md
├── framework-luna_security_provider.md
├── framework-maria_db_jdbc.md
├── framework-metric_writer.md
├── framework-multi_buildpack.md
├── framework-new_relic_agent.md
├── framework-open_telemetry_javaagent.md
├── framework-postgresql_jdbc.md
├── framework-protect_app_security_provider.md
├── framework-riverbed_appinternals_agent.md
├── framework-sealights_agent.md
├── framework-seeker_security_provider.md
├── framework-sky_walking_agent.md
├── framework-splunk_otel_java_agent.md
├── framework-spring_auto_reconfiguration.md
├── framework-spring_insight.md
├── framework-takipi_agent.md
├── framework-your_kit_profiler.md
├── framework-your_kit_profiler.png
├── jre-graal_vm_jre.md
├── jre-ibm_jre.md
├── jre-open_jdk_jre.md
├── jre-oracle_jre.md
├── jre-sap_machine_jre.md
├── jre-zing_jre.md
├── jre-zulu_jre.md
└── security.md
├── java-buildpack.iml
├── lib
├── java_buildpack.rb
└── java_buildpack
│ ├── buildpack.rb
│ ├── buildpack_version.rb
│ ├── component.rb
│ ├── component
│ ├── additional_libraries.rb
│ ├── application.rb
│ ├── base_component.rb
│ ├── droplet.rb
│ ├── environment_variables.rb
│ ├── extension_directories.rb
│ ├── immutable_java_home.rb
│ ├── java_opts.rb
│ ├── modular_component.rb
│ ├── mutable_java_home.rb
│ ├── networking.rb
│ ├── root_libraries.rb
│ ├── security_providers.rb
│ ├── services.rb
│ └── versioned_dependency_component.rb
│ ├── container.rb
│ ├── container
│ ├── dist_zip.rb
│ ├── dist_zip_like.rb
│ ├── groovy.rb
│ ├── java_main.rb
│ ├── play_framework.rb
│ ├── ratpack.rb
│ ├── spring_boot.rb
│ ├── spring_boot_cli.rb
│ ├── tomcat.rb
│ └── tomcat
│ │ ├── tomcat_access_logging_support.rb
│ │ ├── tomcat_external_configuration.rb
│ │ ├── tomcat_geode_store.rb
│ │ ├── tomcat_insight_support.rb
│ │ ├── tomcat_instance.rb
│ │ ├── tomcat_lifecycle_support.rb
│ │ ├── tomcat_logging_support.rb
│ │ ├── tomcat_redis_store.rb
│ │ ├── tomcat_setenv.rb
│ │ └── tomcat_utils.rb
│ ├── framework.rb
│ ├── framework
│ ├── app_dynamics_agent.rb
│ ├── aspectj_weaver_agent.rb
│ ├── azure_application_insights_agent.rb
│ ├── checkmarx_iast_agent.rb
│ ├── client_certificate_mapper.rb
│ ├── container_customizer.rb
│ ├── container_security_provider.rb
│ ├── contrast_security_agent.rb
│ ├── datadog_javaagent.rb
│ ├── debug.rb
│ ├── dynatrace_one_agent.rb
│ ├── elastic_apm_agent.rb
│ ├── google_stackdriver_debugger.rb
│ ├── google_stackdriver_profiler.rb
│ ├── introscope_agent.rb
│ ├── jacoco_agent.rb
│ ├── java_cf_env.rb
│ ├── java_memory_assistant.rb
│ ├── java_memory_assistant
│ │ ├── agent.rb
│ │ ├── clean_up.rb
│ │ └── heap_dump_folder.rb
│ ├── java_opts.rb
│ ├── java_security.rb
│ ├── jmx.rb
│ ├── jprofiler_profiler.rb
│ ├── jrebel_agent.rb
│ ├── luna_security_provider.rb
│ ├── maria_db_jdbc.rb
│ ├── metric_writer.rb
│ ├── multi_buildpack.rb
│ ├── new_relic_agent.rb
│ ├── open_telemetry_javaagent.rb
│ ├── postgresql_jdbc.rb
│ ├── protect_app_security_provider.rb
│ ├── riverbed_appinternals_agent.rb
│ ├── sealights_agent.rb
│ ├── seeker_security_provider.rb
│ ├── sky_walking_agent.rb
│ ├── splunk_otel_java_agent.rb
│ ├── spring_auto_reconfiguration.rb
│ ├── spring_insight.rb
│ ├── takipi_agent.rb
│ └── your_kit_profiler.rb
│ ├── jre.rb
│ ├── jre
│ ├── graal_vm_jre.rb
│ ├── ibm_jre.rb
│ ├── ibm_jre_initializer.rb
│ ├── jvmkill_agent.rb
│ ├── open_jdk_jre.rb
│ ├── open_jdk_like.rb
│ ├── open_jdk_like_jre.rb
│ ├── open_jdk_like_memory_calculator.rb
│ ├── open_jdk_like_security_providers.rb
│ ├── oracle_jre.rb
│ ├── sap_machine_jre.rb
│ ├── zing_jre.rb
│ └── zulu_jre.rb
│ ├── logging.rb
│ ├── logging
│ ├── delegating_logger.rb
│ └── logger_factory.rb
│ ├── repository.rb
│ ├── repository
│ ├── configured_item.rb
│ ├── repository_index.rb
│ └── version_resolver.rb
│ ├── util.rb
│ └── util
│ ├── cache.rb
│ ├── cache
│ ├── application_cache.rb
│ ├── cache_factory.rb
│ ├── cached_file.rb
│ ├── download_cache.rb
│ ├── inferred_network_failure.rb
│ └── internet_availability.rb
│ ├── class_file_utils.rb
│ ├── colorize.rb
│ ├── configuration_utils.rb
│ ├── constantize.rb
│ ├── dash_case.rb
│ ├── external_config.rb
│ ├── file_enumerable.rb
│ ├── filtering_pathname.rb
│ ├── find_single_directory.rb
│ ├── format_duration.rb
│ ├── groovy_utils.rb
│ ├── jar_finder.rb
│ ├── java_main_utils.rb
│ ├── play.rb
│ ├── play
│ ├── base.rb
│ ├── factory.rb
│ ├── post22.rb
│ ├── post22_dist.rb
│ ├── post22_staged.rb
│ ├── pre22.rb
│ ├── pre22_dist.rb
│ └── pre22_staged.rb
│ ├── properties.rb
│ ├── qualify_path.rb
│ ├── ratpack_utils.rb
│ ├── sanitizer.rb
│ ├── shell.rb
│ ├── snake_case.rb
│ ├── space_case.rb
│ ├── spring_boot_utils.rb
│ ├── start_script.rb
│ ├── to_b.rb
│ └── tokenized_version.rb
├── rakelib
├── dependency_cache_task.rb
├── package.rb
├── package_task.rb
├── stage_buildpack_task.rb
├── utils.rb
└── versions_task.rb
├── resources
├── app_dynamics_agent
│ └── defaults
│ │ └── conf
│ │ └── app-agent-config.xml
├── azure_application_insights_agent
│ └── AI-Agent.xml
├── luna_security_provider
│ └── Chrystoki.conf
├── new_relic_agent
│ └── newrelic.yml
├── protect_app_security_provider
│ └── IngrianNAE.properties
└── tomcat
│ └── conf
│ ├── context.xml
│ ├── logging.properties
│ └── server.xml
└── spec
├── application_helper.rb
├── bin
├── compile_spec.rb
├── detect_spec.rb
└── release_spec.rb
├── component_helper.rb
├── console_helper.rb
├── droplet_helper.rb
├── fixtures
├── additional_libs
│ ├── test-jar-1.jar
│ └── test-jar-2.jar
├── application
│ ├── .test-directory
│ │ └── .gitignore
│ ├── .test-file
│ ├── test-directory
│ │ └── .gitignore
│ └── test-file
├── container_dist_zip
│ ├── bin
│ │ └── application
│ └── lib
│ │ └── dist-zip.jar
├── container_dist_zip_app_classpath
│ └── application-root
│ │ ├── bin
│ │ └── application
│ │ └── lib
│ │ └── dist-zip.jar
├── container_groovy_dot_groovy
│ └── x
│ │ └── y.groovy
│ │ └── .gitignore
├── container_groovy_logback
│ ├── Alpha.java
│ └── ch
│ │ └── qos
│ │ └── logback
│ │ └── pogo.groovy
├── container_groovy_main_method
│ ├── Alpha.groovy
│ ├── Application.groovy
│ ├── directory
│ │ └── Beta.groovy
│ └── invalid.groovy
├── container_groovy_non_pogo
│ ├── Alpha.groovy
│ ├── Application.groovy
│ └── invalid.groovy
├── container_groovy_non_pogo_with_class_file
│ ├── A.class
│ ├── invalid.groovy
│ └── logback.groovy
├── container_groovy_ratpack
│ └── application-root
│ │ └── lib
│ │ └── ratpack-core-0.9.0.jar
├── container_groovy_shebang
│ ├── Alpha.groovy
│ ├── Application.groovy
│ └── invalid.groovy
├── container_groovy_shebang_containing_class
│ ├── Application.groovy
│ └── invalid.groovy
├── container_groovy_with_jars
│ ├── Alpha.jar
│ ├── Application.groovy
│ ├── directory
│ │ └── Beta.jar
│ └── invalid.groovy
├── container_main
│ └── META-INF
│ │ └── MANIFEST.MF
├── container_main_no_main_class
│ └── META-INF
│ │ └── MANIFEST.MF
├── container_main_spring_boot_jar_launcher
│ ├── META-INF
│ │ └── MANIFEST.MF
│ └── lib
│ │ └── .gitignore
├── container_main_spring_boot_properties_launcher
│ ├── META-INF
│ │ └── MANIFEST.MF
│ └── lib
│ │ └── .gitignore
├── container_main_spring_boot_thin_launcher
│ ├── META-INF
│ │ └── MANIFEST.MF
│ └── lib
│ │ └── .gitignore
├── container_main_spring_boot_war_launcher
│ ├── META-INF
│ │ └── MANIFEST.MF
│ └── lib
│ │ └── .gitignore
├── container_main_with_web_inf
│ ├── META-INF
│ │ └── MANIFEST.MF
│ └── WEB-INF
│ │ └── .gitignore
├── container_no_tomcat_version_geode_store_context_after.xml
├── container_play_2.0_dist
│ └── application-root
│ │ ├── lib
│ │ ├── play.play_2.9.1-2.0.jar
│ │ └── some.test.jar
│ │ └── start
├── container_play_2.1_2.2_hybrid
│ ├── bin
│ │ ├── play-application
│ │ └── play-application.bat
│ ├── lib
│ │ ├── com.typesafe.play.play_2.10-2.2.0.jar
│ │ └── some.test.jar
│ ├── staged
│ │ ├── play_2.10-2.1.4.jar
│ │ └── some.test.jar
│ └── start
├── container_play_2.1_dist
│ └── application-root
│ │ ├── lib
│ │ ├── play.play_2.10-2.1.4.jar
│ │ └── some.test.jar
│ │ └── start
├── container_play_2.1_staged
│ ├── staged
│ │ ├── play_2.10-2.1.4.jar
│ │ └── some.test.jar
│ └── start
├── container_play_2.2_ambiguous_start_script
│ ├── bin
│ │ ├── application1
│ │ └── application2
│ └── lib
│ │ └── com.typesafe.play.play_2.10-2.2.0.jar
├── container_play_2.2_dist
│ └── application-root
│ │ ├── bin
│ │ ├── play-application
│ │ └── play-application.bat
│ │ └── lib
│ │ ├── com.typesafe.play.play_2.10-2.2.0.jar
│ │ └── some.test.jar
├── container_play_2.2_minus_bat_file
│ ├── bin
│ │ └── play-application
│ └── lib
│ │ └── com.typesafe.play.play_2.10-2.2.0.jar
├── container_play_2.2_staged
│ ├── bin
│ │ ├── play-application
│ │ └── play-application.bat
│ └── lib
│ │ ├── com.typesafe.play.play_2.10-2.2.0.jar
│ │ └── some.test.jar
├── container_play_duplicate
│ ├── application_root
│ │ ├── lib
│ │ │ └── play.play_0.0-0.0.0.jar
│ │ └── start
│ ├── lib
│ │ └── play.play_0.0-0.0.0.jar
│ └── start
├── container_play_like
│ └── start
├── container_play_too_deep
│ └── x
│ │ └── application_root
│ │ ├── lib
│ │ └── play.play_0.0-0.0.0.jar
│ │ └── start
├── container_ratpack_dist
│ └── application-root
│ │ ├── app
│ │ ├── Ratpack.groovy
│ │ └── invalid.groovy
│ │ ├── bin
│ │ └── application
│ │ └── lib
│ │ └── ratpack-core-0.9.0.jar
├── container_ratpack_staged
│ ├── app
│ │ ├── invalid.groovy
│ │ └── ratpack.groovy
│ ├── bin
│ │ └── application
│ └── lib
│ │ └── ratpack-core-0.9.0.jar
├── container_spring_boot_cli_beans_configuration
│ ├── configuration.groovy
│ ├── invalid.groovy
│ └── pogo_1.groovy
├── container_spring_boot_cli_groovy_with_web_inf
│ ├── WEB-INF
│ │ └── .gitignore
│ ├── invalid.groovy
│ └── pogo.groovy
├── container_spring_boot_cli_main_method
│ ├── invalid.groovy
│ ├── main.groovy
│ └── pogo.groovy
├── container_spring_boot_cli_non_pogo
│ ├── invalid.groovy
│ ├── non_pogo.groovy
│ └── pogo.groovy
├── container_spring_boot_cli_valid_app
│ ├── directory
│ │ └── pogo_4.groovy
│ ├── invalid.groovy
│ ├── pogo_1.groovy
│ ├── pogo_2.groovy
│ └── pogo_3.groovy
├── container_spring_boot_dist
│ └── application-root
│ │ ├── bin
│ │ └── application
│ │ └── lib
│ │ └── spring-boot-1.0.0.RELEASE.jar
├── container_spring_boot_staged
│ ├── bin
│ │ └── application
│ └── lib
│ │ └── spring-boot-1.0.0.RELEASE.jar
├── container_tomcat
│ └── WEB-INF
│ │ └── .gitignore
├── container_tomcat_geode_store
│ ├── .java-buildpack
│ │ └── tomcat
│ │ │ └── conf
│ │ │ ├── context.xml
│ │ │ └── server.xml
│ └── WEB-INF
│ │ └── .gitkeep
├── container_tomcat_geode_store_cache_client_after.xml
├── container_tomcat_geode_store_context_after.xml
├── container_tomcat_geode_store_server_after.xml
├── container_tomcat_redis_store
│ └── .java-buildpack
│ │ └── tomcat
│ │ └── conf
│ │ └── context.xml
├── container_tomcat_redis_store_context_after.xml
├── container_tomcat_with_index
│ ├── WEB-INF
│ │ └── .gitignore
│ └── index.html
├── droplet-resources
│ └── droplet-resource
├── framework_app_dynamics_agent
│ └── BOOT-INF
│ │ └── classes
│ │ └── appdynamics
│ │ └── conf
│ │ └── app-agent-config.xml
├── framework_aspectj_weaver_aop_xml_only
│ └── BOOT-INF
│ │ └── classes
│ │ └── META-INF
│ │ └── aop.xml
├── framework_aspectj_weaver_boot_inf_classes
│ └── BOOT-INF
│ │ ├── classes
│ │ └── org
│ │ │ └── aspectj
│ │ │ └── aop.xml
│ │ └── lib
│ │ └── aspectjweaver-1.8.10.jar
├── framework_aspectj_weaver_boot_inf_classes_meta_inf
│ └── BOOT-INF
│ │ ├── classes
│ │ └── META-INF
│ │ │ └── aop.xml
│ │ └── lib
│ │ └── aspectjweaver-1.8.10.jar
├── framework_aspectj_weaver_classes
│ ├── org
│ │ └── aspectj
│ │ │ └── aop.xml
│ └── repository
│ │ └── org
│ │ └── aspectj
│ │ └── aspectjweaver
│ │ └── 1.8.10
│ │ └── aspectjweaver-1.8.10.jar
├── framework_aspectj_weaver_jar_only
│ └── BOOT-INF
│ │ └── lib
│ │ └── aspectjweaver-1.8.10.jar
├── framework_aspectj_weaver_meta_inf
│ ├── BOOT-INF
│ │ └── lib
│ │ │ └── aspectjweaver-1.8.10.jar
│ └── META-INF
│ │ └── aop.xml
├── framework_auto_reconfiguration_java_cfenv
│ └── WEB-INF
│ │ └── lib
│ │ ├── java-cfenv-2.1.2.RELEASE.jar
│ │ ├── java-cfenv-boot-2.1.2.RELEASE.jar
│ │ ├── java-cfenv-jdbc-2.1.2.RELEASE.jar
│ │ └── spring-core-3.2.3.RELEASE.jar
├── framework_auto_reconfiguration_long_spring_jar_name
│ └── WEB-INF
│ │ └── lib
│ │ └── org.springframework.spring-core-3.2.3.RELEASE.jar
├── framework_auto_reconfiguration_scc
│ └── WEB-INF
│ │ └── lib
│ │ ├── spring-cloud-cloudfoundry-connector-1.2.3.jar
│ │ └── spring-core-3.2.3.RELEASE.jar
├── framework_auto_reconfiguration_servlet_3
│ └── WEB-INF
│ │ └── lib
│ │ └── spring-core-3.2.3.RELEASE.jar
├── framework_container_customizer
│ ├── META-INF
│ │ └── MANIFEST.MF
│ └── WEB-INF
│ │ └── lib
│ │ └── .gitignore
├── framework_dynatrace_one_agent
│ └── .java-buildpack
│ │ └── dynatrace_one_agent
│ │ ├── agent
│ │ └── lib64
│ │ │ ├── liboneagentloader.so
│ │ │ └── libruxitagentloader.so
│ │ └── manifest.json
├── framework_java_cf_boot_2
│ ├── META-INF
│ │ └── MANIFEST.MF
│ └── WEB-INF
│ │ └── lib
│ │ └── spring-boot-1.0.0.RELEASE.jar
├── framework_java_cf_boot_3
│ ├── META-INF
│ │ └── MANIFEST.MF
│ └── WEB-INF
│ │ └── lib
│ │ └── spring-boot-3.0.0.M1.jar
├── framework_java_cf_exists
│ ├── META-INF
│ │ └── MANIFEST.MF
│ └── WEB-INF
│ │ └── lib
│ │ ├── java-cfenv-2.1.2.RELEASE.jar
│ │ ├── java-cfenv-boot-2.1.2.RELEASE.jar
│ │ ├── java-cfenv-jdbc-2.1.2.RELEASE.jar
│ │ └── spring-boot-3.2.3.RELEASE.jar
├── framework_java_not_spring_boot3
│ ├── META-INF
│ │ └── MANIFEST.MF
│ └── WEB-INF
│ │ └── lib
│ │ └── spring-boot-3.2.3.RELEASE.jar
├── framework_java_security_networking
├── framework_java_security_security_providers
├── framework_jrebel_app_simple
│ └── rebel-remote.xml
├── framework_jrebel_app_war
│ └── WEB-INF
│ │ └── classes
│ │ └── rebel-remote.xml
├── framework_jrebel_app_war_with_jar
│ └── WEB-INF
│ │ └── lib
│ │ └── dependency.jar
├── framework_jrebel_jar_directory
│ └── dependency.jar
│ │ └── .gitkeep
├── framework_luna_security_provider
│ ├── Chrystoki.conf
│ ├── client-certificate.pem
│ ├── client-private-key.pem
│ └── server-certificates.pem
├── framework_luna_security_provider_logging
│ ├── Chrystoki.conf
│ ├── client-certificate.pem
│ ├── client-private-key.pem
│ └── server-certificates.pem
├── framework_luna_security_provider_tcp_keep_alive
│ ├── Chrystoki.conf
│ ├── client-certificate.pem
│ ├── client-private-key.pem
│ └── server-certificates.pem
├── framework_mariadb_jdbc_with_driver
│ └── WEB-INF
│ │ └── lib
│ │ └── mariadb-java-client-0.0.0.jar
├── framework_mariadb_jdbc_with_mysql_driver
│ └── WEB-INF
│ │ └── lib
│ │ └── mysql-connector-java-5.1.27-bin.jar
├── framework_mariadb_jdbc_with_new_mysql_driver
│ └── WEB-INF
│ │ └── lib
│ │ └── mysql-connector-j-8.0.33.jar
├── framework_metric_writer
│ └── micrometer-core-1.1.5.jar
├── framework_multi_buildpack_deps
│ ├── 0
│ │ ├── 0
│ │ │ ├── bin
│ │ │ │ └── .gitkeep
│ │ │ ├── config.yml
│ │ │ └── lib
│ │ │ │ └── .gitkeep
│ │ ├── 1
│ │ │ └── .gitkeep
│ │ └── 2
│ │ │ └── config.yml
│ ├── 1
│ │ ├── 0
│ │ │ ├── bin
│ │ │ │ └── .gitkeep
│ │ │ ├── config.yml
│ │ │ └── lib
│ │ │ │ └── .gitkeep
│ │ ├── 1
│ │ │ └── .gitkeep
│ │ └── 2
│ │ │ └── config.yml
│ └── 2
│ │ ├── 0
│ │ ├── bin
│ │ │ └── .gitkeep
│ │ ├── config.yml
│ │ └── lib
│ │ │ └── .gitkeep
│ │ ├── 1
│ │ └── .gitkeep
│ │ └── 2
│ │ └── config.yml
├── framework_play_jpa_plugin_dist
│ └── application_root
│ │ ├── lib
│ │ ├── play.play-java-jpa_2.10-2.1.2.jar
│ │ └── play.play_2.10-2.1.2.jar
│ │ └── start
├── framework_play_jpa_plugin_play20
│ ├── staged
│ │ └── play.play_2.9.1-2.0.jar
│ └── start
├── framework_play_jpa_plugin_staged
│ ├── staged
│ │ ├── play-java-jpa_2.10.jar
│ │ └── play_2.10-2.1.2.jar
│ └── start
├── framework_postgresql_jdbc_with_driver
│ └── WEB-INF
│ │ └── lib
│ │ └── postgresql-9.3-1100-jdbc41.jar
├── framework_spring_insight
│ └── .java-buildpack
│ │ └── spring_insight
│ │ └── weaver
│ │ └── insight-weaver-1.2.4-CI-SNAPSHOT.jar
├── integration_long_detect_tag
│ ├── config
│ │ └── components.yml
│ └── lib
│ │ └── java_buildpack
│ │ └── container
│ │ └── long_detect_tags.rb
├── integration_valid
│ ├── BOOT-INF
│ │ └── lib
│ │ │ └── .gitignore
│ ├── META-INF
│ │ └── MANIFEST.MF
│ ├── io
│ │ └── pivotal
│ │ │ └── SimpleJava.class
│ └── system.properties
├── java.security
├── jre_memory_calculator_application
│ ├── bat.class
│ ├── foo.class_with_suffix
│ └── stub-library.jar
├── jre_memory_calculator_jar_directory
│ └── dependency.jar
│ │ └── .gitkeep
├── root_libs
│ ├── test-jar-3.jar
│ └── test-jar-4.jar
├── stashed_repository_index.yml
├── stub-access-logging-support.jar
├── stub-app-dynamics-agent.zip
├── stub-auto-reconfiguration.jar
├── stub-azure-application-insights-agent.jar
├── stub-checkmarx-agent.zip
├── stub-client-certificate-mapper.jar
├── stub-container-customizer.jar
├── stub-container-security-provider.jar
├── stub-contrast-security-agent.jar
├── stub-datadog-javaagent.jar
├── stub-download-with-top-level.zip
├── stub-download.bin
├── stub-download.jar
├── stub-download.tar.gz
├── stub-download.zip
├── stub-dynatrace-appmon-agent.jar
├── stub-dynatrace-one-agent.zip
├── stub-elastic-apm-agent.jar
├── stub-geode-store-no-geode-tomcat.tar
├── stub-geode-store-no-tomcat-version.tar
├── stub-geode-store-tomcat-multi-version.tar
├── stub-geode-store.tar
├── stub-google-stackdriver-debugger.tar.gz
├── stub-google-stackdriver-profiler.tar.gz
├── stub-groovy.zip
├── stub-insight-agent.jar
├── stub-introscope-agent.tar
├── stub-jacoco-agent.jar
├── stub-java-cfenv.jar
├── stub-java-memory-assistant-cleanup.zip
├── stub-java.bin
├── stub-java.tar.gz
├── stub-jprofiler-profiler.tar.gz
├── stub-jrebel-archive.zip
├── stub-jvmkill-agent
├── stub-lifecycle-support.jar
├── stub-logging-support.jar
├── stub-luna-security-provider.tar
├── stub-mariadb-java-client.jar
├── stub-memory-calculator.tar.gz
├── stub-metric-writer.jar
├── stub-new-relic-agent.jar
├── stub-new-relic-extensions.tar.gz
├── stub-play-jpa-plugin.jar
├── stub-postgresql-0.0-0000-jdbc00.jar
├── stub-protect-app-security-provider.zip
├── stub-redis-store.jar
├── stub-riverbed-appinternals-agent.zip
├── stub-seeker-agent.zip
├── stub-skywalking-agent.tar.gz
├── stub-splunk-otel-javaagent.jar
├── stub-spring-boot-cli.tar.gz
├── stub-takipi-agent.tar.gz
├── stub-tomcat-external-configuration.tar.gz
├── stub-tomcat.tar.gz
├── stub-tomcat7.tar.gz
├── stub-your-kit-profiler.so
├── test-index.yml
└── test.properties
├── integration_helper.rb
├── internet_availability_helper.rb
├── java_buildpack
├── buildpack_spec.rb
├── buildpack_version_spec.rb
├── component
│ ├── additional_libraries_spec.rb
│ ├── application_spec.rb
│ ├── base_component_spec.rb
│ ├── droplet_spec.rb
│ ├── environment_variables_spec.rb
│ ├── extension_directories_spec.rb
│ ├── immutable_java_home_spec.rb
│ ├── java_opts_spec.rb
│ ├── modular_component_spec.rb
│ ├── mutable_java_home_spec.rb
│ ├── security_providers_spec.rb
│ ├── services_spec.rb
│ └── versioned_dependency_component_spec.rb
├── container
│ ├── dist_zip_like_spec.rb
│ ├── dist_zip_spec.rb
│ ├── groovy_spec.rb
│ ├── java_main_spec.rb
│ ├── play_framework_spec.rb
│ ├── ratpack_spec.rb
│ ├── spring_boot_cli_spec.rb
│ ├── spring_boot_spec.rb
│ ├── tomcat
│ │ ├── tomcat_access_logging_support_spec.rb
│ │ ├── tomcat_external_configuration_spec.rb
│ │ ├── tomcat_geode_store_spec.rb
│ │ ├── tomcat_insight_support_spec.rb
│ │ ├── tomcat_instance_spec.rb
│ │ ├── tomcat_lifecycle_support_spec.rb
│ │ ├── tomcat_logging_support_spec.rb
│ │ ├── tomcat_redis_store_spec.rb
│ │ └── tomcat_setenv_spec.rb
│ └── tomcat_spec.rb
├── framework
│ ├── app_dynamics_agent_spec.rb
│ ├── aspectj_weaver_agent_spec.rb
│ ├── azure_application_insights_agent_spec.rb
│ ├── checkmarx_iast_agent_spec.rb
│ ├── client_certificate_mapper_spec.rb
│ ├── container_customizer_spec.rb
│ ├── container_security_provider_spec.rb
│ ├── contrast_security_agent_spec.rb
│ ├── datadog_javaagent_spec.rb
│ ├── debug_spec.rb
│ ├── dynatrace_one_agent_spec.rb
│ ├── elastic_apm_agent_spec.rb
│ ├── google_stackdriver_debugger_spec.rb
│ ├── google_stackdriver_profiler_spec.rb
│ ├── introscope_agent_spec.rb
│ ├── jacoco_agent_spec.rb
│ ├── java_cfenv_spec.rb
│ ├── java_memory_assistant
│ │ ├── agent_spec.rb
│ │ ├── clean_up_spec.rb
│ │ └── heap_dump_folder_spec.rb
│ ├── java_memory_assistant_spec.rb
│ ├── java_opts_spec.rb
│ ├── java_security_spec.rb
│ ├── jmx_spec.rb
│ ├── jprofiler_profiler_spec.rb
│ ├── jrebel_agent_spec.rb
│ ├── luna_security_provider_spec.rb
│ ├── maria_db_jdbc_spec.rb
│ ├── metric_writer_spec.rb
│ ├── multi_buildpack_spec.rb
│ ├── new_relic_agent_spec.rb
│ ├── open_telemetry_javaagent_spec.rb
│ ├── postgresql_jdbc_spec.rb
│ ├── protect_app_security_provider_spec.rb
│ ├── riverbed_appinternals_agent_spec.rb
│ ├── sealights_agent_spec.rb
│ ├── seeker_security_agent_spec.rb
│ ├── sky_walking_agent_spec.rb
│ ├── splunk_otel_java_agent_spec.rb
│ ├── spring_auto_reconfiguration_spec.rb
│ ├── spring_insight_spec.rb
│ ├── takipi_agent_spec.rb
│ └── your_kit_profiler_spec.rb
├── jre
│ ├── ibm_jre_initializer_spec.rb
│ ├── ibm_jre_spec.rb
│ ├── jvmkill_agent_spec.rb
│ ├── open_jdk_like_jre_spec.rb
│ ├── open_jdk_like_memory_calculator_spec.rb
│ ├── open_jdk_like_security_providers_spec.rb
│ └── open_jdk_like_spec.rb
├── logging
│ ├── delegating_logger_spec.rb
│ └── logger_factory_spec.rb
├── repository
│ ├── configured_item_spec.rb
│ ├── repository_index_spec.rb
│ └── version_resolver_spec.rb
└── util
│ ├── cache
│ ├── application_cache_spec.rb
│ ├── cache_factory_spec.rb
│ ├── cached_file_spec.rb
│ ├── download_cache_spec.rb
│ ├── internet_availability_spec.rb
│ └── yield_file_with_content.rb
│ ├── configuration_utils_spec.rb
│ ├── constantize_spec.rb
│ ├── filtering_pathname_spec.rb
│ ├── format_duration_spec.rb
│ ├── java_main_utils_spec.rb
│ ├── play
│ ├── base_spec.rb
│ ├── factory_spec.rb
│ ├── post22_dist_spec.rb
│ ├── post22_spec.rb
│ ├── post22_staged_spec.rb
│ ├── pre22_dist_spec.rb
│ ├── pre22_spec.rb
│ └── pre22_staged_spec.rb
│ ├── properties_spec.rb
│ ├── ratpack_utils_spec.rb
│ ├── sanitize_spec.rb
│ ├── shell_spec.rb
│ ├── spring_boot_utils_spec.rb
│ └── tokenized_version_spec.rb
├── logging_helper.rb
├── memory_limit_helper.rb
└── spec_helper.rb
/.gitignore:
--------------------------------------------------------------------------------
1 | .bundle/
2 | .idea/.rakeTasks
3 | .idea/tasks.xml
4 | .idea/workspace.xml
5 | .yardoc
6 | .DS_Store
7 | build/
8 | doc
9 | .envrc
10 |
--------------------------------------------------------------------------------
/.idea/.name:
--------------------------------------------------------------------------------
1 | java-buildpack
--------------------------------------------------------------------------------
/.idea/codeStyles/codeStyleConfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/.idea/compiler.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/.idea/copyright/Apache_License__Version_2_0.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/copyright/profiles_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/google-java-format.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/inspectionProfiles/Project_Default.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/scopes/scope_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.rspec:
--------------------------------------------------------------------------------
1 | --color
2 | --format progress
3 | --order random
4 |
--------------------------------------------------------------------------------
/.ruby-version:
--------------------------------------------------------------------------------
1 | 2.5.9
2 |
--------------------------------------------------------------------------------
/.yardopts:
--------------------------------------------------------------------------------
1 | --protected
2 | --no-private
3 | -
4 | LICENSE
5 | NOTICE
6 | README.md
7 |
--------------------------------------------------------------------------------
/Gemfile:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | source 'https://rubygems.org'
4 |
5 | group :development do
6 | gem 'rake'
7 | gem 'redcarpet'
8 | gem 'rspec'
9 | gem 'rubocop'
10 | gem 'rubocop-rspec'
11 | gem 'rubyzip'
12 | gem 'tee'
13 | gem 'terminal-table'
14 | gem 'webmock'
15 | gem 'yard'
16 | end
17 |
--------------------------------------------------------------------------------
/NOTICE:
--------------------------------------------------------------------------------
1 | Cloud Foundry Java Buildpack
2 |
3 | Copyright (c) 2013-Present CloudFoundry.org Foundation, Inc. All Rights Reserved.
4 |
5 | Licensed under the Apache License, Version 2.0 (the "License");
6 | you may not use this file except in compliance with the License.
7 | You may obtain a copy of the License at
8 |
9 | http://www.apache.org/licenses/LICENSE-2.0
10 |
11 | Unless required by applicable law or agreed to in writing, software
12 | distributed under the License is distributed on an "AS IS" BASIS,
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | See the License for the specific language governing permissions and
15 | limitations under the License.
16 |
--------------------------------------------------------------------------------
/bin/compile:
--------------------------------------------------------------------------------
1 | ./run
--------------------------------------------------------------------------------
/bin/detect:
--------------------------------------------------------------------------------
1 | ./run
--------------------------------------------------------------------------------
/bin/finalize:
--------------------------------------------------------------------------------
1 | ./run
--------------------------------------------------------------------------------
/bin/release:
--------------------------------------------------------------------------------
1 | ./run
--------------------------------------------------------------------------------
/ci/auto-merge.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | # Cloud Foundry Java Buildpack
3 | # Copyright 2013-2020 the original author or authors.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License");
6 | # you may not use this file except in compliance with the License.
7 | # You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 |
17 | set -euo pipefail
18 |
19 | pushd upstream
20 | COMMIT=$(git rev-parse HEAD)
21 | popd
22 |
23 | git clone downstream merged
24 |
25 | pushd merged
26 | git config --local user.name "$GIT_USER_NAME"
27 | git config --local user.email $GIT_USER_EMAIL
28 |
29 | git remote add upstream ../upstream
30 | git fetch upstream --no-tags
31 |
32 | git merge --no-ff --log --no-edit $COMMIT
33 | popd
34 |
--------------------------------------------------------------------------------
/ci/create-release.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | set -euo pipefail
4 |
5 | RELEASE=$1
6 |
7 | echo "---" > config/version.yml
8 | echo "version: v$RELEASE" >> config/version.yml
9 |
10 | bundle exec rake clobber package
11 | mv build/*-buildpack-v$RELEASE.zip $HOME/Desktop
12 |
13 | bundle exec rake clobber package OFFLINE=true PINNED=true
14 | mv build/*-buildpack-offline-v$RELEASE.zip $HOME/Desktop
15 |
16 | bundle exec rake versions:markdown versions:json
17 |
18 | git add .
19 | git commit --message "v$RELEASE Release"
20 | git tag "v$RELEASE"
21 | git reset --hard HEAD^1
22 |
--------------------------------------------------------------------------------
/ci/package-test.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | # Cloud Foundry Java Buildpack
3 | # Copyright 2013-2020 the original author or authors.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License");
6 | # you may not use this file except in compliance with the License.
7 | # You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 |
17 | set -euo pipefail
18 |
19 | export GEM_HOME=$PWD/gems
20 | export LANG=en_US.UTF-8
21 | export LANGUAGE=en_US.UTF-8
22 | export LC_ALL=en_US.UTF-8
23 |
24 | eval "$(rbenv init -)"
25 |
26 | pushd java-buildpack
27 | bundle install --quiet
28 | bundle exec rake package
29 | popd
30 |
--------------------------------------------------------------------------------
/ci/unit-test.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | # Cloud Foundry Java Buildpack
3 | # Copyright 2013-2020 the original author or authors.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License");
6 | # you may not use this file except in compliance with the License.
7 | # You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 |
17 | set -euo pipefail
18 |
19 | export GEM_HOME=$PWD/gems
20 | export LANG=en_US.UTF-8
21 | export LANGUAGE=en_US.UTF-8
22 | export LC_ALL=en_US.UTF-8
23 |
24 | eval "$(rbenv init -)"
25 |
26 | pushd java-buildpack
27 | bundle install --quiet
28 | bundle exec rake
29 | popd
30 |
--------------------------------------------------------------------------------
/ci/versions-json.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | # Cloud Foundry Java Buildpack
3 | # Copyright 2013-2020 the original author or authors.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License");
6 | # you may not use this file except in compliance with the License.
7 | # You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 |
17 | set -euo pipefail
18 |
19 | export GEM_HOME=$PWD/gems
20 | export LANG=en_US.UTF-8
21 | export LANGUAGE=en_US.UTF-8
22 | export LC_ALL=en_US.UTF-8
23 |
24 | eval "$(rbenv init -)"
25 |
26 | pushd java-buildpack
27 | bundle install --quiet
28 | bundle exec rake versions:json
29 | popd
30 |
--------------------------------------------------------------------------------
/ci/versions-markdown.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | # Cloud Foundry Java Buildpack
3 | # Copyright 2013-2020 the original author or authors.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License");
6 | # you may not use this file except in compliance with the License.
7 | # You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 |
17 | set -euo pipefail
18 |
19 | export GEM_HOME=$PWD/gems
20 | export LANG=en_US.UTF-8
21 | export LANGUAGE=en_US.UTF-8
22 | export LC_ALL=en_US.UTF-8
23 |
24 | eval "$(rbenv init -)"
25 |
26 | pushd java-buildpack
27 | bundle install --quiet
28 | bundle exec rake versions:markdown
29 | popd
30 |
--------------------------------------------------------------------------------
/ci/versions-yaml.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | # Cloud Foundry Java Buildpack
3 | # Copyright 2013-2020 the original author or authors.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License");
6 | # you may not use this file except in compliance with the License.
7 | # You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 |
17 | set -euo pipefail
18 |
19 | export GEM_HOME=$PWD/gems
20 | export LANG=en_US.UTF-8
21 | export LANGUAGE=en_US.UTF-8
22 | export LC_ALL=en_US.UTF-8
23 |
24 | eval "$(rbenv init -)"
25 |
26 | pushd java-buildpack
27 | bundle install --quiet
28 | bundle exec rake versions:yaml
29 | popd
30 |
--------------------------------------------------------------------------------
/ci/versions.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | # Cloud Foundry Java Buildpack
3 | # Copyright 2013-2020 the original author or authors.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License");
6 | # you may not use this file except in compliance with the License.
7 | # You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 |
17 | set -euo pipefail
18 |
19 | export GEM_HOME=$PWD/gems
20 | export LANG=en_US.UTF-8
21 | export LANGUAGE=en_US.UTF-8
22 | export LC_ALL=en_US.UTF-8
23 |
24 | eval "$(rbenv init -)"
25 |
26 | pushd java-buildpack
27 | bundle install --quiet
28 | bundle exec rake versions
29 | popd
30 |
--------------------------------------------------------------------------------
/config/app_dynamics_agent.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the AppDynamics framework
17 | ---
18 | version: +
19 | repository_root: "{default.repository.root}/appdynamics"
20 | default_application_name: $(jq -r -n "$VCAP_APPLICATION | .space_name + \":\" + .application_name | @sh")
21 | default_node_name: $(jq -r -n "\"$APPD_CF_NODE_PREFIX\" + ($VCAP_APPLICATION | .application_name) + \":$CF_INSTANCE_INDEX\" | @sh")
22 | default_tier_name:
23 | default_unique_host_name: $(jq -r -n "$VCAP_APPLICATION | .application_id + \":$CF_INSTANCE_INDEX\" | @sh")
24 |
--------------------------------------------------------------------------------
/config/aspectj_weaver_agent.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # AspectJ Weaver Agent configuration
17 | ---
18 | enabled: true
19 |
--------------------------------------------------------------------------------
/config/azure_application_insights_agent.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the Azure Application Insights framework.
17 | ---
18 | version: 3.+
19 | repository_root: "{default.repository.root}/azure-application-insights"
20 |
--------------------------------------------------------------------------------
/config/cache.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Download cache configuration
17 | ---
18 | remote_downloads: enabled
19 | client_authentication:
20 | certificate_location:
21 | private_key_location:
22 | private_key_password:
23 |
--------------------------------------------------------------------------------
/config/client_certificate_mapper.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Container security provider configuration
17 | ---
18 | version: 2.+
19 | version_lines:
20 | - 2.+
21 | repository_root: "{default.repository.root}/client-certificate-mapper"
--------------------------------------------------------------------------------
/config/container_customizer.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the Container Customizer framework
17 | ---
18 | version: 2.+
19 | repository_root: "{default.repository.root}/container-customizer"
20 |
--------------------------------------------------------------------------------
/config/container_security_provider.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Container security provider configuration
17 | ---
18 | version: 1.+
19 | repository_root: "{default.repository.root}/container-security-provider"
20 | key_manager_enabled:
21 | trust_manager_enabled:
22 |
--------------------------------------------------------------------------------
/config/contrast_security_agent.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the ContrastSecurity framework
17 | ---
18 | version: 6.+
19 | repository_root: https://download.run.pivotal.io/contrast-security
20 |
--------------------------------------------------------------------------------
/config/datadog_javaagent.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2021 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the Datadog APM Javaagent
17 | ---
18 | version: +
19 | repository_root: https://raw.githubusercontent.com/datadog/dd-trace-java/cloudfoundry/
20 |
--------------------------------------------------------------------------------
/config/debug.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Debug configuration
17 | ---
18 | enabled: false
19 | port: 8000
20 | suspend: false
21 |
--------------------------------------------------------------------------------
/config/dist_zip.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the DistZip container
17 | ---
18 | arguments:
19 |
--------------------------------------------------------------------------------
/config/dist_zip_like.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the DistZip container
17 | ---
18 | arguments:
19 |
--------------------------------------------------------------------------------
/config/elastic_apm_agent.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the Elastic Apm Agent framework
17 | ---
18 | version: 1.+
19 | repository_root: https://raw.githubusercontent.com/elastic/apm-agent-java/master/cloudfoundry
20 |
--------------------------------------------------------------------------------
/config/google_stackdriver_debugger.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the Groovy container
17 | ---
18 | version: 2.+
19 | repository_root: "{default.repository.root}/google-stackdriver-debugger/{platform}/{architecture}"
20 | application_name:
21 | application_version:
22 |
--------------------------------------------------------------------------------
/config/google_stackdriver_profiler.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the Groovy container
17 | ---
18 | version: 0.+
19 | repository_root: "{default.repository.root}/google-stackdriver-profiler/{platform}/{architecture}"
20 | application_name:
21 | application_version:
22 |
--------------------------------------------------------------------------------
/config/groovy.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the Groovy container
17 | ---
18 | version: 2.5.+
19 | repository_root: "{default.repository.root}/groovy"
20 |
--------------------------------------------------------------------------------
/config/ibm_jre.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 |
17 | # Configuration for JRE repository
18 | ---
19 | jre:
20 | version: 1.8.+
21 | version_lines:
22 | - 1.8.+
23 | repository_root: https://raw.githubusercontent.com/ibmruntimes/ci.docker/master/ibmjava/meta/jre/linux/{architecture}
24 | heap_ratio: 0.75
25 | jvmkill_agent:
26 | version: 1.+
27 | repository_root: "https://raw.githubusercontent.com/ibmruntimes/jvmkill/jvmkill-ibmagent/jvmkill-agent/"
28 |
--------------------------------------------------------------------------------
/config/introscope_agent.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the CA Wily framework
17 | ---
18 | version: +
19 | repository_root: https://packages.broadcom.com/artifactory/apm-agents
20 | default_agent_name: $(jq -r -n "$VCAP_APPLICATION | .application_name")
21 |
--------------------------------------------------------------------------------
/config/jacoco_agent.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the JaCoco Agent framework
17 | ---
18 | version: 0.+
19 | repository_root: "{default.repository.root}/jacoco"
20 |
--------------------------------------------------------------------------------
/config/java_cf_env.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2023 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the Java CfEnv framework.
17 | # See https://github.com/pivotal-cf/java-cfenv for library information
18 |
19 | ---
20 | version: 3.+
21 | repository_root: "{default.repository.root}/java-cfenv"
22 | enabled: true
23 |
--------------------------------------------------------------------------------
/config/java_main.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the Java Main container
17 | ---
18 | java_main_class:
19 | arguments:
20 |
--------------------------------------------------------------------------------
/config/java_opts.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # JAVA_OPTS configuration
17 | ---
18 | from_environment: true
19 | java_opts:
20 |
--------------------------------------------------------------------------------
/config/jmx.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # JMX configuration
17 | ---
18 | enabled: false
19 | port: 5000
20 |
--------------------------------------------------------------------------------
/config/jprofiler_profiler.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # JMX configuration
17 | ---
18 | version: 13.+
19 | repository_root: https://download.run.pivotal.io/jprofiler
20 | enabled: false
21 | nowait: true
22 | port: 8849
23 |
--------------------------------------------------------------------------------
/config/jrebel_agent.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the JRebel framework
17 | ---
18 | version: +
19 | repository_root: https://dl.zeroturnaround.com/jrebel
20 | enabled: true
21 |
--------------------------------------------------------------------------------
/config/logging.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Logging configuration
17 | ---
18 | default_log_level: INFO
19 | enable_log_file: false
20 |
--------------------------------------------------------------------------------
/config/luna_security_provider.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the Luna Security Provider framework
17 | ---
18 | version: 7.+
19 | repository_root: "{default.repository.root}/luna-security-provider"
20 | ha_logging_enabled: true
21 | logging_enabled: false
22 | tcp_keep_alive_enabled: false
23 |
--------------------------------------------------------------------------------
/config/maria_db_jdbc.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the MariaDB JDBC framework
17 | ---
18 | version: 2.+
19 | repository_root: "{default.repository.root}/mariadb-jdbc"
20 |
--------------------------------------------------------------------------------
/config/metric_writer.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Metric Writer configuration
17 | ---
18 | version: 3.+
19 | repository_root: "{default.repository.root}/metric-writer"
20 | enabled: false
21 |
--------------------------------------------------------------------------------
/config/new_relic_agent.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the New Relic framework
17 | ---
18 | version: +
19 | repository_root: https://download.run.pivotal.io/new-relic
20 | extensions:
21 | version: 1.+
22 | repository_root:
23 |
--------------------------------------------------------------------------------
/config/open_jdk_jre.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for JRE repositories keyed by vendor
17 | ---
18 | jre:
19 | version: 1.8.0_+
20 | version_lines:
21 | - 1.8.0_+
22 | - 11.+
23 | - 17.+
24 | - 21.+
25 | repository_root: "{default.repository.root}/openjdk/{platform}/{architecture}"
26 | jvmkill_agent:
27 | version: 1.+
28 | repository_root: "{default.repository.root}/jvmkill/{platform}/{architecture}"
29 | memory_calculator:
30 | version: 3.+
31 | repository_root: "{default.repository.root}/memory-calculator/{platform}/{architecture}"
32 | class_count:
33 | headroom:
34 | stack_threads: 250
35 |
--------------------------------------------------------------------------------
/config/open_telemetry_javaagent.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2023 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the OpenTelemetry Javaagent
17 | ---
18 | version: +
19 | repository_root: https://raw.githubusercontent.com/open-telemetry/opentelemetry-java-instrumentation/cloudfoundry/
20 |
--------------------------------------------------------------------------------
/config/postgresql_jdbc.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the Postgresql JDBC framework
17 | ---
18 | version: 42.+
19 | repository_root: "{default.repository.root}/postgresql-jdbc"
20 |
--------------------------------------------------------------------------------
/config/protect_app_security_provider.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the ProtectApp Security Provider framework
17 |
18 | # You must specify a the repository root of an ProtectApp repository. Please see the documentation for more detail.
19 | # e.g. repository_root: "https://example.com/protectapp-installer/"
20 | ---
21 | version: 8.+
22 | repository_root: ""
23 |
--------------------------------------------------------------------------------
/config/repository.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Repository configuration
17 | ---
18 | default_repository_root: https://java-buildpack.cloudfoundry.org
19 |
--------------------------------------------------------------------------------
/config/riverbed_appinternals_agent.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the riverbed appinternals agent framework
17 | ---
18 | version: 11.+
19 | repository_root: https://pcf-instrumentation-download.steelcentral.net/
20 | rvbd_moniker: $(jq -r -n "$VCAP_APPLICATION | .application_name")
21 |
--------------------------------------------------------------------------------
/config/ruby.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for Ruby
17 | ---
18 | version: 3.2.+
19 | repository_root: https://raw.githubusercontent.com/cloudfoundry/ruby-buildpack/master/java-index
20 |
--------------------------------------------------------------------------------
/config/sap_machine_jre.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 |
17 | # Configuration for JRE repository
18 | ---
19 | jre:
20 | version: 11.+
21 | version_lines:
22 | - 11.+
23 | - 17.+
24 | repository_root: "https://sapmachine.io/assets/cf/jre/{platform}/{architecture}"
25 | jvmkill_agent:
26 | version: 1.+
27 | repository_root: "{default.repository.root}/jvmkill/{platform}/{architecture}"
28 | memory_calculator:
29 | version: 3.+
30 | repository_root: "{default.repository.root}/memory-calculator/{platform}/{architecture}"
31 | class_count:
32 | headroom:
33 | stack_threads: 250
34 |
--------------------------------------------------------------------------------
/config/sealights_agent.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the SeaLights Agent framework
17 | ---
18 | version: +
19 | repository_root: https://agents.sealights.co/pcf
20 | build_session_id:
21 | lab_id:
22 | proxy:
23 | auto_upgrade: false
24 |
--------------------------------------------------------------------------------
/config/sky_walking_agent.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the Sky Walking framework.
17 | ---
18 | version: +
19 | repository_root: "{default.repository.root}/sky-walking"
20 | default_application_name: $(jq -r -n "$VCAP_APPLICATION | .space_name + \":\" + .application_name | @sh")
21 |
--------------------------------------------------------------------------------
/config/splunk_otel_java_agent.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the Splunk Distribution of OpenTelemetry Java Instrumentation
17 | # See https://github.com/signalfx/splunk-otel-java for more information
18 | ---
19 | version: +
20 | repository_root: https://raw.githubusercontent.com/signalfx/splunk-otel-java/main/deployments/cloudfoundry/
21 |
--------------------------------------------------------------------------------
/config/spring_auto_reconfiguration.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the Spring Auto Reconfiguration framework.
17 | # Note that the repository is shared with the Play Auto Reconfiguration framework and should be kept in step to
18 | # avoid conflicts.
19 | ---
20 | version: 2.+
21 | repository_root: "{default.repository.root}/auto-reconfiguration"
22 | enabled: true
23 |
--------------------------------------------------------------------------------
/config/spring_boot_cli.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the Spring Auto Reconfiguration framework.
17 | # Note that the repository is shared with the Play Auto Reconfiguration framework and should be kept in step to
18 | # avoid conflicts.
19 | ---
20 | version: 2.+
21 | repository_root: "{default.repository.root}/spring-boot-cli"
22 |
--------------------------------------------------------------------------------
/config/takipi_agent.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for the Takipi framework
17 | ---
18 | version: 4.+
19 | repository_root: https://get.takipi.com/cloudfoundry
20 | node_name_prefix: node
21 | application_name:
22 |
--------------------------------------------------------------------------------
/config/your_kit_profiler.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # JMX configuration
17 | ---
18 | version: +
19 | repository_root: https://download.run.pivotal.io/your-kit/{platform}/{architecture}
20 | enabled: false
21 | port: 10001
22 | default_session_name: $(jq -r -n "$VCAP_APPLICATION | .application_name + \":$CF_INSTANCE_INDEX\"")
23 |
--------------------------------------------------------------------------------
/docs/container-play_framework.md:
--------------------------------------------------------------------------------
1 | # Play Framework Container
2 | The Play Framework Container allows Play Framework applications to be run.
3 |
4 |
5 |
6 |
Detection Criteria
7 |
The Play Framework start script and the Play Framework runtime JAR exist in the appropriate subdirectories of the application directory or one of its immediate subdirectories (but not in both)
8 |
9 |
10 |
Tags
11 |
play-framework=<version>
12 |
13 |
14 | Tags are printed to standard output by the buildpack detect script
15 |
16 | ## Configuration
17 | The Play Framework Container cannot be configured.
18 |
19 |
20 |
--------------------------------------------------------------------------------
/docs/container-ratpack.md:
--------------------------------------------------------------------------------
1 | # Ratpack Container
2 | The Ratpack Container allows [Ratpack][r] applications, packaged `distZip`-style to be run.
3 |
4 |
5 |
6 |
Detection Criteria
7 |
The lib/ratpack-core-.*.jar file exists in either the top-level directory or an immediate subdirectory of the application.
8 |
9 |
10 |
Tags
11 |
ratpack=<version>
12 |
13 |
14 | Tags are printed to standard output by the buildpack detect script
15 |
16 | The container expects to run the application creating by running [`gradle distZip`][d] in an application built with the Ratpack Gradle plugin.
17 |
18 | ## Configuration
19 | The Ratpack Container cannot be configured.
20 |
21 | [d]: http://www.ratpack.io/manual/current/setup.html#using_the_gradle_plugins
22 | [r]: http://www.ratpack.io
23 |
--------------------------------------------------------------------------------
/docs/example-groovy.md:
--------------------------------------------------------------------------------
1 | # Groovy Examples
2 | The Java Buildpack can run Groovy applications written with the [Ratpack framework][r] and from raw `.groovy` files (no pre-compilation).
3 |
4 | ## Raw Groovy
5 | The following example shows how deploy the sample application located in the [Java Test Applications][j].
6 |
7 | ```bash
8 | $ cf push groovy-application -b https://github.com/cloudfoundry/java-buildpack.git
9 | -----> Downloading Open Jdk JRE 1.7.0_51 from http://.../openjdk/lucid/x86_64/openjdk-1.7.0_51.tar.gz (0.0s)
10 | Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (1.3s)
11 | -----> Downloading Spring Auto Reconfiguration 0.8.7 from http://.../auto-reconfiguration/auto-reconfiguration-0.8.7.jar (0.0s)
12 | -----> Downloading Groovy 2.2.1 from http://.../groovy/groovy-2.2.1.zip (0.0s)
13 | Expanding Groovy to .java-buildpack/groovy (0.4s)
14 | -----> Uploading droplet (82M)
15 |
16 | $ curl ...cfapps.io
17 | ok
18 | ```
19 |
20 | [j]: https://github.com/cloudfoundry/java-test-applications/tree/master/groovy-application
21 | [r]: http://www.ratpack.io
22 |
--------------------------------------------------------------------------------
/docs/framework-aspectj_weaver_agent.md:
--------------------------------------------------------------------------------
1 | # AspectJ Weaver Agent Framework
2 | The AspectJ Weaver Agent Framework configures the AspectJ Runtime Weaving Agent at runtime.
3 |
4 |
5 |
6 |
Detection Criterion
7 |
aspectjweaver-*.jar existing and BOOT-INF/classes/META-INF/aop.xml, BOOT-INF/classes/org/aspectj/aop.xml, META-INF/aop.xml, or org/aspectj/aop.xml existing.
8 |
9 |
10 |
Tags
11 |
aspectj-weaver-agent=<version>
12 |
13 |
14 | Tags are printed to standard output by the buildpack detect script
15 |
16 | ## Configuration
17 | For general information on configuring the buildpack, including how to specify configuration values through environment variables, refer to [Configuration and Extension][].
18 |
19 | The framework can be configured by creating or modifying the [`config/aspectj_weaver_agent.yml`][] file in the buildpack fork.
20 |
21 | | Name | Description
22 | | ---- | -----------
23 | | `enabled` | Whether to enable the AspectJ Runtime Weaving agent.
24 |
25 | [`config/aspectj_weaver_agent.yml`]: ../config/aspect_weaver_agent.yml
26 | [Configuration and Extension]: ../README.md#configuration-and-extension
27 |
--------------------------------------------------------------------------------
/docs/framework-checkmarx_iast_agent.md:
--------------------------------------------------------------------------------
1 | # Checkmarx IAST Agent Framework
2 | The Checkmarx IAST Agent Framework causes an application to be automatically configured to work with a bound [Checkmarx IAST Service][].
3 |
4 |
5 |
6 |
Detection Criterion
Existence of a bound Checkmarx IAST service. The existence of an Checkmarx IAST service is defined by the VCAP_SERVICES payload containing a service named checkmarx-iast.
7 |
8 |
9 |
10 |
11 | ## User-Provided Service
12 | When binding Checkmarx IAST using a user-provided service, it must have the name `checkmarx-iast` and the credential payload must include the following entry:
13 |
14 | | Name | Description
15 | | ---- | -----------
16 | | `server` | The IAST Manager URL
17 |
18 | ## Configuration
19 | For general information on configuring the buildpack, including how to specify configuration values through environment variables, refer to [Configuration and Extension][].
20 |
21 | [Checkmarx IAST Service]: https://www.checkmarx.com/products/interactive-application-security-testing
22 | [Configuration and Extension]: ../README.md#configuration-and-extension
23 |
--------------------------------------------------------------------------------
/docs/framework-debug-eclipse.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/docs/framework-debug-eclipse.png
--------------------------------------------------------------------------------
/docs/framework-java-cfenv.md:
--------------------------------------------------------------------------------
1 | # Java CfEnv Framework
2 | The Java CfEnv Framework provides the `java-cfenv` library for Spring Boot 3+ applications. This library sets various Spring Boot properties by parsing CloudFoundry variables such as `VCAP_SERVICES`, allowing Spring Boot's autoconfiguration to kick in.
3 |
4 | This is the recommended replacement for Spring AutoReconfiguration library which is deprecated. See the `java-cfenv` repostitory for more detail.
5 |
6 | It also sets the 'cloud' profile for Spring Boot applications, as the Spring AutoReconfiguration framework did.
7 |
8 |
9 |
10 |
Detection Criterion
11 |
Existence of a `Spring-Boot-Version: 3.*` manifest entry
12 |
No existing `java-cfenv` library found
13 |
14 |
15 |
Tags
16 |
java-cf-env=<version>
17 |
18 |
19 | Tags are printed to standard output by the buildpack detect script
20 |
--------------------------------------------------------------------------------
/docs/framework-jmx-jconsole.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/docs/framework-jmx-jconsole.png
--------------------------------------------------------------------------------
/docs/framework-jprofiler_profiler.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/docs/framework-jprofiler_profiler.png
--------------------------------------------------------------------------------
/docs/framework-seeker_security_provider.md:
--------------------------------------------------------------------------------
1 | # Seeker Security Provider Framework
2 | The Seeker Security Provider Framework causes an application to be bound with a [Seeker Security Provider][s] service instance.
3 |
4 |
5 |
6 |
Detection Criterion
Existence of a single bound Seeker Security Provider service. The existence of a provider service is defined by the VCAP_SERVICES payload containing a service name, label or tag with seeker as a substring.
7 |
8 |
9 |
10 |
Tags
11 |
seeker-service-provider
12 |
13 |
14 | Tags are printed to standard output by the buildpack detect script
15 |
16 | ## User-Provided Service
17 | When binding Appinternals using a user-provided service, it must have seeker as substring. The credential payload must contain the following entries:
18 |
19 | | Name | Description
20 | | ---- | -----------
21 | | `seeker_server_url` | The fully qualified URL of a Synopsys Seeker Server (e.g. `https://seeker.example.com`)
22 |
23 | **NOTE**
24 | In order to use this integration, the Seeker Server version must be at least `2019.08` or later.
25 |
--------------------------------------------------------------------------------
/docs/framework-your_kit_profiler.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/docs/framework-your_kit_profiler.png
--------------------------------------------------------------------------------
/docs/security.md:
--------------------------------------------------------------------------------
1 | # Security
2 | In addition to security considerations associated with containers, frameworks, and JREs the following points pertain to the security of the buildpack itself.
3 |
4 | ## Buildpack Forks
5 | If you fork the Java buildpack, it is important to keep the fork up to date with the original repository. This will ensure that your fork runs with any security fixes that may be necessary.
6 |
7 | ## Security and Logs
8 | See [Sensitive Information in Logs][].
9 |
10 | [Sensitive Information in Logs]: extending-logging.md#sensitive-information-in-logs
11 |
--------------------------------------------------------------------------------
/lib/java_buildpack.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | # A module encapsulating all of the code for the Java buildpack
19 | module JavaBuildpack
20 | end
21 |
--------------------------------------------------------------------------------
/lib/java_buildpack/component.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'java_buildpack'
19 |
20 | module JavaBuildpack
21 |
22 | # A module encapsulating the component abstractions and base classes for the Java buildpack
23 | module Component
24 | end
25 |
26 | end
27 |
--------------------------------------------------------------------------------
/lib/java_buildpack/container.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'java_buildpack'
19 |
20 | module JavaBuildpack
21 |
22 | # A module encapsulating all of the container components for the Java buildpack
23 | module Container
24 | end
25 |
26 | end
27 |
--------------------------------------------------------------------------------
/lib/java_buildpack/framework.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'java_buildpack'
19 |
20 | module JavaBuildpack
21 |
22 | # A module encapsulating all of the framework components for the Java buildpack
23 | module Framework
24 | end
25 |
26 | end
27 |
--------------------------------------------------------------------------------
/lib/java_buildpack/jre.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'java_buildpack'
19 |
20 | module JavaBuildpack
21 |
22 | # A module encapsulating all of the JRE components for the Java buildpack
23 | module Jre
24 | end
25 |
26 | end
27 |
--------------------------------------------------------------------------------
/lib/java_buildpack/jre/graal_vm_jre.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'fileutils'
19 | require 'java_buildpack/jre'
20 | require 'java_buildpack/jre/open_jdk_like'
21 |
22 | module JavaBuildpack
23 | module Jre
24 |
25 | # Encapsulates the detect, compile, and release functionality for selecting an GraalVM JRE.
26 | class GraalVmJRE < OpenJDKLike
27 | end
28 |
29 | end
30 | end
31 |
--------------------------------------------------------------------------------
/lib/java_buildpack/jre/open_jdk_jre.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'fileutils'
19 | require 'java_buildpack/jre'
20 | require 'java_buildpack/jre/open_jdk_like'
21 |
22 | module JavaBuildpack
23 | module Jre
24 |
25 | # Encapsulates the detect, compile, and release functionality for selecting an OpenJDK JRE.
26 | class OpenJdkJRE < OpenJDKLike
27 | end
28 |
29 | end
30 | end
31 |
--------------------------------------------------------------------------------
/lib/java_buildpack/jre/oracle_jre.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'fileutils'
19 | require 'java_buildpack/jre'
20 | require 'java_buildpack/jre/open_jdk_like'
21 |
22 | module JavaBuildpack
23 | module Jre
24 |
25 | # Encapsulates the detect, compile, and release functionality for selecting an Oracle JRE.
26 | class OracleJRE < OpenJDKLike
27 | end
28 |
29 | end
30 | end
31 |
--------------------------------------------------------------------------------
/lib/java_buildpack/jre/sap_machine_jre.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'fileutils'
19 | require 'java_buildpack/jre'
20 | require 'java_buildpack/jre/open_jdk_like'
21 |
22 | module JavaBuildpack
23 | module Jre
24 |
25 | # Encapsulates the detect, compile, and release functionality for selecting an SapMachine JRE.
26 | class SapMachineJRE < OpenJDKLike
27 | end
28 |
29 | end
30 | end
31 |
--------------------------------------------------------------------------------
/lib/java_buildpack/jre/zulu_jre.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'fileutils'
19 | require 'java_buildpack/jre'
20 | require 'java_buildpack/jre/open_jdk_like'
21 |
22 | module JavaBuildpack
23 | module Jre
24 |
25 | # Encapsulates the detect, compile, and release functionality for selecting an Zulu JRE.
26 | class ZuluJRE < OpenJDKLike
27 | end
28 |
29 | end
30 | end
31 |
--------------------------------------------------------------------------------
/lib/java_buildpack/logging.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'java_buildpack'
19 |
20 | module JavaBuildpack
21 |
22 | # A module encapsulating the logging for the Java buildpack
23 | module Logging
24 | end
25 |
26 | end
27 |
--------------------------------------------------------------------------------
/lib/java_buildpack/repository.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'java_buildpack'
19 |
20 | module JavaBuildpack
21 |
22 | # A module encapsulating versioned file repositories for the Java buildpack.
23 | module Repository
24 | end
25 |
26 | end
27 |
--------------------------------------------------------------------------------
/lib/java_buildpack/util.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'java_buildpack'
19 |
20 | module JavaBuildpack
21 |
22 | # A module encapsulating all of the utility code for the Java buildpack
23 | module Util
24 | end
25 |
26 | end
27 |
--------------------------------------------------------------------------------
/lib/java_buildpack/util/cache.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'java_buildpack/util'
19 | require 'pathname'
20 |
21 | module JavaBuildpack
22 | module Util
23 |
24 | # A module encapsulating all of the utility components for caching
25 | module Cache
26 |
27 | # The location to find cached resources in the buildpack
28 | CACHED_RESOURCES_DIRECTORY = Pathname.new(File.expand_path('../../../resources/cache', __dir__))
29 |
30 | end
31 |
32 | end
33 | end
34 |
--------------------------------------------------------------------------------
/lib/java_buildpack/util/cache/inferred_network_failure.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | module JavaBuildpack
19 | module Util
20 | module Cache
21 |
22 | # An error thrown when a we infer that an error has occurred (rather than receiving an explicit indication)
23 | class InferredNetworkFailure < StandardError
24 | end
25 |
26 | end
27 | end
28 | end
29 |
--------------------------------------------------------------------------------
/lib/java_buildpack/util/dash_case.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | # A mixin that adds the ability to turn a +String+ into dash case
19 | class String
20 |
21 | # Converts a string to dash case. For example, the Spring +DashCase+ would become +dash-case+.
22 | #
23 | # @return [String] The dash case rendering of this +String+
24 | def dash_case
25 | split('::')
26 | .last
27 | .gsub(/([A-Z]+)([A-Z][a-z])/, '\1-\2')
28 | .gsub(/([a-z\d])([A-Z])/, '\1-\2')
29 | .downcase
30 | end
31 |
32 | end
33 |
--------------------------------------------------------------------------------
/lib/java_buildpack/util/find_single_directory.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'java_buildpack/util'
19 |
20 | module JavaBuildpack
21 | module Util
22 |
23 | module_function
24 |
25 | # Find the single directory in the root of the droplet
26 | #
27 | # @return [Pathname, nil] the single directory in the root of the droplet, otherwise +nil+
28 | def find_single_directory
29 | roots = (@droplet.root + '*').glob.select(&:directory?)
30 | roots.size == 1 ? roots.first : nil
31 | end
32 |
33 | end
34 | end
35 |
--------------------------------------------------------------------------------
/lib/java_buildpack/util/play.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'java_buildpack/util'
19 |
20 | module JavaBuildpack
21 | module Util
22 |
23 | # A module encapsulating all of the utility components for Play Framework applications
24 | module Play
25 | end
26 |
27 | end
28 | end
29 |
--------------------------------------------------------------------------------
/lib/java_buildpack/util/play/post22_dist.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'java_buildpack/util/play/post22'
19 |
20 | module JavaBuildpack
21 | module Util
22 | module Play
23 |
24 | # Encapsulate inspection and modification of Play dist applications from Play 2.2.0 onwards.
25 | class Post22Dist < Post22
26 |
27 | alias root find_single_directory
28 |
29 | end
30 |
31 | end
32 | end
33 | end
34 |
--------------------------------------------------------------------------------
/lib/java_buildpack/util/play/post22_staged.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'java_buildpack/util/play/post22'
19 |
20 | module JavaBuildpack
21 | module Util
22 | module Play
23 |
24 | # Encapsulate inspection and modification of Play staged applications from Play 2.2.0 onwards.
25 | class Post22Staged < Post22
26 |
27 | protected
28 |
29 | # (see JavaBuildpack::Util::Play::Post22#root)
30 | def root
31 | @droplet.root
32 | end
33 |
34 | end
35 |
36 | end
37 | end
38 | end
39 |
--------------------------------------------------------------------------------
/lib/java_buildpack/util/ratpack_utils.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'pathname'
19 | require 'java_buildpack/util'
20 | require 'java_buildpack/util/jar_finder'
21 |
22 | module JavaBuildpack
23 | module Util
24 |
25 | # Utilities for dealing with Ratpack applications
26 | class RatpackUtils < JarFinder
27 |
28 | def initialize
29 | super(/.*ratpack-core-(.*)\.jar/)
30 | end
31 |
32 | end
33 |
34 | end
35 | end
36 |
--------------------------------------------------------------------------------
/lib/java_buildpack/util/snake_case.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | # A mixin that adds the ability to turn a +String+ into snake case
19 | class String
20 |
21 | # Converts a string to snake case. For example, the String +SnakeCase+ would become +snake_case+.
22 | #
23 | # @return [String] The snake case rendering of this +String+
24 | def snake_case
25 | gsub(/::/, '/')
26 | .gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2')
27 | .gsub(/([a-z\d])([A-Z])/, '\1_\2')
28 | .tr('-', '_')
29 | .downcase
30 | end
31 |
32 | end
33 |
--------------------------------------------------------------------------------
/lib/java_buildpack/util/space_case.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | # A mixin that adds the ability to turn a +String+ into space case
19 | class String
20 |
21 | # Converts a string to space case. For example, the String +SpaceCase+ would become +Space Case+.
22 | #
23 | # @return [String] The space case rendering of this +String+
24 | def space_case
25 | split('::')
26 | .last
27 | .gsub(/([A-Z]+)([A-Z][a-z])/, '\1 \2')
28 | .gsub(/([a-z\d])([A-Z])/, '\1 \2')
29 | .tr('-', ' ')
30 | end
31 |
32 | end
33 |
--------------------------------------------------------------------------------
/lib/java_buildpack/util/to_b.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | # A mixin that adds the ability to turn a +String+ into a boolean
19 | class String
20 |
21 | # Converts a +String+ to a boolean
22 | #
23 | # @return [Boolean] +true+ if +.casecmp 'true'+. +false+ otherwise
24 | def to_b
25 | casecmp 'true'
26 | end
27 |
28 | end
29 |
30 | # A mixin that adds the ability to turn a +nil+ into a boolean
31 | class NilClass
32 |
33 | # Converts a +nil+ to a boolean
34 | #
35 | # @return [Boolean] +false+ always
36 | def to_b
37 | false
38 | end
39 |
40 | end
41 |
--------------------------------------------------------------------------------
/resources/azure_application_insights_agent/AI-Agent.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
22 |
23 | 1000
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/resources/luna_security_provider/Chrystoki.conf:
--------------------------------------------------------------------------------
1 | Luna = {
2 | CloningCommandTimeOut = 300000;
3 | CommandTimeOutPedSet = 720000;
4 | DefaultTimeOut = 500000;
5 | KeypairGenTimeOut = 2700000;
6 | PEDTimeout1 = 100000;
7 | PEDTimeout2 = 200000;
8 | PEDTimeout3 = 10000;
9 | }
10 |
11 | Misc = {
12 | PE1746Enabled = 0;
13 | }
14 |
--------------------------------------------------------------------------------
/resources/protect_app_security_provider/IngrianNAE.properties:
--------------------------------------------------------------------------------
1 | Version=2.4
2 | NAE_IP.1=
3 | NAE_Port=9000
4 | KMIP_Port=5696
5 | Protocol=ssl
6 | Verify_SSL_Certificate=no
7 | SSL_Handshake_Timeout=
8 | Use_Persistent_Connections=yes
9 | Size_of_Connection_Pool=300
10 | Load_Balancing_Algorithm=round-robin
11 | Connection_Idle_Timeout=600000
12 | Unreachable_Server_Retry_Period=60000
13 | Maximum_Server_Retry_Period=0
14 | Connection_Timeout=30000
15 | Connection_Read_Timeout=7000
16 | Connection_Retry_Interval=600000
17 | Client_Cert_Alias=
18 | Client_Cert_Passphrase=
19 | Key_Store_Location=
20 | Key_Store_Password=
21 | Cluster_Synchronization_Delay=100
22 | Symmetric_Key_Cache_Enabled=no
23 | Asymmetric_Key_Cache_Enabled=no
24 | Symmetric_Key_Cache_Expiry=43200
25 | Local_Cipher_Cache_Expiry=-1
26 | Local_Crypto_Provider=
27 | Persistent_Cache_Enabled=no
28 | Persistent_Cache_Expiry_Keys=43200
29 | Persistent_Cache_Directory=
30 | Persistent_Cache_Max_Size=100
31 | FIPS_Mode=off
32 | Credentials_Encrypted=no
33 | Passphrase_Encrypted=no
34 | Log_Level=NONE
35 | Log_File=
36 | Log_Rotation=Daily
37 | Log_GMT=no
38 | Log_Size_Limit=100k
39 | SysLog_IP=
40 | SysLog_Port=
41 | Log_Config_Advanced=
42 | Key_non_exportable_policy=no
43 | Log_MaxBackupIndex=-1
44 |
--------------------------------------------------------------------------------
/resources/tomcat/conf/context.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/resources/tomcat/conf/logging.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Cloud Foundry Java Buildpack
3 | # Copyright 2013-2020 the original author or authors.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License");
6 | # you may not use this file except in compliance with the License.
7 | # You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | #
17 |
18 | handlers: org.cloudfoundry.tomcat.logging.CloudFoundryConsoleHandler
19 | .handlers: org.cloudfoundry.tomcat.logging.CloudFoundryConsoleHandler
20 |
21 | org.cloudfoundry.tomcat.logging.CloudFoundryConsoleHandler.level: FINE
22 |
23 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level: INFO
24 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level: INFO
25 | org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level: INFO
26 |
--------------------------------------------------------------------------------
/spec/fixtures/additional_libs/test-jar-1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/additional_libs/test-jar-1.jar
--------------------------------------------------------------------------------
/spec/fixtures/additional_libs/test-jar-2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/additional_libs/test-jar-2.jar
--------------------------------------------------------------------------------
/spec/fixtures/application/.test-directory/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/application/.test-directory/.gitignore
--------------------------------------------------------------------------------
/spec/fixtures/application/.test-file:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/application/.test-file
--------------------------------------------------------------------------------
/spec/fixtures/application/test-directory/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/application/test-directory/.gitignore
--------------------------------------------------------------------------------
/spec/fixtures/application/test-file:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/application/test-file
--------------------------------------------------------------------------------
/spec/fixtures/container_dist_zip/lib/dist-zip.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_dist_zip/lib/dist-zip.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_dist_zip_app_classpath/application-root/lib/dist-zip.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_dist_zip_app_classpath/application-root/lib/dist-zip.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_dot_groovy/x/y.groovy/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_groovy_dot_groovy/x/y.groovy/.gitignore
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_logback/Alpha.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | class Alpha {
19 | }
20 |
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_logback/ch/qos/logback/pogo.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | package fixtures.container_groovy_logback.ch.qos.logback
19 |
20 | class Directory {
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_main_method/Alpha.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | class Alpha {
19 | }
20 |
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_main_method/directory/Beta.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | class Beta {
19 | }
20 |
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_main_method/invalid.groovy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_groovy_main_method/invalid.groovy
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_non_pogo/Alpha.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | class Alpha {
19 | }
20 |
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_non_pogo/Application.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | println 'Hello World'
19 |
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_non_pogo/invalid.groovy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_groovy_non_pogo/invalid.groovy
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_non_pogo_with_class_file/A.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_groovy_non_pogo_with_class_file/A.class
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_non_pogo_with_class_file/invalid.groovy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_groovy_non_pogo_with_class_file/invalid.groovy
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_non_pogo_with_class_file/logback.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | import static ch.qos.logback.classic.Level.INFO
19 |
20 | root(INFO)
21 |
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_ratpack/application-root/lib/ratpack-core-0.9.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_groovy_ratpack/application-root/lib/ratpack-core-0.9.0.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_shebang/Alpha.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | class Alpha {
19 | }
20 |
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_shebang/Application.groovy:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env groovy
2 | /*
3 | * Cloud Foundry Java Buildpack
4 | * Copyright 2013-2020 the original author or authors.
5 | *
6 | * Licensed under the Apache License, Version 2.0 (the "License");
7 | * you may not use this file except in compliance with the License.
8 | * You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | println 'Hello World'
20 |
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_shebang/invalid.groovy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_groovy_shebang/invalid.groovy
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_shebang_containing_class/Application.groovy:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env groovy
2 | /*
3 | * Cloud Foundry Java Buildpack
4 | * Copyright 2013-2020 the original author or authors.
5 | *
6 | * Licensed under the Apache License, Version 2.0 (the "License");
7 | * you may not use this file except in compliance with the License.
8 | * You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | class X {
20 | public static void exec() {
21 | println 'Hello World'
22 | }
23 | }
24 |
25 | X.exec()
26 |
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_shebang_containing_class/invalid.groovy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_groovy_shebang_containing_class/invalid.groovy
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_with_jars/Alpha.jar:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2013-2020 the original author or authors.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | class Alpha {
18 | }
19 |
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_with_jars/directory/Beta.jar:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2013-2020 the original author or authors.
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | class Beta {
18 | }
19 |
--------------------------------------------------------------------------------
/spec/fixtures/container_groovy_with_jars/invalid.groovy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_groovy_with_jars/invalid.groovy
--------------------------------------------------------------------------------
/spec/fixtures/container_main/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Main-Class: test-main-class
2 | Class-Path: alpha.jar bravo.jar charlie.jar
3 |
--------------------------------------------------------------------------------
/spec/fixtures/container_main_no_main_class/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_main_no_main_class/META-INF/MANIFEST.MF
--------------------------------------------------------------------------------
/spec/fixtures/container_main_spring_boot_jar_launcher/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Spring-Boot-Lib: manifest-lib-value/
2 | Spring-Boot-Version: 1.2.5.RELEASE
3 | Main-Class: org.springframework.boot.loader.JarLauncher
4 |
5 |
--------------------------------------------------------------------------------
/spec/fixtures/container_main_spring_boot_jar_launcher/lib/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_main_spring_boot_jar_launcher/lib/.gitignore
--------------------------------------------------------------------------------
/spec/fixtures/container_main_spring_boot_properties_launcher/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Spring-Boot-Version: 1.2.5.RELEASE
2 | Main-Class: org.springframework.boot.loader.PropertiesLauncher
3 |
--------------------------------------------------------------------------------
/spec/fixtures/container_main_spring_boot_properties_launcher/lib/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_main_spring_boot_properties_launcher/lib/.gitignore
--------------------------------------------------------------------------------
/spec/fixtures/container_main_spring_boot_thin_launcher/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Spring-Boot-Lib: manifest-lib-value/
2 | Spring-Boot-Version: 1.2.5.RELEASE
3 | Main-Class: org.springframework.boot.loader.wrapper.ThinJarWrapper
4 |
5 |
--------------------------------------------------------------------------------
/spec/fixtures/container_main_spring_boot_thin_launcher/lib/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_main_spring_boot_thin_launcher/lib/.gitignore
--------------------------------------------------------------------------------
/spec/fixtures/container_main_spring_boot_war_launcher/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Spring-Boot-Version: 1.2.5.RELEASE
2 | Main-Class: org.springframework.boot.loader.WarLauncher
3 |
--------------------------------------------------------------------------------
/spec/fixtures/container_main_spring_boot_war_launcher/lib/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_main_spring_boot_war_launcher/lib/.gitignore
--------------------------------------------------------------------------------
/spec/fixtures/container_main_with_web_inf/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Main-Class: test-main-class
2 | Class-Path: alpha.jar bravo.jar charlie.jar
3 |
--------------------------------------------------------------------------------
/spec/fixtures/container_main_with_web_inf/WEB-INF/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_main_with_web_inf/WEB-INF/.gitignore
--------------------------------------------------------------------------------
/spec/fixtures/container_no_tomcat_version_geode_store_context_after.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.0_dist/application-root/lib/play.play_2.9.1-2.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.0_dist/application-root/lib/play.play_2.9.1-2.0.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.0_dist/application-root/lib/some.test.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.0_dist/application-root/lib/some.test.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.0_dist/application-root/start:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | exec java $* -cp "`dirname $0`/lib/*" play.core.server.NettyServer `dirname $0`
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.1_2.2_hybrid/bin/play-application:
--------------------------------------------------------------------------------
1 |
2 | declare -r app_mainclass="play.core.server.NettyServer"
3 |
4 | declare -r app_classpath="$lib_dir/some-dependency.jar"
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.1_2.2_hybrid/bin/play-application.bat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.1_2.2_hybrid/bin/play-application.bat
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.1_2.2_hybrid/lib/com.typesafe.play.play_2.10-2.2.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.1_2.2_hybrid/lib/com.typesafe.play.play_2.10-2.2.0.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.1_2.2_hybrid/lib/some.test.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.1_2.2_hybrid/lib/some.test.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.1_2.2_hybrid/staged/play_2.10-2.1.4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.1_2.2_hybrid/staged/play_2.10-2.1.4.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.1_2.2_hybrid/staged/some.test.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.1_2.2_hybrid/staged/some.test.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.1_2.2_hybrid/start:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | exec java $@ -cp "`dirname $0`/staged/*" play.core.server.NettyServer `dirname $0`/..
4 |
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.1_dist/application-root/lib/play.play_2.10-2.1.4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.1_dist/application-root/lib/play.play_2.10-2.1.4.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.1_dist/application-root/lib/some.test.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.1_dist/application-root/lib/some.test.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.1_staged/staged/play_2.10-2.1.4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.1_staged/staged/play_2.10-2.1.4.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.1_staged/staged/some.test.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.1_staged/staged/some.test.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.1_staged/start:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env sh
2 |
3 | exec java $@ -cp "`dirname $0`/staged/*" play.core.server.NettyServer `dirname $0`/..
4 |
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.2_ambiguous_start_script/bin/application1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.2_ambiguous_start_script/bin/application1
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.2_ambiguous_start_script/bin/application2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.2_ambiguous_start_script/bin/application2
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.2_ambiguous_start_script/lib/com.typesafe.play.play_2.10-2.2.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.2_ambiguous_start_script/lib/com.typesafe.play.play_2.10-2.2.0.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.2_dist/application-root/bin/play-application:
--------------------------------------------------------------------------------
1 |
2 | declare -r app_mainclass="play.core.server.NettyServer"
3 |
4 | declare -r app_classpath="$lib_dir/some-dependency.jar"
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.2_dist/application-root/bin/play-application.bat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.2_dist/application-root/bin/play-application.bat
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.2_dist/application-root/lib/com.typesafe.play.play_2.10-2.2.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.2_dist/application-root/lib/com.typesafe.play.play_2.10-2.2.0.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.2_dist/application-root/lib/some.test.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.2_dist/application-root/lib/some.test.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.2_minus_bat_file/bin/play-application:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.2_minus_bat_file/bin/play-application
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.2_minus_bat_file/lib/com.typesafe.play.play_2.10-2.2.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.2_minus_bat_file/lib/com.typesafe.play.play_2.10-2.2.0.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.2_staged/bin/play-application:
--------------------------------------------------------------------------------
1 |
2 | declare -r app_mainclass="play.core.server.NettyServer"
3 |
4 | declare -r app_classpath="$lib_dir/some-dependency.jar"
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.2_staged/bin/play-application.bat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.2_staged/bin/play-application.bat
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.2_staged/lib/com.typesafe.play.play_2.10-2.2.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.2_staged/lib/com.typesafe.play.play_2.10-2.2.0.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_2.2_staged/lib/some.test.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_2.2_staged/lib/some.test.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_duplicate/application_root/lib/play.play_0.0-0.0.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_duplicate/application_root/lib/play.play_0.0-0.0.0.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_duplicate/application_root/start:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_duplicate/application_root/start
--------------------------------------------------------------------------------
/spec/fixtures/container_play_duplicate/lib/play.play_0.0-0.0.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_duplicate/lib/play.play_0.0-0.0.0.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_duplicate/start:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_duplicate/start
--------------------------------------------------------------------------------
/spec/fixtures/container_play_like/start:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_like/start
--------------------------------------------------------------------------------
/spec/fixtures/container_play_too_deep/x/application_root/lib/play.play_0.0-0.0.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_too_deep/x/application_root/lib/play.play_0.0-0.0.0.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_play_too_deep/x/application_root/start:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_play_too_deep/x/application_root/start
--------------------------------------------------------------------------------
/spec/fixtures/container_ratpack_dist/application-root/app/Ratpack.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 |
--------------------------------------------------------------------------------
/spec/fixtures/container_ratpack_dist/application-root/app/invalid.groovy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_ratpack_dist/application-root/app/invalid.groovy
--------------------------------------------------------------------------------
/spec/fixtures/container_ratpack_dist/application-root/lib/ratpack-core-0.9.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_ratpack_dist/application-root/lib/ratpack-core-0.9.0.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_ratpack_staged/app/invalid.groovy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_ratpack_staged/app/invalid.groovy
--------------------------------------------------------------------------------
/spec/fixtures/container_ratpack_staged/app/ratpack.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 |
--------------------------------------------------------------------------------
/spec/fixtures/container_ratpack_staged/lib/ratpack-core-0.9.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_ratpack_staged/lib/ratpack-core-0.9.0.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_cli_beans_configuration/configuration.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | beans {
19 |
20 | }
21 |
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_cli_beans_configuration/invalid.groovy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_spring_boot_cli_beans_configuration/invalid.groovy
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_cli_beans_configuration/pogo_1.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | class X {
19 |
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_cli_groovy_with_web_inf/WEB-INF/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_spring_boot_cli_groovy_with_web_inf/WEB-INF/.gitignore
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_cli_groovy_with_web_inf/invalid.groovy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_spring_boot_cli_groovy_with_web_inf/invalid.groovy
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_cli_groovy_with_web_inf/pogo.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | class X {
19 |
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_cli_main_method/invalid.groovy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_spring_boot_cli_main_method/invalid.groovy
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_cli_main_method/main.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | static void main(
19 |
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_cli_main_method/pogo.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | class X {
19 |
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_cli_non_pogo/invalid.groovy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_spring_boot_cli_non_pogo/invalid.groovy
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_cli_non_pogo/non_pogo.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | x
19 |
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_cli_non_pogo/pogo.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | class X {
19 |
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_cli_valid_app/directory/pogo_4.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | class Directory {
19 |
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_cli_valid_app/invalid.groovy:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_spring_boot_cli_valid_app/invalid.groovy
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_cli_valid_app/pogo_1.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | class X {
19 |
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_cli_valid_app/pogo_2.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | class Yy_y {
19 |
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_cli_valid_app/pogo_3.groovy:
--------------------------------------------------------------------------------
1 | /*
2 | * Cloud Foundry Java Buildpack
3 | * Copyright 2013-2020 the original author or authors.
4 | *
5 | * Licensed under the Apache License, Version 2.0 (the "License");
6 | * you may not use this file except in compliance with the License.
7 | * You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | class Runner implements CommandLineRunner {
19 |
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_dist/application-root/lib/spring-boot-1.0.0.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_spring_boot_dist/application-root/lib/spring-boot-1.0.0.RELEASE.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_spring_boot_staged/lib/spring-boot-1.0.0.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_spring_boot_staged/lib/spring-boot-1.0.0.RELEASE.jar
--------------------------------------------------------------------------------
/spec/fixtures/container_tomcat/WEB-INF/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_tomcat/WEB-INF/.gitignore
--------------------------------------------------------------------------------
/spec/fixtures/container_tomcat_geode_store/.java-buildpack/tomcat/conf/context.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/spec/fixtures/container_tomcat_geode_store/WEB-INF/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_tomcat_geode_store/WEB-INF/.gitkeep
--------------------------------------------------------------------------------
/spec/fixtures/container_tomcat_geode_store_cache_client_after.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/spec/fixtures/container_tomcat_geode_store_context_after.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/spec/fixtures/container_tomcat_redis_store/.java-buildpack/tomcat/conf/context.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/spec/fixtures/container_tomcat_redis_store_context_after.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/spec/fixtures/container_tomcat_with_index/WEB-INF/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/container_tomcat_with_index/WEB-INF/.gitignore
--------------------------------------------------------------------------------
/spec/fixtures/container_tomcat_with_index/index.html:
--------------------------------------------------------------------------------
1 |
17 |
18 |
--------------------------------------------------------------------------------
/spec/fixtures/droplet-resources/droplet-resource:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/droplet-resources/droplet-resource
--------------------------------------------------------------------------------
/spec/fixtures/framework_aspectj_weaver_aop_xml_only/BOOT-INF/classes/META-INF/aop.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_aspectj_weaver_aop_xml_only/BOOT-INF/classes/META-INF/aop.xml
--------------------------------------------------------------------------------
/spec/fixtures/framework_aspectj_weaver_boot_inf_classes/BOOT-INF/classes/org/aspectj/aop.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_aspectj_weaver_boot_inf_classes/BOOT-INF/classes/org/aspectj/aop.xml
--------------------------------------------------------------------------------
/spec/fixtures/framework_aspectj_weaver_boot_inf_classes/BOOT-INF/lib/aspectjweaver-1.8.10.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_aspectj_weaver_boot_inf_classes/BOOT-INF/lib/aspectjweaver-1.8.10.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_aspectj_weaver_boot_inf_classes_meta_inf/BOOT-INF/classes/META-INF/aop.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_aspectj_weaver_boot_inf_classes_meta_inf/BOOT-INF/classes/META-INF/aop.xml
--------------------------------------------------------------------------------
/spec/fixtures/framework_aspectj_weaver_boot_inf_classes_meta_inf/BOOT-INF/lib/aspectjweaver-1.8.10.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_aspectj_weaver_boot_inf_classes_meta_inf/BOOT-INF/lib/aspectjweaver-1.8.10.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_aspectj_weaver_classes/org/aspectj/aop.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_aspectj_weaver_classes/org/aspectj/aop.xml
--------------------------------------------------------------------------------
/spec/fixtures/framework_aspectj_weaver_classes/repository/org/aspectj/aspectjweaver/1.8.10/aspectjweaver-1.8.10.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_aspectj_weaver_classes/repository/org/aspectj/aspectjweaver/1.8.10/aspectjweaver-1.8.10.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_aspectj_weaver_jar_only/BOOT-INF/lib/aspectjweaver-1.8.10.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_aspectj_weaver_jar_only/BOOT-INF/lib/aspectjweaver-1.8.10.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_aspectj_weaver_meta_inf/BOOT-INF/lib/aspectjweaver-1.8.10.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_aspectj_weaver_meta_inf/BOOT-INF/lib/aspectjweaver-1.8.10.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_aspectj_weaver_meta_inf/META-INF/aop.xml:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_aspectj_weaver_meta_inf/META-INF/aop.xml
--------------------------------------------------------------------------------
/spec/fixtures/framework_auto_reconfiguration_java_cfenv/WEB-INF/lib/java-cfenv-2.1.2.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_auto_reconfiguration_java_cfenv/WEB-INF/lib/java-cfenv-2.1.2.RELEASE.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_auto_reconfiguration_java_cfenv/WEB-INF/lib/java-cfenv-boot-2.1.2.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_auto_reconfiguration_java_cfenv/WEB-INF/lib/java-cfenv-boot-2.1.2.RELEASE.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_auto_reconfiguration_java_cfenv/WEB-INF/lib/java-cfenv-jdbc-2.1.2.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_auto_reconfiguration_java_cfenv/WEB-INF/lib/java-cfenv-jdbc-2.1.2.RELEASE.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_auto_reconfiguration_java_cfenv/WEB-INF/lib/spring-core-3.2.3.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_auto_reconfiguration_java_cfenv/WEB-INF/lib/spring-core-3.2.3.RELEASE.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_auto_reconfiguration_long_spring_jar_name/WEB-INF/lib/org.springframework.spring-core-3.2.3.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_auto_reconfiguration_long_spring_jar_name/WEB-INF/lib/org.springframework.spring-core-3.2.3.RELEASE.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_auto_reconfiguration_scc/WEB-INF/lib/spring-cloud-cloudfoundry-connector-1.2.3.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_auto_reconfiguration_scc/WEB-INF/lib/spring-cloud-cloudfoundry-connector-1.2.3.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_auto_reconfiguration_scc/WEB-INF/lib/spring-core-3.2.3.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_auto_reconfiguration_scc/WEB-INF/lib/spring-core-3.2.3.RELEASE.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_auto_reconfiguration_servlet_3/WEB-INF/lib/spring-core-3.2.3.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_auto_reconfiguration_servlet_3/WEB-INF/lib/spring-core-3.2.3.RELEASE.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_container_customizer/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Spring-Boot-Lib: WEB-INF/lib/
2 | Spring-Boot-Version: 1.3.3.RELEASE
3 | Main-Class: org.springframework.boot.loader.WarLauncher
4 |
5 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_container_customizer/WEB-INF/lib/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_container_customizer/WEB-INF/lib/.gitignore
--------------------------------------------------------------------------------
/spec/fixtures/framework_dynatrace_one_agent/.java-buildpack/dynatrace_one_agent/agent/lib64/liboneagentloader.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_dynatrace_one_agent/.java-buildpack/dynatrace_one_agent/agent/lib64/liboneagentloader.so
--------------------------------------------------------------------------------
/spec/fixtures/framework_dynatrace_one_agent/.java-buildpack/dynatrace_one_agent/agent/lib64/libruxitagentloader.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_dynatrace_one_agent/.java-buildpack/dynatrace_one_agent/agent/lib64/libruxitagentloader.so
--------------------------------------------------------------------------------
/spec/fixtures/framework_dynatrace_one_agent/.java-buildpack/dynatrace_one_agent/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "technologies" : {
3 | "process" : {
4 | "linux-x86-64" : [
5 | {
6 | "path": "agent/lib64/liboneagentproc.so",
7 | "binarytype" : "primary"
8 | }
9 | ]
10 | }
11 | },
12 | "version" : "1.105.147.20160930-153457",
13 | "tenantUUID" : "tenant",
14 | "tenantToken" : "token-from-file",
15 | "communicationEndpoints" : [ "https://endpoint1/communication", "https://endpoint2/communication" ]
16 | }
17 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_java_cf_boot_2/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Spring-Boot-Lib: manifest-lib-value/
2 | Main-Class: org.springframework.boot.loader.JarLauncher
3 | Spring-Boot-Version: 2.1.0.RELEASE
4 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_java_cf_boot_2/WEB-INF/lib/spring-boot-1.0.0.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_java_cf_boot_2/WEB-INF/lib/spring-boot-1.0.0.RELEASE.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_java_cf_boot_3/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Spring-Boot-Lib: manifest-lib-value/
2 | Main-Class: org.springframework.boot.loader.JarLauncher
3 | Spring-Boot-Version: 3.0.0.M1
4 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_java_cf_boot_3/WEB-INF/lib/spring-boot-3.0.0.M1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_java_cf_boot_3/WEB-INF/lib/spring-boot-3.0.0.M1.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_java_cf_exists/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Spring-Boot-Lib: manifest-lib-value/
2 | Spring-Boot-Version: 3.2.5.RELEASE
3 | Main-Class: org.springframework.boot.loader.JarLauncher
4 |
5 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_java_cf_exists/WEB-INF/lib/java-cfenv-2.1.2.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_java_cf_exists/WEB-INF/lib/java-cfenv-2.1.2.RELEASE.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_java_cf_exists/WEB-INF/lib/java-cfenv-boot-2.1.2.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_java_cf_exists/WEB-INF/lib/java-cfenv-boot-2.1.2.RELEASE.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_java_cf_exists/WEB-INF/lib/java-cfenv-jdbc-2.1.2.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_java_cf_exists/WEB-INF/lib/java-cfenv-jdbc-2.1.2.RELEASE.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_java_cf_exists/WEB-INF/lib/spring-boot-3.2.3.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_java_cf_exists/WEB-INF/lib/spring-boot-3.2.3.RELEASE.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_java_not_spring_boot3/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Main-Class: org.springframework.boot.loader.JarLauncher
2 |
3 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_java_not_spring_boot3/WEB-INF/lib/spring-boot-3.2.3.RELEASE.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_java_not_spring_boot3/WEB-INF/lib/spring-boot-3.2.3.RELEASE.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_java_security_networking:
--------------------------------------------------------------------------------
1 | networkaddress.cache.ttl=-1
2 | networkaddress.cache.negative.ttl=-2
3 | security.provider.1=test-security-provider-1
4 | security.provider.2=test-security-provider-2
5 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_java_security_security_providers:
--------------------------------------------------------------------------------
1 | security.provider.1=test-security-provider-1
2 | security.provider.2=test-security-provider-2
3 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_jrebel_app_simple/rebel-remote.xml:
--------------------------------------------------------------------------------
1 |
17 |
18 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_jrebel_app_war/WEB-INF/classes/rebel-remote.xml:
--------------------------------------------------------------------------------
1 |
17 |
18 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_jrebel_app_war_with_jar/WEB-INF/lib/dependency.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_jrebel_app_war_with_jar/WEB-INF/lib/dependency.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_jrebel_jar_directory/dependency.jar/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_jrebel_jar_directory/dependency.jar/.gitkeep
--------------------------------------------------------------------------------
/spec/fixtures/framework_luna_security_provider/client-certificate.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | test-client-cert
3 | -----END CERTIFICATE-----
4 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_luna_security_provider/client-private-key.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN RSA PRIVATE KEY-----
2 | test-client-private-key
3 | -----END RSA PRIVATE KEY-----
4 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_luna_security_provider/server-certificates.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | test-server-1-cert
3 | -----END CERTIFICATE-----
4 | -----BEGIN CERTIFICATE-----
5 | test-server-2-cert
6 | -----END CERTIFICATE-----
7 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_luna_security_provider_logging/client-certificate.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | test-client-cert
3 | -----END CERTIFICATE-----
4 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_luna_security_provider_logging/client-private-key.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN RSA PRIVATE KEY-----
2 | test-client-private-key
3 | -----END RSA PRIVATE KEY-----
4 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_luna_security_provider_logging/server-certificates.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | test-server-1-cert
3 | -----END CERTIFICATE-----
4 | -----BEGIN CERTIFICATE-----
5 | test-server-2-cert
6 | -----END CERTIFICATE-----
7 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_luna_security_provider_tcp_keep_alive/client-certificate.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | test-client-cert
3 | -----END CERTIFICATE-----
4 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_luna_security_provider_tcp_keep_alive/client-private-key.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN RSA PRIVATE KEY-----
2 | test-client-private-key
3 | -----END RSA PRIVATE KEY-----
4 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_luna_security_provider_tcp_keep_alive/server-certificates.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | test-server-1-cert
3 | -----END CERTIFICATE-----
4 | -----BEGIN CERTIFICATE-----
5 | test-server-2-cert
6 | -----END CERTIFICATE-----
7 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_mariadb_jdbc_with_driver/WEB-INF/lib/mariadb-java-client-0.0.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_mariadb_jdbc_with_driver/WEB-INF/lib/mariadb-java-client-0.0.0.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_mariadb_jdbc_with_mysql_driver/WEB-INF/lib/mysql-connector-java-5.1.27-bin.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_mariadb_jdbc_with_mysql_driver/WEB-INF/lib/mysql-connector-java-5.1.27-bin.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_mariadb_jdbc_with_new_mysql_driver/WEB-INF/lib/mysql-connector-j-8.0.33.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_mariadb_jdbc_with_new_mysql_driver/WEB-INF/lib/mysql-connector-j-8.0.33.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_metric_writer/micrometer-core-1.1.5.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_metric_writer/micrometer-core-1.1.5.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_multi_buildpack_deps/0/0/bin/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_multi_buildpack_deps/0/0/bin/.gitkeep
--------------------------------------------------------------------------------
/spec/fixtures/framework_multi_buildpack_deps/0/0/config.yml:
--------------------------------------------------------------------------------
1 | ---
2 | name: test-buildpack-0-0
3 | config: {}
4 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_multi_buildpack_deps/0/0/lib/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_multi_buildpack_deps/0/0/lib/.gitkeep
--------------------------------------------------------------------------------
/spec/fixtures/framework_multi_buildpack_deps/0/1/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_multi_buildpack_deps/0/1/.gitkeep
--------------------------------------------------------------------------------
/spec/fixtures/framework_multi_buildpack_deps/1/0/bin/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_multi_buildpack_deps/1/0/bin/.gitkeep
--------------------------------------------------------------------------------
/spec/fixtures/framework_multi_buildpack_deps/1/0/config.yml:
--------------------------------------------------------------------------------
1 | ---
2 | name: test-buildpack-1-0
3 | config: {}
4 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_multi_buildpack_deps/1/0/lib/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_multi_buildpack_deps/1/0/lib/.gitkeep
--------------------------------------------------------------------------------
/spec/fixtures/framework_multi_buildpack_deps/1/1/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_multi_buildpack_deps/1/1/.gitkeep
--------------------------------------------------------------------------------
/spec/fixtures/framework_multi_buildpack_deps/2/0/bin/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_multi_buildpack_deps/2/0/bin/.gitkeep
--------------------------------------------------------------------------------
/spec/fixtures/framework_multi_buildpack_deps/2/0/config.yml:
--------------------------------------------------------------------------------
1 | ---
2 | name: test-buildpack-2-0
3 | config: {}
4 |
--------------------------------------------------------------------------------
/spec/fixtures/framework_multi_buildpack_deps/2/0/lib/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_multi_buildpack_deps/2/0/lib/.gitkeep
--------------------------------------------------------------------------------
/spec/fixtures/framework_multi_buildpack_deps/2/1/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_multi_buildpack_deps/2/1/.gitkeep
--------------------------------------------------------------------------------
/spec/fixtures/framework_play_jpa_plugin_dist/application_root/lib/play.play-java-jpa_2.10-2.1.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_play_jpa_plugin_dist/application_root/lib/play.play-java-jpa_2.10-2.1.2.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_play_jpa_plugin_dist/application_root/lib/play.play_2.10-2.1.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_play_jpa_plugin_dist/application_root/lib/play.play_2.10-2.1.2.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_play_jpa_plugin_dist/application_root/start:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_play_jpa_plugin_dist/application_root/start
--------------------------------------------------------------------------------
/spec/fixtures/framework_play_jpa_plugin_play20/staged/play.play_2.9.1-2.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_play_jpa_plugin_play20/staged/play.play_2.9.1-2.0.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_play_jpa_plugin_play20/start:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_play_jpa_plugin_play20/start
--------------------------------------------------------------------------------
/spec/fixtures/framework_play_jpa_plugin_staged/staged/play-java-jpa_2.10.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_play_jpa_plugin_staged/staged/play-java-jpa_2.10.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_play_jpa_plugin_staged/staged/play_2.10-2.1.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_play_jpa_plugin_staged/staged/play_2.10-2.1.2.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_play_jpa_plugin_staged/start:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_play_jpa_plugin_staged/start
--------------------------------------------------------------------------------
/spec/fixtures/framework_postgresql_jdbc_with_driver/WEB-INF/lib/postgresql-9.3-1100-jdbc41.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_postgresql_jdbc_with_driver/WEB-INF/lib/postgresql-9.3-1100-jdbc41.jar
--------------------------------------------------------------------------------
/spec/fixtures/framework_spring_insight/.java-buildpack/spring_insight/weaver/insight-weaver-1.2.4-CI-SNAPSHOT.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/framework_spring_insight/.java-buildpack/spring_insight/weaver/insight-weaver-1.2.4-CI-SNAPSHOT.jar
--------------------------------------------------------------------------------
/spec/fixtures/integration_long_detect_tag/config/components.yml:
--------------------------------------------------------------------------------
1 | # Cloud Foundry Java Buildpack
2 | # Copyright 2013-2020 the original author or authors.
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
16 | # Configuration for components to use in the buildpack
17 | ---
18 | containers:
19 | - "JavaBuildpack::Container::LongDetectTags"
20 |
21 | # In order to use Oracle JREs instead of OpenJDK, you must comment out the OpenJDK line and uncomment the Oracle line.
22 | # Please see the documentation for more detail.
23 | jres:
24 | - "JavaBuildpack::Jre::OpenJdkJRE"
25 | # - "JavaBuildpack::Jre::OracleJRE"
26 |
27 | frameworks: []
28 |
--------------------------------------------------------------------------------
/spec/fixtures/integration_valid/BOOT-INF/lib/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/integration_valid/BOOT-INF/lib/.gitignore
--------------------------------------------------------------------------------
/spec/fixtures/integration_valid/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Main-Class: io.pivotal.SimpleJava
3 |
4 |
--------------------------------------------------------------------------------
/spec/fixtures/integration_valid/io/pivotal/SimpleJava.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/integration_valid/io/pivotal/SimpleJava.class
--------------------------------------------------------------------------------
/spec/fixtures/integration_valid/system.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Cloud Foundry Java Buildpack
3 | # Copyright 2013-2020 the original author or authors.
4 | #
5 | # Licensed under the Apache License, Version 2.0 (the "License");
6 | # you may not use this file except in compliance with the License.
7 | # You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | #
17 |
18 | java.runtime.version=1.7.0_+
19 |
--------------------------------------------------------------------------------
/spec/fixtures/jre_memory_calculator_application/bat.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/jre_memory_calculator_application/bat.class
--------------------------------------------------------------------------------
/spec/fixtures/jre_memory_calculator_application/foo.class_with_suffix:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/jre_memory_calculator_application/foo.class_with_suffix
--------------------------------------------------------------------------------
/spec/fixtures/jre_memory_calculator_application/stub-library.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/jre_memory_calculator_application/stub-library.jar
--------------------------------------------------------------------------------
/spec/fixtures/jre_memory_calculator_jar_directory/dependency.jar/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/jre_memory_calculator_jar_directory/dependency.jar/.gitkeep
--------------------------------------------------------------------------------
/spec/fixtures/root_libs/test-jar-3.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/root_libs/test-jar-3.jar
--------------------------------------------------------------------------------
/spec/fixtures/root_libs/test-jar-4.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/root_libs/test-jar-4.jar
--------------------------------------------------------------------------------
/spec/fixtures/stashed_repository_index.yml:
--------------------------------------------------------------------------------
1 | ---
2 | 1.0.1: http://foo.com/test.txt
--------------------------------------------------------------------------------
/spec/fixtures/stub-access-logging-support.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-access-logging-support.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-app-dynamics-agent.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-app-dynamics-agent.zip
--------------------------------------------------------------------------------
/spec/fixtures/stub-auto-reconfiguration.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-auto-reconfiguration.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-azure-application-insights-agent.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-azure-application-insights-agent.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-checkmarx-agent.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-checkmarx-agent.zip
--------------------------------------------------------------------------------
/spec/fixtures/stub-client-certificate-mapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-client-certificate-mapper.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-container-customizer.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-container-customizer.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-container-security-provider.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-container-security-provider.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-contrast-security-agent.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-contrast-security-agent.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-datadog-javaagent.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-datadog-javaagent.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-download-with-top-level.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-download-with-top-level.zip
--------------------------------------------------------------------------------
/spec/fixtures/stub-download.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-download.bin
--------------------------------------------------------------------------------
/spec/fixtures/stub-download.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-download.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-download.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-download.tar.gz
--------------------------------------------------------------------------------
/spec/fixtures/stub-download.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-download.zip
--------------------------------------------------------------------------------
/spec/fixtures/stub-dynatrace-appmon-agent.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-dynatrace-appmon-agent.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-dynatrace-one-agent.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-dynatrace-one-agent.zip
--------------------------------------------------------------------------------
/spec/fixtures/stub-elastic-apm-agent.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-elastic-apm-agent.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-geode-store-no-geode-tomcat.tar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-geode-store-no-geode-tomcat.tar
--------------------------------------------------------------------------------
/spec/fixtures/stub-geode-store-no-tomcat-version.tar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-geode-store-no-tomcat-version.tar
--------------------------------------------------------------------------------
/spec/fixtures/stub-geode-store-tomcat-multi-version.tar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-geode-store-tomcat-multi-version.tar
--------------------------------------------------------------------------------
/spec/fixtures/stub-geode-store.tar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-geode-store.tar
--------------------------------------------------------------------------------
/spec/fixtures/stub-google-stackdriver-debugger.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-google-stackdriver-debugger.tar.gz
--------------------------------------------------------------------------------
/spec/fixtures/stub-google-stackdriver-profiler.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-google-stackdriver-profiler.tar.gz
--------------------------------------------------------------------------------
/spec/fixtures/stub-groovy.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-groovy.zip
--------------------------------------------------------------------------------
/spec/fixtures/stub-insight-agent.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-insight-agent.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-jacoco-agent.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-jacoco-agent.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-java-cfenv.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-java-cfenv.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-java-memory-assistant-cleanup.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-java-memory-assistant-cleanup.zip
--------------------------------------------------------------------------------
/spec/fixtures/stub-java.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-java.bin
--------------------------------------------------------------------------------
/spec/fixtures/stub-java.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-java.tar.gz
--------------------------------------------------------------------------------
/spec/fixtures/stub-jprofiler-profiler.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-jprofiler-profiler.tar.gz
--------------------------------------------------------------------------------
/spec/fixtures/stub-jrebel-archive.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-jrebel-archive.zip
--------------------------------------------------------------------------------
/spec/fixtures/stub-jvmkill-agent:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-jvmkill-agent
--------------------------------------------------------------------------------
/spec/fixtures/stub-lifecycle-support.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-lifecycle-support.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-logging-support.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-logging-support.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-mariadb-java-client.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-mariadb-java-client.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-memory-calculator.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-memory-calculator.tar.gz
--------------------------------------------------------------------------------
/spec/fixtures/stub-metric-writer.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-metric-writer.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-new-relic-agent.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-new-relic-agent.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-new-relic-extensions.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-new-relic-extensions.tar.gz
--------------------------------------------------------------------------------
/spec/fixtures/stub-play-jpa-plugin.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-play-jpa-plugin.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-postgresql-0.0-0000-jdbc00.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-postgresql-0.0-0000-jdbc00.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-protect-app-security-provider.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-protect-app-security-provider.zip
--------------------------------------------------------------------------------
/spec/fixtures/stub-redis-store.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-redis-store.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-riverbed-appinternals-agent.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-riverbed-appinternals-agent.zip
--------------------------------------------------------------------------------
/spec/fixtures/stub-seeker-agent.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-seeker-agent.zip
--------------------------------------------------------------------------------
/spec/fixtures/stub-skywalking-agent.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-skywalking-agent.tar.gz
--------------------------------------------------------------------------------
/spec/fixtures/stub-splunk-otel-javaagent.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-splunk-otel-javaagent.jar
--------------------------------------------------------------------------------
/spec/fixtures/stub-spring-boot-cli.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-spring-boot-cli.tar.gz
--------------------------------------------------------------------------------
/spec/fixtures/stub-takipi-agent.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-takipi-agent.tar.gz
--------------------------------------------------------------------------------
/spec/fixtures/stub-tomcat-external-configuration.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-tomcat-external-configuration.tar.gz
--------------------------------------------------------------------------------
/spec/fixtures/stub-tomcat.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-tomcat.tar.gz
--------------------------------------------------------------------------------
/spec/fixtures/stub-tomcat7.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-tomcat7.tar.gz
--------------------------------------------------------------------------------
/spec/fixtures/stub-your-kit-profiler.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/cloudfoundry/java-buildpack/1c46ab6588120feabb0315364f56939790f383b4/spec/fixtures/stub-your-kit-profiler.so
--------------------------------------------------------------------------------
/spec/fixtures/test-index.yml:
--------------------------------------------------------------------------------
1 | ---
2 | resolved-version: resolved-uri
3 |
--------------------------------------------------------------------------------
/spec/fixtures/test.properties:
--------------------------------------------------------------------------------
1 |
2 | #
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 |
19 | # Comment line
20 | ! Comment line 2
21 | alpha=bravo
22 | charlie:delta
23 | echo = foxtrot
24 | golf
25 | Main-Class: com.gopivotal.SimpleJava
26 | hotel.india=-Djuliet=kilo
27 | lima=-XX:mike="november oscar"
28 | poppa: queb
29 | ec
30 |
--------------------------------------------------------------------------------
/spec/internet_availability_helper.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'spec_helper'
19 | require 'logging_helper'
20 | require 'java_buildpack/util/cache/internet_availability'
21 |
22 | shared_context 'with internet availability help' do
23 | include_context 'with logging help'
24 |
25 | # Re-initialize internet availability
26 | before do |example|
27 | JavaBuildpack::Util::Cache::InternetAvailability.instance.send :initialize
28 | JavaBuildpack::Util::Cache::InternetAvailability.instance.available false if example.metadata[:disable_internet]
29 | end
30 |
31 | end
32 |
--------------------------------------------------------------------------------
/spec/java_buildpack/util/cache/yield_file_with_content.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'rspec/expectations'
19 | require 'rspec/matchers/built_in/yield'
20 |
21 | RSpec::Matchers.define :yield_file_with_content do |expected|
22 | match do |block|
23 | probe = RSpec::Matchers::BuiltIn::YieldProbe.probe(block)
24 | probe.yielded_once?(:yield_with_args) && content(probe.single_yield_args.first) =~ expected
25 | end
26 |
27 | supports_block_expectations
28 |
29 | def content(file)
30 | File.read(file)
31 | end
32 | end
33 |
--------------------------------------------------------------------------------
/spec/java_buildpack/util/play/pre22_spec.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'spec_helper'
19 | require 'application_helper'
20 | require 'droplet_helper'
21 | require 'java_buildpack/util/play/pre22'
22 |
23 | describe JavaBuildpack::Util::Play::Pre22 do
24 | include_context 'with application help'
25 | include_context 'with droplet help'
26 |
27 | let(:play_app) { described_class.new(droplet) }
28 |
29 | it 'raises error if root method is unimplemented' do
30 | expect { play_app.send(:root) }.to raise_error "Method 'root' must be defined"
31 | end
32 |
33 | end
34 |
--------------------------------------------------------------------------------
/spec/memory_limit_helper.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'spec_helper'
19 |
20 | shared_context 'with memory limit help' do
21 |
22 | previous_memory_limit = ENV.fetch('MEMORY_LIMIT', nil)
23 |
24 | before do |example|
25 | memory_limit = example.metadata[:memory_limit]
26 | ENV['MEMORY_LIMIT'] = memory_limit if memory_limit
27 | end
28 |
29 | after do
30 | ENV['MEMORY_LIMIT'] = previous_memory_limit
31 | end
32 |
33 | end
34 |
--------------------------------------------------------------------------------
/spec/spec_helper.rb:
--------------------------------------------------------------------------------
1 | # frozen_string_literal: true
2 |
3 | # Cloud Foundry Java Buildpack
4 | # Copyright 2013-2020 the original author or authors.
5 | #
6 | # Licensed under the Apache License, Version 2.0 (the "License");
7 | # you may not use this file except in compliance with the License.
8 | # You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | require 'webmock/rspec'
19 | WebMock.disable_net_connect!(allow: 'codeclimate.com')
20 |
21 | require 'java_buildpack/util/cache/yield_file_with_content'
22 |
23 | RSpec.configure do |config|
24 | config.run_all_when_everything_filtered = true
25 | config.filter_run :focus
26 | end
27 |
--------------------------------------------------------------------------------