Build #362

Builds the Spring Cloud Task project

Build: #362 failed Changes by Glenn Renfro

Code commits

Git

  • Glenn Renfro

    Glenn Renfro d8a73ba1835e83de8568dc0c3569916858d85987

    Prevent a task from starting if an inst with the same name is running.
    resolves #81

    Using LockRegistryLeaderInitiator to do leadership election.

    When task is started and singleInstanceEnabled isset to true then we use leader election
    to determine if a task needs to be started.

    Error Event Name had to be updated

    • spring-cloud-task-core/pom.xml (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/configuration/EnableTask.java (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/configuration/SingleInstanceTaskListener.java (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/configuration/SingleTaskConfiguration.java (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/configuration/TaskProperties.java (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-core/src/main/java/org/springframework/cloud/task/listener/TaskLifecycleListener.java (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/schema-db2.sql (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/schema-h2.sql (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/schema-hsqldb.sql (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/schema-mysql.sql (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/schema-oracle10g.sql (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/schema-postgresql.sql (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/schema-sqlserver.sql (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-core/src/test/java/org/springframework/cloud/task/SimpleSingleTaskAutoConfigurationTests.java (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-core/src/test/java/org/springframework/cloud/task/SimpleSingleTaskAutoConfigurationWithDataSourceTests.java (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-core/src/test/java/org/springframework/cloud/task/listener/TaskLifecycleListenerTests.java (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-docs/src/main/asciidoc/features.adoc (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-integration-tests/pom.xml (version d8a73ba1835e83de8568dc0c3569916858d85987)
    • spring-cloud-task-integration-tests/src/test/java/org/springframework/cloud/task/executionid/TaskStartTests.java (version d8a73ba1835e83de8568dc0c3569916858d85987)