Skip to content

Commit

Permalink
build: move validation tests from module
Browse files Browse the repository at this point in the history
- jooby-apt build fails to be resolved on new SNAPSHOT (move test to integration tests module)
- added .editorconfig
  • Loading branch information
jknack committed Sep 12, 2024
1 parent d6e53ba commit 0811e9b
Show file tree
Hide file tree
Showing 24 changed files with 273 additions and 653 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
continuation_indent_size = 4
max_line_length = 100

[*.md]
trim_trailing_whitespace = false

[*.adoc]
trim_trailing_whitespace = false
4 changes: 2 additions & 2 deletions docs/asciidoc/responses.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ there is a non-blocking route handler.
<3> Value is provided from *event loop*. No blocking code is permitted
<4> Value is computed/produces from completable future context

Running your `App` in *worker* mode works identically, except for we are able to do blocking calls:
Running your `App3508` in *worker* mode works identically, except for we are able to do blocking calls:

.In worker mode
[source,java,role="primary"]
Expand Down Expand Up @@ -284,7 +284,7 @@ Running your `App` in *worker* mode works identically, except for we are able to
<3> Value is provided from *worker mode*. Blocking code is permitted
<4> Value is computed/produces from completable future context

Running your `App` in *default* mode works identically to running in the *event loop* mode:
Running your `App3508` in *default* mode works identically to running in the *event loop* mode:

.In default mode
[source,java,role="primary"]
Expand Down
2 changes: 1 addition & 1 deletion docs/asciidoc/routing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@ class App: Kooby({

<2> Imports all routes, services, callbacks, etc... from `Bar`. Output: `/bar` => `/bar`

This operator lets you for example to deploy `Foo` as a standalone application or integrate it into a main one called `App`.
This operator lets you for example to deploy `Foo` as a standalone application or integrate it into a main one called `App3508`.
The install operator shares the state of the main application, so lazy initialization (and therefore _instantiation_) of
any child applications is *mandatory*.

Expand Down
5 changes: 0 additions & 5 deletions modules/jooby-avaje-validator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@
<artifactId>jooby-apt</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.avaje</groupId>
<artifactId>avaje-validator-generator</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.jooby</groupId>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

27 changes: 0 additions & 27 deletions modules/jooby-hibernate-validator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,6 @@
<version>5.0.0</version>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>io.jooby</groupId>
<artifactId>jooby-netty</artifactId>
<version>${jooby.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.jooby</groupId>
<artifactId>jooby-jackson</artifactId>
<version>${jooby.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
Expand All @@ -70,19 +56,6 @@
<version>${jooby.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.26.3</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
Loading

0 comments on commit 0811e9b

Please sign in to comment.