Teeny Auto configuration#5
Open
alex-cova wants to merge 23 commits intoJonathanGiles:masterfrom
Open
Conversation
Owner
JonathanGiles
left a comment
There was a problem hiding this comment.
Looks good, just one minor comment. We need to improve JavaDoc and readme at some point too!
|
|
||
| ### | ||
|
|
||
| http://localhost:80/todos/todos No newline at end of file |
Owner
There was a problem hiding this comment.
presumably it can be deleted...
Collaborator
Author
There was a problem hiding this comment.
What is this?
Client.http is a client from IntelliJ, I forgot to remove it :S
… by itself, more tests.
…s now uses TeenyJson instead of Gson
… from code-review and a few changes.
Owner
|
Let me know what your plans are on this PR. |
Collaborator
Author
I'll continue working on this feature after TeenyJson gets merged, some parts of autoconfiguration will depend on TeenyJson. |
…ation/deserialization
# Conflicts: # src/main/java/net/jonathangiles/tools/teenyhttpd/TeenyApplication.java # src/test/java/net/jonathangiles/tools/teenyhttpd/TeenyApplicationTest.java
…op or application properties, boostrap configuration
… parts of TeenyApplication, (preview) basic OpenApi support
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Very very basic auto configuration support.
Now TeenyApplication scans for controllers/configurations/resources. (See AutoConfigurationTest)
Auto configuration order:
@Configuration,@Enabled@Resource@Path@Configurationannotation has its own order valueThis PR adds the next annotations:
Similar to
@Importfrom spring, @enable allows TeenyHttp to have annotation-toggles, for example: