Ilayaperumal Gopinathan 324abd4e5c Exit code is nullable
- Make exit code nullable and only update of execution status can make it a valid integer
 - Update JDBC create/start task execution queries to have exitCode as `null` values
 - Update tests to validate/verify the appropirate exit code values for create/start/complete task executions

On merge had to add a pause to the TaskLauncherSinkTests to wait for the task to complete successfully   Before we assumed that 0 was a satisfactory result meaning it was either running or completed.    Now with the null being returned it could be zero or null.  So we have to wait for the task to complete.
2018-11-02 14:45:55 -04:00
2015-11-20 14:42:22 -06:00
2016-02-02 11:44:33 -06:00
2015-09-02 15:12:00 -05:00
2016-09-21 15:22:15 -04:00
2016-01-08 16:49:24 -06:00
2018-11-01 10:43:31 -05:00

= Spring Cloud Task image:https://build.spring.io/plugins/servlet/wittified/build-status/SCT-STASK[Build Status, link=https://build.spring.io/browse/SCT-STASK] image:https://badge.waffle.io/spring-cloud/spring-cloud-task.svg?label=ready&title=Ready[Stories in Ready, link=http://waffle.io/spring-cloud/spring-cloud-task] image:https://badge.waffle.io/spring-cloud/spring-cloud-task.svg?label=In%20Progress&title=In%20Progress[Stories in Progress, link=http://waffle.io/spring-cloud/spring-cloud-task]

image:https://badges.gitter.im/spring-cloud/spring-cloud-task.svg[link="https://gitter.im/spring-cloud/spring-cloud-task?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"]

Is a project centered around the idea of processing on demand.  A user is able to develop
a “task” that can be deployed, executed and removed on demand, yet the result of the
process persists beyond the life of the task for future reporting.


== Requirements:

* Java 7 or Above

== Build Main Project:

[source,shell,indent=2]
----
$ ./mvnw clean install
----

== Example:

[source,java,indent=2]
----
@SpringBootApplication
public class MyApp {

	@Bean
	public MyTaskApplication myTask() {
		return new MyTaskApplication();
	}

	public static void main(String[] args) {
		SpringApplication.run(MyApp.class);
	}

	public static class MyTaskApplication implements CommandLineRunner {

		@Override
		public void run(String... strings) throws Exception {
			System.out.println("Hello World");
		}
	}
}
----

== Code of Conduct
This project adheres to the Contributor Covenant link:CODE_OF_CONDUCT.adoc[code of conduct]. By participating, you  are expected to uphold this code. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.
Description
No description provided
Readme Apache-2.0 6.6 MiB
Languages
Java 92.4%
XSLT 6.4%
CSS 1.1%