fix #123 allow to specify extra annotations on repositories/methods2022.6.15
commitcfafba274f08a3c211537dd5840df285935fc97d
authorSebastian Hoß <seb@hoß.de>
Fri, 10 Jun 2022 12:36:43 +0000 (10 14:36 +0200)
committerSebastian Hoß <seb@hoß.de>
Fri, 10 Jun 2022 12:36:43 +0000 (10 14:36 +0200)
tree6aa02de0540e88b0b03a41620418f3ff61009209
parent335cbd6b91fdc11770a9cb8e56a756515edb5dec
fix #123 allow to specify extra annotations on repositories/methods
84 files changed:
README.md
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/blocks/Annotations.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/blocks/DefaultAnnotations.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/blocks/DefaultCodeBlocks.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/blocks/DefaultJavadoc.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/blocks/DefaultMethods.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/dao/DefaultCodeGenerator.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/dao/DefaultConstructorGenerator.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/dao/DefaultFieldsGenerator.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/dao/DefaultJdbcBlocks.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/dao/DefaultJdbcParameters.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/dao/DefaultMethodsGenerator.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/dao/DefaultParameterGenerator.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/dao/DefaultRepositoryGenerator.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/dao/DefaultReturnTypes.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/dao/ReturnTypes.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/files/DefaultFileParser.java [moved from yosql-codegen/src/main/java/wtf/metio/yosql/codegen/files/DefaultFileResolver.java with 69% similarity]
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/files/DefaultMethodNameConfigurer.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/files/DefaultMethodNameValidator.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/files/DefaultMethodParameterConfigurer.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/files/DefaultMethodResultRowConverterConfigurer.java [moved from yosql-codegen/src/main/java/wtf/metio/yosql/codegen/files/DefaultMethodConverterConfigurer.java with 60% similarity]
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/files/DefaultMethodSettingsConfigurer.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/files/DefaultSqlConfigurationFactory.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/files/DefaultSqlConfigurationParser.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/files/FileParser.java
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/files/FileResolver.java [deleted file]
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/files/MethodResultRowConverterConfigurer.java [moved from yosql-codegen/src/main/java/wtf/metio/yosql/codegen/files/MethodConverterConfigurer.java with 85% similarity]
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/files/ResultRowConverterDeserializer.java [deleted file]
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/files/SqlParameterDeserializer.java [deleted file]
yosql-codegen/src/main/java/wtf/metio/yosql/codegen/lifecycle/ValidationErrors.java
yosql-codegen/src/main/resources/validation-errors_de.properties
yosql-codegen/src/main/resources/validation-errors_en.properties
yosql-codegen/src/test/java/wtf/metio/yosql/codegen/blocks/DefaultAnnotationsTest.java
yosql-codegen/src/test/java/wtf/metio/yosql/codegen/files/DefaultMethodApiConfigurerTest.java
yosql-codegen/src/test/java/wtf/metio/yosql/codegen/files/DefaultMethodNameConfigurerTest.java
yosql-codegen/src/test/java/wtf/metio/yosql/codegen/files/DefaultMethodNameValidatorTest.java
yosql-codegen/src/test/java/wtf/metio/yosql/codegen/files/DefaultMethodParameterConfigurerTest.java
yosql-codegen/src/test/java/wtf/metio/yosql/codegen/files/DefaultMethodSettingsConfigurerTest.java
yosql-codegen/src/test/java/wtf/metio/yosql/codegen/files/DefaultSqlConfigurationFactoryTest.java
yosql-codegen/src/test/java/wtf/metio/yosql/codegen/files/DefaultSqlConfigurationParserTest.java
yosql-codegen/src/test/java/wtf/metio/yosql/codegen/files/FilesObjectMother.java
yosql-examples/yosql-examples-common/src/main/java/wtf/metio/yosql/example/common/CustomAnnotation.java [copied from yosql-examples/yosql-examples-common/src/main/yosql/company/queryAllCompanies.sql with 82% similarity]
yosql-examples/yosql-examples-common/src/main/java/wtf/metio/yosql/example/common/CustomAnnotationWithData.java [copied from yosql-examples/yosql-examples-common/src/main/yosql/company/findCompanies.sql with 57% similarity]
yosql-examples/yosql-examples-common/src/main/yosql/company/findCompanies.sql
yosql-examples/yosql-examples-common/src/main/yosql/company/queryAllCompanies.sql
yosql-examples/yosql-examples-gradle/yosql-examples-gradle-jdbc-java8/build.gradle.kts
yosql-examples/yosql-examples-maven/yosql-examples-maven-jdbc-java8/pom.xml
yosql-internals/yosql-internals-javapoet-utils/src/main/java/wtf/metio/yosql/internals/javapoet/TypicalTypes.java
yosql-internals/yosql-internals-jdk-utils/src/main/java/wtf/metio/yosql/internals/jdk/Buckets.java
yosql-models/yosql-models-configuration/pom.xml
yosql-models/yosql-models-configuration/src/main/java/wtf/metio/yosql/models/configuration/Annotation.java [new file with mode: 0644]
yosql-models/yosql-models-configuration/src/main/java/wtf/metio/yosql/models/configuration/AnnotationMember.java [new file with mode: 0644]
yosql-models/yosql-models-configuration/src/main/java/wtf/metio/yosql/models/configuration/GeneratedAnnotationApis.java [moved from yosql-models/yosql-models-configuration/src/main/java/wtf/metio/yosql/models/configuration/AnnotationApis.java with 79% similarity]
yosql-models/yosql-models-configuration/src/main/java/wtf/metio/yosql/models/configuration/GeneratedAnnotationMembers.java [moved from yosql-models/yosql-models-configuration/src/main/java/wtf/metio/yosql/models/configuration/AnnotationMembers.java with 95% similarity]
yosql-models/yosql-models-configuration/src/main/java/wtf/metio/yosql/models/configuration/LoggingApis.java
yosql-models/yosql-models-configuration/src/main/java/wtf/metio/yosql/models/configuration/ParameterConverter.java
yosql-models/yosql-models-configuration/src/main/java/wtf/metio/yosql/models/configuration/ResultRowConverter.java
yosql-models/yosql-models-configuration/src/main/java/wtf/metio/yosql/models/configuration/SqlParameter.java
yosql-models/yosql-models-configuration/src/main/java/wtf/metio/yosql/models/configuration/SqlStatementType.java [moved from yosql-models/yosql-models-configuration/src/main/java/wtf/metio/yosql/models/configuration/SqlType.java with 89% similarity]
yosql-models/yosql-models-configuration/src/test/java/wtf/metio/yosql/models/configuration/AnnotationTest.java [new file with mode: 0644]
yosql-models/yosql-models-configuration/src/test/java/wtf/metio/yosql/models/configuration/SqlParameterTest.java [new file with mode: 0644]
yosql-models/yosql-models-configuration/src/test/java/wtf/metio/yosql/models/constants/api/GeneratedAnnotationApisTest.java [moved from yosql-models/yosql-models-configuration/src/test/java/wtf/metio/yosql/models/constants/api/AnnotationApisTest.java with 64% similarity]
yosql-models/yosql-models-configuration/src/test/java/wtf/metio/yosql/models/constants/api/LoggingApisTest.java
yosql-models/yosql-models-configuration/src/test/java/wtf/metio/yosql/models/constants/configuration/GeneratedAnnotationMembersTest.java [moved from yosql-models/yosql-models-configuration/src/test/java/wtf/metio/yosql/models/constants/configuration/AnnotationMembersTest.java with 71% similarity]
yosql-models/yosql-models-configuration/src/test/java/wtf/metio/yosql/models/constants/sql/SqlStatementTypeTest.java [moved from yosql-models/yosql-models-configuration/src/test/java/wtf/metio/yosql/models/constants/sql/SqlTypeTest.java with 71% similarity]
yosql-models/yosql-models-generator/src/main/java/wtf/metio/yosql/model/generator/AbstractFieldsBasedGenerator.java
yosql-models/yosql-models-generator/src/main/java/wtf/metio/yosql/model/generator/Generator.java
yosql-models/yosql-models-generator/src/main/java/wtf/metio/yosql/model/generator/GradleGenerator.java
yosql-models/yosql-models-generator/src/main/java/wtf/metio/yosql/model/generator/MavenGenerator.java
yosql-models/yosql-models-immutables/src/main/java/wtf/metio/yosql/models/immutables/SqlStatement.java
yosql-models/yosql-models-immutables/src/test/java/wtf/metio/yosql/models/immutables/SqlConfigurationTest.java
yosql-models/yosql-models-meta/src/main/java/wtf/metio/yosql/models/meta/ConfigurationGroup.java
yosql-models/yosql-models-meta/src/main/java/wtf/metio/yosql/models/meta/data/AbstractConfigurationGroup.java [new file with mode: 0644]
yosql-models/yosql-models-meta/src/main/java/wtf/metio/yosql/models/meta/data/AllConfigurations.java
yosql-models/yosql-models-meta/src/main/java/wtf/metio/yosql/models/meta/data/Annotations.java
yosql-models/yosql-models-meta/src/main/java/wtf/metio/yosql/models/meta/data/Converter.java
yosql-models/yosql-models-meta/src/main/java/wtf/metio/yosql/models/meta/data/Repositories.java
yosql-models/yosql-models-meta/src/main/java/wtf/metio/yosql/models/meta/data/Sql.java
yosql-models/yosql-models-meta/src/main/java/wtf/metio/yosql/models/meta/data/Tags.java
yosql-testing/yosql-testing-configs/src/main/java/wtf/metio/yosql/testing/configs/AnnotationsConfigurations.java
yosql-testing/yosql-testing-configs/src/main/java/wtf/metio/yosql/testing/configs/SqlConfigurations.java
yosql-tooling/pom.xml
yosql-tooling/yosql-tooling-dagger/src/main/java/wtf/metio/yosql/tooling/dagger/files/DefaultFilesModule.java
yosql-tooling/yosql-tooling-gradle/src/main/java/wtf/metio/yosql/tooling/gradle/YoSqlPlugin.java