Skip to content

Commit

Permalink
Merge pull request #217 from vskurikhin/216-separate-to-lib-daybook
Browse files Browse the repository at this point in the history
Fix #216 separate to lib-daybook
  • Loading branch information
vskurikhin authored Oct 30, 2024
2 parents 11cf23f + 3935b87 commit 763dc74
Show file tree
Hide file tree
Showing 279 changed files with 1,942 additions and 1,250 deletions.
4 changes: 4 additions & 0 deletions api-gateway/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ repositories {
}

dependencies {

implementation project(':lib-daybook')

implementation enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}:${quarkusPlatformVersion}")
implementation enforcedPlatform("${quarkusPlatformGroupId}:quarkus-camel-bom:${quarkusPlatformVersion}")

Expand Down Expand Up @@ -42,6 +45,7 @@ dependencies {
annotationProcessor "org.projectlombok:lombok-mapstruct-binding:0.2.0"
annotationProcessor "org.projectlombok:lombok:$libVers.lombok"
annotationProcessor project(":spi-mapstruct")
annotationProcessor project(":lib-daybook")

liquibaseRuntime 'info.picocli:picocli:4.6.3'
liquibaseRuntime group: 'org.slf4j', name: 'slf4j-api', version: libVers.slf4j
Expand Down
2 changes: 2 additions & 0 deletions api-gateway/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include 'lib-daybook'
project(':lib-daybook').projectDir = new File('../lib-daybook')

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file was last modified at 2024-05-14 23:32 by Victor N. Skurikhin.
* This file was last modified at 2024-10-30 09:18 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* ExceptionBadRequestAnswer.java
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file was last modified at 2024-05-14 23:32 by Victor N. Skurikhin.
* This file was last modified at 2024-10-30 09:18 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* ExceptionDuplicateAnswer.java
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file was last modified at 2024-05-14 23:32 by Victor N. Skurikhin.
* This file was last modified at 2024-10-30 09:18 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* ExceptionNoSuchElementAnswer.java
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file was last modified at 2024-05-14 23:32 by Victor N. Skurikhin.
* This file was last modified at 2024-10-30 09:19 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* PrincipalLogging.java
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file was last modified at 2024-05-14 21:36 by Victor N. Skurikhin.
* This file was last modified at 2024-10-30 00:04 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* AbstractDao.java
Expand All @@ -10,7 +10,7 @@

import io.smallrye.mutiny.Uni;
import io.vertx.mutiny.sqlclient.Row;
import su.svn.daybook3.api.gateway.domain.model.CasesOfId;
import su.svn.daybook3.domain.model.CasesOfId;

import jakarta.annotation.Nonnull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file was last modified at 2024-05-14 21:36 by Victor N. Skurikhin.
* This file was last modified at 2024-10-30 09:48 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* AbstractViewDao.java
Expand All @@ -14,11 +14,10 @@
import io.vertx.mutiny.sqlclient.RowSet;
import io.vertx.mutiny.sqlclient.SqlConnection;
import io.vertx.mutiny.sqlclient.Tuple;
import su.svn.daybook3.api.gateway.annotations.SQL;
import su.svn.daybook3.api.gateway.models.Identification;

import jakarta.annotation.Nonnull;
import jakarta.inject.Inject;
import su.svn.daybook3.annotations.SQL;
import su.svn.daybook3.models.Identification;

import java.io.Serializable;
import java.lang.reflect.Method;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file was last modified at 2024-05-14 21:36 by Victor N. Skurikhin.
* This file was last modified at 2024-10-30 09:48 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* CodifierDao.java
Expand All @@ -10,12 +10,11 @@

import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
import jakarta.enterprise.context.ApplicationScoped;
import su.svn.daybook3.annotations.SQL;
import su.svn.daybook3.api.gateway.annotations.PrincipalLogging;
import su.svn.daybook3.api.gateway.annotations.SQL;
import su.svn.daybook3.api.gateway.domain.model.CodifierTable;

import jakarta.enterprise.context.ApplicationScoped;

import java.util.Optional;

@ApplicationScoped
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file was last modified at 2024-05-14 21:36 by Victor N. Skurikhin.
* This file was last modified at 2024-10-30 00:11 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* DaoIface.java
Expand All @@ -9,7 +9,7 @@
package su.svn.daybook3.api.gateway.domain.dao;

import io.smallrye.mutiny.Uni;
import su.svn.daybook3.api.gateway.domain.model.CasesOfId;
import su.svn.daybook3.domain.model.CasesOfId;

import java.io.Serializable;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file was last modified at 2024-05-14 21:36 by Victor N. Skurikhin.
* This file was last modified at 2024-10-30 00:11 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* DaoViewIface.java
Expand All @@ -10,7 +10,7 @@

import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
import su.svn.daybook3.api.gateway.models.Identification;
import su.svn.daybook3.models.Identification;

import java.io.Serializable;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file was last modified at 2024-05-14 21:36 by Victor N. Skurikhin.
* This file was last modified at 2024-10-30 09:48 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* I18nDao.java
Expand All @@ -10,12 +10,11 @@

import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
import jakarta.enterprise.context.ApplicationScoped;
import su.svn.daybook3.annotations.SQL;
import su.svn.daybook3.api.gateway.annotations.PrincipalLogging;
import su.svn.daybook3.api.gateway.annotations.SQL;
import su.svn.daybook3.api.gateway.domain.model.I18nTable;

import jakarta.enterprise.context.ApplicationScoped;

import java.util.List;
import java.util.Optional;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file was last modified at 2024-05-14 21:36 by Victor N. Skurikhin.
* This file was last modified at 2024-10-30 09:48 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* I18nViewDao.java
Expand All @@ -10,12 +10,11 @@

import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
import jakarta.enterprise.context.ApplicationScoped;
import su.svn.daybook3.annotations.SQL;
import su.svn.daybook3.api.gateway.annotations.PrincipalLogging;
import su.svn.daybook3.api.gateway.annotations.SQL;
import su.svn.daybook3.api.gateway.domain.model.I18nView;

import jakarta.enterprise.context.ApplicationScoped;

import java.util.List;
import java.util.Optional;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file was last modified at 2024-05-14 21:36 by Victor N. Skurikhin.
* This file was last modified at 2024-10-30 09:48 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* KeyValueDao.java
Expand All @@ -11,12 +11,11 @@
import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
import io.vertx.core.json.JsonObject;
import jakarta.enterprise.context.ApplicationScoped;
import su.svn.daybook3.annotations.SQL;
import su.svn.daybook3.api.gateway.annotations.PrincipalLogging;
import su.svn.daybook3.api.gateway.annotations.SQL;
import su.svn.daybook3.api.gateway.domain.model.KeyValueTable;

import jakarta.enterprise.context.ApplicationScoped;

import java.math.BigInteger;
import java.util.Optional;
import java.util.UUID;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file was last modified at 2024-05-14 21:36 by Victor N. Skurikhin.
* This file was last modified at 2024-10-30 09:48 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* LanguageDao.java
Expand All @@ -10,12 +10,11 @@

import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
import jakarta.enterprise.context.ApplicationScoped;
import su.svn.daybook3.annotations.SQL;
import su.svn.daybook3.api.gateway.annotations.PrincipalLogging;
import su.svn.daybook3.api.gateway.annotations.SQL;
import su.svn.daybook3.api.gateway.domain.model.LanguageTable;

import jakarta.enterprise.context.ApplicationScoped;

import java.util.Optional;

@ApplicationScoped
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file was last modified at 2024-05-14 21:36 by Victor N. Skurikhin.
* This file was last modified at 2024-10-30 09:48 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* RoleDao.java
Expand All @@ -10,12 +10,11 @@

import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
import su.svn.daybook3.api.gateway.annotations.PrincipalLogging;
import su.svn.daybook3.api.gateway.annotations.SQL;
import su.svn.daybook3.api.gateway.domain.model.RoleTable;

import jakarta.enterprise.context.ApplicationScoped;
import jakarta.inject.Inject;
import su.svn.daybook3.annotations.SQL;
import su.svn.daybook3.api.gateway.annotations.PrincipalLogging;
import su.svn.daybook3.api.gateway.domain.model.RoleTable;

import java.util.Optional;
import java.util.UUID;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file was last modified at 2024-05-14 21:36 by Victor N. Skurikhin.
* This file was last modified at 2024-10-30 09:48 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* SessionDao.java
Expand All @@ -10,12 +10,11 @@

import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
import jakarta.enterprise.context.ApplicationScoped;
import su.svn.daybook3.annotations.SQL;
import su.svn.daybook3.api.gateway.annotations.PrincipalLogging;
import su.svn.daybook3.api.gateway.annotations.SQL;
import su.svn.daybook3.api.gateway.domain.model.SessionTable;

import jakarta.enterprise.context.ApplicationScoped;

import java.util.Optional;
import java.util.UUID;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file was last modified at 2024-05-14 21:36 by Victor N. Skurikhin.
* This file was last modified at 2024-10-30 09:54 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* SettingDao.java
Expand All @@ -10,12 +10,11 @@

import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
import jakarta.enterprise.context.ApplicationScoped;
import su.svn.daybook3.annotations.SQL;
import su.svn.daybook3.api.gateway.annotations.PrincipalLogging;
import su.svn.daybook3.api.gateway.annotations.SQL;
import su.svn.daybook3.api.gateway.domain.model.SettingTable;

import jakarta.enterprise.context.ApplicationScoped;

import java.util.Optional;

@ApplicationScoped
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This file was last modified at 2024-05-14 21:36 by Victor N. Skurikhin.
* This file was last modified at 2024-10-30 09:54 by Victor N. Skurikhin.
* This is free and unencumbered software released into the public domain.
* For more information, please refer to <http://unlicense.org>
* SettingViewDao.java
Expand All @@ -11,8 +11,8 @@
import io.smallrye.mutiny.Multi;
import io.smallrye.mutiny.Uni;
import jakarta.enterprise.context.ApplicationScoped;
import su.svn.daybook3.annotations.SQL;
import su.svn.daybook3.api.gateway.annotations.PrincipalLogging;
import su.svn.daybook3.api.gateway.annotations.SQL;
import su.svn.daybook3.api.gateway.domain.model.SettingView;

import java.util.Collections;
Expand Down
Loading

0 comments on commit 763dc74

Please sign in to comment.