Skip to content

Commit 57b10ac

Browse files
committed
feature: amp-151 initial deployment for post subscription
* single table client_subscription * single endpoint to post new subscription * add api-test to hit actuator
1 parent 667f888 commit 57b10ac

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

gradle/tasks/apitest.gradle

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tasks.register('api', Test) {
1+
tasks.register('apiTest', Test) {
22
description = "Runs api tests against docker-compose stack"
33
group = "Verification"
44

@@ -10,22 +10,15 @@ tasks.register('api', Test) {
1010

1111
dependsOn tasks.composeUp
1212
finalizedBy tasks.composeDown
13-
14-
jvmArgs = ['-Xshare:off']
15-
testLogging {
16-
events "passed", "skipped", "failed"
17-
exceptionFormat = 'full'
18-
showStandardStreams = true
19-
}
2013
}
2114

2215
tasks.named('check') {
23-
dependsOn tasks.named('api')
16+
dependsOn tasks.named('apiTest')
2417
}
2518

2619
tasks.named('build') {
2720
dependsOn tasks.named('test')
28-
dependsOn tasks.named('api')
21+
dependsOn tasks.named('apiTest')
2922
}
3023

3124
sourceSets {
@@ -35,18 +28,12 @@ sourceSets {
3528
runtimeClasspath += sourceSets.main.output
3629

3730
}
38-
resources.srcDir file('src/apiTest/resources')
3931
}
4032
}
4133

4234
configurations {
4335
apiTestImplementation.extendsFrom testImplementation
4436
apiTestRuntimeOnly.extendsFrom testRuntimeOnly
45-
46-
// Ensure testRuntimeClasspath can be resolved for agent injection
47-
testRuntimeClasspath {
48-
canBeResolved = true
49-
}
5037
}
5138

5239
dockerCompose {

0 commit comments

Comments
 (0)