Skip to content

Commit

Permalink
Merge pull request #13 from jjuuuunnii/main
Browse files Browse the repository at this point in the history
Feat: swagger 주소 변경
  • Loading branch information
jjuuuunnii authored Jan 10, 2024
2 parents 32edc4c + 10b2560 commit 2af949e
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ out/


src/main/resources/application.yml
src/main/resources/application-local.yml


application/**
dependencies/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public OpenAPI openAPI() {
.url("http://localhost:8080")
.description("Local Server"),
new io.swagger.v3.oas.models.servers.Server()
.url("https://mooko.dcs.jjuuuunnii.com")
.url("https://pengdori.dcs.jjuuuunnii.com")
.description("Dev Server")));
}
}
55 changes: 55 additions & 0 deletions src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
spring:
spring:
mvc:
throw-exception-if-no-handler-found: true

datasource:
url: jdbc:mysql://localhost:3306/snowmandatabase?serverTimezone=Asia/Seoul&characterEncoding=UTF-8
username: snowman-admin
password: snowman-admin
driver-class-name: com.mysql.cj.jdbc.Driver
hikari:
pool-name: jpa-hikari-pool
maximum-pool-size: 15
idleTimeout: 400
maxLifeTime: 400
data-source-properties:
rewriteBatchedStatements: true

servlet:
multipart:
max-file-size: 2MB
max-request-size: 100MB

jpa:
hibernate:
ddl-auto: create
properties:
hibernate:
current_session_context_class: org.springframework.orm.hibernate5.SpringSessionContext
jdbc.batch_size: 1000
order_inserts: true
order_updates: true
dialect: org.hibernate.dialect.MySQLDialect
show_sql: true
use_sql_comments: true
jdbc:
batch_versioned_data: true

jwt:
secret-Key: asdfasdfasdfasdrt123a1241qwetqpknapilugipk1j23k4lhj1adfkj9312kl3nasdkflj9Nvlnyasdfakljf891023jhlkasdf91nkhldf91kjlas90dfjl1k29azalikdjf912kjl3lasd9f0j1kl239asdjlkf
access-token-expire-period: 7200 #2시간
refresh-token-expire-period: 1209600 #2주

weather:
api:
url : http://apis.data.go.kr/1360000/VilageFcstInfoService_2.0/getVilageFcst
secret-key: 33hVGSyTGG6f3X3ydJKyNxksJM6vVz8BUlyZ6%2FD%2BTl1SK50t6bhkhFUWQu%2Ba5A7F7zslfRHnLdZCr1ChhYn63A%3D%3D
page-no: 1
num-of-rows: 302
data-type: JSON

reverse-geocoding:
api:
url: https://dapi.kakao.com/v2/local/geo/coord2regioncode.json
header: KakaoAK a11cfef2b3a466c46d74ebb54494324e

0 comments on commit 2af949e

Please sign in to comment.