File tree 3 files changed +26
-4
lines changed
main/java/org/gitlab4j/api/models
test/resources/org/gitlab4j/api
3 files changed +26
-4
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,12 @@ dependencies {
22
22
api ' org.glassfish.jersey.media:jersey-media-multipart:2.39.1'
23
23
api ' org.glassfish.jersey.media:jersey-media-json-jackson:2.39.1'
24
24
api ' jakarta.servlet:jakarta.servlet-api:4.0.4'
25
- testImplementation ' org.junit.jupiter:junit-jupiter:5.8.2'
26
25
testImplementation ' org.mockito:mockito-core:4.4.0'
27
26
testImplementation ' org.mockito:mockito-junit-jupiter:4.4.0'
28
27
testImplementation ' org.hamcrest:hamcrest-all:1.3'
29
28
testImplementation ' uk.org.webcompere:system-stubs-jupiter:1.2.0'
29
+ testImplementation " org.junit.jupiter:junit-jupiter-api:5.10.4"
30
+ testRuntimeOnly " org.junit.jupiter:junit-jupiter-engine:5.10.4"
30
31
}
31
32
32
33
signing {
@@ -50,6 +51,10 @@ java {
50
51
}
51
52
}
52
53
54
+ tasks. named(' test' ) {
55
+ useJUnitPlatform()
56
+ }
57
+
53
58
repositories {
54
59
mavenCentral()
55
60
}
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ public class GroupHook implements Serializable {
29
29
private Boolean subgroupEvents ;
30
30
private Boolean memberEvents ;
31
31
private Boolean enableSslVerification ;
32
+ private String alertStatus ;
33
+ private Date disabledUntil ;
32
34
private Boolean repositoryUpdateEvents ;
33
35
private Date createdAt ;
34
36
private Boolean resourceAccessTokenEvents ;
@@ -218,6 +220,22 @@ public void setEnableSslVerification(Boolean enableSslVerification) {
218
220
this .enableSslVerification = enableSslVerification ;
219
221
}
220
222
223
+ public String getAlertStatus () {
224
+ return alertStatus ;
225
+ }
226
+
227
+ public void setAlertStatus (String alertStatus ) {
228
+ this .alertStatus = alertStatus ;
229
+ }
230
+
231
+ public Date getDisabledUntil () {
232
+ return disabledUntil ;
233
+ }
234
+
235
+ public void setDisabledUntil (Date disabledUntil ) {
236
+ this .disabledUntil = disabledUntil ;
237
+ }
238
+
221
239
public Boolean getRepositoryUpdateEvents () {
222
240
return repositoryUpdateEvents ;
223
241
}
Original file line number Diff line number Diff line change 24
24
"enable_ssl_verification" : true ,
25
25
"repository_update_events" : false ,
26
26
"alert_status" : " executable" ,
27
- "disabled_until" : null ,
28
- "url_variables" : [ ],
27
+ "disabled_until" : " 2012-10-12T17:04:47Z" ,
29
28
"created_at" : " 2012-10-12T17:04:47Z" ,
30
29
"resource_access_token_events" : true ,
31
- "custom_webhook_template" : " {\" event\" :\" {{object_kind}}\" }" ,
30
+ "custom_webhook_template" : " {\" event\" :\" {{object_kind}}\" }"
32
31
}
You can’t perform that action at this time.
0 commit comments