Skip to content

Commit

Permalink
Refactor domain model for Projects
Browse files Browse the repository at this point in the history
This commit completely refactors the domain model for Projects and
Groups, Releases, Samples, etc. This commit also adds a new Generation
concept, which describes the support policy for a given generation of
releases.

These changes are reflected in a new Flyway migration script as well as
the fixtures. Because the latest migration script uses
postgresql-specific queries, the standalone H2 configuration now enables
the postgresql mode.

Fixes spring-atticgh-903
  • Loading branch information
bclozel committed Sep 21, 2020
1 parent d82c5da commit 70dd61a
Show file tree
Hide file tree
Showing 39 changed files with 2,016 additions and 1,396 deletions.
10 changes: 4 additions & 6 deletions sagan-site/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 23,6 @@ repositories {
mavenCentral()
}

ext {
set('springCloudVersion', 'Edgware.SR5')
}

springBoot {
mainClass = 'sagan.SiteApplication'
}
Expand All @@ -49,6 45,9 @@ dependencies {
compile "org.springframework.boot:spring-boot-devtools"
compile "org.springframework.security:spring-security-acl"
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
compile 'org.hibernate:hibernate-java8'
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'

compile 'org.springframework.boot:spring-boot-starter-validation'

compile 'org.springframework.social:spring-social-github:1.0.0.M4'
Expand Down Expand Up @@ -84,7 83,7 @@ dependencies {

// datasource and connection pool dependencies
runtime 'org.postgresql:postgresql:9.4.1212'
runtime 'com.h2database:h2'
runtime 'com.h2database:h2:1.4.200'

// for use of spring-test's MatcherAssertionErrors.*
testCompile 'org.springframework.boot:spring-boot-starter-test'
Expand All @@ -94,7 93,6 @@ dependencies {

// for use in mocking http interactions
testCompile "org.springframework.restdocs:spring-restdocs-mockmvc"
testCompile "org.springframework.cloud:spring-cloud-contract-wiremock"
testCompile "org.springframework.boot:spring-boot-starter-test"

}
Expand Down
Loading

0 comments on commit 70dd61a

Please sign in to comment.