Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3092 commits
Select commit Hold shift + click to select a range
cf5eacf
chore(deps): bump com.jayway.jsonpath:json-path in /dhis-2 (#16236)
dependabot[bot] Jan 22, 2024
703c3cb
chore(deps): bump io.netty:netty-all in /dhis-2 (#16237)
dependabot[bot] Jan 22, 2024
22d88af
fix: Add tests to validate events sorting feature [TECH-1650] (#16216)
muilpp Jan 23, 2024
b21349d
chore(deps): bump com.diffplug.spotless:spotless-maven-plugin in /dhi…
dependabot[bot] Jan 24, 2024
e5d7ff6
fix(translations): sync translations from transifex (2.40) (#16024)
dhis2-bot Jan 24, 2024
41af628
feat: Datastore sharing backport [DHIS2-16530] (#16263)
david-mackessy Jan 24, 2024
3c07f52
chore(deps): bump de.skuzzle.enforcer:restrict-imports-enforcer-rule …
dependabot[bot] Jan 26, 2024
b4c3349
chore(deps): bump testcontainers.version in /dhis-2 (#16302)
dependabot[bot] Jan 26, 2024
760d18f
fix: Exporting users should include expected fields when skipSharing …
david-mackessy Jan 26, 2024
060a361
fix: Pre-fill user-invite fields and align form fields with user-app …
netroms Jan 26, 2024
17ad1c6
fix: add missing api/authorities `F_IMPERSONATE_USER` translation (#1…
netroms Jan 29, 2024
9e4456e
fix: workaround compiler error for type variables (#16352) (#16359)
maikelarabori Jan 30, 2024
3f72193
fix: Value types of metadata [DHIS2-16315] (#16357)
maikelarabori Jan 30, 2024
79ace48
fix: Import event visualisations [DHIS2-16501] (#16360)
david-mackessy Jan 30, 2024
919a727
fix: nested indicator w/periodOffset [DHIS2-15434] (#16342) (#16362)
jimgrace Jan 30, 2024
43c41cd
fix: Ensure lastUpdated field reflects deletion for event and enrollm…
lucaCambi77 Jan 30, 2024
8250f7e
chore(deps): bump version.debezium in /dhis-2 (#16376)
dependabot[bot] Jan 31, 2024
4f29f12
chore(deps): bump artemis.version from 2.31.2 to 2.32.0 in /dhis-2 (#…
dependabot[bot] Jan 31, 2024
9fb284b
chore(deps): bump com.google.zxing:core from 3.5.2 to 3.5.3 in /dhis-…
dependabot[bot] Feb 1, 2024
5fec041
chore(deps): bump jetty.version from 10.0.19 to 10.0.20 in /dhis-2 (#…
dependabot[bot] Feb 1, 2024
f3b471f
chore(deps): bump com.google.zxing:javase from 3.5.2 to 3.5.3 in /dhi…
dependabot[bot] Feb 2, 2024
a713429
chore(deps): bump com.google.api-client:google-api-client in /dhis-2 …
dependabot[bot] Feb 2, 2024
d57f925
chore(deps): bump joda-time:joda-time from 2.12.6 to 2.12.7 in /dhis-…
dependabot[bot] Feb 5, 2024
5142257
chore(deps): bump org.junit:junit-bom from 5.10.1 to 5.10.2 in /dhis-…
dependabot[bot] Feb 5, 2024
699677e
fix: Remove sorting restriction on column [DHIS2-16542] (#16409)
maikelarabori Feb 5, 2024
7503c2c
fix: skip reference check createdBy when create new object (2.40) (#1…
vietnguyen Feb 6, 2024
a0ff52c
fix: Relationships are not filtered by deleted in tracker/relationshi…
lucaCambi77 Feb 6, 2024
9804dd9
fix: Getting internal server when trying to fetch a deleted enrollmen…
lucaCambi77 Feb 6, 2024
dc86007
Dhis2 16728 2.40: Back-port of abandoned data elements fix from maste…
jason-p-pickering Feb 7, 2024
b540705
chore: update maven versions to 2.40.4-SNAPSHOT
Philip-Larsen-Donnelly Feb 7, 2024
a985c99
fix: Look up data sets only once for data element (#16448)
larshelge Feb 7, 2024
4a5277f
fix: Add missing dim. to enum [DHIS2-14956] (#16450)
maikelarabori Feb 7, 2024
8e27b7e
fix: Improve performance of min max validation query [DHIS2-16750] [4…
larshelge Feb 7, 2024
07b596e
feat: Add optional ordering of analytics tables [DHIS2-16757]
larshelge Feb 8, 2024
a211106
chore(deps): bump commons-codec:commons-codec in /dhis-2 (#16472)
dependabot[bot] Feb 9, 2024
ad8162c
chore(deps): bump testcontainers.version in /dhis-2 (#16471)
dependabot[bot] Feb 9, 2024
efb71ef
chore(deps): bump com.github.spotbugs:spotbugs-maven-plugin in /dhis-…
dependabot[bot] Feb 12, 2024
3abf65b
chore(deps-dev): bump org.openapitools:openapi-generator in /dhis-2 (…
dependabot[bot] Feb 12, 2024
0d264bb
fix: Do not export storedby with aggregate data exchanges [DHIS2-1676…
jason-p-pickering Feb 12, 2024
f8cca3e
fix: FollowUp is not persisted in programStageWorkingListFilters [2.4…
lucaCambi77 Feb 12, 2024
757eff7
chore(deps): bump micrometer.version from 1.12.2 to 1.12.3 in /dhis-2…
dependabot[bot] Feb 13, 2024
1a9f424
chore(deps): bump net.sf.jasperreports:jasperreports in /dhis-2 (#16492)
dependabot[bot] Feb 13, 2024
449ebf9
chore(deps): bump io.netty:netty-all in /dhis-2 (#16503)
dependabot[bot] Feb 13, 2024
38e51bc
chore: backport #283addb to add support for unpooled DB pool type (#1…
cjmamo Feb 14, 2024
e302288
chore(deps-dev): bump com.google.code.java-allocation-instrumenter:ja…
dependabot[bot] Feb 15, 2024
7109cba
chore(deps): bump com.mchange:c3p0 in /dhis-2 (#16528)
dependabot[bot] Feb 16, 2024
70f09f1
fix: JasperReport failed to export pdf with arabic characters (2.40) …
vietnguyen Feb 16, 2024
62b7c1a
fix:(2.40) tracker not able to trigger program rule notificaitons (#1…
zubaira Feb 16, 2024
45b5154
chore(deps): bump spring-security.version in /dhis-2 (#16540)
dependabot[bot] Feb 19, 2024
6de2506
chore(deps): bump com.mchange:c3p0 in /dhis-2 (#16541)
dependabot[bot] Feb 19, 2024
69f1d6e
chore(deps): bump geotools.version from 29.4 to 29.5 in /dhis-2 (#16552)
dependabot[bot] Feb 20, 2024
a6c9b3c
fix: page incorrect /api/tracker/{trackedEntities,relationships} (#16…
teleivo Feb 20, 2024
5fe031f
chore(deps): bump org.postgresql:postgresql in /dhis-2 (#16565)
dependabot[bot] Feb 21, 2024
25154ed
chore(deps): bump org.apache.maven.plugins:maven-shade-plugin in /dhi…
dependabot[bot] Feb 21, 2024
903c908
chore(deps): bump spring.version from 5.3.31 to 5.3.32 in /dhis-2 (#1…
dependabot[bot] Feb 21, 2024
daef6ef
fix: updateNoAcl should update lastUpdatedBy [DHIS2-15543] (#16571)
david-mackessy Feb 21, 2024
f64ea85
fix: run in memory jobs on any node [DHIS2-16497] (#16577)
jbee Feb 21, 2024
6af1385
chore(deps): bump log4j.version from 2.22.1 to 2.23.0 in /dhis-2 (#16…
dependabot[bot] Feb 22, 2024
4185989
chore(deps): bump testcontainers.version in /dhis-2 (#16590)
dependabot[bot] Feb 23, 2024
5f1f303
chore(deps): bump com.mchange:c3p0 in /dhis-2 (#16601)
dependabot[bot] Feb 26, 2024
a3122a2
chore: backport #36fe83e E6305 exception return when patch ADE (#16608)
jason-p-pickering Feb 26, 2024
ba1028e
ci: update IM play instance restart/deploy commands [skip ci] (#16615)
radnov Feb 26, 2024
fae7938
chore(deps): bump com.mchange:c3p0 in /dhis-2 (#16618)
dependabot[bot] Feb 27, 2024
e42e8d2
chore(deps): bump org.apache.kafka:kafka-clients in /dhis-2 (#16619)
dependabot[bot] Feb 27, 2024
6f396de
fix: Handle Indonesian locale codes [DHIS2-13358] (#16606)
david-mackessy Feb 27, 2024
0c71440
chore(deps): bump version.debezium in /dhis-2 (#16631)
dependabot[bot] Feb 28, 2024
832aef3
ci: add script and pipeline for rebuilding images [skip ci] [DEVOPS-2…
radnov Feb 28, 2024
3ad2380
fix: Persist and return new Indonesian locales [DHIS2-13358] (#16642)
david-mackessy Feb 29, 2024
f405e3b
feat: data sharing for AggregateDataExchange (#16558) (#16654)
vietnguyen Feb 29, 2024
20f1e23
fix: SQL view update job parameters mapping [DHIS2-14718] (2.40) (#16…
jbee Feb 29, 2024
edf6ed4
chore(deps): bump com.mchange:c3p0 in /dhis-2 (#16671)
dependabot[bot] Mar 1, 2024
2287274
fix: Support the zip/gzip format in tracker exporter endpoints [2.40]…
lucaCambi77 Mar 1, 2024
70c73a8
fix(translations): sync translations from transifex (2.40)
dhis2-bot Mar 3, 2024
27567fd
chore(deps): bump com.mchange:c3p0 in /dhis-2 (#16683)
dependabot[bot] Mar 4, 2024
9d134cb
chore(deps): bump testcontainers.version in /dhis-2 (#16709)
dependabot[bot] Mar 6, 2024
6139218
chore(deps): bump io.github.classgraph:classgraph in /dhis-2 (#16710)
dependabot[bot] Mar 6, 2024
099327d
fix: reject invalid order parameter values DHIS2-16935 (#16713)
teleivo Mar 6, 2024
6ca8ea3
fix: Do not swallow stack trace from JDK exceptions
larshelge Mar 11, 2024
b691267
fix: Improve LDAP authentication logging
larshelge Mar 11, 2024
ba39d1b
fix: clean e2e event export tests [2.40] (#16752)
lucaCambi77 Mar 11, 2024
502705b
fix: SMS gateway configuration - do not require confidential properti…
jbee Mar 12, 2024
fd5b249
fix: api/pdfForm return error 500 if db_locale is null (#16717) (#16769)
vietnguyen Mar 15, 2024
cb03290
fix: Hand-Cherry-picked from DHIS2-17041 (#16790)
jimgrace Mar 15, 2024
24c3dc0
fix: check event in enrollment with no tracked entity [2.40] (#16820)
lucaCambi77 Mar 19, 2024
3332208
chore(deps-dev): bump swagger.version from 2.1.20 to 2.1.21 in /dhis-…
dependabot[bot] Mar 20, 2024
2e15d81
chore(deps): bump log4j.version from 2.23.0 to 2.23.1 in /dhis-2 (#16…
dependabot[bot] Mar 20, 2024
0f4a58f
fix(app): use correct authority for overidden bundled-apps (#16488) (…
Birkbjo Mar 20, 2024
75f4ad9
chore(deps): bump jclouds.version from 2.5.0 to 2.6.0 in /dhis-2 (#16…
dependabot[bot] Mar 20, 2024
6cecdcd
chore(deps): bump spring-security.version in /dhis-2 (#16860)
dependabot[bot] Mar 21, 2024
623bebe
chore(deps): bump version.debezium in /dhis-2 (#16862)
dependabot[bot] Mar 21, 2024
ea66dfb
chore(deps): bump micrometer.version from 1.12.3 to 1.12.4 in /dhis-2…
dependabot[bot] Mar 21, 2024
9a68b89
chore: Update json schema lib and tests (#16870)
david-mackessy Mar 21, 2024
b773fa1
chore(deps): bump spring.version from 5.3.32 to 5.3.33 in /dhis-2 (#1…
dependabot[bot] Mar 22, 2024
d9753bb
chore(deps): bump io.netty:netty-all in /dhis-2 (#16893)
dependabot[bot] Mar 22, 2024
33a101e
chore(deps): bump org.postgresql:postgresql in /dhis-2 (#16894)
dependabot[bot] Mar 22, 2024
0b0db82
chore(deps): bump io.lettuce:lettuce-core in /dhis-2 (#16895)
dependabot[bot] Mar 22, 2024
966bf94
chore(deps): bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 (#16883)
dependabot[bot] Mar 22, 2024
1891299
chore(deps): bump org.awaitility:awaitility in /dhis-2 (#16901)
dependabot[bot] Mar 22, 2024
4c8d8b4
chore(deps): bump org.apache.maven.plugins:maven-compiler-plugin (#16…
dependabot[bot] Mar 22, 2024
942dfcb
chore(deps-dev): bump org.openapitools:openapi-generator in /dhis-2 (…
dependabot[bot] Mar 22, 2024
da91440
chore(deps): bump com.google.api-client:google-api-client in /dhis-2 …
dependabot[bot] Mar 22, 2024
e5643cb
chore(deps): bump artemis.version from 2.32.0 to 2.33.0 in /dhis-2 (#…
dependabot[bot] Mar 25, 2024
81ce6de
chore(deps): bump org.projectlombok:lombok in /dhis-2 (#16922)
dependabot[bot] Mar 25, 2024
6f2eba4
chore(deps): bump com.google.guava:guava in /dhis-2 (#16920)
dependabot[bot] Mar 25, 2024
5b91249
chore(deps): bump org.owasp:dependency-check-maven in /dhis-2 (#16921)
dependabot[bot] Mar 25, 2024
4d2b989
chore(deps): bump io.github.classgraph:classgraph in /dhis-2 (#16938)
dependabot[bot] Mar 26, 2024
3bebe88
chore(deps): bump org.sonarsource.scanner.maven:sonar-maven-plugin (#…
dependabot[bot] Mar 26, 2024
75ce903
fix: Backport skipRounding/rounding in enrollments [DHIS2-17027] (#16…
maikelarabori Mar 27, 2024
b0a22a4
chore(deps): bump version.debezium in /dhis-2 (#16969)
dependabot[bot] Mar 28, 2024
9061444
chore(deps-dev): bump org.hisp:quick from 1.4.3 to 1.4.4 in /dhis-2 (…
dependabot[bot] Mar 28, 2024
1d98d3d
fix: Use correct JDBC template with read replicas [DHIS2-17062] (#16977)
david-mackessy Mar 28, 2024
1919ccc
chore(deps-dev): bump commons-io:commons-io in /dhis-2 (#16985)
dependabot[bot] Mar 29, 2024
2cc4493
chore(deps): bump org.owasp:dependency-check-maven in /dhis-2 (#16998)
dependabot[bot] Apr 1, 2024
4cbc36c
chore(deps): bump version.debezium in /dhis-2 (#17022)
dependabot[bot] Apr 3, 2024
427650b
chore(deps): bump org.jacoco:jacoco-maven-plugin in /dhis-2 (#17023)
dependabot[bot] Apr 3, 2024
7298529
fix: Validate event parameters together in TE endpoint [DHIS2-16927] …
enricocolasante Apr 3, 2024
57a5979
chore(deps): bump jasperreports.version from 6.20.0 to 6.21.2 in /dhi…
dependabot[bot] Apr 4, 2024
9c8bdab
chore(deps): bump io.github.classgraph:classgraph in /dhis-2 (#17044)
dependabot[bot] Apr 5, 2024
6ad6490
fix: Validate user has access to relationship type [DHIS2-17082][2.40…
muilpp Apr 5, 2024
5418e2e
chore(deps): bump com.github.spotbugs:spotbugs in /dhis-2 (#17064)
dependabot[bot] Apr 8, 2024
4808050
chore(deps-dev): bump commons-io:commons-io in /dhis-2 (#17073)
dependabot[bot] Apr 9, 2024
77211d4
chore(deps): bump micrometer.version from 1.12.4 to 1.12.5 in /dhis-2…
dependabot[bot] Apr 9, 2024
b2e84a4
chore(deps): bump com.github.spotbugs:spotbugs-maven-plugin in /dhis-…
dependabot[bot] Apr 10, 2024
a451ff2
fix:Filter using "IN:NV", in analytics enrollments query should not r…
d-bernat Apr 10, 2024
4058aeb
chore(deps): bump spring.version from 5.3.33 to 5.3.34 in /dhis-2 (#1…
dependabot[bot] Apr 12, 2024
cbc8b9f
chore(deps): bump version.debezium in /dhis-2 (#17133)
dependabot[bot] Apr 15, 2024
96a2cdc
fix: Tracker - Default Json response to browser only html requests [D…
lucaCambi77 Apr 15, 2024
38baade
chore(deps): bump spring-security.version in /dhis-2 (#17147)
dependabot[bot] Apr 16, 2024
adf5d6f
chore(deps): bump io.netty:netty-all in /dhis-2 (#17149)
dependabot[bot] Apr 16, 2024
fd23633
chore(deps): bump org.apache.commons:commons-text in /dhis-2 (#17160)
dependabot[bot] Apr 17, 2024
b3ce5bd
fix: resolve objects by ID identifier (UID alias) [DHIS2-17186] (#171…
jbee Apr 17, 2024
5298159
chore(deps): bump jasperreports.version from 6.21.2 to 6.21.3 in /dhi…
dependabot[bot] Apr 18, 2024
b2dcdd4
chore(deps-dev): bump org.openapitools:openapi-generator in /dhis-2 (…
dependabot[bot] Apr 18, 2024
d0cda50
chore(deps): bump io.github.classgraph:classgraph in /dhis-2 (#17179)
dependabot[bot] Apr 18, 2024
46c6986
fix: Investigate the reason of differences in events x enrollments in…
d-bernat Apr 18, 2024
33d721b
fix:Analytics events query API: 500 error when dimension is not prese…
d-bernat Apr 18, 2024
0f9e2f8
chore(deps): bump io.github.classgraph:classgraph in /dhis-2 (#17195)
dependabot[bot] Apr 22, 2024
f47915e
fix: Return ok() in Maps PUT method [DHIS2-15978] (#17199) (#17202)
maikelarabori Apr 22, 2024
032ecc7
fix: Bad SQL syntax exception in /analytics/Event/aggregate[2.40-DHIS…
d-bernat Apr 23, 2024
335f8f8
perf: Fix load programs query in old tracker [2.40] (#17170)
enricocolasante Apr 23, 2024
89cb47b
chore(deps): bump com.google.api-client:google-api-client in /dhis-2 …
dependabot[bot] Apr 24, 2024
c6e2ddc
chore(deps): bump org.apache.maven.plugins:maven-shade-plugin in /dhi…
dependabot[bot] Apr 24, 2024
b09aa2d
fix(translations): sync translations from transifex (2.40) (#17131)
dhis2-bot Apr 24, 2024
51189af
chore(deps): bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 (#17229)
dependabot[bot] Apr 25, 2024
26bc309
Analytics events query API: 500 error when dimension is not present i…
d-bernat Apr 25, 2024
27dd3ed
fix: Min/max limits in analytics rep. rates [DHIS2-15892] (#17241) (#…
maikelarabori Apr 26, 2024
b79b52c
chore(deps): bump commons-codec:commons-codec in /dhis-2 (#17258)
dependabot[bot] Apr 29, 2024
a4921a3
feat: Add skip index of analytics table columns config [DHIS2-17282]
larshelge Apr 29, 2024
ff55dcf
fix: Event Sync job throws NPE [DHIS2-17233] (#17264)
david-mackessy Apr 30, 2024
f8affd1
fix: Analytics enrollments query API using OR instead of AND[2.40-DHI…
d-bernat Apr 30, 2024
fff2384
fix: Metadata Sync job lastExecutedStatus status [DHIS2-17292] (#17277)
david-mackessy May 2, 2024
6aef035
fix: Send webhook notification at stage completion [DHIS2-17168] (#17…
zubaira May 2, 2024
e04c6f1
fix: Merge conflicts with 2.40 [DHIS2-17299] (#17283)
maikelarabori May 2, 2024
0269bbc
chore(deps): bump com.google.guava:guava in /dhis-2 (#17300)
dependabot[bot] May 3, 2024
24d82b5
fix: query (#17297)
lucaCambi77 May 3, 2024
954d6c7
chore(deps): bump com.github.spotbugs:spotbugs in /dhis-2 (#17327)
dependabot[bot] May 6, 2024
55a353e
chore(deps): bump com.github.spotbugs:spotbugs-maven-plugin in /dhis-…
dependabot[bot] May 6, 2024
2046cb8
fix: completion lastUpdatedBy v40 [TECH-1440] (#17266)
tomzemp May 6, 2024
3bf6762
fix: tracker/relationships emits inaccessible program attributes [ Dh…
lucaCambi77 May 6, 2024
04cd5c6
fix: Validate acl access depending on program param [DHIS2-17070][2.4…
muilpp May 6, 2024
8080a43
fix: Fix TE ownership validation in Tracker importer [DHIS2-17251] (2…
enricocolasante May 7, 2024
bd30a4d
fix: Fix ownership validator for enrollments in Tracker Importer [DHI…
enricocolasante May 7, 2024
d42d05a
fix: Add write access validation for relationships in Tracker Importe…
enricocolasante May 7, 2024
69ed985
chore(deps): bump com.mchange:c3p0 from 0.10.0-pre7 to 0.10.1 in /dhi…
dependabot[bot] May 8, 2024
5233640
fix: don't throw DeleteNotAllowException during metadata import (#17305)
vietnguyen May 8, 2024
04dc464
fix: Update validation when no program specified [DHIS2-17236][2.40] …
muilpp May 8, 2024
ecdd747
chore(deps): bump testcontainers.version in /dhis-2 (#17364)
dependabot[bot] May 9, 2024
a297fb6
chore(deps-dev): bump com.nimbusds:nimbus-jose-jwt in /dhis-2 (#17365)
dependabot[bot] May 9, 2024
d2a4f1e
fix: Compare TET by UID [DHIS2-17251][2.40] (#17377)
muilpp May 10, 2024
2a69b0b
fix: Validate unenrolled TE before importing [DHIS2-17280][patch-2.40…
muilpp May 10, 2024
a10833f
chore(deps-dev): bump com.nimbusds:nimbus-jose-jwt in /dhis-2 (#17391)
dependabot[bot] May 10, 2024
f661e44
chore(deps): bump com.google.api-client:google-api-client in /dhis-2 …
dependabot[bot] May 13, 2024
49b7774
chore(deps): bump micrometer.version from 1.12.5 to 1.12.6 in /dhis-2…
dependabot[bot] May 13, 2024
f55c8cf
fix: custom format for integer types [DHIS2-15841] (#17405) (#17416)
gnespolino May 14, 2024
05d6b7b
fix: Enrollment dim. restriction SQL [DHIS2-16349] (#17393) (#17411)
jimgrace May 14, 2024
11e1b9e
fix: field filter parsing exist block [DHIS2-17391] (#17425)
jbee May 15, 2024
af4269d
fix: Report App got 500 error due to jasperreport lib upgraded (#17400)
vietnguyen May 15, 2024
034083f
chore(deps-dev): bump com.nimbusds:nimbus-jose-jwt in /dhis-2 (#17438)
dependabot[bot] May 15, 2024
cd629fd
fix(translations): sync translations from transifex (2.40) (#17253)
dhis2-bot May 15, 2024
f4ab2c3
fix: Add programs param if no program requested [DHIS2-17410][2.40] (…
muilpp May 15, 2024
9d4683c
chore(deps): bump org.owasp:dependency-check-maven in /dhis-2 (#17449)
dependabot[bot] May 16, 2024
6b9739f
fix: ReportController throws exception for jasperreport[17378](40) (#…
vietnguyen May 16, 2024
caf05fc
ci: dependabot is managed via master (#17458)
teleivo May 16, 2024
0666d20
chore(deps): bump spring.version from 5.3.34 to 5.3.35 in /dhis-2 (#1…
dependabot[bot] May 17, 2024
4f08626
chore(deps): bump com.google.api-client:google-api-client in /dhis-2 …
dependabot[bot] May 17, 2024
cf36575
chore(deps): bump jetty.version from 10.0.20 to 10.0.21 in /dhis-2 (#…
dependabot[bot] May 17, 2024
2524ecf
chore(deps): bump com.google.code.gson:gson in /dhis-2 (#17487)
dependabot[bot] May 20, 2024
a5179c1
--- (#17497)
dependabot[bot] May 21, 2024
8ff072b
fix: Validation method for expression items [DHIS2-16855] (#17500)
maikelarabori May 21, 2024
3b0ec07
chore(deps): bump spring.version from 5.3.35 to 5.3.36 in /dhis-2 (#1…
dependabot[bot] May 23, 2024
3675748
fix: use serverBaseUrl for recovery email (#17534)
vietnguyen May 23, 2024
f68c0ed
fix: GridUtils throw duplicate sheet error (#17541)
vietnguyen May 23, 2024
25106b8
chore(deps): bump io.netty:netty-all in /dhis-2 (#17533)
dependabot[bot] May 23, 2024
2a129b9
fix: (2.40) Ordering when using psi.attributeOptionCombo[DHIS2-15898]…
zubaira May 23, 2024
fa15502
fix: add delete case (#17526)
lucaCambi77 May 23, 2024
7dd2ea0
fix: ValueType in metadata [DHIS2-15194] (#17560)
maikelarabori May 24, 2024
87dfbc6
fix: rootJunction OR return empty result[DHIS2-17449-40] (#17583)
vietnguyen May 27, 2024
e1a3f85
ci: send all Jenkins build failure notifications to backend channel (…
radnov May 28, 2024
53953e1
chore(deps): bump commons-validator:commons-validator in /dhis-2 (#17…
dependabot[bot] May 29, 2024
0ea7c3b
chore(deps): bump com.google.api-client:google-api-client in /dhis-2 …
dependabot[bot] May 29, 2024
2ecbb10
fix: join condition (#17611)
lucaCambi77 May 29, 2024
8548359
fix: Remove EventChart and EventReport schemas from metadata export f…
david-mackessy May 29, 2024
e334947
chore(deps-dev): bump com.nimbusds:nimbus-jose-jwt in /dhis-2 (#17635)
dependabot[bot] May 30, 2024
e1e3313
chore(deps): bump org.apache.maven.plugins:maven-enforcer-plugin (#17…
dependabot[bot] May 30, 2024
5f7de92
fix: Use new start and end date types in tracker exporter [DHIS2-1601…
enricocolasante May 30, 2024
82756f7
chore(deps-dev): bump com.nimbusds:nimbus-jose-jwt in /dhis-2 (#17653)
dependabot[bot] May 31, 2024
46a5c24
chore(deps): bump version.debezium in /dhis-2 (#17654)
dependabot[bot] May 31, 2024
ef9eff0
feat: Add skip index for analytics table columns config property [40]…
larshelge Jun 1, 2024
7412e4f
chore(deps): bump org.apache.maven.plugins:maven-shade-plugin in /dhi…
dependabot[bot] Jun 3, 2024
fd8e8f1
chore(deps): bump com.google.guava:guava in /dhis-2 (#17672)
dependabot[bot] Jun 3, 2024
8ce6379
chore(deps): bump org.apache.maven.plugins:maven-javadoc-plugin (#17671)
dependabot[bot] Jun 3, 2024
6905751
chore(deps): bump org.sonarsource.scanner.maven:sonar-maven-plugin (#…
dependabot[bot] Jun 3, 2024
c3ffdf5
chore(deps): bump artemis.version from 2.33.0 to 2.34.0 in /dhis-2 (#…
dependabot[bot] Jun 4, 2024
23b5349
Adjust how active users are calculated in statistics snapshot (#16154…
jason-p-pickering Jun 4, 2024
6a6d406
fix: Default cat combo returned when expected [DHIS2-16129] (#17699)
david-mackessy Jun 5, 2024
ca7305e
fix: TEXT and LONG_TEXT with single quote (') [DHIS2-17129] [2.40] (#…
lucaCambi77 Jun 5, 2024
07921d9
fix: data entry audit history audit type column lookup [DHIS2-16887] …
jbee Jun 5, 2024
e4bcded
chore(deps): bump io.github.classgraph:classgraph in /dhis-2 (#17717)
dependabot[bot] Jun 6, 2024
cb419da
chore(deps-dev): bump com.nimbusds:nimbus-jose-jwt in /dhis-2 (#17728)
dependabot[bot] Jun 7, 2024
31f7750
chore: Update flaky datastore test (#17730)
david-mackessy Jun 7, 2024
13705bc
fix: Filter App by plugin type [DHIS2-17492] (#17734)
david-mackessy Jun 7, 2024
2e6e46b
fix(translations): sync translations from transifex (2.40)
dhis2-bot Jun 8, 2024
dd8d7e8
feat: Skip period type dimensions in analytics [40] (#17738)
larshelge Jun 8, 2024
b3a7abd
fix: Load PR with all PRA and filter later [DHIS2-17470](2.40) (#17745)
enricocolasante Jun 10, 2024
dd2e9ea
chore(deps): bump io.netty:netty-all in /dhis-2 (#17764)
dependabot[bot] Jun 12, 2024
2223344
fix: Skip period type analytics table column indexes (#17769)
larshelge Jun 12, 2024
0eb58d3
fix: alter inactive to not null and default (#17767)
lucaCambi77 Jun 13, 2024
e57168c
chore(deps): bump spring.version from 5.3.36 to 5.3.37 in /dhis-2 (#1…
dependabot[bot] Jun 14, 2024
6051454
chore(deps): bump geotools.version from 29.5 to 29.6 in /dhis-2 (#17782)
dependabot[bot] Jun 14, 2024
b82ad55
fix(translations): sync translations from transifex (2.40)
dhis2-bot Jun 14, 2024
5d59a61
chore(deps): bump artemis.version from 2.34.0 to 2.35.0 in /dhis-2 (#…
dependabot[bot] Jun 17, 2024
e7a787d
chore(deps): bump org.apache.maven.plugins:maven-surefire-plugin (#17…
dependabot[bot] Jun 17, 2024
df47626
chore(deps): bump org.apache.maven.plugins:maven-failsafe-plugin (#17…
dependabot[bot] Jun 17, 2024
846107f
feat: Option for skip analytics table period type columns
larshelge Jun 17, 2024
738ef9e
fix: make sure user create form don't render variable names (#17801)
netroms Jun 17, 2024
e5d5ce5
fix: can not update users after OpenID field is set (#16723) (#17805)
netroms Jun 17, 2024
eacb79d
chore(deps): bump spring-security.version in /dhis-2 (#17813)
dependabot[bot] Jun 18, 2024
2ffde4b
chore(deps): bump com.github.spotbugs:spotbugs in /dhis-2 (#17827)
dependabot[bot] Jun 19, 2024
beed103
chore(deps): bump io.github.classgraph:classgraph in /dhis-2 (#17826)
dependabot[bot] Jun 19, 2024
48e2792
fix: Return requested program attributes only [DHIS2-14300][2.40] (#1…
muilpp Jun 19, 2024
1e7746a
fix: revert special handling of Indonesian locale [DHIS2-17522] (2.40…
jbee Jun 20, 2024
5b0800d
fix: api/maps/uid/data return error 500 (#17817)
vietnguyen Jun 21, 2024
e4b6653
chore(deps): bump com.networknt:json-schema-validator in /dhis-2 (#17…
dependabot[bot] Jun 24, 2024
33ed856
chore: lock app versions to branch patch/2.40.4
Philip-Larsen-Donnelly Jun 24, 2024
cbcdf54
fix: bump DV for DHIS2-16904 (#17889)
Philip-Larsen-Donnelly Jun 27, 2024
b7cfc78
ci: define isHotfix (#17918)
tonsV2 Jul 1, 2024
02c9324
chore: update maven versions to 2.40.4
Philip-Larsen-Donnelly Jul 1, 2024
d72b656
chore: update maven versions to 2.40.4.1-SNAPSHOT
Philip-Larsen-Donnelly Jul 3, 2024
57ac524
fix: Return PAs when TE found [DHIS2-14300][2.40] (#17954) (#17968)
muilpp Jul 3, 2024
a1aa81b
chore: update maven versions to 2.40.4.1
Philip-Larsen-Donnelly Jul 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
20 changes: 20 additions & 0 deletions .codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
github_checks:
annotations: false

codecov:
notify:
after_n_builds: 3 # 3 since we upload in 3 separate test jobs (unit, integration, integrationH2)

coverage:
status:
project:
default:
informational: true
patch:
default:
informational: true

comment:
layout: "diff, flags, files, footer"
behavior: default
require_changes: true
18 changes: 18 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.git
.gitignore
**/.gitignore
.github
.idea
docker
**/*.iml
jenkinsfiles
.patches
.mailmap
.tx
*.sh
*.md
LICENSE

**/target
**/src/test
dhis-2/dhis-test-e2e
42 changes: 17 additions & 25 deletions .github/workflows/analyse-pr.yml
Original file line number Diff line number Diff line change
@@ -1,58 +1,50 @@
name: SonarQube analysis

env:
# This is to make sure Maven don't timeout fetching dependencies. See: https://github.com/actions/virtual-environments/issues/1499
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=125
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.DHIS2_BOT_SONARCLOUD_TOKEN }}
on:
push:
branches:
- master
- '2.3[1-9]'
- '2.4[0-9]'
pull_request:
branches:
- master
- '2.3[1-9]'
- '2.4[0-9]'
concurrency:
group: ${{ github.workflow}}-${{ github.ref }}
cancel-in-progress: true
jobs:
sonarqube:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Set up JDK 11
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 11

- name: Cache maven artifacts
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
java-version: 17
distribution: temurin
cache: maven

- name: Analyse PR
env:
BASE_BRANCH: ${{ github.base_ref }}
BRANCH: ${{ github.ref }}
PR: ${{ github.event.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
MAVEN_BUILD_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=125
if: github.event_name == 'pull_request'
run: |
mvn -f dhis-2/pom.xml clean install -Psonarqube -Pjdk11 $MAVEN_BUILD_OPTS
mvn -f dhis-2/pom.xml sonar:sonar -Dsonar.scm.revision=${{ github.event.pull_request.head.sha }} -Dsonar.projectKey=dhis2_dhis2-core -Dsonar.coverage.jacoco.xmlReportPaths=$(find "$(pwd)" -path '*jacoco.xml' | sed 's/.*/&/' | tr '\n' ',') $MAVEN_BUILD_OPTS
mvn -f dhis-2/pom.xml clean install --threads 2C --batch-mode --no-transfer-progress -DskipTests
mvn -f dhis-2/pom.xml sonar:sonar -Dsonar.internal.analysis.dbd=false --batch-mode --no-transfer-progress -Dsonar.scm.revision=${{ github.event.pull_request.head.sha }} -Dsonar.projectKey=dhis2_dhis2-core

- name: Analyse long-living branch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
MAVEN_BUILD_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=125
if: github.event_name != 'pull_request'
run: |
mvn -f dhis-2/pom.xml clean install -Psonarqube -Pjdk11 $MAVEN_BUILD_OPTS
mvn -f dhis-2/pom.xml sonar:sonar -Dsonar.branch.name=${GITHUB_REF#refs/heads/} -Dsonar.projectKey=dhis2_dhis2-core -Dsonar.coverage.jacoco.xmlReportPaths=$(find "$(pwd)" -path '*jacoco.xml' | sed 's/.*/&/' | tr '\n' ',') $MAVEN_BUILD_OPTS
mvn -f dhis-2/pom.xml clean install --threads 2C --batch-mode --no-transfer-progress -DskipTests
mvn -f dhis-2/pom.xml sonar:sonar -Dsonar.internal.analysis.dbd=false --batch-mode --no-transfer-progress -Dsonar.branch.name=${GITHUB_REF#refs/heads/} -Dsonar.projectKey=dhis2_dhis2-core
28 changes: 11 additions & 17 deletions .github/workflows/check-formatting.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,26 @@
name: Check formatting
env:
# This is to make sure Maven don't timeout fetching dependencies. See: https://github.com/actions/virtual-environments/issues/1499
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=125

on: [ pull_request ]

jobs:
check-formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 11

- name: Cache maven artifacts
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
distribution: temurin

- name: Check formatting in core
env:
# This is to make sure Maven don't timeout fetching dependencies. See: https://github.com/actions/virtual-environments/issues/1499
MAVEN_BUILD_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=125
run: mvn speedy-spotless:check -Pdefault -Pjdk11 --update-snapshots -q -f ./dhis-2/pom.xml $MAVEN_BUILD_OPTS
run: mvn spotless:check --threads 2C --batch-mode --no-transfer-progress -q -f ./dhis-2/pom.xml

- name: Check formatting in web
env:
# This is to make sure Maven don't timeout fetching dependencies. See: https://github.com/actions/virtual-environments/issues/1499
MAVEN_BUILD_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=125
run: mvn speedy-spotless:check -Pdefault -Pjdk11 --update-snapshots -q -f ./dhis-2/dhis-web/pom.xml $MAVEN_BUILD_OPTS
run: mvn spotless:check --threads 2C --batch-mode --no-transfer-progress -q -f ./dhis-2/dhis-web/pom.xml

- name: Check formatting in e2e tests
run: mvn spotless:check --batch-mode --no-transfer-progress -q -f ./dhis-2/dhis-test-e2e/pom.xml
36 changes: 15 additions & 21 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,19 @@
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "CodeQL"
env:
# This is to make sure Maven don't timeout fetching dependencies. See: https://github.com/actions/virtual-environments/issues/1499
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=125

on:
pull_request:
branches:
- master
schedule:
- cron: '0 12 * * *'

concurrency:
group: ${{ github.workflow}}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze
Expand All @@ -28,7 +33,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand All @@ -39,34 +44,23 @@ jobs:
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

- name: Cache maven artifacts
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('pom.xml') }}
restore-keys: ${{ runner.os }}-maven-

- name: Setup-java
uses: actions/setup-java@v1
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
cache: maven

- name: Codeql-init
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v3
with:
languages: java
config-file: ./.github/codeql/codeql-config.yml

- name: Build core
env:
# This is to make sure Maven don't timeout fetching dependencies. See: https://github.com/actions/virtual-environments/issues/1499
MAVEN_BUILD_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=125
run: mvn clean install -f ./dhis-2/pom.xml -Pdev -Pjdk11 -DskipTests=true -Dmaven.javadoc.skip=true -B -V $MAVEN_BUILD_OPTS
run: mvn clean install -f ./dhis-2/pom.xml --batch-mode --no-transfer-progress -Pdev -DskipTests=true -Dmaven.javadoc.skip=true -V
- name: Build web
env:
# This is to make sure Maven don't timeout fetching dependencies. See: https://github.com/actions/virtual-environments/issues/1499
MAVEN_BUILD_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=125
run: mvn clean install -f ./dhis-2/dhis-web/pom.xml -Pdev -Pjdk11 -DskipTests=true -Dmaven.javadoc.skip=true -B -V $MAVEN_BUILD_OPTS
run: mvn clean install -f ./dhis-2/dhis-web/pom.xml --batch-mode --no-transfer-progress -Pdev -DskipTests=true -Dmaven.javadoc.skip=true -V

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v3
29 changes: 29 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Dependabot auto-merge

on:
pull_request:

permissions:
pull-requests: write
contents: write

jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Fetch metadata on dependabot PR
id: metadata
uses: dependabot/[email protected]
- name: Approve dependabot PR using GitHub actions bot
if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch' }}
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Enable auto-merge for dependabot PR
if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch' }}
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
91 changes: 91 additions & 0 deletions .github/workflows/run-api-analytics-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: Run analytics api tests
env:
# This is to make sure Maven don't timeout fetching dependencies. See: https://github.com/actions/virtual-environments/issues/1499
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3 -Dmaven.wagon.httpconnectionManager.ttlSeconds=125

on:
pull_request:
types: [ opened, labeled, synchronize ]
schedule:
- cron: "16 1 * * *" # Run at 01:16 AM
concurrency:
group: ${{ github.workflow}}-${{ github.ref }}
cancel-in-progress: true
jobs:
api-test:
env:
CORE_IMAGE_NAME: "dhis2/core-dev:local"
PR_NUMBER: ${{ github.event.number }}
DOCKER_CHANNEL: "dhis2/core-pr"
SIERRA_LEONE_DB_PATH: "/tmp/db/sierra-leone"
SIERRA_LEONE_DB_VERSION: "2.39.0"

runs-on: ubuntu-latest
if: "contains(github.event.pull_request.labels.*.name, 'run-api-analytics-tests')"
steps:
- uses: actions/checkout@v4

- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
cache: maven

- name: Build core image
run: |
mvn clean install --threads 2C --batch-mode --no-transfer-progress -DskipTests -Dmaven.test.skip=true -f dhis-2/pom.xml -pl -dhis-web-embedded-jetty,-dhis-test-integration,-dhis-test-coverage
mvn clean install --threads 2C --batch-mode --no-transfer-progress -DskipTests -Dmaven.test.skip=true -f dhis-2/dhis-web/pom.xml
mvn --batch-mode --no-transfer-progress -DskipTests -Dmaven.test.skip=true -f ./dhis-2/dhis-web/dhis-web-portal/pom.xml jib:dockerBuild -Djib.to.image=$CORE_IMAGE_NAME

- name: Get Sierra Leone DB from cache
uses: actions/cache@v4
id: cache-sierra-leone-db
with:
path: ${{ env.SIERRA_LEONE_DB_PATH }}
key: sierra-leone-db-analytics-${{ env.SIERRA_LEONE_DB_VERSION }}

- name: Download Sierra Leone DB
if: ${{ steps.cache-sierra-leone-db.outputs.cache-hit != 'true' }}
run: |
mkdir -p ${{ env.SIERRA_LEONE_DB_PATH }}
wget https://databases.dhis2.org/sierra-leone/${{ env.SIERRA_LEONE_DB_VERSION }}/analytics_be/dhis2-db-sierra-leone.sql.gz --no-clobber --directory-prefix ${{ env.SIERRA_LEONE_DB_PATH }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Run tests
run: |
cd dhis-2/dhis-test-e2e
DHIS2_IMAGE="$CORE_IMAGE_NAME" \
DHIS2_E2E_TEST_DUMP_PATH="$SIERRA_LEONE_DB_PATH" \
docker compose -f docker-compose.yml -f docker-compose.e2e.yml -f docker-compose.e2e-analytics.yml \
up --remove-orphans --exit-code-from test

- name: Upload logs
if: failure()
run: |
cd dhis-2/dhis-test-e2e
docker-compose logs web > ~/logs.txt

- uses: actions/upload-artifact@v4
if: failure()
with:
name: "tomcat_logs"
path: '~/logs.txt'

send-slack-message:
runs-on: ubuntu-latest
if: |
always() &&
contains(needs.*.result, 'failure') &&
github.ref == 'refs/heads/master'

needs: [ api-test ]
steps:
- uses: rtCamp/action-slack-notify@v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_BACKEND_WEBHOOK }}
SLACK_CHANNEL: 'team-backend'
SLACK_MESSAGE: "Latest analytics e2e test run on master failed and needs investigation :detective-duck:. \n Commit message: ${{ github.event.head_commit.message }}"
SLACK_COLOR: '#ff0000'
Loading