Commit Graph

74 Commits

Author SHA1 Message Date
Glenn Renfro
24a54b954b Updated libs-snapshot to snapshot for test dependencies and props 2023-05-01 16:17:04 -04:00
Glenn Renfro
ba28df6dc0 Updated to replace dependency for stream tests 2022-12-01 08:42:54 -05:00
Henning Poettker
acdf72b771 Add runtime hint 2022-11-22 02:49:54 +01:00
Glenn Renfro
28650f6f6c Removing hint for ChunkOrientedTasklet
This caused side effects for tasks that do not include batch.
This hint belongs in Spring Batch.
2022-11-21 15:18:12 -05:00
Henning Poettker
545748b91a Add runtime hints for TaskBatchEventListenerBeanPostProcessor 2022-11-20 18:03:36 -05:00
Henning Poettker
b8f5b0a1dc Remove bean post processor warning 2022-11-20 19:15:22 +01:00
Glenn Renfro
667852e348 Autoconfiguration files are now annotated with @Autoconfiguration
This is a new standard for boot 3.0
Replaced deprecated constructors for batch test
Added Oracle migration script for ordered sequence
2022-10-19 14:23:12 -04:00
Glenn Renfro
a0fda4bf6e Set Spring Cloud Task Date Strategy to match Batch
resolves #868
Signed-off-by: Glenn Renfro <grenfro@vmware.com>

Updated the timestamps for H2,oracle, db2, hsqldb to be 9 digits for improved accuracy
2022-10-18 14:20:57 -04:00
Glenn Renfro
61f69265a1 Updated Task to support LocalDateTime from Spring Batch 2022-10-12 11:44:02 -04:00
Glenn Renfro
2ef93291fc Updated Task to the latests snapshot of Micrometer
Updated to handle the batch changes

Removing aot execution from sample apps

Remove snapshot version and rely on bom

Signed-off-by: Glenn Renfro <grenfro@vmware.com>
2022-10-10 14:36:14 -04:00
Glenn Renfro
b0525c72e5 Fixed errors from Javadocs 2022-09-30 08:45:29 -04:00
Glenn Renfro
07a3996b69 Updated to include deployer auto configure
Updated dependencies for release
2022-09-22 13:02:26 -04:00
Glenn Renfro
3609e53751 Updated Observation code to use the updates offered by the Micrometer snapshot 2022-09-06 17:33:13 -04:00
Glenn Renfro
a58410cae4 Replace Factories with import files 2022-08-02 20:01:38 -04:00
Glenn Renfro
76a5d12136 Updated to files to fit the Standard. 2022-07-25 11:41:43 -04:00
Glenn Renfro
c353d68396 Boot updated bom to use batch 5.x
Updated code to remove new deprecations
Updated code to fix compilation errors.
Updated code to add new bits for tests
2022-01-18 14:30:20 -05:00
Glenn Renfro
02b44227d4 Updated project to use Spring Boot 3.0
Resolves issues:
TASK-810
TASK-812
TASK-813
2022-01-13 20:11:55 -05:00
Glenn Renfro
449595a4b2 Updated base project to 3.x 2022-01-03 14:08:58 -05:00
Glenn Renfro
78f27ef26d Base Task Sink Case with Tests works
In process of migrating batch-events to streambridge

BatchEvents Migrated

Integration tests for TaskSink now work

Batch Event Integration Tests updated

Added tests to batch events

Event integration tests added

Updated with the last bit of tests

baseline polishing
2022-01-03 14:08:50 -05:00
Glenn Renfro
fb5d4b6573 SingleStepBatch Job can be used with spring-cloud-task-stream
resolves #799

Added config to reduce testcontainer logging

Updated to use task starter
2021-10-21 16:47:21 -04:00
Glenn Renfro
3102aa0265 Update so that it can be natively compiled by Spring Native 0.11 2021-09-27 11:28:05 -04:00
Glenn Renfro
59c9adf047 Updated all Junit tests to 5.x
resolves TASK-675
2020-07-07 10:55:16 -05:00
Glenn Renfro
1a7113f37b Updated to reset vesions to Snapshot and to fix a checkstyle 2019-11-04 09:14:37 -05:00
Glenn Renfro
7d7183e7f2 Updating version for 2.2.0.M2 2019-08-02 08:48:46 -04:00
Glenn Renfro
16f68020fb Update dependency versions 2019-05-07 13:54:00 -04:00
Glenn Renfro
fd8ab15238 Updated all dependencies for M1 RELEASE
Updated to Spring Cloud Build 2.2.0.M1
2019-04-15 15:11:28 -04:00
Spring Operator
2bff013b83 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 204 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

Updated Spring Cloud Build dependency

this was so that we can get the latest spring-cloud-build
2019-03-21 16:34:26 -04:00
Spring Operator
0ea5070050 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* [ ] http://xslthl.sf.net (301) with 4 occurrences could not be migrated:
   ([https](https://xslthl.sf.net) result AnnotatedConnectException).
* [ ] http://exslt.org/common (404) with 1 occurrences could not be migrated:
   ([https](https://exslt.org/common) result SSLHandshakeException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* [ ] http://waffle.io/spring-cloud/spring-cloud-task (301) with 2 occurrences migrated to:
  https://waffle.io/spring-cloud/spring-cloud-task ([https](https://waffle.io/spring-cloud/spring-cloud-task) result ReadTimeoutException).
* [ ] http://myURI (UnknownHostException) with 1 occurrences migrated to:
  https://myURI ([https](https://myURI) result UnknownHostException).
* [ ] http://oops (UnknownHostException) with 1 occurrences migrated to:
  https://oops ([https](https://oops) result UnknownHostException).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://EditorConfig.org with 1 occurrences migrated to:
  https://EditorConfig.org ([https](https://EditorConfig.org) result 200).
* [ ] http://docs.spring.io/spring-boot/docs/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-boot/docs/ ([https](https://docs.spring.io/spring-boot/docs/) result 200).
* [ ] http://docs.spring.io/spring-boot/docs/current/reference/html/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-boot/docs/current/reference/html/ ([https](https://docs.spring.io/spring-boot/docs/current/reference/html/) result 200).
* [ ] http://docs.spring.io/spring-cloud-task/docs/ with 2 occurrences migrated to:
  https://docs.spring.io/spring-cloud-task/docs/ ([https](https://docs.spring.io/spring-cloud-task/docs/) result 200).
* [ ] http://docs.spring.io/spring-security/site/docs/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-security/site/docs/ ([https](https://docs.spring.io/spring-security/site/docs/) result 200).
* [ ] http://docs.spring.io/spring/docs/ with 2 occurrences migrated to:
  https://docs.spring.io/spring/docs/ ([https](https://docs.spring.io/spring/docs/) result 200).
* [ ] http://github.com/ with 3 occurrences migrated to:
  https://github.com/ ([https](https://github.com/) result 200).
* [ ] http://stackoverflow.com with 1 occurrences migrated to:
  https://stackoverflow.com ([https](https://stackoverflow.com) result 200).
* [ ] http://stackoverflow.com/tags/spring-cloud-task with 1 occurrences migrated to:
  https://stackoverflow.com/tags/spring-cloud-task ([https](https://stackoverflow.com/tags/spring-cloud-task) result 200).
* [ ] http://start.spring.io/ with 1 occurrences migrated to:
  https://start.spring.io/ ([https](https://start.spring.io/) result 200).
* [ ] http://ant.apache.org/manual with 1 occurrences migrated to:
  https://ant.apache.org/manual ([https](https://ant.apache.org/manual) result 301).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
  https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
  https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301).
* [ ] http://docs.spring.io/spring-amqp/docs/current/api/org/springframework/amqp with 1 occurrences migrated to:
  https://docs.spring.io/spring-amqp/docs/current/api/org/springframework/amqp ([https](https://docs.spring.io/spring-amqp/docs/current/api/org/springframework/amqp) result 301).
* [ ] http://docs.spring.io/spring-cloud-task/docs/current-SNAPSHOT/reference/html/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-cloud-task/docs/current-SNAPSHOT/reference/html/ ([https](https://docs.spring.io/spring-cloud-task/docs/current-SNAPSHOT/reference/html/) result 301).
* [ ] http://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data with 1 occurrences migrated to:
  https://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data ([https](https://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data) result 301).
* [ ] http://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data/jpa with 1 occurrences migrated to:
  https://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data/jpa ([https](https://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data/jpa) result 301).
* [ ] http://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb with 1 occurrences migrated to:
  https://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb ([https](https://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb) result 301).
* [ ] http://docs.spring.io/spring-data/rest/docs/current/api/org/springframework/data/rest with 1 occurrences migrated to:
  https://docs.spring.io/spring-data/rest/docs/current/api/org/springframework/data/rest ([https](https://docs.spring.io/spring-data/rest/docs/current/api/org/springframework/data/rest) result 301).
* [ ] http://raw.github.com/ with 1 occurrences migrated to:
  https://raw.github.com/ ([https](https://raw.github.com/) result 301).
* [ ] http://www.gradle.org/docs/current/userguide with 1 occurrences migrated to:
  https://www.gradle.org/docs/current/userguide ([https](https://www.gradle.org/docs/current/userguide) result 301).

# Ignored
These URLs were intentionally ignored.

* http://docbook.org/ns/docbook with 4 occurrences
* http://docbook.sourceforge.net/xmlns/l10n/1.0 with 2 occurrences
* http://maven.apache.org/POM/4.0.0 with 1 occurrences
* http://www.w3.org/1999/XSL/Format with 2 occurrences
* http://www.w3.org/1999/XSL/Transform with 7 occurrences
* http://www.w3.org/1999/xlink with 1 occurrences
2019-03-20 16:10:18 -05:00
Glenn Renfro
03d9a980e9 Cleanup from Checkstyle changes
resolves #511

* Sets the appropriate copyright dates
* Updates some docs
2019-02-13 12:21:14 -05:00
Marcin Grzejszczak
60f1e21d03 Added checkstyle 2019-02-03 19:27:07 +01:00
Glenn Renfro
30399dbb57 Established @EnableTask to create instance of TaskLifecycle Bean
resolves #494
2018-12-10 16:07:31 -05:00
Glenn Renfro
8e1d38a76a Cleanup code smells reported by Sonar
This is a first pass are removing some of the code smells.
Many reported code smells were ignored in this effort
2018-11-27 16:09:17 -05:00
Glenn Renfro
f083d7a7ff Corrects code to remove bug reports from Sonar Report
Resolves #478
2018-11-12 14:54:47 -05:00
Glenn Renfro
f772956680 Binary defaults for conditional metadata now used Binary Type
Before they were of String type

resolves #467
2018-11-02 16:21:01 -04:00
Glenn Renfro
c7ef7fbff4 Starting to move to java 11[Do Not Merge]
All version changes are present.

Fixed all Java-Doc Errors and warnings

* Due to the stricter nature of the javadoc compiler we can't wrap <ul> / <ui> in <p>
* We will also need to Push up a test app for taklauncher to work with.   The old one fails to start now.   Or use one of the task starters possibly.
* Built on the work from TASK-439C.   Wait for that merge before merging this one.
* Replaced applicationFailedEvent class attribute with applicaitonFailedException
* Also polished the app used by the taskLauncherSink integration test
2018-11-01 15:23:17 -04:00
Michael Minella
90c88c52e6 Polish 2018-11-01 10:45:15 -05:00
Glenn Renfro
d2bc2530cc Update Task to BOOT 2.1.M1
Migrating to use ApplicationContextRunner or ImportAutoConfiguration with SpringApp.run, instead of SpringApplicationBuilder, because builder does not handle AutoConfiguration properly

SimpleTaskAutoConfiguration now has an annotation AutoConfigureBefore the BatchTaskAutoConfig so that it is processed prior.  THis is so that that BatchTaskAutoConfig can create the appropriate beans

SimpleTaskAutoConfiguration has new annotations so that it is AutoConfigured after BindingServiceConfiguration and after SimpleTaskAutoConfiguration.  This is so that it does not attempt to start emitting messages before stream is ready and it can create the appropriate beans after SimpleTaskAutoConfiguration has run.

Renamed SimpleTaskConfiguration to SimpleTaskAutoConfiguration.

Task version updated to  2.1.0

Added missing headers

Updated documentation.

Deprecated EnableTask

Added ability to disable Task autoconfiguration.

Removed @EnableTask from tests

Resolves #439
Resolves #440
Resolves #448
Resolves #466
2018-11-01 10:43:31 -05:00
Glenn Renfro
d2c90c5256 Updated to add metadata for Conditionals
Also renamed camel-cased properties to cononical format.

resolves #442
2018-10-26 09:42:14 +01:00
Glenn Renfro
7843ba2edb Updated TaskLauncherSink to be able to use SCST 2.0
* Updated tests
 - to handle additional cases
 - removed `now` invalid tests
* removed logging payload from the TaskLauncher
* handles message instead TaskLaunchRequestPOJO

resolves #385
2018-02-13 12:19:11 -06:00
Michael Minella
6426cfea7e Polish 2018-02-13 09:28:22 -06:00
Glenn Renfro
76309b89ff Removed code that was marked as deprecated.
Also updated test that tested deprecated code.

resolves #366
2018-02-13 09:28:09 -06:00
Glenn Renfro
3ad9efe3fe Updated tests to remove deprecated code from tests
* cleanup removing unused headers
* Updated asserts in code base that needed messages (marked as deprecated)
* left one test that was testing a deprecated constructor.  When that code is removed we can remove that test.
* some other cleanup

resolves #338
2018-01-18 11:42:37 -06:00
Glenn Renfro
e279846e7e Updated Spring Cloud Task to latest releases
Updated to remove all commons-logging-api dependencies to resolve  logging issue.

Updated to handle 2.0.0.M3 Spring Cloud Stream

resovles #347

Changes based on code review
2017-11-01 09:12:46 -04:00
Glenn Renfro
d95f46002f Migrate Task to Spring Cloud Build 2.0.x
resolves #313
2017-07-12 11:38:00 -05:00
Ali Shahbour
450de51d0c Add Ordered interface to all event listeneres
changes requested by cppwfs

Fix Constructors duplication

Add @author

Some cleanup on chunk listener

Updated chunk listener to send message before and after chunk.
Fixed Links for JavaDocs to prevent failure on javadoc build.
Updated tests to support new chunk messages.
2017-03-31 09:15:28 -04:00
Glenn Renfro
4e68adf5fa Updated samples to use latest boot
Update integration tests to use latest stream paradigm
Update tests to be in compliance with 1.5.2.

resolves #289
2017-03-14 09:49:31 -05:00
Michael Minella
32b0278930 Updated for deployer updates
In the release process of SCDF, it was identified that Spring Cloud
Deployer had been upgraded to JDK 1.8 which was not desirable at the
given time.  As part of the rollback, the deployer implementations
provided remained at 1.8, but the SPI was rolled back to 1.7.  This
commit addresses the difference between the different versions as well
as updates the code to use the latest `TaskLauncher` code.
2016-11-21 16:21:33 -06:00
Glenn Renfro
986a2a098d Removed TaskLauncherConfiguration
Added spi and boot log starter to pom for streams
Changed deployer-local on main project pom to be test scope
2016-11-21 16:33:05 -05:00
Glenn Renfro
4a1a2c3c88 Add Application Name to TaskLaunchRequest for launched task
resolves #238
2016-11-03 15:50:21 -05:00
Glenn Renfro
d6e224f2ef Updated based on Code Review 2016-11-01 17:32:22 -04:00