mom0aut / dynamicrelations Goto Github PK
View Code? Open in Web Editor NEWDynamic Relations for Java Spring Projects
License: Apache License 2.0
Dynamic Relations for Java Spring Projects
License: Apache License 2.0
It would be nice to execute the flyway goals (info, clean, migrate) against a local database. Therefore the plugin needs an configuration.
Example:
<groupId>org.flywaydb</groupId>
<artifactId>flyway-maven-plugin</artifactId>
<version>${flyway-maven-plugin.version}</version>
<configuration>
<user>localUser</user>
<password>localPw</password>
<url>localUrl/</url>
<schemas>localSchema</schemas>
</configuration>
How to test:
Submodule testing mvn flyway:info
Create Integration Tests with the https://github.com/zonkyio/embedded-database-spring-test Framework and choose an Embedded Postgres Database.
The Relation Service should be Integration tested.
The jacoco-maven-plugin version from the module jacoco-report
should be extracted into a pom property.
Currently:
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.8</version>
Should:
<properties>
<jacoco.version>0.8.8</code.coverage.project.folder>
</properties>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
Add the Flyway Core: https://mvnrepository.com/artifact/org.flywaydb/flyway-core/9.10.0
Add the Flyway Maven Plugin: https://flywaydb.org/documentation/usage/maven/
Add create SQL Files for the testing Entities under src/main/resources/db/migration
Adding more Test Coverage for the Framework
Upgrade the Spring-Boot-Starter-Parent to 3.2.2 (current 3.1.1)
Currently the the versions of the dependencies are defined in each sub module. It would be convenient to define all dependencies in the root pom via the dependency management tag and use them in the matching sub module. With this change u can see all the version of the used dependencies from the whole project at once.
Example:
Root pom.xml:
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${postgresql.version}</version>
</dependency>
<dependencyManagement>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependencyManagement>
Sub Module using it:
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
Currently the dependencies in the pom.xml are direct under the dependency it would be convenient to have them all under some pom properties.
Example: <spring.boot.version->3.0.0<\spring.boot.version>
Currently there is a lot of configuration needed to get the DynamicRelations working (DrmConfig,RealtionType
)
It should be possible to streamline the usage of the framework to a simpler process.
Any suggestions are welcome
Upgrade the Spring-Boot-Starter-Parent to 3.1.0 (current 2.7.2)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.