spring-cloud-task

Does spring-cloud-dataflow provide support for scheduling applications defined as tasks?

霸气de小男生 提交于 2020-02-20 06:10:12
问题 I have been looking at using projects built using spring-cloud-task within spring-cloud-dataflow. Having looked at the example projects and the documentation, the indication seems to be that tasks are launched manually through the dashboard or the shell. Does spring-cloud-dataflow provide any way of scheduling task definitions so that they can run for example on a cron schedule? I.e. Can you create a spring-cloud-task app which itself has no knowledge of a schedule, but deploy it to the

How to execute spring cloud task using rest-api

非 Y 不嫁゛ 提交于 2020-01-24 19:29:25
问题 I know a cloud task can be scheduled and can be configured using stream also to be executed. As a developer I want to execute my spring cloud task using rest-api so that I can execute the task on demand. Basically i have a work flow management system and we are using control-m agent. So now some of the jobs will be executed by control-m and some of the task will be deployed on spring cloud dataflow server. Now when one job completes then other job which is there on cloud has to be executed.

How to execute spring cloud task using rest-api

混江龙づ霸主 提交于 2020-01-24 19:29:09
问题 I know a cloud task can be scheduled and can be configured using stream also to be executed. As a developer I want to execute my spring cloud task using rest-api so that I can execute the task on demand. Basically i have a work flow management system and we are using control-m agent. So now some of the jobs will be executed by control-m and some of the task will be deployed on spring cloud dataflow server. Now when one job completes then other job which is there on cloud has to be executed.

spring-cloud-task how to pass messages or flag between two apps

旧城冷巷雨未停 提交于 2019-12-31 05:28:06
问题 I have already made a Ingestion job using spring batch which reads xml file and ingest into AEM and its working fine. Now, I am trying to convert this apps into Spring cloud Task. I want to split this apps into 4 different part which is individual apps. I need to connect them into spring cloud data workflow and pass some data and flags based on that next flow will be execute. Is it possible on spring cloud Task? if yes then how can I bind them? please provide some programming tutorial. 回答1:

Spring Cloud data flow does not show Spring cloud task execution details

孤人 提交于 2019-12-25 09:39:31
问题 The Spring cloud dataflow documentation mentions When executing tasks externally (i.e. command line) and you wish for Spring Cloud Data Flow to show the TaskExecutions in its UI, be sure that common datasource settings are shared among the both. By default Spring Cloud Task will use a local H2 instance and the execution will not be recorded to the database used by Spring Cloud Data Flow. I am new to Spring cloud dataflow and spring cloud task. Can somebody help me how to setup a common

How to run a spring application on cloud foundry as a one-off task using the java buildpack

99封情书 提交于 2019-12-23 10:43:23
问题 I would like to run a spring application on cloudfoundry as a one-off task using the java buildpack. Please note that my app is not a web application but a spring batch application that also uses spring cloud task. Here is my manifest: --- buildpack: https://github.com/cloudfoundry/java-buildpack.git memory: 1024M env: APPLICATION_URL: http://bignibou-server.cfapps.io/ APPLICATION_MAIL_NO_REPLY_ADDRESS: balteo@bignibou-server.cfapps.io SPRING_PROFILES_ACTIVE: cloud applications: - name:

How to run a spring application on cloud foundry as a one-off task using the java buildpack

假装没事ソ 提交于 2019-12-23 10:42:23
问题 I would like to run a spring application on cloudfoundry as a one-off task using the java buildpack. Please note that my app is not a web application but a spring batch application that also uses spring cloud task. Here is my manifest: --- buildpack: https://github.com/cloudfoundry/java-buildpack.git memory: 1024M env: APPLICATION_URL: http://bignibou-server.cfapps.io/ APPLICATION_MAIL_NO_REPLY_ADDRESS: balteo@bignibou-server.cfapps.io SPRING_PROFILES_ACTIVE: cloud applications: - name:

Unable to deploy/run tasks on Pivotal CF from Spring Cloud Dataflow container error CF-UnprocessableEntity(10008)

空扰寡人 提交于 2019-12-12 04:14:24
问题 Trying to deploy a Java Spring Boot App/Task using Spring Cloud Data Flow. But it fails with foloowing exception CF-UnprocessableEntity(10008): The request is semantically invalid: Task must have a droplet. Specify droplet or assign current droplet to app. Tried the solutions below by SPRING_CLOUD_DEPLOYER_CLOUDFOUNDRY_API-TIMEOUT to 720 and SPRING_CLOUD_DEPLOYER_CLOUDFOUNDRY_TASK_TASK_TIMEOUT to 360 did not work. TaskLauncher cloudfoundry Problems with Tasklaunching https://github.com/spring

Spring Cloud Task status shown as complete even when the batch job fails

谁说我不能喝 提交于 2019-12-11 19:47:53
问题 I have a task with 2 batch jobs, both jobs run but one of them fails. The status of the particular task is still shown as complete. i read about setting the spring.cloud.task.batch.failOnJobFailure property. When i set this property to true while running the task it gives me the following error: o.s.boot.SpringApplication : Application startup failed java.lang.AbstractMethodError: null at org.springframework.beans.factory.support.AbstractBeanFactory.isSingleton(AbstractBeanFactory.java:402) ~

Getting Oracle 11.2 Unsupported Error when using Spring Cloud Data Flow 2.0.1

匆匆过客 提交于 2019-12-11 08:59:33
问题 I am trying to set up SCDF 2.x (Spring Cloud Data Flow) server, to register Spring Boot applications (e.g. Tasks type) , to leverage out of box administration and other capabilities. In setting up SCDF 2.x, was trying to connect to new 'dataflow' schema on Oracle 11.2 (for job registry), but upon starting the dataflow server from command line (with Oracle JDBC in classpath), getting below error. Any suggestions will be helpful to resolve (as we are tied to Oracle as enterprise supported. org