chore: プロジェクト構成を変更

This commit is contained in:
usbharu 2024-05-04 02:16:01 +09:00
parent 5b627ab1bd
commit 6e1ca49023
106 changed files with 27 additions and 31 deletions

View File

@ -234,7 +234,7 @@ dependencies {
implementation("org.flywaydb:flyway-core")
implementation("dev.usbharu:emoji-kt:2.0.0")
implementation("dev.usbharu:default:0.0.1")
implementation("dev.usbharu:owl-producer-default:0.0.1")
implementation("org.jsoup:jsoup:1.17.2")
implementation("com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:20240325.1")

View File

@ -22,7 +22,7 @@ dependencies {
implementation("com.google.protobuf:protobuf-kotlin:3.25.3")
implementation("io.grpc:grpc-netty:1.61.1")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0")
implementation(project(":common"))
implementation(project(":owl-common"))
implementation("org.apache.logging.log4j:log4j-slf4j2-impl:2.23.0")
implementation(platform("io.insert-koin:koin-bom:3.5.3"))
implementation(platform("io.insert-koin:koin-annotations-bom:1.3.1"))

View File

@ -17,8 +17,8 @@ repositories {
dependencies {
implementation("org.mongodb:mongodb-driver-kotlin-coroutine:5.0.0")
implementation(project(":broker"))
implementation(project(":common"))
implementation(project(":owl-broker"))
implementation(project(":owl-common"))
implementation(platform("io.insert-koin:koin-bom:3.5.3"))
implementation(platform("io.insert-koin:koin-annotations-bom:1.3.1"))
implementation("io.insert-koin:koin-core")

View File

@ -21,6 +21,5 @@ import org.koin.core.annotation.Module
@Module
@ComponentScan("dev.usbharu.owl.broker.mongodb")
class MongoModule {
}
class MongoModule

View File

@ -17,7 +17,7 @@
package dev.usbharu.owl.broker.domain.model.producer
import java.time.Instant
import java.util.UUID
import java.util.*
data class Producer(
val id:UUID,

View File

@ -62,7 +62,7 @@ class TaskPublishService(
}
}
override suspend fun publishTasks(request: PublishTaskOuterClass.PublishTasks): PublishTaskOuterClass.PublishedTasks {
override suspend fun publishTasks(request: PublishTaskOuterClass.PublishTasks): PublishedTasks {
val tasks = request.propertiesArrayList.map {
PublishTask(

View File

@ -18,7 +18,6 @@ package dev.usbharu.owl.broker.service
import dev.usbharu.owl.broker.domain.model.consumer.Consumer
import dev.usbharu.owl.broker.domain.model.consumer.ConsumerRepository
import org.koin.core.annotation.Single
import org.koin.core.annotation.Singleton
import org.slf4j.LoggerFactory
import java.util.*

View File

@ -20,5 +20,4 @@ package dev.usbharu.owl.common.task
* タスク
*
*/
open class Task {
}
open class Task

View File

@ -17,8 +17,8 @@ dependencies {
implementation("com.google.protobuf:protobuf-kotlin:3.25.3")
implementation("io.grpc:grpc-netty:1.61.1")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0")
implementation(project(":common"))
protobuf(files(project(":broker").dependencyProject.projectDir.toString() + "/src/main/proto"))
implementation(project(":owl-common"))
protobuf(files(project(":owl-broker").dependencyProject.projectDir.toString() + "/src/main/proto"))
}
tasks.test {

View File

@ -10,7 +10,7 @@ repositories {
}
dependencies {
api(project(":common"))
api(project(":owl-common"))
}
tasks.test {

View File

@ -20,5 +20,4 @@ package dev.usbharu.owl.producer.api
* [OwlProducer]の構成
*
*/
interface OwlProducerConfig {
}
interface OwlProducerConfig

View File

@ -12,14 +12,14 @@ repositories {
dependencies {
testImplementation("org.jetbrains.kotlin:kotlin-test")
api(project(":producer:api"))
api(project(":owl-producer:owl-producer-api"))
implementation("io.grpc:grpc-kotlin-stub:1.4.1")
implementation("io.grpc:grpc-protobuf:1.61.1")
implementation("com.google.protobuf:protobuf-kotlin:3.25.3")
implementation("io.grpc:grpc-netty:1.61.1")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0")
implementation(project(":common"))
protobuf(files(project(":broker").dependencyProject.projectDir.toString() + "/src/main/proto"))
implementation(project(":owl-common"))
protobuf(files(project(":owl-broker").dependencyProject.projectDir.toString() + "/src/main/proto"))
}
tasks.test {

Some files were not shown because too many files have changed in this diff Show More