-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/SunjooAI/sunjoo-server-sent…
- Loading branch information
Showing
10 changed files
with
56 additions
and
7 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file added
BIN
+796 Bytes
build/classes/java/main/com/sunjoo/sentimentAnalysis/SentimentAnalysisApplication.class
Binary file not shown.
Binary file added
BIN
+1.55 KB
...d/classes/java/main/com/sunjoo/sentimentAnalysis/domain/controller/AnalysController.class
Binary file not shown.
Binary file added
BIN
+1.55 KB
build/tmp/compileJava/compileTransaction/stash-dir/AnalysController.class.uniqueId0
Binary file not shown.
Binary file not shown.
20 changes: 20 additions & 0 deletions
20
src/main/java/com/sunjoo/sentimentAnalysis/domain/controller/AnalysController.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,20 @@ | ||
package com.sunjoo.sentimentAnalysis.domain.controller; | ||
|
||
import lombok.RequiredArgsConstructor; | ||
import lombok.extern.slf4j.Slf4j; | ||
import org.springframework.http.ResponseEntity; | ||
import org.springframework.web.bind.annotation.GetMapping; | ||
import org.springframework.web.bind.annotation.RequestHeader; | ||
import org.springframework.web.bind.annotation.RestController; | ||
|
||
@RequiredArgsConstructor | ||
@Slf4j | ||
@RestController | ||
public class AnalysController { | ||
|
||
@GetMapping("/getList") | ||
public void getList(@RequestHeader("userNo") String userNo) { | ||
log.info("analys 서비스 호출"); | ||
log.info("login user no : " + userNo); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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,28 @@ | ||
server: | ||
port: 8092 | ||
servlet: | ||
context-path: /analyze | ||
|
||
spring: | ||
application: | ||
name: sentimentAnalysis | ||
datasource: | ||
driver-class-name: com.mysql.cj.jdbc.Driver | ||
url: jdbc:mysql://sunjoo-sentimentanalysis.clau8wyu484y.ap-northeast-2.rds.amazonaws.com:3306/juryu?useSSL=false&useUnicode=true&serverTimezone=Asia/Seoul&allowPublicKeyRetrieval=true&createDatabaseIfNotExist=true | ||
username: ${datasource.username} | ||
password: ${datasource.password} | ||
jpa: | ||
hibernate: | ||
ddl-auto: validate | ||
|
||
eureka: | ||
instance: | ||
prefer-ip-address: true | ||
lease-renewal-interval-in-seconds: 30 | ||
client: | ||
registry-fetch-interval-seconds: 30 | ||
disable-delta: true | ||
register-with-eureka: true | ||
fetch-registry: true | ||
service-url: | ||
defaultZone: http://localhost:8761/eureka/ |
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,5 @@ | ||
spring.datasource.driver-class-name=org.h2.Driver | ||
spring.datasource.url=jdbc:h2:mem:sunjooAuth;MODE=mysql; | ||
spring.jpa.show-sql=true | ||
spring.jpa.hibernate.ddl-auto=create | ||
spring.jpa.properties.hibernate.format_sql=true |