Commit Graph

447 Commits

Author SHA1 Message Date
Spring Operator
b73089406d 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).

# 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://www.apache.org/licenses/LICENSE-2.0 with 296 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-22 14:52:23 -04:00
Spring Operator
99349033d5 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).

# 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://maven.apache.org/xsd/maven-4.0.0.xsd with 69 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://www.apache.org/licenses/LICENSE-2.0.txt with 70 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt) result 200).
* http://projects.spring.io/spring-integration with 70 occurrences migrated to:
  https://projects.spring.io/spring-integration ([https](https://projects.spring.io/spring-integration) result 301).
* http://repo.spring.io/libs-milestone with 2 occurrences migrated to:
  https://repo.spring.io/libs-milestone ([https](https://repo.spring.io/libs-milestone) result 302).
* http://repo.spring.io/libs-snapshot with 2 occurrences migrated to:
  https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot) result 302).
* http://repo.spring.io/libs-staging-local with 1 occurrences migrated to:
  https://repo.spring.io/libs-staging-local ([https](https://repo.spring.io/libs-staging-local) result 302).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 138 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 69 occurrences
2019-03-16 12:54:27 -04:00
Artem Bilan
10b31baa24 Upgrade dependencies 2019-01-10 16:38:25 -05:00
Gary Russell
6942fda4f5 Upgrade SI, SF, Boot versions 2018-11-21 14:35:14 -05:00
Gary Russell
8e12cd7432 Upgrade to SI 4.3.16, SF 4.3.17 2018-05-08 16:38:18 -04:00
Artem Bilan
954728b438 * Upgrade to SI and SF 4.3.15, Boot 1.5.11-B-S 2018-04-04 14:42:17 -04:00
Artem Bilan
b6361028d7 Upgrade to SI-4.3.14 2018-01-29 12:18:08 -05:00
Artem Bilan
ac2e9e6e51 Upgrade to SI-4.3.13 2017-11-28 14:25:46 -05:00
Artem Bilan
53108e8b10 Upgrade to SIK-2.3 GA and SK-1.3 GA 2017-09-29 16:30:48 -04:00
Artem Bilan
5f7a5cc52b Upgrade to SI-4.3.12 SIK-2.3 RC1 SK-1.3 RC1
Some other minor polishing for `build.gradle`

Also fix `SftpTestUtils` do not use `DFA`, but ` session.getClientInstance()`
Fix `EmailFragment` to use `Assert` methods with string explanations arg
Fix `SftpOutboundTransferSample` to use JUnit's `assertTrue()` instead of `Assert.isTrue()`
2017-09-11 17:28:54 -04:00
Artem Bilan
1960492f60 Upgrade to SF-4.3.10 and SI-4.3.11 2017-07-20 15:15:17 -04:00
Artem Bilan
f5c6c0c94f Upgrade to SI-4.3.10, SK-1.1.6, SF-4.3.9, others 2017-06-08 09:41:53 -04:00
Gary Russell
9f88407d26 Update to SI 4.3.9, SF 4.3.8 2017-04-18 18:25:49 -04:00
Artem Bilan
972b8d2a24 Upgrade to SI-4.3.8 2017-03-01 16:49:52 -05:00
Gary Russell
7996eabbc1 Update to Spring Integration 4.3,7 2017-01-25 16:14:00 -05:00
Artem Bilan
a6bf188099 regenerate POMs 2016-11-11 13:46:03 -05:00
Artem Bilan
239f4b27b5 Upgrade to SI-4.3.6
Remove SI-5.0 dependency and use `TestMailServer` from the SI-test since 4.3.6
2016-11-11 13:08:11 -05:00
Artem Bilan
6ffb17fe1e Upgrade to SI-Java-DSL-1.2.1 2016-11-08 08:29:13 -05:00
Artem Bilan
ae2e18dad6 Upgrade to SI-4.3.5 2016-11-07 18:08:59 -05:00
Artem Bilan
e35d441691 File-split-ftp: fix read files race condition
https://build.spring.io/browse/INTSAMPLES-NIGHTLY-1898/

There is no guarantee that if `File.exists()`, the real write to file has occurred

 * Add `while()` to check not only `File.exists()` but also its `length()` only after that proceed to assert logic
2016-10-25 10:34:54 -04:00
Gary Russell
171dd51024 Update file-split-ftp Visualization 2016-10-14 14:21:07 -04:00
Artem Bilan
ef31a187c4 Revert usage for fileNameExpression
Since we provide a custom `FileNameGenerator` via `fileNameExpression` we should ensure somehow `BeanFactory` injection to that
`FileWritingMessageHandlerSpec` is a `FactoryBean` since version DSL `1.2` and a particular `BPP` takes care about `Spec` internals and register custom `FileNameGenerator` as a bean.

 Use standard `FactoryBean` injection in the `lines()` flow to populate the target `FileWritingMessageHandler` to the flow
Generate pom for all project to apply SI Java DSL 1.2 GA
2016-10-14 13:28:27 -04:00
Artem Bilan
a9d653b19e Upgrade to SI-Java_DSL-1.2.RELEASE
Fixes GH-180 (https://github.com/spring-projects/spring-integration-samples/issues/180)

* Apply `PollerSpec.errorChannel(String)` style
* Replace `fileNameExpression()` to `fileNameGenerator()` to avoid `No BeanFactory` for `EvaluationContext`
* Use `.trigger()` instead of `.handle()` for `FileWritingMessageHandler.trigger()`
* Fix race condition in test, when file exists already, but there is no content yet
2016-10-14 12:57:42 -04:00
Gary Russell
948e5135cd Generate POMs 2016-10-14 11:35:47 -04:00
Gary Russell
933b3f015a file-split-ftp Move errorChannel to Poller 2016-10-13 17:22:33 -04:00
Gary Russell
b3bab0dea2 Revert "file-split-ftp Move errorChannel to Poller"
This reverts commit 7b84810388.
2016-10-13 17:21:49 -04:00
Gary Russell
7b84810388 file-split-ftp Move errorChannel to Poller 2016-10-13 17:18:17 -04:00
Gary Russell
42294bf831 Update to Spring Integration 4.3.4 2016-10-03 13:40:18 -04:00
Gary Russell
4e37b9ad5c Update to Spring Integration 4.3.3 2016-09-30 15:25:22 -04:00
Artem Bilan
62894391b5 Upgrade to SI-Java_DSL-1.2.RC1 2016-09-27 13:45:14 -04:00
Gary Russell
2e103f6f34 Add dynamic-tcp-client Sample
Utilizing the new DSL dynamic flow registration.

Polishing - forgot to save this before pushing.

sync

Polishing

* Upgrade to Boot-1.4.1
2016-09-22 13:54:59 -04:00
Gary Russell
2c1a070930 Add file-split-ftp Sample
JIRA: https://jira.spring.io/browse/INTSAMPLES-149

Polishing - PR Comments

Polishing - Work Around DSL Issue #119

Make test compatible with Windows.
Also reset Application context `DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD`.
Since tests uses the same target resources we should be sure that they use clear foundation before running
2016-09-21 11:15:14 -04:00
Artem Bilan
e80d7573b4 Upgrade to SI-4.3.2, SK-1.1, SIK-2.1 2016-09-19 15:27:49 -04:00
Artem Bilan
3f88c5de29 Upgrade to SI Java DSL 1.2.0.M2 2016-09-15 14:58:51 -04:00
Artem Bilan
a46bd8acb3 Add Java DSL sample for Kafka 0.9
Make `PromiseTest` more fast decreasing `sleep()` in the `MathService`

Kafka-0.10.0 Compatibility

Upgrade to Spring Boot 1.4.0.RELEASE

Regenerate poms according to upgrades
2016-08-24 09:34:09 -04:00
Gary Russell
b6cbf15e4c Update to spring-kafka 1.1.0.M1 2016-08-23 17:19:00 -04:00
Gary Russell
006468fca3 Add Java DSL 2016-07-11 05:41:26 -04:00
Gary Russell
cf8e76301f Fix Links 2016-07-11 05:39:29 -04:00
Gary Russell
f18f567bc7 Add Contributing 2016-07-11 05:26:00 -04:00
Artem Bilan
9554dc7f1f INTSAMPLES-142: Fix mail dependencies
JIRA: https://jira.spring.io/browse/INTSAMPLES-142

Also do some upgrades and polishing
2016-07-06 12:57:40 -04:00
Artem Bilan
6228929b95 Upgrade to Spring Kafka 1.0.1 2016-07-05 18:17:57 -04:00
Artem Bilan
324bf11d60 Fix wrong Mockito usage in the JmsMockTests
Just fix the test code according Mockito advice:
```
org.mockito.exceptions.misusing.UnfinishedStubbingException:
Unfinished stubbing detected here:
-> at org.springframework.integration.samples.advance.testing.jms.JmsMockTests.verifyJmsMessageOnOutputChannel(JmsMockTests.java:153)

E.g. thenReturn() may be missing.
Examples of correct stubbing:
    when(mock.isOk()).thenReturn(true);
    when(mock.isOk()).thenThrow(exception);
    doThrow(exception).when(mock).someVoidMethod();
Hints:
 1. missing thenReturn()
 2. you are trying to stub a final method, you naughty developer!
```
2016-07-05 10:30:34 -04:00
Artem Bilan
d8f2c43b45 Some upgrades
* Spring Kafka 1.0.0.RELEASE
* SI Kafka 2.0.0.RELEASE
* Gradle 2.14
* SF 4.3.0.RELEASE
2016-07-01 14:45:36 -04:00
Artem Bilan
2c4215b731 Upgrade to SI-4.3.0.RELEASE 2016-06-13 15:12:10 -04:00
Artem Bilan
2a26f74845 Regenerate POMs according the latest upgrades 2016-06-08 09:49:43 -04:00
Artem Bilan
1cbcbe7810 Some upgrades
* Gradle-2.13
* Spring Kafka 1.0.0.RC1
* Spring Integration Kafka 2.0.0.RC1
* Spring Boot 1.4.0.M3
* Provide required fixes
2016-06-06 21:12:55 -04:00
Artem Bilan
b6f872664d Fix compatibility with Boot-1.4 and fresh POMs 2016-05-13 11:47:32 -04:00
Artem Bilan
32fc46161a Upgrade to SI-4.3.0.RC1 and Boot-1.4.0.M2 2016-05-11 20:09:06 -04:00
Andrew Thompson
faa06093dc Update WS sample to the latest w3schools changes
w3schools sample webservice has a new url
http://www.w3schools.com/webservices/tempconvert.asmx
to
http://www.w3schools.com/xml/tempconvert.asmx"
2016-04-28 12:14:29 -04:00
Artem Bilan
ae1150ae1a Upgrade to SI-4.3.0.M2 2016-04-25 16:43:36 -04:00