-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added README * Cleanup and restore example * Added examples to project build
- Loading branch information
Showing
32 changed files
with
364 additions
and
142 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,2 @@ | ||
plugins { | ||
java | ||
id("org.springframework.boot") | ||
id("io.vigier.java-library-conventions") | ||
} | ||
|
||
group = "io.vigier.cursorpaging" | ||
version = "0-SNAPSHOT" | ||
|
||
dependencies { | ||
val mapstructVersion: String by extra("1.5.5.Final") | ||
|
||
implementation(project(":cursorpaging-jpa")) | ||
implementation(project(":cursorpaging-jpa-api")) | ||
|
||
implementation("org.springframework.boot:spring-boot-starter-data-jpa") | ||
implementation("org.springframework.boot:spring-boot-starter-web") | ||
implementation("org.springframework.boot:spring-boot-starter-validation") | ||
implementation("org.springframework.hateoas:spring-hateoas") | ||
implementation("org.springframework.retry:spring-retry") | ||
implementation("org.springframework:spring-aspects") | ||
implementation("org.apache.commons:commons-lang3") | ||
// compileOnly("javax.xml.bind:jaxb-api") | ||
|
||
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.5.0") | ||
implementation("org.mapstruct:mapstruct:${mapstructVersion}") | ||
|
||
annotationProcessor("org.mapstruct:mapstruct-processor:${mapstructVersion}") | ||
annotationProcessor("org.hibernate:hibernate-jpamodelgen:6.5.0.Final") | ||
|
||
// implementation("org.springframework.boot:spring-boot-starter-data-mongodb") | ||
// implementation("org.springframework.boot:spring-boot-starter-data-mongodb-reactive") | ||
// implementation("org.springframework.boot:spring-boot-starter-data-r2dbc") | ||
// implementation("org.liquibase:liquibase-core") | ||
|
||
|
||
runtimeOnly("org.postgresql:postgresql") | ||
// runtimeOnly("org.postgresql:r2dbc-postgresql") | ||
|
||
// annotationProcessor("org.hibernate:hibernate-jpamodelgen") | ||
// annotationProcessor("org.springframework.boot:spring-boot-configuration-processor") | ||
|
||
developmentOnly("org.springframework.boot:spring-boot-devtools") | ||
developmentOnly("org.springframework.boot:spring-boot-docker-compose") | ||
|
||
testImplementation("org.springframework.boot:spring-boot-starter-test") | ||
testImplementation("org.springframework.boot:spring-boot-testcontainers") | ||
testImplementation("org.testcontainers:junit-jupiter") | ||
testImplementation("org.testcontainers:postgresql") | ||
// testImplementation("io.projectreactor:reactor-test") | ||
// testImplementation("org.testcontainers:mongodb") | ||
// testImplementation("org.testcontainers:r2dbc") | ||
} | ||
|
||
tasks { | ||
javadoc { | ||
options { | ||
(this as CoreJavadocOptions).addStringOption("Xdoclint:none", "-quiet") | ||
} | ||
} | ||
test { | ||
useJUnitPlatform() | ||
} | ||
|
||
} | ||
group = "io.vigier.cursorpaging.examples" | ||
version = findProperty("version") ?: System.getenv("BUILD_VERSION") ?: "0-SNAPSHOT" |
13 changes: 0 additions & 13 deletions
13
...amples/maven-setup/src/main/java/io/vigier/sbcpreleasetest/ScpReleaseTestApplication.java
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...s/maven-setup/src/test/java/io/vigier/sbcpreleasetest/ScpReleaseTestApplicationTests.java
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
cursorpaging-examples/maven-setup/.gitignore → ...ing-examples/webapp-with-maven/.gitignore
This file contains 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
File renamed without changes.
File renamed without changes.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
// Gradle build to include the example in the project build | ||
// While the maven pom.xml es executed separately | ||
|
||
plugins { | ||
java | ||
id("org.springframework.boot") | ||
id("io.vigier.java-library-conventions") | ||
} | ||
|
||
group = "io.vigier.cursorpaging.examples.webapp" | ||
version = findProperty("version") ?: System.getenv("BUILD_VERSION") ?: "0-SNAPSHOT" | ||
|
||
dependencies { | ||
val mapstructVersion: String by extra("1.5.5.Final") | ||
|
||
implementation(project(":cursorpaging-jpa")) | ||
implementation(project(":cursorpaging-jpa-api")) | ||
|
||
implementation("org.springframework.boot:spring-boot-starter-data-jpa") | ||
implementation("org.springframework.boot:spring-boot-starter-web") | ||
implementation("org.springframework.boot:spring-boot-starter-validation") | ||
implementation("org.springframework.hateoas:spring-hateoas") | ||
implementation("org.springframework.retry:spring-retry") | ||
implementation("org.springframework:spring-aspects") | ||
implementation("org.apache.commons:commons-lang3") | ||
// compileOnly("javax.xml.bind:jaxb-api") | ||
|
||
implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.5.0") | ||
implementation("org.mapstruct:mapstruct:${mapstructVersion}") | ||
|
||
annotationProcessor("org.mapstruct:mapstruct-processor:${mapstructVersion}") | ||
annotationProcessor("org.hibernate:hibernate-jpamodelgen:6.5.0.Final") | ||
|
||
// implementation("org.springframework.boot:spring-boot-starter-data-mongodb") | ||
// implementation("org.springframework.boot:spring-boot-starter-data-mongodb-reactive") | ||
// implementation("org.springframework.boot:spring-boot-starter-data-r2dbc") | ||
// implementation("org.liquibase:liquibase-core") | ||
|
||
|
||
runtimeOnly("org.postgresql:postgresql") | ||
// runtimeOnly("org.postgresql:r2dbc-postgresql") | ||
|
||
// annotationProcessor("org.hibernate:hibernate-jpamodelgen") | ||
// annotationProcessor("org.springframework.boot:spring-boot-configuration-processor") | ||
|
||
developmentOnly("org.springframework.boot:spring-boot-devtools") | ||
developmentOnly("org.springframework.boot:spring-boot-docker-compose") | ||
|
||
testImplementation("org.springframework.boot:spring-boot-starter-test") | ||
testImplementation("org.springframework.boot:spring-boot-testcontainers") | ||
testImplementation("org.testcontainers:junit-jupiter") | ||
testImplementation("org.testcontainers:postgresql") | ||
// testImplementation("io.projectreactor:reactor-test") | ||
// testImplementation("org.testcontainers:mongodb") | ||
// testImplementation("org.testcontainers:r2dbc") | ||
} | ||
|
||
tasks { | ||
javadoc { | ||
options { | ||
(this as CoreJavadocOptions).addStringOption("Xdoclint:none", "-quiet") | ||
} | ||
} | ||
test { | ||
useJUnitPlatform() | ||
} | ||
|
||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
13 changes: 13 additions & 0 deletions
13
...with-maven/src/main/java/io/vigier/cursorpaging/example/webapp/ExampleWebApplication.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package io.vigier.cursorpaging.example.webapp; | ||
|
||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
|
||
@SpringBootApplication | ||
public class ExampleWebApplication { | ||
|
||
public static void main( final String[] args ) { | ||
SpringApplication.run( ExampleWebApplication.class, args ); | ||
} | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
...ontroller/ControllerExceptionHandler.java → ...ontroller/ControllerExceptionHandler.java
This file contains 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
14 changes: 7 additions & 7 deletions
14
.../api/controller/DataRecordController.java → .../api/controller/DataRecordController.java
This file contains 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
8 changes: 4 additions & 4 deletions
8
...setest/api/model/DataRecordAttribute.java → ...webapp/api/model/DataRecordAttribute.java
This file contains 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
Oops, something went wrong.