430 Commits

Author SHA1 Message Date
Spring Operator
c3cfca6a9c 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/ 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 133 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-26 11:57:22 +01:00
Spring Operator
9f259a21d5 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://jcommander.org/apidocs/ (200) with 1 occurrences could not be migrated:
   ([https](https://jcommander.org/apidocs/) result SSLHandshakeException).

# 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://docs.spring.io/spring-framework/docs/current/javadoc-api/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-framework/docs/current/javadoc-api/ ([https](https://docs.spring.io/spring-framework/docs/current/javadoc-api/) result 200).
* [ ] http://maven.apache.org/xsd/assembly-2.0.0.xsd with 1 occurrences migrated to:
  https://maven.apache.org/xsd/assembly-2.0.0.xsd ([https](https://maven.apache.org/xsd/assembly-2.0.0.xsd) result 200).
* [ ] http://maven.apache.org/xsd/maven-4.0.0.xsd with 11 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://repo.spring.io/libs-milestone-local with 2 occurrences migrated to:
  https://repo.spring.io/libs-milestone-local ([https](https://repo.spring.io/libs-milestone-local) result 302).
* [ ] http://repo.spring.io/libs-snapshot-local with 2 occurrences migrated to:
  https://repo.spring.io/libs-snapshot-local ([https](https://repo.spring.io/libs-snapshot-local) result 302).
* [ ] http://repo.spring.io/release with 1 occurrences migrated to:
  https://repo.spring.io/release ([https](https://repo.spring.io/release) result 302).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/ASSEMBLY/2.0.0 with 2 occurrences
* http://maven.apache.org/POM/4.0.0 with 22 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 12 occurrences
2019-03-26 11:56:58 +01:00
Spring Operator
d2988344a7 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://beanvalidation.org/ with 1 occurrences migrated to:
  https://beanvalidation.org/ ([https](https://beanvalidation.org/) result 200).
* [ ] http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/ ([https](https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/) result 200).
* [ ] http://github.com/spring-projects/spring-shell with 1 occurrences migrated to:
  https://github.com/spring-projects/spring-shell ([https](https://github.com/spring-projects/spring-shell) result 200).
* [ ] http://start.spring.io with 2 occurrences migrated to:
  https://start.spring.io ([https](https://start.spring.io) result 200).
* [ ] 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).
2019-03-26 11:56:36 +01:00
Spring Operator
ebe41ffbf6 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://jcommander.org/apidocs/ (200) with 1 occurrences could not be migrated:
   ([https](https://jcommander.org/apidocs/) result SSLHandshakeException).

# 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://docs.spring.io/spring-framework/docs/current/javadoc-api/ with 1 occurrences migrated to:
  https://docs.spring.io/spring-framework/docs/current/javadoc-api/ ([https](https://docs.spring.io/spring-framework/docs/current/javadoc-api/) result 200).
* http://maven.apache.org/xsd/maven-4.0.0.xsd with 11 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 with 3 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
* http://repo.spring.io/libs-milestone-local with 2 occurrences migrated to:
  https://repo.spring.io/libs-milestone-local ([https](https://repo.spring.io/libs-milestone-local) result 302).
* http://repo.spring.io/libs-snapshot-local with 2 occurrences migrated to:
  https://repo.spring.io/libs-snapshot-local ([https](https://repo.spring.io/libs-snapshot-local) result 302).
* http://repo.spring.io/release with 1 occurrences migrated to:
  https://repo.spring.io/release ([https](https://repo.spring.io/release) result 302).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 22 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 11 occurrences
2019-03-26 11:49:52 +01:00
Josh Long
ffcebbf149 try to avoid reflective access that make Java 9+ unhappy 2018-10-06 21:22:54 +02:00
Bharath Prakash
3f8e8334ba This is an Obvious fix to correct the constant value 2018-05-21 04:29:19 -04:00
Eric Bottard
c3081d260e Bump samples version 2018-04-25 10:41:07 +02:00
Spring Buildmaster
75b9c2c846 [artifactory-release] Next development version 2018-04-25 08:29:26 +00:00
Spring Buildmaster
f39c391342 [artifactory-release] Release version 2.0.1.RELEASE 2018-04-25 08:29:21 +00:00
Eric Bottard
d813888dc7 Allow TAB completion on an empty buffer
Fixes #210
2018-03-26 11:38:26 +02:00
Eric Bottard
a0b2eb005d Implement command interruption via CTRL-C
Fixes #209
2018-03-14 23:25:06 +01:00
Eric Bottard
5d13c5f47a Add history command
Fixes #208
2018-03-14 22:18:41 +01:00
Eric Bottard
ea71c3821b Fix capturing CTRL-C to exit the shell.
Fixes #195
2018-01-18 09:40:32 +01:00
Florian Waibel
793eaa6fe7 Fix method annotation in some reference documentation snippets
Somehow `@ShellCommand` found its way into the snippets. This commit
replaces it with the correct annotation `@ShellMethod`.
2018-01-17 21:31:07 +01:00
Spring Buildmaster
ded7b756b1 [artifactory-release] Next development version 2018-01-16 09:01:03 +00:00
Spring Buildmaster
a6ecde1406 [artifactory-release] Release version 2.0.0.RELEASE 2018-01-16 09:00:58 +00:00
Eric Bottard
f90edd42c4 Make ResultHandlers configuration more explicit
Handle exit as a dedicated case (prevents eg 'exit' commands in scripts to make script quit)
Add an example of custom ApplicationRunner

Fixes #187
Fixes #183

Decouple ApplicationRunners

Make ThrowableResultHandler behave differently in non-interactive mode
2018-01-15 15:59:01 +01:00
Eric Bottard
6e6154a80a Rename conversionService to something else to avoid
initialization cycle issue (Converters were not being wired, etc).

Fixes #180
2017-11-27 16:42:17 +01:00
Eric Bottard
2ef0610f81 Added an example of full class dynamic availability toggle
Fixes #175
2017-11-06 15:12:46 +01:00
Eric Bottard
e2c8be2b23 Use getMessage() by default when printing exceptions.
Fixes #176
2017-11-06 15:03:05 +01:00
Eric Bottard
7d50c0813f Qualify the Spring Shell provided ConversionService
Fixes #173
2017-11-06 14:52:50 +01:00
Eric Bottard
2ff18f9062 Upgrade to latest released Boot 1.x line 2017-10-26 13:33:19 +02:00
Eric Bottard
b81b695382 Fix completion of params that involve conversion
Fixes #170
2017-10-16 15:44:33 +02:00
Eric Bottard
bdeea83d8b Cleanup samples 2017-10-16 14:31:07 +02:00
Eric Bottard
91bc5f31e7 Warn about potential NPE when using gradle 2017-10-09 09:56:11 +02:00
Spring Buildmaster
e917d876e3 [artifactory-release] Next development version 2017-10-04 09:29:34 +00:00
Spring Buildmaster
1bea66cdb1 [artifactory-release] Release version 2.0.0.M2 2017-10-04 09:29:29 +00:00
Eric Bottard
c86b813fed Fix Typo 2017-10-04 11:17:01 +02:00
Eric Bottard
32c65f2da7 Allow usage without Spring Boot AutoConfiguration
Fixes #166
2017-10-04 11:15:01 +02:00
Eric Bottard
f0e5c45ee9 Add automatic command grouping
Fixes #163

Introduce Command and Command.Help
2017-09-28 09:44:48 +02:00
Eric Bottard
531dc35abe Add a group to a couple sample classes 2017-09-25 14:46:10 +02:00
Roland Weisleder
e4e6471f27 Add command group and group output of help command
Resolves #135
2017-09-23 15:36:11 +02:00
Roland Weisleder
b21a1f16f1 Set assumed locale for HelpTest
Otherwise the test would fail on machines with other default than EN.
2017-09-23 15:34:57 +02:00
altus34
1695527408 Fix documentation
- Optional Parameters and Default Values. Type error in greet method signature who cause compile error
 - Customizing the Named Parameter Key(s). help method is already registered in spring shell by default and cannot be reused
2017-09-23 10:57:13 +02:00
Eric Bottard
a50b741af1 Document PromptProvider, ApplicationRunner and ConversionService.
Make the default ConversionService register converters in the ctx
2017-09-19 13:57:28 +02:00
Eric Bottard
b9df6c48a9 Small docs fixes 2017-09-18 19:01:09 +02:00
Eric Bottard
8fcc203fe6 Expose default runner precedence 2017-09-18 18:23:10 +02:00
Eric Bottard
33b56132de Make the default ApplicationRunner reusable 2017-09-18 18:08:21 +02:00
Eric Bottard
fdc4eb0edd Fix IterableResultHandler duplicate definition
Fixes #157
2017-09-18 11:42:56 +02:00
Eric Bottard
076a183d08 Protect against Exceptions in ResultHandler code 2017-09-17 20:59:27 +02:00
Eric Bottard
12dff36d8b Fix completion in multi word commands
Fixes #150
2017-09-16 13:43:04 +02:00
Spring Buildmaster
425493e0a9 [artifactory-release] Next development version 2017-09-14 14:29:28 +00:00
Spring Buildmaster
ccd2444b1e [artifactory-release] Release version 2.0.0.M1 2017-09-14 14:29:24 +00:00
Eric Bottard
ce1563fb46 Make docs part of normal build again, to fix release process :( 2017-09-14 15:40:02 +02:00
Eric Bottard
1f4af15a9a Revert "Trying to fix release plugin. Making sure problem is not tied to table module"
This reverts commit 96cc3880b9.
2017-09-12 16:45:58 +02:00
Eric Bottard
96cc3880b9 Trying to fix release plugin. Making sure problem is not tied to table module 2017-09-12 16:40:20 +02:00
Eric Bottard
5c3911c2a9 Add SCM info to pom 2017-09-12 15:14:35 +02:00
Eric Bottard
5bf34737d6 Remove relative path from parent pom 2017-09-12 14:26:32 +02:00
Eric Bottard
4a6c699aca Inject the ValidatorFactory instead of Validator.
This prevents the Spring Validator Factory from being injected (it
does not support the 1.1 methods)
2017-09-11 17:16:43 +02:00
Eric Bottard
8f3c11a3bd Move logback configuration out of core 2017-09-11 16:54:53 +02:00