diff --git a/docs/modules/ping-quarkus/pages/index.adoc b/docs/modules/ping-quarkus/pages/index.adoc new file mode 100644 index 0000000..4a3d61d --- /dev/null +++ b/docs/modules/ping-quarkus/pages/index.adoc @@ -0,0 +1,8 @@ +include::ping-quarkus-attributes.adoc[opts=optional] + +== ping-quarkus + +include::docs.adoc[opts=optional] + + +include::ping-quarkus-docs.adoc[opts=optional] diff --git a/docs/modules/ping-quarkus/pages/ping-quarkus-attributes.adoc b/docs/modules/ping-quarkus/pages/ping-quarkus-attributes.adoc new file mode 100644 index 0000000..897f6de --- /dev/null +++ b/docs/modules/ping-quarkus/pages/ping-quarkus-attributes.adoc @@ -0,0 +1,5 @@ + +:docker-registry: https://github.com/onecx/ping-quarkus/pkgs/container/ping-quarkus +:helm-registry: https://github.com/onecx/ping-quarkus/pkgs/container/charts%2Fping-quarkus +:properties-file: src/main/resources/application.properties +:helm-file: src/main/helm/values.yaml \ No newline at end of file diff --git a/docs/modules/ping-quarkus/pages/ping-quarkus-docs.adoc b/docs/modules/ping-quarkus/pages/ping-quarkus-docs.adoc new file mode 100644 index 0000000..0e3573a --- /dev/null +++ b/docs/modules/ping-quarkus/pages/ping-quarkus-docs.adoc @@ -0,0 +1,48 @@ + +include::ping-quarkus-attributes.adoc[opts=optional] + +=== Default properties + +.{properties-file} +[%collapsible%open] +==== +[source,properties,subs=attributes+] +---- +quarkus.datasource.db-kind=postgresql +quarkus.datasource.jdbc.max-size=30 +quarkus.datasource.jdbc.min-size=10 +quarkus.hibernate-orm.database.generation=validate +quarkus.hibernate-orm.multitenant=DISCRIMINATOR +quarkus.liquibase.migrate-at-start=true +quarkus.liquibase.validate-on-migrate=true +tkit.dataimport.enabled=false +---- +==== + +=== Extensions + +include::ping-quarkus-extensions.adoc[opts=optional] + +=== Container + +{docker-registry}[Docker registry] + + +=== Helm + +{helm-registry}[Helm registry] + +Default values + +.{helm-file} +[source,yaml] +---- +app: + image: + repository: "onecx/ping-quarkus" + db: + enabled: true + + +---- + diff --git a/docs/modules/ping-quarkus/pages/ping-quarkus-extensions.adoc b/docs/modules/ping-quarkus/pages/ping-quarkus-extensions.adoc new file mode 100644 index 0000000..9b8a612 --- /dev/null +++ b/docs/modules/ping-quarkus/pages/ping-quarkus-extensions.adoc @@ -0,0 +1,157 @@ + +include::ping-quarkus-attributes.adoc[opts=optional] + +[.extension.table.searchable, cols="50,.^15,.^15,.^20"] +|=== +h| Extensions +h| Documentation +h| Configuration +h| Version + +| onecx-core + +| https://onecx.github.io/docs/onecx-quarkus/current/onecx-quarkus/onecx-core.html[Link] +| +| 0.24.0 + +| onecx-tenant + +| https://onecx.github.io/docs/onecx-quarkus/current/onecx-quarkus/onecx-tenant.html[Link] +| https://github.com/onecx/onecx-quarkus/blob/0.24.0/docs/modules/onecx-quarkus/pages/includes/onecx-tenant.adoc[Link] +| 0.24.0 + +| tkit-quarkus-rest-context + +| https://1000kit.github.io/tkit-quarkus/current/tkit-quarkus/tkit-quarkus-rest-context.html[Link] +| https://github.com/1000kit/tkit-quarkus/blob/2.28.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-rest-context.adoc[Link] +| 2.28.0 + +| tkit-quarkus-jpa-tenant + +| https://1000kit.github.io/tkit-quarkus/current/tkit-quarkus/tkit-quarkus-jpa-tenant.html[Link] +| https://github.com/1000kit/tkit-quarkus/blob/2.28.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-jpa-tenant.adoc[Link] +| 2.28.0 + +| tkit-quarkus-data-import + +| https://1000kit.github.io/tkit-quarkus/current/tkit-quarkus/tkit-quarkus-data-import.html[Link] +| https://github.com/1000kit/tkit-quarkus/blob/2.28.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-data-import.adoc[Link] +| 2.28.0 + +| tkit-quarkus-jpa + +| https://1000kit.github.io/tkit-quarkus/current/tkit-quarkus/tkit-quarkus-jpa.html[Link] +| https://github.com/1000kit/tkit-quarkus/blob/2.28.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-jpa.adoc[Link] +| 2.28.0 + +| tkit-quarkus-log-cdi + +| https://1000kit.github.io/tkit-quarkus/current/tkit-quarkus/tkit-quarkus-log-cdi.html[Link] +| https://github.com/1000kit/tkit-quarkus/blob/2.28.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-cdi.adoc[Link] +| 2.28.0 + +| tkit-quarkus-log-rs + +| https://1000kit.github.io/tkit-quarkus/current/tkit-quarkus/tkit-quarkus-log-rs.html[Link] +| https://github.com/1000kit/tkit-quarkus/blob/2.28.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-rs.adoc[Link] +| 2.28.0 + +| tkit-quarkus-log-json + +| https://1000kit.github.io/tkit-quarkus/current/tkit-quarkus/tkit-quarkus-log-json.html[Link] +| https://github.com/1000kit/tkit-quarkus/blob/2.28.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-log-json.adoc[Link] +| 2.28.0 + +| tkit-quarkus-rest + +| https://1000kit.github.io/tkit-quarkus/current/tkit-quarkus/tkit-quarkus-rest.html[Link] +| https://github.com/1000kit/tkit-quarkus/blob/2.28.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-rest.adoc[Link] +| 2.28.0 + +| quarkus-arc + +| https://quarkus.io/guides/cdi-reference[Link] +| https://github.com/quarkusio/quarkusio.github.io/blob/develop/_generated-doc/latest/config/quarkus-arc.adoc[Link] +| 3.12.2 + +| quarkus-liquibase + +| https://quarkus.io/guides/liquibase[Link] +| https://github.com/quarkusio/quarkusio.github.io/blob/develop/_generated-doc/latest/config/quarkus-liquibase.adoc[Link] +| 3.12.2 + +| quarkus-smallrye-health + +| https://quarkus.io/guides/smallrye-health[Link] +| https://github.com/quarkusio/quarkusio.github.io/blob/develop/_generated-doc/latest/config/quarkus-smallrye-health.adoc[Link] +| 3.12.2 + +| quarkus-micrometer-registry-prometheus + +| https://quarkus.io/guides/telemetry-micrometer[Link] +| https://github.com/quarkusio/quarkusio.github.io/blob/develop/_generated-doc/latest/config/quarkus-micrometer-registry-prometheus.adoc[Link] +| 3.12.2 + +| quarkus-hibernate-orm + +| https://quarkus.io/guides/hibernate-orm[Link] +| https://github.com/quarkusio/quarkusio.github.io/blob/develop/_generated-doc/latest/config/quarkus-hibernate-orm.adoc[Link] +| 3.12.2 + +| quarkus-resteasy-reactive + +| https://quarkus.io/guides/resteasy-reactive[Link] +| https://github.com/quarkusio/quarkusio.github.io/blob/develop/_generated-doc/latest/config/quarkus-resteasy-reactive.adoc[Link] +| 3.12.2 + +| quarkus-resteasy-reactive-jackson + +| https://quarkus.io/guides/rest-json[Link] +| +| 3.12.2 + +| quarkus-jdbc-postgresql + +| https://quarkus.io/guides/datasource[Link] +| https://github.com/quarkusio/quarkusio.github.io/blob/develop/_generated-doc/latest/config/quarkus-jdbc-postgresql.adoc[Link] +| 3.12.2 + +| quarkus-smallrye-openapi + +| https://quarkus.io/guides/openapi-swaggerui[Link] +| https://github.com/quarkusio/quarkusio.github.io/blob/develop/_generated-doc/latest/config/quarkus-smallrye-openapi.adoc[Link] +| 3.12.2 + +| quarkus-hibernate-validator + +| https://quarkus.io/guides/validation[Link] +| https://github.com/quarkusio/quarkusio.github.io/blob/develop/_generated-doc/latest/config/quarkus-hibernate-validator.adoc[Link] +| 3.12.2 + +| quarkus-opentelemetry + +| https://quarkus.io/guides/opentelemetry[Link] +| https://github.com/quarkusio/quarkusio.github.io/blob/develop/_generated-doc/latest/config/quarkus-opentelemetry.adoc[Link] +| 3.12.2 + +| tkit-quarkus-security + +| https://1000kit.github.io/tkit-quarkus/current/tkit-quarkus/tkit-quarkus-security.html[Link] +| https://github.com/1000kit/tkit-quarkus/blob/2.28.0/docs/modules/tkit-quarkus/pages/includes/tkit-quarkus-security.adoc[Link] +| 2.28.0 + +| quarkus-container-image-docker + +| https://quarkus.io/guides/container-image[Link] +| https://github.com/quarkusio/quarkusio.github.io/blob/develop/_generated-doc/latest/config/quarkus-container-image-docker.adoc[Link] +| 3.12.2 + + +| quarkus-smallrye-context-propagation + +| +| +| 3.12.2 + + +|=== \ No newline at end of file diff --git a/src/test/java/org/tkit/quarkus/hello/domain/daos/ThemeDAO2Test.java b/src/test/java/org/tkit/quarkus/hello/domain/daos/ThemeDAO2Test.java index 11e33d7..8485709 100644 --- a/src/test/java/org/tkit/quarkus/hello/domain/daos/ThemeDAO2Test.java +++ b/src/test/java/org/tkit/quarkus/hello/domain/daos/ThemeDAO2Test.java @@ -10,7 +10,7 @@ @QuarkusTest @WithDBData(value = "data/data.xml", deleteBeforeInsert = true, deleteAfterTest = true, rinseAndRepeat = true) -public class ThemeDAO2Test { +class ThemeDAO2Test { @Inject ThemeDAO dao; @@ -21,19 +21,6 @@ void methodExceptionTests() { Assertions.assertNotNull(dao.findById("11-111")); Assertions.assertNull(dao.findById("1")); - // - // } finally { - // ApplicationContext.close(); - // } - // - // methodExceptionTests(() -> dao.findById(null), - // ThemeDAO.ErrorKeys.FIND_ENTITY_BY_ID_FAILED); - // methodExceptionTests(() -> dao.findThemeByName(null), - // ThemeDAO.ErrorKeys.ERROR_FIND_THEME_BY_NAME); - // methodExceptionTests(() -> dao.findThemeByNames(null), - // ThemeDAO.ErrorKeys.ERROR_FIND_THEME_BY_NAMES); - // methodExceptionTests(() -> dao.findAll(0, 2), - // ThemeDAO.ErrorKeys.ERROR_FIND_ALL_THEME_PAGE); } } diff --git a/src/test/java/org/tkit/quarkus/hello/domain/daos/ThemeDAOTest.java b/src/test/java/org/tkit/quarkus/hello/domain/daos/ThemeDAOTest.java index 40bcd47..abe29e5 100644 --- a/src/test/java/org/tkit/quarkus/hello/domain/daos/ThemeDAOTest.java +++ b/src/test/java/org/tkit/quarkus/hello/domain/daos/ThemeDAOTest.java @@ -14,7 +14,7 @@ import io.quarkus.test.junit.QuarkusTest; @QuarkusTest -public class ThemeDAOTest { +class ThemeDAOTest { @Inject ThemeDAO dao;