Skip to content

EmersonRafael/allowme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Allowme

Configuração de base no arquivo application.properties

schedule.jobs.cronExp= 0 0/1 * * * *
app.usuario=tempest
app.senha=tempest

spring.datasource.url=jdbc:postgresql://127.0.0.1:5432/challenge-db
spring.datasource.username=allowme
spring.datasource.password=password
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect
spring.jpa.show-sql=false
spring.datasource.hikari.connectionTimeout=20000
spring.datasource.hikari.maximumPoolSize=5
spring.datasource.hikari.maximum-pool-size=10 

Requisitos

Banco de dados

Scripts das tabelas

Teste gerarBilling

curl --location --request POST 'http://localhost:8080/allowMe/gerarBilling' \
--header 'Authorization: Basic dGVtcGVzdDp0ZW1wZXN0' \
--header 'Content-Type: application/json' \
--header 'Cookie: JSESSIONID=D1B4763CFDD44417ABBD9B1C2DC0D11D' \
--data-raw '{
    "start":"2021-10-28",
    "end": "2021-10-28"
}'

Testes Unitários

Executar a classe AllowmeApplicationTests.java com JUnit.

Emerson Rafael Maia Melo – [email protected].

LinkedIn

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages