Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit ddacec1

Browse files
committed
test: Extract test for issue 450 from examples-grails-data-service
The fix for #450 did not really fit in `examples-grails-data-service`. This commit adds a new example project, that shows the problem and that it now works (taken from https://github.com/grails-core-issues-forks/multitenantcomposite).
1 parent e6882c6 commit ddacec1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+24200
-0
lines changed

examples/issue450/build.gradle

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
plugins {
2+
id 'com.bertramlabs.asset-pipeline' version '5.0.1'
3+
id 'groovy'
4+
id 'org.grails.grails-gsp'
5+
id 'org.grails.grails-web'
6+
}
7+
8+
version = rootProject.version
9+
group = 'multitenantcomposite'
10+
11+
dependencies {
12+
13+
implementation project(':grails-plugin')
14+
implementation 'org.grails:grails-core'
15+
implementation 'org.grails:grails-plugin-rest'
16+
implementation 'org.grails.plugins:gsp'
17+
18+
runtimeOnly 'com.bertramlabs.plugins:asset-pipeline-grails'
19+
runtimeOnly 'com.h2database:h2'
20+
runtimeOnly 'com.zaxxer:HikariCP'
21+
runtimeOnly 'org.grails:grails-plugin-databinding'
22+
runtimeOnly 'org.grails:grails-plugin-i18n'
23+
runtimeOnly 'org.grails:grails-plugin-services'
24+
runtimeOnly 'org.grails:grails-plugin-url-mappings'
25+
runtimeOnly 'org.grails.plugins:fields'
26+
runtimeOnly 'org.springframework.boot:spring-boot-autoconfigure'
27+
runtimeOnly 'org.springframework.boot:spring-boot-starter-logging'
28+
runtimeOnly 'org.springframework.boot:spring-boot-starter-tomcat'
29+
30+
integrationTestImplementation platform("io.micronaut.platform:micronaut-platform:$micronautPlatformVersion")
31+
integrationTestImplementation 'io.micronaut:micronaut-http-client'
32+
integrationTestImplementation 'org.grails:grails-testing-support'
33+
integrationTestImplementation 'org.spockframework:spock-core'
34+
35+
integrationTestRuntimeOnly 'io.micronaut.serde:micronaut-serde-jackson'
36+
}
Lines changed: 27 additions & 0 deletions
Loading
6.87 KB
Loading
3 KB
Loading
Lines changed: 19 additions & 0 deletions
Loading
5.43 KB
Binary file not shown.
Lines changed: 26 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)