Compare commits
8 Commits
db17a2e990
...
95457980d8
Author | SHA1 | Date | |
---|---|---|---|
|
95457980d8 | ||
|
70d73d8caa | ||
|
bdac905958 | ||
|
1c19afefa6 | ||
|
0edc2cca91 | ||
|
51c658cdc7 | ||
|
796d1a0991 | ||
|
5986ca26fe |
@ -54,7 +54,6 @@ To be able to build and run the Java Spring Boot application, you need the follo
|
|||||||
(see instructions below to install and run in Docker)
|
(see instructions below to install and run in Docker)
|
||||||
- Java JDK at least recent enough to run Gradle
|
- Java JDK at least recent enough to run Gradle
|
||||||
(JDK 17.x will be automatically installed by Gradle toolchain support)
|
(JDK 17.x will be automatically installed by Gradle toolchain support)
|
||||||
- Gradle in some not too outdated version (7.4 will be installed via wrapper)
|
|
||||||
|
|
||||||
You also might need an IDE (e.g. *IntelliJ IDEA* or *Eclipse* or *VS Code* with *[STS](https://spring.io/tools)* and a GUI Frontend for *PostgreSQL* like *Postbird*.
|
You also might need an IDE (e.g. *IntelliJ IDEA* or *Eclipse* or *VS Code* with *[STS](https://spring.io/tools)* and a GUI Frontend for *PostgreSQL* like *Postbird*.
|
||||||
|
|
||||||
@ -62,12 +61,16 @@ If you have at least Docker, the Java JDK and Gradle installed in appropriate ve
|
|||||||
|
|
||||||
cd your-hsadmin-ng-directory
|
cd your-hsadmin-ng-directory
|
||||||
|
|
||||||
gradle wrapper # downloads the configured Gradle version into the project
|
source .aliases # creates some comfortable bash aliases, e.g. 'gw'='./gradlew'
|
||||||
source .aliases # creates some comforable bash aliases, e.g. 'gw'='./gradlew'
|
gw # downloads the configured Gradle version into the project
|
||||||
|
|
||||||
gw test # compiles and runs unit- and integration-tests
|
gw test # compiles and runs unit- and integration-tests
|
||||||
|
|
||||||
|
# if the container has not been built yet, run this:
|
||||||
pg-sql-run # downloads + runs PostgreSQL in a Docker container on localhost:5432
|
pg-sql-run # downloads + runs PostgreSQL in a Docker container on localhost:5432
|
||||||
|
# if the container has been built already, run this:
|
||||||
|
pg-sql-start
|
||||||
|
|
||||||
gw bootRun # compiles and runs the application on localhost:8080
|
gw bootRun # compiles and runs the application on localhost:8080
|
||||||
|
|
||||||
# the following command should reply with "pong":
|
# the following command should reply with "pong":
|
||||||
|
@ -67,6 +67,7 @@ dependencies {
|
|||||||
implementation 'org.apache.commons:commons-text:1.10.0'
|
implementation 'org.apache.commons:commons-text:1.10.0'
|
||||||
implementation 'org.modelmapper:modelmapper:3.1.0'
|
implementation 'org.modelmapper:modelmapper:3.1.0'
|
||||||
implementation 'org.iban4j:iban4j:3.2.3-RELEASE'
|
implementation 'org.iban4j:iban4j:3.2.3-RELEASE'
|
||||||
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0'
|
||||||
|
|
||||||
compileOnly 'org.projectlombok:lombok'
|
compileOnly 'org.projectlombok:lombok'
|
||||||
testCompileOnly 'org.projectlombok:lombok'
|
testCompileOnly 'org.projectlombok:lombok'
|
||||||
|
@ -20,7 +20,7 @@ public interface HsOfficeRelationshipRepository extends Repository<HsOfficeRelat
|
|||||||
SELECT p.* FROM hs_office_relationship_rv AS p
|
SELECT p.* FROM hs_office_relationship_rv AS p
|
||||||
WHERE p.relAnchorUuid = :personUuid OR p.relHolderUuid = :personUuid
|
WHERE p.relAnchorUuid = :personUuid OR p.relHolderUuid = :personUuid
|
||||||
""", nativeQuery = true)
|
""", nativeQuery = true)
|
||||||
List<HsOfficeRelationshipEntity> findRelationshipRelatedToPersonUuid(@NotNull UUID personUuid);
|
List<HsOfficeRelationshipEntity> findRelationshipRelatedToPersonUuid2(@NotNull UUID personUuid);
|
||||||
|
|
||||||
@Query(value = """
|
@Query(value = """
|
||||||
SELECT p.* FROM hs_office_relationship_rv AS p
|
SELECT p.* FROM hs_office_relationship_rv AS p
|
||||||
|
Loading…
Reference in New Issue
Block a user