Compare commits
1 Commits
main
...
adfe4dcbc2
| Author | SHA1 | Date | |
|---|---|---|---|
| adfe4dcbc2 |
4
pom.xml
4
pom.xml
@@ -84,6 +84,10 @@
|
|||||||
<groupId>io.quarkus</groupId>
|
<groupId>io.quarkus</groupId>
|
||||||
<artifactId>quarkus-security</artifactId>
|
<artifactId>quarkus-security</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>io.quarkus</groupId>
|
||||||
|
<artifactId>quarkus-smallrye-openapi</artifactId>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>at.favre.lib</groupId>
|
<groupId>at.favre.lib</groupId>
|
||||||
<artifactId>bcrypt</artifactId>
|
<artifactId>bcrypt</artifactId>
|
||||||
|
|||||||
@@ -2,13 +2,8 @@ package nl.veenm.paypoint.repository;
|
|||||||
|
|
||||||
import io.quarkus.hibernate.orm.panache.PanacheRepository;
|
import io.quarkus.hibernate.orm.panache.PanacheRepository;
|
||||||
import jakarta.enterprise.context.ApplicationScoped;
|
import jakarta.enterprise.context.ApplicationScoped;
|
||||||
import nl.veenm.paypoint.domain.Appointment;
|
|
||||||
import nl.veenm.paypoint.domain.Company;
|
import nl.veenm.paypoint.domain.Company;
|
||||||
|
|
||||||
import java.time.LocalDateTime;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Optional;
|
|
||||||
|
|
||||||
@ApplicationScoped
|
@ApplicationScoped
|
||||||
public class CompanyRepository implements PanacheRepository<Company> {
|
public class CompanyRepository implements PanacheRepository<Company> {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
package nl.veenm.paypoint.resource;
|
package nl.veenm.paypoint.resource;
|
||||||
|
|
||||||
import jakarta.annotation.security.PermitAll;
|
import jakarta.annotation.security.PermitAll;
|
||||||
import jakarta.annotation.security.RolesAllowed;
|
|
||||||
import jakarta.inject.Inject;
|
import jakarta.inject.Inject;
|
||||||
import jakarta.ws.rs.GET;
|
import jakarta.ws.rs.GET;
|
||||||
import jakarta.ws.rs.POST;
|
import jakarta.ws.rs.POST;
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ quarkus.http.cors.origins=${CORS_ORIGINS}
|
|||||||
quarkus.http.cors.methods=GET,POST,OPTIONS,DELETE,PUT
|
quarkus.http.cors.methods=GET,POST,OPTIONS,DELETE,PUT
|
||||||
quarkus.http.root-path=/api
|
quarkus.http.root-path=/api
|
||||||
|
|
||||||
|
quarkus.smallrye-openapi.path=/openapi
|
||||||
|
quarkus.swagger-ui.always-include=true
|
||||||
|
|
||||||
# Mailer configuratie
|
# Mailer configuratie
|
||||||
quarkus.mailer.from=${MAILER_FROM}
|
quarkus.mailer.from=${MAILER_FROM}
|
||||||
quarkus.mailer.host=${MAILER_HOST}
|
quarkus.mailer.host=${MAILER_HOST}
|
||||||
@@ -45,6 +48,11 @@ smallrye.jwt.new-token.lifespan=3600
|
|||||||
#quarkus.log.category."io.quarkus.rest".level=DEBUG
|
#quarkus.log.category."io.quarkus.rest".level=DEBUG
|
||||||
|
|
||||||
|
|
||||||
|
%test.quarkus.smallrye-openapi.path=/openapi
|
||||||
|
%test.quarkus.swagger-ui.always-include=true
|
||||||
|
|
||||||
|
%prod.quarkus.swagger-ui.always-include=false
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user