Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ CPU 70 이상이 되면 Scale Out, 30이하면 Scale in이 되도록 Auto Scalin

## BE Trouble Shooting
- [부하테스트 - 메시지 큐를 도입할 수 밖에 없었던 이유](https://www.canva.com/design/DAGfcRy6xGE/q6HvKo_qZ0ftXHH79zK6rg/edit?utm_content=DAGfcRy6xGE&utm_campaign=designshare&utm_medium=link2&utm_source=sharebutton)
- [메시지 큐 중에 Kafka를 도입한 이유](https://github.com/Kernel360/KDEV3_monicar_BE/blob/develop/img/Kafa도입이유.md)
- [메시지 큐 중에 Kafka를 도입한 이유 - 구체적으로 업로드 예정](https://github.com/Kernel360/KDEV3_monicar_BE/blob/develop/img/Kafa도입이유.md)
- [Route53 동작이 제대로 안될 때가 있다.](https://github.com/Kernel360/blog/pull/131)
- [SSE 응답이 계속 대기 중(Pending)으로 유지되는 문제](https://github.com/Kernel360/KDEV3_monicar_BE/wiki/SSE-%EC%9D%91%EB%8B%B5%EC%9D%B4-%EA%B3%84%EC%86%8D-%EB%8C%80%EA%B8%B0-%EC%A4%91(Pending)%EC%9C%BC%EB%A1%9C-%EC%9C%A0%EC%A7%80%EB%90%98%EB%8A%94-%EB%AC%B8%EC%A0%9C)

Expand Down
1 change: 0 additions & 1 deletion monicar-collector/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ dependencies {
implementation "com.mysql:mysql-connector-j"
implementation "org.springframework.kafka:spring-kafka:3.3.0"
implementation "org.springframework.boot:spring-boot-starter-validation"
implementation project(':monicar-common')
}

tasks.bootJar {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,14 @@
package org.collector;

import org.common.TestBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import jakarta.annotation.PostConstruct;
import lombok.RequiredArgsConstructor;

@SpringBootApplication(scanBasePackages = {"org.collector", "org.common"})
@SpringBootApplication
@RequiredArgsConstructor
public class CollectorApplication {

private final TestBean testBean;

@PostConstruct
public void dependencyTest() {
testBean.dependencyTest();
}

public static void main(String[] args) {
SpringApplication.run(CollectorApplication.class, args);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class CycleInfoConsumer {
@KafkaListener(topicPartitions = @TopicPartition(topic = "cycleInfo-json-topic",
partitions = "#{@finder.partitions('cycleInfo-json-topic')}"))
public void accept(ConsumerRecord<String, CycleInfoRequest> message) {
System.out.println("[Main Consumer] Message arrived! - " + message.value());
cycleInfoService.cycleInfoSave(message.value());
log.info("[Main Consumer] Message arrived! - " + message.key());
}
}
11 changes: 0 additions & 11 deletions monicar-common/build.gradle

This file was deleted.

11 changes: 0 additions & 11 deletions monicar-common/src/main/java/org/common/TestBean.java

This file was deleted.

13 changes: 0 additions & 13 deletions monicar-common/src/main/java/org/common/dto/CListRequest.java

This file was deleted.

This file was deleted.

15 changes: 0 additions & 15 deletions monicar-common/src/main/java/org/common/dto/CycleInfoRequest.java

This file was deleted.

5 changes: 0 additions & 5 deletions monicar-common/src/main/java/org/common/dto/GCD.java

This file was deleted.

36 changes: 0 additions & 36 deletions monicar-common/src/main/java/org/common/dto/ResponseCode.java

This file was deleted.

3 changes: 0 additions & 3 deletions monicar-common/src/main/resources/application.yml

This file was deleted.

2 changes: 0 additions & 2 deletions monicar-emulator/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ dependencies {
implementation "org.springframework.kafka:spring-kafka:3.3.0"

testImplementation 'org.mock-server:mockserver-netty:5.15.0'

implementation project(':monicar-common')
}

tasks.bootJar {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
package org.emulator.device.application.port;

import org.common.dto.CommonResponse;
import java.util.List;

import org.emulator.device.common.response.BaseResponse;
import org.emulator.device.domain.CycleInfo;
import org.emulator.device.domain.OffInfo;
import org.emulator.device.domain.OnInfo;

import java.util.List;

/**
* 차량 서버에 명령을 보내는 역할을 선언한다.
*/
Expand Down
2 changes: 0 additions & 2 deletions monicar-event-hub/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ dependencies {
testImplementation 'org.testcontainers:testcontainers'
testImplementation 'org.testcontainers:mysql'
testImplementation 'org.testcontainers:junit-jupiter'

implementation project(':monicar-common')
}

tasks.bootJar {
Expand Down
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ rootProject.name = 'monicar'
include 'monicar-emulator'
include 'monicar-control-center'
include 'monicar-collector'
include 'monicar-common'
include 'monicar-event-hub'