-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update parent to 0.23.0
- Loading branch information
1 parent
bb51787
commit 51d5bef
Showing
6 changed files
with
48 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
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
19 changes: 19 additions & 0 deletions
19
src/main/java/io/github/onecx/theme/rs/exim/v1/log/ExportImportLogParam.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,19 @@ | ||
package io.github.onecx.theme.rs.exim.v1.log; | ||
|
||
import java.util.List; | ||
|
||
import jakarta.enterprise.context.ApplicationScoped; | ||
|
||
import org.tkit.quarkus.log.cdi.LogParam; | ||
|
||
import gen.io.github.onecx.theme.rs.exim.v1.model.EximExportRequestDTOV1; | ||
|
||
@ApplicationScoped | ||
public class ExportImportLogParam implements LogParam { | ||
|
||
@Override | ||
public List<Item> getClasses() { | ||
return List.of( | ||
item(10, EximExportRequestDTOV1.class, x -> x.getClass().getSimpleName())); | ||
} | ||
} |
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
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
26 changes: 26 additions & 0 deletions
26
src/main/java/io/github/onecx/theme/rs/internal/log/ThemesLogParam.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,26 @@ | ||
package io.github.onecx.theme.rs.internal.log; | ||
|
||
import java.util.List; | ||
|
||
import jakarta.enterprise.context.ApplicationScoped; | ||
|
||
import org.tkit.quarkus.log.cdi.LogParam; | ||
|
||
import gen.io.github.onecx.theme.rs.internal.model.CreateThemeDTO; | ||
import gen.io.github.onecx.theme.rs.internal.model.ThemeSearchCriteriaDTO; | ||
import gen.io.github.onecx.theme.rs.internal.model.UpdateThemeDTO; | ||
|
||
@ApplicationScoped | ||
public class ThemesLogParam implements LogParam { | ||
|
||
@Override | ||
public List<Item> getClasses() { | ||
return List.of( | ||
item(10, CreateThemeDTO.class, x -> x.getClass().getSimpleName() + ":" + ((CreateThemeDTO) x).getName()), | ||
item(10, ThemeSearchCriteriaDTO.class, x -> { | ||
ThemeSearchCriteriaDTO d = (ThemeSearchCriteriaDTO) x; | ||
return ThemeSearchCriteriaDTO.class.getSimpleName() + "[" + d.getPageNumber() + "," + d.getPageSize() + "]"; | ||
}), | ||
item(10, UpdateThemeDTO.class, x -> x.getClass().getSimpleName() + ":" + ((UpdateThemeDTO) x).getName())); | ||
} | ||
} |