A CI plan to test SCT against the latest JVM

Build: #55 failed Changes by 3 people

Code commits

Git

  • Glenn Renfro

    Glenn Renfro 7490f8b82026c175902e0b3bbefd0d5d69b9104b

    Initialize values with properties vs value
    resolves #SCT-587

    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/configuration/SimpleTaskAutoConfiguration.java (version 7490f8b82026c175902e0b3bbefd0d5d69b9104b)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/configuration/TaskProperties.java (version 7490f8b82026c175902e0b3bbefd0d5d69b9104b)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/repository/support/TaskRepositoryInitializer.java (version 7490f8b82026c175902e0b3bbefd0d5d69b9104b)
    • spring-cloud-task-core/src/test/java/org/springframework/cloud/task/configuration/TaskPropertiesTests.java (version 7490f8b82026c175902e0b3bbefd0d5d69b9104b)
    • spring-cloud-task-core/src/test/java/org/springframework/cloud/task/configuration/TestConfiguration.java (version 7490f8b82026c175902e0b3bbefd0d5d69b9104b)
    • spring-cloud-task-docs/src/main/asciidoc/features.adoc (version 7490f8b82026c175902e0b3bbefd0d5d69b9104b)
    • spring-cloud-task-integration-tests/src/test/java/org/springframework/cloud/task/executionid/TaskStartTests.java (version 7490f8b82026c175902e0b3bbefd0d5d69b9104b)
    • spring-cloud-task-integration-tests/src/test/java/org/springframework/cloud/task/initializer/TaskInitializerTests.java (version 7490f8b82026c175902e0b3bbefd0d5d69b9104b)
    • spring-cloud-task-integration-tests/src/test/java/org/springframework/cloud/task/launcher/TaskLauncherSinkTests.java (version 7490f8b82026c175902e0b3bbefd0d5d69b9104b)
    • spring-cloud-task-samples/partitioned-batch-job/src/main/java/io/spring/JobConfiguration.java (version 7490f8b82026c175902e0b3bbefd0d5d69b9104b)
  • Michael Minella

    Michael Minella 0af72e31acc2d70fa4fb0258ae83fdfafa9e887b

    Polish

    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/configuration/CloudFoundryMicrometerTagsConfiguration.java (version 0af72e31acc2d70fa4fb0258ae83fdfafa9e887b)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/configuration/MetricsAutoConfiguration.java (version 0af72e31acc2d70fa4fb0258ae83fdfafa9e887b)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/configuration/SpringCloudTaskMicrometerCommonTagsConfiguration.java (version 0af72e31acc2d70fa4fb0258ae83fdfafa9e887b)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/listener/TaskLifecycleListener.java (version 0af72e31acc2d70fa4fb0258ae83fdfafa9e887b)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/listener/TaskMetrics.java (version 0af72e31acc2d70fa4fb0258ae83fdfafa9e887b)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/metrics/fork/MeterRegistryCustomizer.java (version 0af72e31acc2d70fa4fb0258ae83fdfafa9e887b)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/metrics/fork/MetricsAutoConfiguration.java (version 0af72e31acc2d70fa4fb0258ae83fdfafa9e887b)
    • spring-cloud-task-core/src/main/resources/META-INF/spring.factories (version 0af72e31acc2d70fa4fb0258ae83fdfafa9e887b)
    • spring-cloud-task-core/src/test/java/org/springframework/cloud/task/micrometer/TaskMetricsTests.java (version 0af72e31acc2d70fa4fb0258ae83fdfafa9e887b)
  • Christian Tzolov

    Christian Tzolov d4b51a074bcf949f91a038a15169375da57151de

    Add Micrometer support for Task applications
     - New dependencies
       - micrometer-core
       - java-cfenv - required by the CF tags configuration.
     - Add TaskMetrics configuration that installs two Meters (Timer and LongTaskTimer) that produce the following time-series:
       - spring.cloud.task - shows task duration (updated only after the task has completed).
       - spring.cloud.task.active - provides run time information about the non-completed tasks.
       Both meters are started at TaskExecutionListener#onTaskStartup() and ended at onTaskEnd() or onTaskFailure().
     - Add common Task tags assigned to all time-series produced by the Task (not only the s.c.task and s.c.task.active). This allows to analyze CPU, Memory and other measurements grouped by task/execution ids.
     - Add Cloud Found tags - Activated only for CF target platform.

     Resolves #608

    • spring-cloud-task-core/pom.xml (version d4b51a074bcf949f91a038a15169375da57151de)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/configuration/CloudFoundryMicrometerTagsConfiguration.java (version d4b51a074bcf949f91a038a15169375da57151de)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/configuration/SpringCloudTaskMicrometerCommonTagsConfiguration.java (version d4b51a074bcf949f91a038a15169375da57151de)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/listener/TaskLifecycleListener.java (version d4b51a074bcf949f91a038a15169375da57151de)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/listener/TaskMetrics.java (version d4b51a074bcf949f91a038a15169375da57151de)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/metrics/fork/MeterRegistryCustomizer.java (version d4b51a074bcf949f91a038a15169375da57151de)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/metrics/fork/MetricsAutoConfiguration.java (version d4b51a074bcf949f91a038a15169375da57151de)
    • spring-cloud-task-core/src/main/resources/META-INF/spring.factories (version d4b51a074bcf949f91a038a15169375da57151de)
    • spring-cloud-task-core/src/test/java/org/springframework/cloud/task/micrometer/AbstractMicrometerTest.java (version d4b51a074bcf949f91a038a15169375da57151de)
    • spring-cloud-task-core/src/test/java/org/springframework/cloud/task/micrometer/CloudFoundryMicrometerTagsConfigurationTest.java (version d4b51a074bcf949f91a038a15169375da57151de)
    • spring-cloud-task-core/src/test/java/org/springframework/cloud/task/micrometer/SpringCloudTaskMicrometerCommonTagsConfigurationTest.java (version d4b51a074bcf949f91a038a15169375da57151de)
    • spring-cloud-task-core/src/test/java/org/springframework/cloud/task/micrometer/TaskMetricsTests.java (version d4b51a074bcf949f91a038a15169375da57151de)
    • spring-cloud-task-core/src/test/resources/micrometer/pcf-scs-info.json (version d4b51a074bcf949f91a038a15169375da57151de)
    • spring-cloud-task-dependencies/pom.xml (version d4b51a074bcf949f91a038a15169375da57151de)