Spring Buildmaster
1572eb1bf2
[artifactory-release] Next development version
2019-10-24 16:57:11 +00:00
Spring Buildmaster
b6b8e4cd10
[artifactory-release] Release version 2.2.0.RC1
2019-10-24 16:57:08 +00:00
Spring Buildmaster
bd313d3f8d
[artifactory-release] Next development version
2019-10-04 14:09:31 +00:00
Spring Buildmaster
0cdd345b3a
[artifactory-release] Release version 2.2.0.M3
2019-10-04 14:09:28 +00:00
Spring Buildmaster
b4e3aa1910
[artifactory-release] Next development version
2019-08-02 16:02:22 +00:00
Spring Buildmaster
2f6df94f8c
[artifactory-release] Release version 2.2.0.M2
2019-08-02 16:02:18 +00:00
Glenn Renfro
4f1524a711
OutputCapture should be updated to OutputCaptureRule
...
resolves #615
In Boot 2.2.x they change the of OutputCapture and thus it was deprecated.
2019-07-15 15:28:50 -04:00
Glenn Renfro
7490f8b820
Initialize values with properties vs value
...
resolves #SCT-587
2019-07-03 13:24:06 -05:00
Michael Minella
0af72e31ac
Polish
2019-07-03 13:09:18 -05:00
Christian Tzolov
d4b51a074b
Add Micrometer support for Task applications
...
- New dependencies
- micrometer-core
- java-cfenv - required by the CF tags configuration.
- Add TaskMetrics configuration that installs two Meters (Timer and LongTaskTimer) that produce the following time-series:
- spring.cloud.task - shows task duration (updated only after the task has completed).
- spring.cloud.task.active - provides run time information about the non-completed tasks.
Both meters are started at TaskExecutionListener#onTaskStartup() and ended at onTaskEnd() or onTaskFailure().
- Add common Task tags assigned to all time-series produced by the Task (not only the s.c.task and s.c.task.active). This allows to analyze CPU, Memory and other measurements grouped by task/execution ids.
- Add Cloud Found tags - Activated only for CF target platform.
Resolves #608
2019-07-03 13:06:58 -05:00
Glenn Renfro
d2031ff66e
Updated the order in which the TaskLifecycleListener is configured
...
resolves #605
2019-06-25 09:48:21 -05:00
Donovan Muller
915a6ef82f
Fix closecontextEnabled property reference
...
Fixes #561
2019-05-08 14:38:12 -04:00
Glenn Renfro
16f68020fb
Update dependency versions
2019-05-07 13:54:00 -04:00
Spring Buildmaster
f1b13e049c
[artifactory-release] Next development version
2019-04-16 16:50:51 +00:00
Spring Buildmaster
9fb1fcb043
[artifactory-release] Release version 2.2.0.M1
2019-04-16 16:50:48 +00: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
Glenn Renfro
c8158360b2
Updated test for the new maria error code
...
resolves #288
2019-04-08 11:28:13 -04:00
Glenn Renfro
ce51987f98
Rebased
...
Updated to spring-cloud-build 2.2.0.BUILD-SNAPSHOT
Updated Tests to support the changes in the latest H2 database
Must use "-ifNotExists", when using the H2 TCP Server
2019-03-28 16:57:11 -05:00
Glenn Renfro
c4abbbcbbf
Updated Base Version to 2.2.x
...
Removed Task Dependencies. These should be brought in by Boot
2019-03-28 16:57:11 -05:00
Glenn Renfro
8a3ac48cc3
Updated all task_lock tables to add NOT NULL to primary keys.
...
resolves #505
2019-03-22 11:52:57 -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
505fd21ff9
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 1 occurrences could not be migrated:
([https](https://xslthl.sf.net ) result AnnotatedConnectException).
# Fixed URLs
## 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://asciidoctor.org with 1 occurrences migrated to:
https://asciidoctor.org ([https](https://asciidoctor.org ) result 200).
* http://maven.apache.org/xsd/maven-4.0.0.xsd with 18 occurrences migrated to:
https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd ) result 200).
* http://sourceforge.net/projects/xslthl/ with 14 occurrences migrated to:
https://sourceforge.net/projects/xslthl/ ([https](https://sourceforge.net/projects/xslthl/ ) result 200).
* http://www.w3.org/TR/CSS21/propidx.html with 1 occurrences migrated to:
https://www.w3.org/TR/CSS21/propidx.html ([https](https://www.w3.org/TR/CSS21/propidx.html ) result 200).
# Ignored
These URLs were intentionally ignored.
* http://maven.apache.org/POM/4.0.0 with 36 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 18 occurrences
2019-03-19 21:26:51 -05:00
Glenn Renfro
960e3c1d46
Treat MariaDB type as MySQL
...
resolves #514
2019-02-13 15:59:23 -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
Spring Buildmaster
4d0acf120c
[artifactory-release] Next development version
2019-01-22 14:30:34 +00:00
Spring Buildmaster
dc3af1dfd4
[artifactory-release] Release version 2.1.0.RELEASE
2019-01-22 14:30:29 +00:00
Spring Buildmaster
549e9e14cd
[artifactory-release] Next development version
2019-01-15 14:06:50 +00:00
Spring Buildmaster
3534b42f79
[artifactory-release] Release version 2.1.0.RC1
2019-01-15 14:06:46 +00:00
Glenn Renfro
9c20e45771
Updated the DB2 Script to fix the not null in primary key.
...
resolves #500
2019-01-14 16:41:48 -06:00
Glenn Renfro
39a74253b6
closeContextEnable should be closeContextEnabled in docs
2019-01-11 10:24:05 -05:00
Spring Buildmaster
d3381b71f9
[artifactory-release] Next development version
2018-12-13 22:12:42 +00:00
Spring Buildmaster
a1c10b8d46
[artifactory-release] Release version 2.1.0.M2
2018-12-13 22:12:38 +00:00
Michael Minella
5525382563
Polish
2018-12-13 15:02:42 -06:00
Glenn Renfro
30399dbb57
Established @EnableTask to create instance of TaskLifecycle Bean
...
resolves #494
2018-12-10 16:07:31 -05:00
wildloop
b4b50e8182
bug-fix: throwable param's required for @FailedTask annotated methods
...
Lack of this parameter causes:
- the exception with message: "o.s.c.t.listener.TaskLifecycleListener: taskExecution and throwable parameters are required for @FailedTask annotated methods :While handling this error: java.lang.IllegalStateException: Failed to execute ApplicationRunner" - please, take look at [this](https://github.com/spring-cloud/spring-cloud-task/blob/master/spring-cloud-task-core/src/main/java/org/springframework/cloud/task/listener/annotation/TaskListenerExecutor.java#L113 )
- and, as a consequence, a lost lock on the task (record in the table `task_locks`)
2018-12-06 17:10:49 -05:00
Michael Minella
da56c2b08e
Polish
2018-12-05 16:53:20 -06:00
Glenn Renfro
2c1e696da2
Add documentation on when to resolve SCT delcared beans.
...
resolves #491
2018-12-05 16:53:12 -06:00
Janne Valkealahti
de45d1eb47
Rely on spring-cloud-deployer autoconfig
...
- Deployer core/local uses 2.0.0.BUILD-SNAPSHOT
- Use pring-cloud-deployer-dependencies bom
- Remove ResourceLoadingAutoConfiguration as that is now in
deployer itself with a way to configure loaders.
- spring-cloud-task-core now depends on spring-cloud-deployer-autoconfigure.
- Rest of deployer modules like support/maven are still defined in deps
as those are optional in spring-cloud-deployer-autoconfigure.
2018-11-29 15:42:34 +00: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
fa3e4e55c6
Updated tests to remove SQL Bad Grammar warnings
...
Also replacing the last of the SpringJunit4ClassRunner with SpringRunner
Other cleanup
resolves #482
2018-11-21 11:17:31 -06:00
Glenn Renfro
ab58cdd9df
Added discussion on using SmartLifecycle#stop to java docs.
...
Also updated other docs in the TaskLifecycleListener.
resolves #471
2018-11-21 10:46:05 -06:00
Glenn Renfro
f083d7a7ff
Corrects code to remove bug reports from Sonar Report
...
Resolves #478
2018-11-12 14:54:47 -05:00
Spring Buildmaster
9d38c9a86d
[artifactory-release] Next development version
2018-11-02 21:54:16 +00:00
Spring Buildmaster
3c8cfcf1d8
[artifactory-release] Release version 2.1.0.M1
2018-11-02 21:54:11 +00: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
4387d816d1
Updated javadoc to remove ContextRefreshedEvent
...
Updated it to discuss SmartLifecycle#start() as the agent that kicks off the task.
resolves #447
2018-11-02 14:52:43 -05:00
Glenn Renfro
422efcee78
Added spring-boot-autoconfigure-processor to the active modules of SCT
...
resolves #432
2018-11-02 14:05:44 -05:00
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
Michael Minella
7be8b8a105
Polish
2018-11-02 11:56:42 -05:00