/spring-cloud-task

Short lived microservices with Spring Batch

Primary LanguageJavaApache License 2.0Apache-2.0

Spring Cloud Task Build Status

spring cloud task

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 8 or Above

Build Main Project:

  $ ./mvnw clean install

Example:

  @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 code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.

Building the Project

This project requires that you invoke the Javadoc engine from the Maven command line. You can do so by appending javadoc:aggregate to the rest of your Maven command. For example, to build the entire project, you could use ./mvnw -Pfull javadoc:aggregate.