Compare commits

..

401 Commits

Author SHA1 Message Date
Sathish Kumar
af8106bbe4 [APPS-3172] Update License Header 2025-01-07 16:30:50 +05:30
Sathish Kumar
011a98f9a7 [APPS-3172] Update License Header 2025-01-07 16:14:33 +05:30
Sathish Kumar
0b5211f7a9 [APPS-3172] Update License Header 2025-01-07 15:30:29 +05:30
Sathish Kumar
1ad97022a2 Update License Header 2025-01-07 14:31:23 +05:30
Sathish Kumar
567405dc1c Update License Header 2025-01-07 14:16:07 +05:30
Sathish Kumar
8d6973a132 update license header 2025-01-07 13:42:10 +05:30
Sathish Kumar
629c874bc8 update license header 2025-01-07 11:59:24 +05:30
Sathish Kumar
19ec861873 Revert "update license header"
This reverts commit 7f8dd30305.
2025-01-07 11:54:06 +05:30
Sathish Kumar
7f8dd30305 update license header 2025-01-07 11:47:14 +05:30
Sathish Kumar
40c7b5fd9f update license header 2025-01-07 11:33:59 +05:30
Sathish Kumar
3f6a1c6880 update license header 2025-01-07 11:24:41 +05:30
Sathish Kumar
b3f2cb95c8 update license header 2025-01-07 11:09:14 +05:30
Sathish Kumar
d694959587 update license header 2025-01-07 11:00:40 +05:30
Sathish Kumar
56aae78015 update license header 2025-01-07 10:52:28 +05:30
Sathish Kumar
edba5b8754 update license header 2025-01-07 10:37:27 +05:30
Sathish Kumar
5f8879feb7 update license header 2025-01-07 10:25:00 +05:30
Sathish Kumar
ca575bc47e update license header 2025-01-07 10:14:15 +05:30
Sathish Kumar
4fcb962a3c update license header 2025-01-07 10:06:00 +05:30
Sathish Kumar
5397d88f4a update license header 2025-01-07 09:55:48 +05:30
Sathish Kumar
448e49d8bb Revert "update license header"
This reverts commit b825b5f18e.
2025-01-07 09:50:44 +05:30
Sathish Kumar
b825b5f18e update license header 2025-01-06 10:53:48 +05:30
Alfresco CI User
24541a9512 [force] Force release for 2025-01-05. 2025-01-05 00:04:25 +00:00
alfresco-build
2f6d097e16 [maven-release-plugin][skip ci] prepare for next development iteration 2024-12-29 00:07:27 +00:00
alfresco-build
7b074e1ee2 [maven-release-plugin][skip ci] prepare release 25.1.0.20 2024-12-29 00:07:25 +00:00
Alfresco CI User
1bc5c94ace [force] Force release for 2024-12-29. 2024-12-29 00:04:30 +00:00
alfresco-build
ba68efec67 [maven-release-plugin][skip ci] prepare for next development iteration 2024-12-24 11:46:55 +00:00
alfresco-build
bfcca88e63 [maven-release-plugin][skip ci] prepare release 25.1.0.19 2024-12-24 11:46:53 +00:00
SathishK-T
9d704df3c0 [APPS-3152] fix for mnt-24137 (#3102)
* fix for mnt-24137

* [APPS-3152] Fix for MNT-24137
2024-12-24 16:35:16 +05:30
alfresco-build
73d46c1702 [maven-release-plugin][skip ci] prepare for next development iteration 2024-12-22 00:08:46 +00:00
alfresco-build
261dcc93bd [maven-release-plugin][skip ci] prepare release 25.1.0.18 2024-12-22 00:08:43 +00:00
Alfresco CI User
2fa44f407c [force] Force release for 2024-12-22. 2024-12-22 00:04:25 +00:00
alfresco-build
8e0377d586 [maven-release-plugin][skip ci] prepare for next development iteration 2024-12-20 11:24:39 +00:00
alfresco-build
925a2bb6b9 [maven-release-plugin][skip ci] prepare release 25.1.0.17 2024-12-20 11:24:37 +00:00
Sara
4eafb13ba6 ACS-9044 Remove excluded files from war file for SAST (#3084)
* ACS-9044 Bump dependency.spring.version from 6.1.14 to 6.2.0

* ACS-9044 Bump spring-security to 6.4.1

* ACS-9044 Add file to hold excluded files list

* ACS-9044 POC - script to remove excluded files from alfresco.war

* ACS-9044 POC - change veracode SAST to scan reduced alfresco.war

* ACS-9044 POC - create reduced alfresco.war before SAST

* ACS-9044 POC - keep reduced alfresco.war in target dir

* ACS-9044 Use temporary directory and allow any war file

* ACS-9044 fix failing path

* ACS-9044 update from review

* ACS-9044 fix for temp dir

* ACS-9044 fix for temp dir

* ACS-9044 Revert spring and spring-security versions
2024-12-20 10:21:33 +00:00
alfresco-build
f731c9734c [maven-release-plugin][skip ci] prepare for next development iteration 2024-12-15 00:08:14 +00:00
alfresco-build
e0a3b843f2 [maven-release-plugin][skip ci] prepare release 25.1.0.16 2024-12-15 00:08:12 +00:00
Alfresco CI User
2889b1a8a3 [force] Force release for 2024-12-15. 2024-12-15 00:05:05 +00:00
alfresco-build
22aa1f2725 [maven-release-plugin][skip ci] prepare for next development iteration 2024-12-13 09:51:47 +00:00
alfresco-build
77ab7d83fe [maven-release-plugin][skip ci] prepare release 25.1.0.15 2024-12-13 09:51:45 +00:00
Damian Ujma
a8faa94d15 ACS-9074 Bump log4j to 2.24.2 (#3087)
* ACS-9023 Bump log4j to 2.24.2

* ACS-9074 Update license header
2024-12-13 10:11:04 +01:00
alfresco-build
baafbbbeb2 [maven-release-plugin][skip ci] prepare for next development iteration 2024-12-12 10:30:47 +00:00
alfresco-build
ed061f2287 [maven-release-plugin][skip ci] prepare release 25.1.0.14 2024-12-12 10:30:45 +00:00
Piotr Żurek
6e435e1a8c ACS-9047 Use Keycloak 26 (#3079) 2024-12-12 10:46:48 +01:00
alfresco-build
05f6b90df8 [maven-release-plugin][skip ci] prepare for next development iteration 2024-12-10 10:27:39 +00:00
alfresco-build
0550dcd4f7 [maven-release-plugin][skip ci] prepare release 25.1.0.13 2024-12-10 10:27:37 +00:00
Cezary Witkowski
e137c91152 Revert "Bump dependency.log4j.version from 2.23.1 to 2.24.2 (#3064)" (#3080)
This reverts commit 933aced67c.
2024-12-10 10:48:12 +01:00
Damian Ujma
5a1c8334c8 ACS-9023 Implement PUT method - Preferences API (#3075)
* ACS-9023 Implement PUT method - Preferences API

* ACS-9023 Fix testUserPreferences

* ACS-9023 Add override

* ACS-9023 Update license header
2024-12-10 09:51:56 +01:00
alfresco-build
c7bbb1f74b [maven-release-plugin][skip ci] prepare for next development iteration 2024-12-09 12:49:37 +00:00
alfresco-build
49a34c4fe3 [maven-release-plugin][skip ci] prepare release 25.1.0.12 2024-12-09 12:49:35 +00:00
Cezary Witkowski
70af2ea3ad [ACS-9025] Use acs-event-model 1.0.2 (#3059)
* [ACS-9025] Use acs-event-model 1.0.0

* [ACS-9025] Debugging tests, show more lines

* [ACS-9025] Debugging tests, show all lines

* [ACS-9025] Use acs-event-model 1.0.2

* [ACS-9025] Restore wait-for-alfresco-start.sh script
2024-12-09 13:08:10 +01:00
alfresco-build
ab6c5feba7 [maven-release-plugin][skip ci] prepare for next development iteration 2024-12-08 00:08:15 +00:00
alfresco-build
cb3cbb553a [maven-release-plugin][skip ci] prepare release 25.1.0.11 2024-12-08 00:08:13 +00:00
Alfresco CI User
9470c27f3d [force] Force release for 2024-12-08. 2024-12-08 00:04:52 +00:00
alfresco-build
edf263c43f [maven-release-plugin][skip ci] prepare for next development iteration 2024-12-06 11:52:48 +00:00
alfresco-build
69bb9a308a [maven-release-plugin][skip ci] prepare release 25.1.0.10 2024-12-06 11:52:47 +00:00
SathishK-T
853d1bdc1b [APPS-3130] reverting changes of MNT-24137 (#3076)
* [APPS-3130] reverting changes of MNT-24137

* reverting

* reverting the change of mnt-24137

* reverting the change of mnt-24137

* reverting the change of mnt-24137

* reverting the changes of mnt-24137

* reverting the changes of mnt-24137

* reverting the changes of mnt-24137

* [APPS-3130] reverting changes of MNT-24137

---------

Co-authored-by: Sathish Kumar <ST28@ford.com>
2024-12-06 16:40:38 +05:30
alfresco-build
f7d1bbcec3 [maven-release-plugin][skip ci] prepare for next development iteration 2024-12-05 15:46:52 +00:00
alfresco-build
731d580f7e [maven-release-plugin][skip ci] prepare release 25.1.0.9 2024-12-05 15:46:49 +00:00
dependabot[bot]
ad4126ffea Bump org.mybatis:mybatis from 3.5.16 to 3.5.17 (#3062)
Bumps [org.mybatis:mybatis](https://github.com/mybatis/mybatis-3) from 3.5.16 to 3.5.17.
- [Release notes](https://github.com/mybatis/mybatis-3/releases)
- [Commits](https://github.com/mybatis/mybatis-3/compare/mybatis-3.5.16...mybatis-3.5.17)

---
updated-dependencies:
- dependency-name: org.mybatis:mybatis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-05 09:33:04 +01:00
dependabot[bot]
933aced67c Bump dependency.log4j.version from 2.23.1 to 2.24.2 (#3064)
Bumps `dependency.log4j.version` from 2.23.1 to 2.24.2.

Updates `org.apache.logging.log4j:log4j-slf4j2-impl` from 2.23.1 to 2.24.2

Updates `org.apache.logging.log4j:log4j-api` from 2.23.1 to 2.24.2

Updates `org.apache.logging.log4j:log4j-core` from 2.23.1 to 2.24.2

---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-slf4j2-impl
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: org.apache.logging.log4j:log4j-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.logging.log4j:log4j-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-05 09:31:49 +01:00
mohit-singh4
de0ba15a91 [Fix/MNT-24209] logging for download restapi (#3065)
* [fix/MNT-24209] Adding loggers in ACS download restApi

* [fix/MNT-24209] Adding loggers in ACS download restApi

* [fix/MNT-24209] Adding loggers in ACS download restApi

* Update ZipDownloadExporter.java

* [fix/MNT-24209-logging-for-download-restapi] Adding loggers in downloads RestAPI

* Revert "Update ZipDownloadExporter.java"

This reverts commit 2d97b34959.

* resolved Pre commit error

* resolved Pre commit error

* Bump io.swagger:swagger-parser from 1.0.71 to 1.0.72 (#3044)

Bumps [io.swagger:swagger-parser](https://github.com/swagger-api/swagger-parser) from 1.0.71 to 1.0.72.
- [Release notes](https://github.com/swagger-api/swagger-parser/releases)
- [Commits](https://github.com/swagger-api/swagger-parser/compare/v1.0.71...v1.0.72)

---
updated-dependencies:
- dependency-name: io.swagger:swagger-parser
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* [maven-release-plugin][skip ci] prepare release 25.1.0.4

* [maven-release-plugin][skip ci] prepare for next development iteration

* Update the SiteMembership Class

* Update the SiteMembership Class

* Update the SiteMembership Class

* Revert "Update the SiteMembership Class"

This reverts commit 15045f9612.

* Update the SiteMembership Class

* Update the SiteMembership Class

* Update the license i SiteMembership

* Revert "Update the license i SiteMembership"

This reverts commit ee8f3bec18.

* Update the license SiteMembership

* Fix Precommit

* Fix Precommit

* Fix Precommit

* Update the SiteMembership

* [maven-release-plugin][skip ci] prepare release 25.1.0.5

* [maven-release-plugin][skip ci] prepare for next development iteration

* Revert "Bump dependency.log4j.version from 2.23.1 to 2.24.2 (#3051)"

This reverts commit 748be1f4a0.

* [fix/MNT-24209-logging-for-download-restapi] Adding loggers in downloads RestAPI

* resolved Pre commit error

* resolved Pre commit error

* reformatting ZipDownloadExporter file

* [fix/MNT-24209-logging-for-download-restapi] Adding loggers in downloads RestAPI

* [fix/MNT-24209-logging-for-download-restapi] Adding loggers in downloads RestAPI

* [fix/MNT-24209-logging-for-download-restapi] Adding loggers in downloads RestAPI

* [fix/MNT-24209-logging-for-download-restapi] Adding loggers in downloads RestAPI

* [fix/MNT-24209-logging-for-download-restapi] Adding loggers in downloads RestAPI

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: mohit-singh4 <mohit.singh@contractors.hyland.com>
Co-authored-by: MohinishSah <88024811+MohinishSah@users.noreply.github.com>
Co-authored-by: Mohinish Sah <Mohinish.Sah@contractors.onbase.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: alfresco-build <8039454+alfresco-build@users.noreply.github.com>
Co-authored-by: varapathijanakiram <172787912+varapathijanakiram@users.noreply.github.com>
Co-authored-by: vjanakiram <varapathi.janakiram@hyland.com>
Co-authored-by: rrajoria <88024787+rrajoria@users.noreply.github.com>
Co-authored-by: Cezary Witkowski <cezary.witkowski@hyland.com>
2024-12-04 14:24:43 +05:30
alfresco-build
00c36251d4 [maven-release-plugin][skip ci] prepare for next development iteration 2024-12-02 15:05:20 +00:00
alfresco-build
ea9ce0c0c2 [maven-release-plugin][skip ci] prepare release 25.1.0.8 2024-12-02 15:05:18 +00:00
Eva Vasques
37231e50a2 MNT-24753 Restore from Archive when we have multiple content stores (#3066)
* Pre-commit changes
* Method requestRestoreContentFromArchive needs to use injected ContentStore
2024-12-02 14:22:51 +00:00
alfresco-build
26d8c7dcbe [maven-release-plugin][skip ci] prepare for next development iteration 2024-12-01 00:09:27 +00:00
alfresco-build
6ea97033d3 [maven-release-plugin][skip ci] prepare release 25.1.0.7 2024-12-01 00:09:23 +00:00
Alfresco CI User
cd0b2ffd24 [force] Force release for 2024-12-01. 2024-12-01 00:05:05 +00:00
alfresco-build
a14cbacb68 [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-29 07:34:35 +00:00
alfresco-build
fc0b9863d4 [maven-release-plugin][skip ci] prepare release 25.1.0.6 2024-11-29 07:34:33 +00:00
Cezary Witkowski
29dc42d445 Merge pull request #3063 from Alfresco/revert-3051-dependabot/maven/dependency.log4j.version-2.24.2
Revert "Bump dependency.log4j.version from 2.23.1 to 2.24.2"
2024-11-28 15:26:55 +01:00
Cezary Witkowski
39da968d76 Revert "Bump dependency.log4j.version from 2.23.1 to 2.24.2 (#3051)"
This reverts commit 748be1f4a0.
2024-11-28 14:36:47 +01:00
alfresco-build
6a4fecd46e [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-28 11:36:08 +00:00
alfresco-build
e083d4fcc2 [maven-release-plugin][skip ci] prepare release 25.1.0.5 2024-11-28 11:36:06 +00:00
varapathijanakiram
53e8a06a6e Merge pull request #3058 from Alfresco/fix/MNT-24571-Site-Membership-API
Fix/MNT-24571-Site Membership API
2024-11-28 16:23:20 +05:30
alfresco-build
c80e1fa94b [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-28 09:56:23 +00:00
alfresco-build
675c6f7aa1 [maven-release-plugin][skip ci] prepare release 25.1.0.4 2024-11-28 09:56:21 +00:00
dependabot[bot]
44d67847da Bump io.swagger:swagger-parser from 1.0.71 to 1.0.72 (#3044)
Bumps [io.swagger:swagger-parser](https://github.com/swagger-api/swagger-parser) from 1.0.71 to 1.0.72.
- [Release notes](https://github.com/swagger-api/swagger-parser/releases)
- [Commits](https://github.com/swagger-api/swagger-parser/compare/v1.0.71...v1.0.72)

---
updated-dependencies:
- dependency-name: io.swagger:swagger-parser
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-27 18:51:51 +01:00
vjanakiram
d405043c5d Update the SiteMembership 2024-11-27 12:38:50 +05:30
rrajoria
da50f6271c Fix Precommit 2024-11-27 11:20:04 +05:30
rrajoria
a5e713c176 Fix Precommit 2024-11-27 11:11:41 +05:30
rrajoria
2dcd2788b2 Fix Precommit 2024-11-27 11:02:51 +05:30
vjanakiram
6b738342c1 Update the license SiteMembership 2024-11-27 10:59:13 +05:30
vjanakiram
ba5f5418ab Revert "Update the license i SiteMembership"
This reverts commit ee8f3bec18.
2024-11-27 10:58:40 +05:30
vjanakiram
ee8f3bec18 Update the license i SiteMembership 2024-11-27 10:47:56 +05:30
vjanakiram
39395af528 Update the SiteMembership Class 2024-11-26 17:49:12 +05:30
vjanakiram
e6f9d88779 Update the SiteMembership Class 2024-11-26 17:27:33 +05:30
vjanakiram
70f70c6ed3 Revert "Update the SiteMembership Class"
This reverts commit 15045f9612.
2024-11-26 17:26:44 +05:30
vjanakiram
15045f9612 Update the SiteMembership Class 2024-11-26 17:25:23 +05:30
dependabot[bot]
c50c7c6a7e Bump org.apache.activemq:activemq-client-jakarta from 5.18.3 to 5.18.6 (#2962) 2024-11-26 11:19:23 +00:00
dependabot[bot]
60199141f5 Bump org.apache.httpcomponents.client5:httpclient5 from 5.2.1 to 5.4.1 (#3015) 2024-11-26 11:19:14 +00:00
vjanakiram
b5e023950d Update the SiteMembership Class 2024-11-26 16:48:11 +05:30
varapathijanakiram
d4591acf2c Update the SiteMembership Class 2024-11-26 16:31:47 +05:30
dependabot[bot]
f34f2849dd Bump org.eclipse.jetty:jetty-server in /remote-api (#2995) 2024-11-26 09:37:26 +00:00
dependabot[bot]
52f2be49f3 Bump com.networknt:json-schema-validator from 1.5.3 to 1.5.4 (#3054) 2024-11-26 09:15:25 +00:00
dependabot[bot]
748be1f4a0 Bump dependency.log4j.version from 2.23.1 to 2.24.2 (#3051) 2024-11-26 09:14:44 +00:00
alfresco-build
52f1af2da6 [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-25 10:35:23 +00:00
alfresco-build
626a97ff45 [maven-release-plugin][skip ci] prepare release 25.1.0.3 2024-11-25 10:35:21 +00:00
Damian Ujma
4a91132226 ACS-5371 Exclude xpp3 dependency to avoid conflict in JDK9+ (#3049)
* ACS-5371 Exclude xpp3 dependency

* ACS-5371 Set compiler compliance to 17

* ACS-5371 Update xmlpull version

* ACS-5371 Update xmlpull version

* ACS-5371 Use kxml2

* ACS-5371 Refactor
2024-11-25 09:49:47 +01:00
Piotr Żurek
b6fb8725ce Revert "Bump org.springframework.security:spring-security-bom (#3048)"
This reverts commit aacef0c949.
2024-11-25 09:44:21 +01:00
alfresco-build
5fc0d9edde [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-24 00:10:05 +00:00
alfresco-build
44d394b1a0 [maven-release-plugin][skip ci] prepare release 25.1.0.2 2024-11-24 00:10:03 +00:00
Alfresco CI User
c1d62cca4d [force] Force release for 2024-11-24. 2024-11-24 00:05:36 +00:00
Piotr Żurek
24ae4ce57c Revert "Bump dependency.spring.version from 6.1.14 to 6.2.0 (#3038)"
This reverts commit b8f2ec252d.
2024-11-22 15:07:03 +01:00
dependabot[bot]
b8f2ec252d Bump dependency.spring.version from 6.1.14 to 6.2.0 (#3038)
Bumps `dependency.spring.version` from 6.1.14 to 6.2.0.

Updates `org.springframework:spring-aop` from 6.1.14 to 6.2.0
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.14...v6.2.0)

Updates `org.springframework:spring-beans` from 6.1.14 to 6.2.0
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.14...v6.2.0)

Updates `org.springframework:spring-context` from 6.1.14 to 6.2.0
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.14...v6.2.0)

Updates `org.springframework:spring-context-support` from 6.1.14 to 6.2.0
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.14...v6.2.0)

Updates `org.springframework:spring-core` from 6.1.14 to 6.2.0
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.14...v6.2.0)

Updates `org.springframework:spring-expression` from 6.1.14 to 6.2.0
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.14...v6.2.0)

Updates `org.springframework:spring-jdbc` from 6.1.14 to 6.2.0
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.14...v6.2.0)

Updates `org.springframework:spring-jms` from 6.1.14 to 6.2.0
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.14...v6.2.0)

Updates `org.springframework:spring-test` from 6.1.14 to 6.2.0
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.14...v6.2.0)

Updates `org.springframework:spring-orm` from 6.1.14 to 6.2.0
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.14...v6.2.0)

Updates `org.springframework:spring-tx` from 6.1.14 to 6.2.0
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.14...v6.2.0)

Updates `org.springframework:spring-web` from 6.1.14 to 6.2.0
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.14...v6.2.0)

Updates `org.springframework:spring-webmvc` from 6.1.14 to 6.2.0
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.14...v6.2.0)

---
updated-dependencies:
- dependency-name: org.springframework:spring-aop
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-beans
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-context
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-context-support
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-expression
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-jdbc
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-jms
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-test
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-orm
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-tx
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-web
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-webmvc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-22 14:22:19 +01:00
dependabot[bot]
ae721c86f6 Bump commons-io:commons-io from 2.17.0 to 2.18.0 (#3046)
Bumps commons-io:commons-io from 2.17.0 to 2.18.0.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-22 14:19:59 +01:00
dependabot[bot]
aacef0c949 Bump org.springframework.security:spring-security-bom (#3048)
Bumps [org.springframework.security:spring-security-bom](https://github.com/spring-projects/spring-security) from 6.3.4 to 6.4.1.
- [Release notes](https://github.com/spring-projects/spring-security/releases)
- [Changelog](https://github.com/spring-projects/spring-security/blob/main/RELEASE.adoc)
- [Commits](https://github.com/spring-projects/spring-security/compare/6.3.4...6.4.1)

---
updated-dependencies:
- dependency-name: org.springframework.security:spring-security-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-22 14:19:15 +01:00
dependabot[bot]
e4edceda75 Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.5.1 to 3.5.2 (#3019) 2024-11-22 12:41:46 +00:00
dependabot[bot]
09ec6688c6 Bump org.quartz-scheduler:quartz from 2.3.2 to 2.5.0 (#3035) 2024-11-22 12:41:36 +00:00
dependabot[bot]
14025f00de Bump org.projectlombok:lombok from 1.18.34 to 1.18.36 (#3042) 2024-11-22 12:41:16 +00:00
dependabot[bot]
22c5a5e134 Bump dependency.bouncycastle.version from 1.78.1 to 1.79 (#3016) 2024-11-22 12:39:42 +00:00
dependabot[bot]
154cad1ff8 Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.10.1 to 3.11.1 (#3021) 2024-11-22 12:39:40 +00:00
dependabot[bot]
7749b89e2b Bump org.apache.santuario:xmlsec from 4.0.2 to 4.0.3 (#3023) 2024-11-22 12:39:35 +00:00
dependabot[bot]
bbb45e667b Bump org.codehaus.groovy:groovy from 3.0.22 to 3.0.23 (#3030) 2024-11-22 12:39:04 +00:00
dependabot[bot]
a5f01e0d94 Bump Alfresco/alfresco-build-tools from 7.1.0 to 8.2.0 (#3018) 2024-11-22 12:39:02 +00:00
dependabot[bot]
0c6d455ec4 Bump com.networknt:json-schema-validator from 1.5.1 to 1.5.3 (#3017) 2024-11-22 12:38:58 +00:00
dependabot[bot]
5e86f5163e Bump org.apache.xmlbeans:xmlbeans from 5.2.1 to 5.2.2 (#3024) 2024-11-22 12:38:23 +00:00
alfresco-build
4981be1564 [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-20 15:49:36 +00:00
alfresco-build
9a30fbb75a [maven-release-plugin][skip ci] prepare release 25.1.0.1 2024-11-20 15:49:34 +00:00
Piotr Żurek
9c86fdb8b5 Trigger CI 2024-11-20 15:42:59 +01:00
Kacper Magdziarz
c52f74832d Updating master branch to 25.1.0 after 23.4.0 ACS release [skip ci] 2024-11-20 13:36:19 +01:00
alfresco-build
70dd7642f4 [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-19 09:48:20 +00:00
alfresco-build
0cf3eec834 [maven-release-plugin][skip ci] prepare release 23.4.0.67 2024-11-19 09:48:12 +00:00
MohinishSah
dfd855440d bumped aos version 2024-11-19 14:38:12 +05:30
alfresco-build
88d46884c4 [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-17 00:08:12 +00:00
alfresco-build
e6444a1c7a [maven-release-plugin][skip ci] prepare release 23.4.0.66 2024-11-17 00:08:10 +00:00
Alfresco CI User
e215038230 [force] Force release for 2024-11-17. 2024-11-17 00:04:44 +00:00
alfresco-build
a5f8034725 [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-15 09:54:37 +00:00
alfresco-build
c7dd659268 [maven-release-plugin][skip ci] prepare release 23.4.0.65 2024-11-15 09:54:35 +00:00
Sara
ffae77169e ACS-8937 Bump IE/SS to 2.0.13 (#3040) 2024-11-15 09:12:11 +00:00
alfresco-build
3bcfaf256e [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-14 18:30:28 +00:00
alfresco-build
0e8d56d7b2 [maven-release-plugin][skip ci] prepare release 23.4.0.64 2024-11-14 18:30:25 +00:00
Piotr Żurek
ef9e8d574f ACS-8935 Use GA dependencies (#3037) 2024-11-14 18:47:51 +01:00
alfresco-build
a17712b501 [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-14 14:03:54 +00:00
alfresco-build
fce6d1d7eb [maven-release-plugin][skip ci] prepare release 23.4.0.63 2024-11-14 14:03:52 +00:00
mohit-singh4
867af27a96 Fix/apps 2894 node size details automation sample test file (#3036)
* Adding the test case for calculating the NodeSize.

* Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationSampleTestFile] Updating sample testfile which being used for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationSampleTestFile] Updating sample testfile which being used for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationSampleTestFile] Updating sample testfile which being used for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationSampleTestFile] Updating sample testfile which being used for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationSampleTestFile] Updating sample testfile which being used for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationSampleTestFile] Updating sample testfile which being used for calculating the NodeSize.

---------

Co-authored-by: kshah <kavit.shah@hyland.com>
Co-authored-by: mohit-singh4 <mohit.singh@contractors.hyland.com>
2024-11-14 18:53:27 +05:30
alfresco-build
3de74456ae [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-13 10:46:53 +00:00
alfresco-build
919880e363 [maven-release-plugin][skip ci] prepare release 23.4.0.62 2024-11-13 10:46:52 +00:00
mohit-singh4
e6ac2875b9 Fix/apps 2894 node size details automation test (#3032)
* Adding the test case for calculating the NodeSize.

* Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

* [fix/APPS-2894_NodeSizeDetails_AutomationTest] Adding the test case for calculating the NodeSize.

---------

Co-authored-by: kshah <kavit.shah@hyland.com>
Co-authored-by: mohit-singh4 <mohit.singh@contractors.hyland.com>
2024-11-13 15:32:54 +05:30
alfresco-build
4250167a28 [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-10 00:07:40 +00:00
alfresco-build
312463b5e0 [maven-release-plugin][skip ci] prepare release 23.4.0.61 2024-11-10 00:07:38 +00:00
Alfresco CI User
c09f5f7cb0 [force] Force release for 2024-11-10. 2024-11-10 00:04:32 +00:00
alfresco-build
6284e9724e [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-08 14:28:59 +00:00
alfresco-build
dcf391faea [maven-release-plugin][skip ci] prepare release 23.4.0.60 2024-11-08 14:28:57 +00:00
kavitshah-gl
475f345909 Bump api explorer to 23.4.0-A1 2024-11-08 18:28:44 +05:30
alfresco-build
f42e033e40 [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-08 10:48:14 +00:00
alfresco-build
546f37eded [maven-release-plugin][skip ci] prepare release 23.4.0.59 2024-11-08 10:48:12 +00:00
mohit-singh4
a35673d44f [MNT-24127] Added Endpoint To Calculate Folder Size (#2709)
* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

* [feature/MNT-24127] EndpointToCalculateFolderSize

* [feature/MNT-24127] EndpointToCalculateFolderSize

* [feature/MNT-24127] EndpointToCalculateFolderSize

* [feature/MNT-24127] EndpointToCalculateFolderSize

* [feature/MNT-24127] EndpointToCalculateFolderSize

* [feature/MNT-24127] EndpointToCalculateFolderSize

* [feature/MNT-24127] EndpointToCalculateFolderSize

* [feature/MNT-24127] Endpoint Added To Calculate Folder Size

* [feature/MNT-24127] Endpoint Added To Calculate Folder Size

* [feature/MNT-24127] Endpoint Added To Calculate Folder Size

* [feature/MNT-24127] Endpoint Added To Calculate Folder Size

* [feature/MNT-24127] Endpoint Added To Calculate Folder Size

* [feature/MNT-24127] Endpoint Added To Calculate Folder Size

* Some Optimization for NodeSize Calculation.

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added Endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoint to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance test case

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance test case

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance test case

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance test case

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance test case

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance test case

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance test case

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance test case

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance test case

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance test case

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance test case

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding performance test case

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoints implementation to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoints implementation to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoints implementation to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoints implementation to calculate folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding endpoints to calculate and retrieve folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding endpoints to calculate and retrieve folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding endpoints to calculate and retrieve folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding endpoints to calculate and retrieve folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding endpoints to calculate and retrieve folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Adding endpoints to calculate and retrieve folder size

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* Changes as per the Relationship Api Framework implementation.

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments related to calculate and retrieve folder size details

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments and refactoring files

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments and refactoring files

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments and refactoring files

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments and refactoring files

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments regarding Integeration testcases

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments regarding Integeration testcases

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Addressing review comments

* [feature/MNT-24127-EndpointToCalculateFolderSize] Creating Integeration test cases

* [feature/MNT-24127-EndpointToCalculateFolderSize] Creating Integeration test cases

* [feature/MNT-24127-EndpointToCalculateFolderSize] Creating Integeration test cases

* [feature/MNT-24127-EndpointToCalculateFolderSize] Creating Integeration test cases

* [feature/MNT-24127-EndpointToCalculateFolderSize] Creating Integeration test cases

* [feature/MNT-24127-EndpointToCalculateFolderSize] Creating Integeration test cases

* [feature/MNT-24127-EndpointToCalculateFolderSize] Some Changes in NodeSizeDetailsTests

* [feature/MNT-24127-EndpointToCalculateFolderSize] Some Changes in NodeSizeDetailsTests

* [feature/MNT-24127-EndpointToCalculateFolderSize] Some Changes in NodeSizeDetailsTests

* [feature/MNT-24127-EndpointToCalculateFolderSize] Some Changes in NodeSizeDetailsTests

* [feature/MNT-24127-EndpointToCalculateFolderSize] Checking size-details feature for solr6 subsystem

* [feature/MNT-24127-EndpointToCalculateFolderSize] Checking size-details feature for solr6 subsystem

---------

Co-authored-by: kshah <kavit.shah@globallogic.com>
Co-authored-by: mohit-singh4 <mohit.singh@contractors.hyland.com>
Co-authored-by: kshah <kavit.shah@hyland.com>
2024-11-08 15:37:27 +05:30
alfresco-build
25e9bdbdb6 [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-08 06:37:38 +00:00
alfresco-build
33ab26e52b [maven-release-plugin][skip ci] prepare release 23.4.0.58 2024-11-08 06:37:36 +00:00
rrajoria
7e35abfdc8 Update aos version to 3.2.0-A2 2024-11-08 10:28:04 +05:30
alfresco-build
634e591264 [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-07 18:44:42 +00:00
alfresco-build
86f66c86da [maven-release-plugin][skip ci] prepare release 23.4.0.57 2024-11-07 18:44:40 +00:00
Eva Vasques
2904535d40 MNT-24708 - Set messagesCache and loadedBundlesCache as local (#3026)
* In a cluster env these caches were always invalidating the other nodes loaded bundles, forcing them to reload
* Only resourceBundlesNamesCache should be invalidating to be able to force the cache reset if a bundle is added, removed or reloaded dynamically
* On unregister of a resource bundle, the cache wasn't being explicitly updated, so it was not invalidating the cache on the other nodes.
2024-11-07 18:03:52 +00:00
alfresco-build
e99905efbd [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-07 13:09:09 +00:00
alfresco-build
ce65de0f10 [maven-release-plugin][skip ci] prepare release 23.4.0.56 2024-11-07 13:09:07 +00:00
Piotr Żurek
29b19d4245 ACS-8936 Propagate latest Search Service (#3025) 2024-11-07 12:54:06 +01:00
alfresco-build
4eea43bddf [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-05 23:04:52 +00:00
alfresco-build
4c9282790a [maven-release-plugin][skip ci] prepare release 23.4.0.55 2024-11-05 23:04:50 +00:00
Sara
39a74e42b6 ACS-8934 Bump ATS 4.1.5-A3 (#3022) 2024-11-05 18:57:01 +00:00
alfresco-build
a298c0dcb9 [maven-release-plugin][skip ci] prepare for next development iteration 2024-11-03 00:07:36 +00:00
alfresco-build
9ee56a5d08 [maven-release-plugin][skip ci] prepare release 23.4.0.54 2024-11-03 00:07:34 +00:00
Alfresco CI User
6b80a2c39c [force] Force release for 2024-11-03. 2024-11-03 00:04:31 +00:00
alfresco-build
f6569edde1 [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-28 13:55:04 +00:00
alfresco-build
5ab9aa8cf2 [maven-release-plugin][skip ci] prepare release 23.4.0.53 2024-10-28 13:55:02 +00:00
Damian Ujma
8a171d09b5 ACS-8915 Propagate latest ATS/AIS (#3012) 2024-10-28 14:15:03 +01:00
alfresco-build
3e423a1543 [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-27 00:07:40 +00:00
alfresco-build
6351782c1d [maven-release-plugin][skip ci] prepare release 23.4.0.52 2024-10-27 00:07:38 +00:00
Alfresco CI User
4c92868efb [force] Force release for 2024-10-27. 2024-10-27 00:04:27 +00:00
alfresco-build
2cca9ea11b [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-25 11:06:31 +00:00
alfresco-build
e12001e4d1 [maven-release-plugin][skip ci] prepare release 23.4.0.51 2024-10-25 11:06:29 +00:00
dependabot[bot]
a57607f728 Bump org.springframework:spring-context from 6.1.13 to 6.1.14 (#3002)
Bumps [org.springframework:spring-context](https://github.com/spring-projects/spring-framework) from 6.1.13 to 6.1.14.
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.1.13...v6.1.14)

---
updated-dependencies:
- dependency-name: org.springframework:spring-context
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-25 10:49:56 +02:00
dependabot[bot]
a79af2cac0 Bump org.springframework.security:spring-security-bom (#3004)
Bumps [org.springframework.security:spring-security-bom](https://github.com/spring-projects/spring-security) from 6.3.3 to 6.3.4.
- [Release notes](https://github.com/spring-projects/spring-security/releases)
- [Changelog](https://github.com/spring-projects/spring-security/blob/main/RELEASE.adoc)
- [Commits](https://github.com/spring-projects/spring-security/compare/6.3.3...6.3.4)

---
updated-dependencies:
- dependency-name: org.springframework.security:spring-security-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-25 10:14:37 +02:00
alfresco-build
be807c5b19 [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-24 11:58:56 +00:00
alfresco-build
ae03e7076e [maven-release-plugin][skip ci] prepare release 23.4.0.50 2024-10-24 11:58:54 +00:00
Damian Ujma
26e394c398 ACS-6670 Change nodesSharedCache to fully-distributed (#3007) 2024-10-24 13:00:04 +02:00
alfresco-build
200aa95784 [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-20 00:07:31 +00:00
alfresco-build
4eeabb3dbd [maven-release-plugin][skip ci] prepare release 23.4.0.49 2024-10-20 00:07:29 +00:00
Alfresco CI User
227bbe4fd8 [force] Force release for 2024-10-20. 2024-10-20 00:04:38 +00:00
alfresco-build
1461a04a3d [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-16 13:08:10 +00:00
alfresco-build
52008dc139 [maven-release-plugin][skip ci] prepare release 23.4.0.48 2024-10-16 13:08:09 +00:00
rrajoria
f2a10052e4 Bump aos version 3.2.0-A1 (#2999) 2024-10-16 17:57:11 +05:30
alfresco-build
add64e0cb6 [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-13 00:07:36 +00:00
alfresco-build
14511e2621 [maven-release-plugin][skip ci] prepare release 23.4.0.47 2024-10-13 00:07:34 +00:00
Alfresco CI User
42e0c93121 [force] Force release for 2024-10-13. 2024-10-13 00:04:33 +00:00
alfresco-build
715bc273ee [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-11 12:42:44 +00:00
alfresco-build
812541870e [maven-release-plugin][skip ci] prepare release 23.4.0.46 2024-10-11 12:42:39 +00:00
dependabot[bot]
9aa5051826 Bump commons-io:commons-io from 2.16.1 to 2.17.0 (#2928)
Bumps commons-io:commons-io from 2.16.1 to 2.17.0.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-11 14:00:02 +02:00
alfresco-build
54580b4aeb [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-10 09:55:40 +00:00
alfresco-build
2b1b6091a3 [maven-release-plugin][skip ci] prepare release 23.4.0.45 2024-10-10 09:55:37 +00:00
Aleksandra Onych
74a147ab3f [ACS-8862] Bump Keycloak to 25.0.6 (#2983) 2024-10-10 11:13:08 +02:00
alfresco-build
07f0595f5a [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-09 16:57:03 +00:00
alfresco-build
e3422ea6a5 [maven-release-plugin][skip ci] prepare release 23.4.0.44 2024-10-09 16:57:00 +00:00
Eva Vasques
f4103c242f MNT-24641 Avoid duplicate key error on content upload (#2984)
MNT-24641
* On createOrGetByValue in EntityLookupCache, also cache by value
* Created getCachedEntityByValue that attempt to retrieve the value only from cache
* On attempt to create content URL, first check cache before attempting to create in the database avoiding a duplicate key
2024-10-09 17:07:10 +01:00
alfresco-build
34fb5e9dd9 [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-09 07:03:55 +00:00
alfresco-build
f6cf0670c1 [maven-release-plugin][skip ci] prepare release 23.4.0.43 2024-10-09 07:03:53 +00:00
rrajoria
c7bd036030 Update aos version (#2982)
Update aos version to 4.0.0-A1 with Spring 6.1 upgrade
2024-10-09 11:53:51 +05:30
alfresco-build
b20c573040 [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-08 15:11:21 +00:00
alfresco-build
6568885c10 [maven-release-plugin][skip ci] prepare release 23.4.0.42 2024-10-08 15:11:17 +00:00
dependabot[bot]
31237135c5 Bump org.apache.maven.plugins:maven-failsafe-plugin from 3.5.0 to 3.5.1 (#2979)
Bumps [org.apache.maven.plugins:maven-failsafe-plugin](https://github.com/apache/maven-surefire) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.5.0...surefire-3.5.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-failsafe-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-08 16:30:28 +02:00
alfresco-build
d528ed1e97 [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-06 00:07:53 +00:00
alfresco-build
bb207340fd [maven-release-plugin][skip ci] prepare release 23.4.0.41 2024-10-06 00:07:51 +00:00
Alfresco CI User
314e1aeb64 [force] Force release for 2024-10-06. 2024-10-06 00:04:26 +00:00
alfresco-build
9846f7b04f [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-04 18:40:05 +00:00
alfresco-build
6e442e93b8 [maven-release-plugin][skip ci] prepare release 23.4.0.40 2024-10-04 18:40:03 +00:00
Tom Page
fb3c57aab4 Merge pull request #2969 from Alfresco/feature/MNT-24637_IncludeAspectNames
MNT-24637 Add include=aspectNames to favourites API.
2024-10-04 18:59:35 +01:00
Tom Page
093b3281fb MNT-24637 PMD fixes. 2024-10-04 15:54:57 +01:00
Tom Page
3b027c6c36 MNT-24637 Include aspectNames in TAS model. 2024-10-04 15:45:54 +01:00
Tom Page
f193309e4c MNT-24637 Add include=aspectNames to favourites API. 2024-10-04 15:22:38 +01:00
Tom Page
7668849a59 MNT-24637 Pre-commit formatting. 2024-10-04 15:21:53 +01:00
alfresco-build
1350e68c29 [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-04 13:13:41 +00:00
alfresco-build
ea63cf76e5 [maven-release-plugin][skip ci] prepare release 23.4.0.39 2024-10-04 13:13:39 +00:00
Piotr Żurek
674fa8d7e0 ACS-8843 Investigate Java 21 compatibility (#2960)
* [ACS-8843] Delegate creation of proxy to one place

Co-authored-by: Kacper Magdziarz <kacper.magdziarz@hyland.com>
2024-10-04 14:31:56 +02:00
alfresco-build
60a31112ea [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-04 06:24:17 +00:00
alfresco-build
67d8807529 [maven-release-plugin][skip ci] prepare release 23.4.0.38 2024-10-04 06:24:15 +00:00
MohinishSah
dda1fd6ea3 Merge pull request #2968 from Alfresco/fix/APPS-3046
Update surf-webscript version to 9.4
2024-10-04 11:11:30 +05:30
rrajoria
7a937f1e51 Update surf-webscript version to 9.4 2024-10-03 18:10:40 +05:30
alfresco-build
187e9138da [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-03 11:33:20 +00:00
alfresco-build
b8c9605ae6 [maven-release-plugin][skip ci] prepare release 23.4.0.37 2024-10-03 11:33:18 +00:00
Piotr Żurek
8a1d8dba94 ACS-8870 Propagate latest ATS/AIS (#2967) 2024-10-03 12:53:17 +02:00
mikolajbrzezinski
b2c87aa22d ACS-8867 Add time-out to "Set up the environment" steps (#2955)
* ACS-8867 Add time-out to set up steps
2024-10-03 12:05:59 +02:00
alfresco-build
3748482f51 [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-03 08:34:12 +00:00
alfresco-build
1f558e4c58 [maven-release-plugin][skip ci] prepare release 23.4.0.36 2024-10-03 08:34:10 +00:00
dependabot[bot]
a7d31b9811 Bump org.alfresco:acs-event-model from 0.0.27 to 0.0.33 (#2966)
Bumps [org.alfresco:acs-event-model](https://github.com/Alfresco/acs-event-model) from 0.0.27 to 0.0.33.
- [Commits](https://github.com/Alfresco/acs-event-model/compare/acs-event-model-0.0.27...acs-event-model-0.0.33)

---
updated-dependencies:
- dependency-name: org.alfresco:acs-event-model
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-03 08:53:25 +01:00
alfresco-build
42cc7f16c2 [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-02 15:50:17 +00:00
alfresco-build
c0ca7cc27f [maven-release-plugin][skip ci] prepare release 23.4.0.35 2024-10-02 15:50:16 +00:00
Krystian Dabrowski
27962726b4 ACS-8871: Bump Spring from 6.0.19 to 6.1.13 (#2947)
* ACS-8871: Bump Spring from 6.0.19 to 6.1.13
2024-10-02 17:09:36 +02:00
Damian Ujma
aeebd3dcc6 ACS-8832 Fix Event Outbox shutdown (#2959)
* ACS-8832 Add destroy method in EventSender

* ACS-8832 Rename

* ACS-8832 Reformat
2024-10-02 16:32:53 +02:00
alfresco-build
dde8dc90e6 [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-02 13:42:45 +00:00
alfresco-build
aa1ec3cf35 [maven-release-plugin][skip ci] prepare release 23.4.0.34 2024-10-02 13:42:43 +00:00
Krystian Dabrowski
30ce0a1f01 ACS-6256: Move logic related with managing folders and categories (#2320)
* ACS-6256: Move logic related with managing folders and categories for TAS tests from acs-packaging to community-repo
2024-10-02 14:53:57 +02:00
alfresco-build
291684f3d8 [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-02 09:13:16 +00:00
alfresco-build
0fed714674 [maven-release-plugin][skip ci] prepare release 23.4.0.33 2024-10-02 09:13:14 +00:00
Tom Page
f2752929ce Revert "Bump dependency.log4j.version from 2.23.1 to 2.24.1 (#2950)"
This is causing issues in ent-repo.

This reverts commit 4197d9d5c7.
2024-10-02 09:33:12 +01:00
alfresco-build
cf66b63817 [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-02 08:11:10 +00:00
alfresco-build
e387ae39cc [maven-release-plugin][skip ci] prepare release 23.4.0.32 2024-10-02 08:11:08 +00:00
dependabot[bot]
e3483507d0 Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.7.0 to 3.10.1 (#2958)
Bumps [org.apache.maven.plugins:maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.7.0 to 3.10.1.
- [Release notes](https://github.com/apache/maven-javadoc-plugin/releases)
- [Commits](https://github.com/apache/maven-javadoc-plugin/compare/maven-javadoc-plugin-3.7.0...maven-javadoc-plugin-3.10.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-javadoc-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 09:30:26 +02:00
alfresco-build
55c6eacf95 [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-01 16:58:17 +00:00
alfresco-build
2ff97bfe83 [maven-release-plugin][skip ci] prepare release 23.4.0.31 2024-10-01 16:58:15 +00:00
Tom Page
88874ef191 Merge pull request #2954 from Alfresco/feature/ACS-8850_IE2.0.12-A1
ACS-8850 Update to IE 2.0.12-A1.
2024-10-01 17:17:00 +01:00
alfresco-build
74af4484da [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-01 16:06:44 +00:00
alfresco-build
c24812dc20 [maven-release-plugin][skip ci] prepare release 23.4.0.30 2024-10-01 16:06:42 +00:00
Tom Page
0e78b61f4c ACS-8850 Update to IE 2.0.12. 2024-10-01 15:56:48 +01:00
dependabot[bot]
97353e1ee9 Bump com.google.guava:guava from 33.3.0-jre to 33.3.1-jre (#2941)
Bumps [com.google.guava:guava](https://github.com/google/guava) from 33.3.0-jre to 33.3.1-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 16:25:47 +02:00
alfresco-build
024ad00229 [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-01 13:48:57 +00:00
alfresco-build
c2da1838da [maven-release-plugin][skip ci] prepare release 23.4.0.29 2024-10-01 13:48:50 +00:00
dependabot[bot]
93d4e603ed Bump Alfresco/alfresco-build-tools from 6.1.0 to 7.1.0 (#2952)
Bumps [Alfresco/alfresco-build-tools](https://github.com/alfresco/alfresco-build-tools) from 6.1.0 to 7.1.0.
- [Release notes](https://github.com/alfresco/alfresco-build-tools/releases)
- [Commits](https://github.com/alfresco/alfresco-build-tools/compare/v6.1.0...v7.1.0)

---
updated-dependencies:
- dependency-name: Alfresco/alfresco-build-tools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 15:08:49 +02:00
dependabot[bot]
4197d9d5c7 Bump dependency.log4j.version from 2.23.1 to 2.24.1 (#2950)
Bumps `dependency.log4j.version` from 2.23.1 to 2.24.1.

Updates `org.apache.logging.log4j:log4j-slf4j2-impl` from 2.23.1 to 2.24.1

Updates `org.apache.logging.log4j:log4j-api` from 2.23.1 to 2.24.1

Updates `org.apache.logging.log4j:log4j-core` from 2.23.1 to 2.24.1

---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-slf4j2-impl
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: org.apache.logging.log4j:log4j-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.logging.log4j:log4j-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 14:31:22 +02:00
dependabot[bot]
a323e56a5a Bump org.mockito:mockito-core from 5.13.0 to 5.14.1 (#2948)
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.13.0 to 5.14.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.13.0...v5.14.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 14:01:44 +02:00
alfresco-build
6f2100e072 [maven-release-plugin][skip ci] prepare for next development iteration 2024-10-01 10:25:57 +00:00
alfresco-build
a2dcb0ebd7 [maven-release-plugin][skip ci] prepare release 23.4.0.28 2024-10-01 10:25:55 +00:00
Tom Page
ef2019d844 Merge pull request #2940 from Alfresco/dependabot/maven/org.alfresco.tas-utility-5.0.2
Bump org.alfresco.tas:utility from 5.0.1 to 5.0.2
2024-10-01 10:44:10 +01:00
Tom Page
a5adc32d79 Merge pull request #2953 from Alfresco/dependabot/github_actions/Alfresco/ya-pmd-scan-4.1.0
Bump Alfresco/ya-pmd-scan from 4.0.0 to 4.1.0
2024-10-01 10:43:22 +01:00
dependabot[bot]
a5f8e80bcc Bump Alfresco/ya-pmd-scan from 4.0.0 to 4.1.0
Bumps [Alfresco/ya-pmd-scan](https://github.com/alfresco/ya-pmd-scan) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/alfresco/ya-pmd-scan/releases)
- [Commits](https://github.com/alfresco/ya-pmd-scan/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: Alfresco/ya-pmd-scan
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-01 00:20:33 +00:00
Tom Page
de3dfc1265 ACS-8850 Update to IE 2.0.12-A1. 2024-09-30 16:01:24 +01:00
alfresco-build
487dc56e3c [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-29 00:07:50 +00:00
alfresco-build
fd4e630f0f [maven-release-plugin][skip ci] prepare release 23.4.0.27 2024-09-29 00:07:48 +00:00
Alfresco CI User
008b33efbd [force] Force release for 2024-09-29. 2024-09-29 00:04:25 +00:00
alfresco-build
f3e0c43f3b [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-25 14:43:46 +00:00
alfresco-build
9f6ef99ef5 [maven-release-plugin][skip ci] prepare release 23.4.0.26 2024-09-25 14:43:44 +00:00
Tom Page
5e9d7f39d3 Merge pull request #2943 from Alfresco/feature/IncludeAGSTAS
Include AGS and TAS in pre-commit scan.
2024-09-25 15:01:50 +01:00
Maciej Pichura
0f6950a72e MNT-24346 Fix "0" return status code when SORL unavailable (#2942)
* MNT-24346: Fix 0 status code in Search API when Solr is unavailable.

* MNT-24346: Fixing PMD issues.

* MNT-24346: Fixing formatting.

* MNT-24346: Reverting accidental method name change.

* MNT-24346: Fixing spotless issues.

* MNT-24346: Fixing spotless issues.

* MNT-24346: Fixing spotless issues.

* MNT-24346 Fix line endings.

---------

Co-authored-by: Tom Page <tom.page@alfresco.com>
2024-09-25 15:27:06 +02:00
Tom Page
87bba8e381 Include AGS and TAS in pre-commit scan. 2024-09-25 14:16:27 +01:00
Maciej Pichura
837fb0cccd MNT-24346: Fix "0" return status code in Search API when Solr is unavailable. (#2939)
* MNT-24346: Fix 0 status code in Search API when Solr is unavailable.

* MNT-24346: Fixing PMD issues.

* MNT-24346: Fixing formatting.

* MNT-24346: Reverting accidental method name change.
2024-09-25 12:47:06 +02:00
Tom Page
0b511e0b55 Unify checkout action. 2024-09-25 11:33:31 +01:00
alfresco-build
67aa6ac5fc [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-25 10:25:28 +00:00
alfresco-build
6805ce85c8 [maven-release-plugin][skip ci] prepare release 23.4.0.25 2024-09-25 10:25:26 +00:00
Tom Page
b00e11cb6f Add precommit for secret scanning, formatting and license header checking. (#2938)
* Add precommit for secret scanning, formatting and license header checking.

* Turn off bash debug logging.

* Skip precommit checks that apply to all files.

There are too many violations to run against all files.
2024-09-25 10:35:39 +01:00
dependabot[bot]
3d9b58ea76 Bump org.alfresco.tas:utility from 5.0.1 to 5.0.2
Bumps [org.alfresco.tas:utility](https://github.com/Alfresco/alfresco-tas-utility) from 5.0.1 to 5.0.2.
- [Changelog](https://github.com/Alfresco/alfresco-tas-utility/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/Alfresco/alfresco-tas-utility/compare/utility-5.0.1...utility-5.0.2)

---
updated-dependencies:
- dependency-name: org.alfresco.tas:utility
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-24 22:06:14 +00:00
alfresco-build
02254b2ac4 [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-22 00:08:50 +00:00
alfresco-build
7df8281358 [maven-release-plugin][skip ci] prepare release 23.4.0.24 2024-09-22 00:08:48 +00:00
Alfresco CI User
3f2a143343 [force] Force release for 2024-09-22. 2024-09-22 00:04:27 +00:00
alfresco-build
c8bfc18f83 [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-19 19:00:03 +00:00
alfresco-build
8b3bd59d73 [maven-release-plugin][skip ci] prepare release 23.4.0.23 2024-09-19 19:00:01 +00:00
Tiago Salvado
a6e915371f [MNT-24282] Obtain site manager authority as system and keep site manager permissions when inheritance flag is disabled (#2914)
* [MNT-24282] Obtain site manager authority as system

* [MNT-24282] Add unit test

* [MNT-24282] Do not remove site manager permissions from local set when inheritance flag is disabled

* [MNT-24282] PMD scan changes
2024-09-19 19:22:30 +01:00
alfresco-build
f5f1106506 [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-19 16:39:33 +00:00
alfresco-build
5b0c31154e [maven-release-plugin][skip ci] prepare release 23.4.0.22 2024-09-19 16:39:31 +00:00
Suneet Gupta
70a90c3870 [MNT-23264] Added fix for running job as system user (#2926)
* [MNT-23264] Added fix for running job as system user

* [MNT-23264] Added fix for running job as system user

* [MNT-23264] Added fix for running job as system user

* [MNT-23264] Added fix for running job as system user

* [MNT-23264] Added fix for running job as system user
2024-09-19 21:03:37 +05:30
alfresco-build
a10ab896df [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-19 09:24:58 +00:00
alfresco-build
5bc0c3975b [maven-release-plugin][skip ci] prepare release 23.4.0.21 2024-09-19 09:24:56 +00:00
dependabot[bot]
6e20330424 Bump org.springframework.security:spring-security-bom (#2864)
Bumps [org.springframework.security:spring-security-bom](https://github.com/spring-projects/spring-security) from 6.3.1 to 6.3.3.
- [Release notes](https://github.com/spring-projects/spring-security/releases)
- [Changelog](https://github.com/spring-projects/spring-security/blob/main/RELEASE.adoc)
- [Commits](https://github.com/spring-projects/spring-security/compare/6.3.1...6.3.3)

---
updated-dependencies:
- dependency-name: org.springframework.security:spring-security-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-19 10:48:04 +02:00
Tiago Salvado
1c1c9704a1 [MNT-24555] Set download node name on node creation (#2901)
* [MNT-24555] Set download node name on node creation

* [MNT-24555] PMD scan changes
2024-09-19 09:28:52 +01:00
alfresco-build
b7642b5813 [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-18 22:09:42 +00:00
alfresco-build
69583721da [maven-release-plugin][skip ci] prepare release 23.4.0.20 2024-09-18 22:09:40 +00:00
Tiago Salvado
d17c11b8ad [MNT-24590] Bump spring-webscripts to 9.3 (#2922)
* [MNT-24590] Bump spring-webscripts to 9.3

* Removed duplicated property: dependency.webscripts.version
2024-09-18 22:32:30 +01:00
alfresco-build
57daaa24da [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-18 15:25:06 +00:00
alfresco-build
da96fd52ca [maven-release-plugin][skip ci] prepare release 23.4.0.19 2024-09-18 15:25:04 +00:00
Eva Vasques
0fd088fc59 MNT-24441 Transaction Retries From A Behavior Can Fail During REST API Calls (#2921)
* Reset the buffered request at the beginning of the transaction
2024-09-18 15:46:53 +01:00
alfresco-build
dea78f5d30 [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-18 09:42:05 +00:00
alfresco-build
aa02febb3f [maven-release-plugin][skip ci] prepare release 23.4.0.18 2024-09-18 09:42:03 +00:00
Maciej Pichura
84e1c90745 Revert "Bump dependency.log4j.version from 2.23.1 to 2.24.0 (#2904)" (#2920)
This reverts commit 22b6131f93.
2024-09-18 11:06:41 +02:00
alfresco-build
7ce2349edc [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-18 07:50:32 +00:00
alfresco-build
6d02269164 [maven-release-plugin][skip ci] prepare release 23.4.0.17 2024-09-18 07:50:29 +00:00
Maciej Pichura
ba323979ff Revert "Bump dependency.spring.version from 6.0.19 to 6.1.13 (#2909)" (#2919)
This reverts commit b4c18c9902.
2024-09-18 09:13:40 +02:00
alfresco-build
b1cf324289 [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-17 11:15:23 +00:00
alfresco-build
acb34b7861 [maven-release-plugin][skip ci] prepare release 23.4.0.16 2024-09-17 11:15:21 +00:00
dependabot[bot]
ab1cce1fec Bump joda-time:joda-time from 2.12.7 to 2.13.0 (#2917)
Bumps [joda-time:joda-time](https://github.com/JodaOrg/joda-time) from 2.12.7 to 2.13.0.
- [Release notes](https://github.com/JodaOrg/joda-time/releases)
- [Changelog](https://github.com/JodaOrg/joda-time/blob/main/RELEASE-NOTES.txt)
- [Commits](https://github.com/JodaOrg/joda-time/compare/v2.12.7...v2.13.0)

---
updated-dependencies:
- dependency-name: joda-time:joda-time
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-17 12:37:22 +02:00
alfresco-build
7550799a26 [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-16 15:43:57 +00:00
alfresco-build
6238485d2b [maven-release-plugin][skip ci] prepare release 23.4.0.15 2024-09-16 15:43:55 +00:00
dependabot[bot]
8059ccad53 Bump org.owasp.encoder:encoder from 1.2.3 to 1.3.1 (#2865)
Bumps [org.owasp.encoder:encoder](https://github.com/owasp/owasp-java-encoder) from 1.2.3 to 1.3.1.
- [Release notes](https://github.com/owasp/owasp-java-encoder/releases)
- [Commits](https://github.com/owasp/owasp-java-encoder/compare/v1.2.3...v1.3.1)

---
updated-dependencies:
- dependency-name: org.owasp.encoder:encoder
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 16:42:13 +02:00
dependabot[bot]
3896979b6c Bump dependency.webscripts.version from 9.0 to 9.2 (#2910)
Bumps `dependency.webscripts.version` from 9.0 to 9.2.

Updates `org.alfresco.surf:spring-surf-core-configservice` from 9.0 to 9.2

Updates `org.alfresco.surf:spring-webscripts` from 9.0 to 9.2
- [Commits](https://github.com/Alfresco/surf-webscripts/compare/spring-surf-webscripts-parent-9.0...spring-surf-webscripts-parent-9.2)

Updates `org.alfresco.surf:spring-webscripts-api` from 9.0 to 9.2

---
updated-dependencies:
- dependency-name: org.alfresco.surf:spring-surf-core-configservice
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.alfresco.surf:spring-webscripts
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.alfresco.surf:spring-webscripts-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 16:08:45 +02:00
alfresco-build
98a978a4d1 [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-16 14:03:45 +00:00
alfresco-build
cb333d1c20 [maven-release-plugin][skip ci] prepare release 23.4.0.14 2024-09-16 14:03:43 +00:00
dependabot[bot]
ee1d33cb41 Bump org.apache.maven.plugins:maven-dependency-plugin (#2868)
Bumps [org.apache.maven.plugins:maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin) from 3.7.1 to 3.8.0.
- [Release notes](https://github.com/apache/maven-dependency-plugin/releases)
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.7.1...maven-dependency-plugin-3.8.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-dependency-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 15:27:24 +02:00
dependabot[bot]
1e16f74292 Bump org.apache.maven.plugins:maven-failsafe-plugin from 2.22.2 to 3.5.0 (#2885)
Bumps [org.apache.maven.plugins:maven-failsafe-plugin](https://github.com/apache/maven-surefire) from 2.22.2 to 3.5.0.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-2.22.2...surefire-3.5.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-failsafe-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 14:26:12 +02:00
alfresco-build
8d72d662a0 [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-16 12:06:28 +00:00
alfresco-build
f346992500 [maven-release-plugin][skip ci] prepare release 23.4.0.13 2024-09-16 12:06:26 +00:00
dependabot[bot]
5399fed53b Bump org.apache.httpcomponents.core5:httpcore5 from 5.2.5 to 5.3 (#2911)
Bumps [org.apache.httpcomponents.core5:httpcore5](https://github.com/apache/httpcomponents-core) from 5.2.5 to 5.3.
- [Changelog](https://github.com/apache/httpcomponents-core/blob/master/RELEASE_NOTES.txt)
- [Commits](https://github.com/apache/httpcomponents-core/compare/rel/v5.2.5...rel/v5.3)

---
updated-dependencies:
- dependency-name: org.apache.httpcomponents.core5:httpcore5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-16 13:27:40 +02:00
alfresco-build
1766ac749d [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-16 11:23:36 +00:00
alfresco-build
5b31b22840 [maven-release-plugin][skip ci] prepare release 23.4.0.12 2024-09-16 11:23:33 +00:00
dependabot[bot]
b4c18c9902 Bump dependency.spring.version from 6.0.19 to 6.1.13 (#2909)
* Bump dependency.spring.version from 6.0.19 to 6.1.13

Bumps `dependency.spring.version` from 6.0.19 to 6.1.13.

Updates `org.springframework:spring-aop` from 6.0.19 to 6.1.13
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.0.19...v6.1.13)

Updates `org.springframework:spring-beans` from 6.0.19 to 6.1.13
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.0.19...v6.1.13)

Updates `org.springframework:spring-context` from 6.0.19 to 6.1.13
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.0.19...v6.1.13)

Updates `org.springframework:spring-context-support` from 6.0.19 to 6.1.13
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.0.19...v6.1.13)

Updates `org.springframework:spring-core` from 6.0.19 to 6.1.13
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.0.19...v6.1.13)

Updates `org.springframework:spring-expression` from 6.0.19 to 6.1.13
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.0.19...v6.1.13)

Updates `org.springframework:spring-jdbc` from 6.0.19 to 6.1.13
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.0.19...v6.1.13)

Updates `org.springframework:spring-jms` from 6.0.19 to 6.1.13
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.0.19...v6.1.13)

Updates `org.springframework:spring-test` from 6.0.19 to 6.1.13
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.0.19...v6.1.13)

Updates `org.springframework:spring-orm` from 6.0.19 to 6.1.13
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.0.19...v6.1.13)

Updates `org.springframework:spring-tx` from 6.0.19 to 6.1.13
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.0.19...v6.1.13)

Updates `org.springframework:spring-web` from 6.0.19 to 6.1.13
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.0.19...v6.1.13)

Updates `org.springframework:spring-webmvc` from 6.0.19 to 6.1.13
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v6.0.19...v6.1.13)

---
updated-dependencies:
- dependency-name: org.springframework:spring-aop
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-beans
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-context
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-context-support
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-expression
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-jdbc
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-jms
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-test
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-orm
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-tx
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-web
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.springframework:spring-webmvc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Remove deprecated usage of notNull(Object)

* ACS-8413: Fixing SPeL for List property.

* Revert "[MNT-23264] script execution error (#2900)" (#2912)

This reverts commit 58bad96724.

* ACS-8413: Changing keycloak setup in docker-compose.

* ACS-8413: Revert: Changing keycloak setup in docker-compose.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Domenico Sibilio <domenicosibilio@gmail.com>
Co-authored-by: mpichura <maciej.pichura@hyland.com>
Co-authored-by: Manish Kumar <110275771+code4uuuu@users.noreply.github.com>
2024-09-16 12:45:24 +02:00
alfresco-build
7491ba5156 [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-16 10:11:46 +00:00
alfresco-build
57d8f4bab7 [maven-release-plugin][skip ci] prepare release 23.4.0.11 2024-09-16 10:11:44 +00:00
Tom Page
6c0b29ec3d Revert "Bump org.apache.httpcomponents.client5:httpclient5 from 5.2.1 to 5.3.1 (#2416)"
This reverts commit ef878fe20f.
2024-09-16 10:18:25 +01:00
alfresco-build
91adfe22d7 [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-15 00:08:45 +00:00
alfresco-build
40036caae4 [maven-release-plugin][skip ci] prepare release 23.4.0.10 2024-09-15 00:08:42 +00:00
Alfresco CI User
5a0aadb425 [force] Force release for 2024-09-15. 2024-09-15 00:04:24 +00:00
dependabot[bot]
d4a8ef2442 Bump dependency.poi.version from 5.2.5 to 5.3.0 (#2825)
Bumps `dependency.poi.version` from 5.2.5 to 5.3.0.

Updates `org.apache.poi:poi` from 5.2.5 to 5.3.0

Updates `org.apache.poi:poi-ooxml` from 5.2.5 to 5.3.0

Updates `org.apache.poi:poi-scratchpad` from 5.2.5 to 5.3.0

---
updated-dependencies:
- dependency-name: org.apache.poi:poi
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.poi:poi-ooxml
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.poi:poi-scratchpad
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-13 16:06:46 +01:00
dependabot[bot]
5555ee6871 Bump com.networknt:json-schema-validator from 1.5.0 to 1.5.1 (#2829)
Bumps [com.networknt:json-schema-validator](https://github.com/networknt/json-schema-validator) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/networknt/json-schema-validator/releases)
- [Changelog](https://github.com/networknt/json-schema-validator/blob/master/CHANGELOG.md)
- [Commits](https://github.com/networknt/json-schema-validator/compare/1.5.0...1.5.1)

---
updated-dependencies:
- dependency-name: com.networknt:json-schema-validator
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-13 16:06:25 +01:00
dependabot[bot]
1ba62b2a4c Bump org.mybatis:mybatis-spring from 3.0.3 to 3.0.4 (#2851)
Bumps [org.mybatis:mybatis-spring](https://github.com/mybatis/spring) from 3.0.3 to 3.0.4.
- [Release notes](https://github.com/mybatis/spring/releases)
- [Commits](https://github.com/mybatis/spring/compare/mybatis-spring-3.0.3...mybatis-spring-3.0.4)

---
updated-dependencies:
- dependency-name: org.mybatis:mybatis-spring
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-13 16:05:58 +01:00
dependabot[bot]
8abf1c3d36 Bump org.apache.commons:commons-compress from 1.26.2 to 1.27.1 (#2863)
Bumps org.apache.commons:commons-compress from 1.26.2 to 1.27.1.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-compress
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-13 16:05:40 +01:00
dependabot[bot]
22b6131f93 Bump dependency.log4j.version from 2.23.1 to 2.24.0 (#2904)
Bumps `dependency.log4j.version` from 2.23.1 to 2.24.0.

Updates `org.apache.logging.log4j:log4j-slf4j2-impl` from 2.23.1 to 2.24.0

Updates `org.apache.logging.log4j:log4j-api` from 2.23.1 to 2.24.0

Updates `org.apache.logging.log4j:log4j-core` from 2.23.1 to 2.24.0

---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-slf4j2-impl
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: org.apache.logging.log4j:log4j-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.apache.logging.log4j:log4j-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-13 16:04:53 +01:00
Manish Kumar
8a731dce40 Revert "[MNT-23264] script execution error (#2900)" (#2912)
This reverts commit 58bad96724.
2024-09-13 11:21:41 +05:30
dependabot[bot]
a18861a4f6 Bump dependency.webscripts.version from 9.0 to 9.2 (#2569)
Bumps `dependency.webscripts.version` from 9.0 to 9.2.

Updates `org.alfresco.surf:spring-surf-core-configservice` from 9.0 to 9.2

Updates `org.alfresco.surf:spring-webscripts` from 9.0 to 9.2
- [Commits](https://github.com/Alfresco/surf-webscripts/compare/spring-surf-webscripts-parent-9.0...spring-surf-webscripts-parent-9.2)

Updates `org.alfresco.surf:spring-webscripts-api` from 9.0 to 9.2

---
updated-dependencies:
- dependency-name: org.alfresco.surf:spring-surf-core-configservice
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.alfresco.surf:spring-webscripts
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.alfresco.surf:spring-webscripts-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Page <tpage-alfresco@users.noreply.github.com>
2024-09-12 15:26:07 +01:00
dependabot[bot]
87f31c5a3a Bump jakarta.annotation:jakarta.annotation-api from 2.1.1 to 3.0.0 (#2574)
Bumps [jakarta.annotation:jakarta.annotation-api](https://github.com/jakartaee/common-annotations-api) from 2.1.1 to 3.0.0.
- [Commits](https://github.com/jakartaee/common-annotations-api/compare/2.1.1...3.0.0)

---
updated-dependencies:
- dependency-name: jakarta.annotation:jakarta.annotation-api
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 12:43:29 +01:00
dependabot[bot]
ef878fe20f Bump org.apache.httpcomponents.client5:httpclient5 from 5.2.1 to 5.3.1 (#2416)
Bumps [org.apache.httpcomponents.client5:httpclient5](https://github.com/apache/httpcomponents-client) from 5.2.1 to 5.3.1.
- [Changelog](https://github.com/apache/httpcomponents-client/blob/rel/v5.3.1/RELEASE_NOTES.txt)
- [Commits](https://github.com/apache/httpcomponents-client/compare/rel/v5.2.1...rel/v5.3.1)

---
updated-dependencies:
- dependency-name: org.apache.httpcomponents.client5:httpclient5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 12:43:19 +01:00
alfresco-build
168aae1a3d [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-12 11:35:29 +00:00
alfresco-build
ed706aa5d3 [maven-release-plugin][skip ci] prepare release 23.4.0.9 2024-09-12 11:35:27 +00:00
dependabot[bot]
fe5a1d8436 Bump org.apache.santuario:xmlsec from 3.0.3 to 4.0.2 (#2468)
Bumps org.apache.santuario:xmlsec from 3.0.3 to 4.0.2.

---
updated-dependencies:
- dependency-name: org.apache.santuario:xmlsec
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 11:48:02 +01:00
dependabot[bot]
54d122ccc1 Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.17.0 (#2888)
Bumps org.apache.commons:commons-lang3 from 3.14.0 to 3.17.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-lang3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 11:44:21 +01:00
dependabot[bot]
945fe52df9 Bump io.netty:netty-bom from 4.1.110.Final to 4.1.113.Final (#2899)
Bumps [io.netty:netty-bom](https://github.com/netty/netty) from 4.1.110.Final to 4.1.113.Final.
- [Commits](https://github.com/netty/netty/compare/netty-4.1.110.Final...netty-4.1.113.Final)

---
updated-dependencies:
- dependency-name: io.netty:netty-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 11:35:44 +01:00
dependabot[bot]
f1d9203430 Bump org.eclipse.jetty:jetty-webapp from 11.0.22 to 11.0.24 (#2896)
Bumps org.eclipse.jetty:jetty-webapp from 11.0.22 to 11.0.24.

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-webapp
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 11:35:29 +01:00
dependabot[bot]
1dc0720582 Bump org.codehaus.mojo:buildnumber-maven-plugin from 3.2.0 to 3.2.1 (#2895)
Bumps [org.codehaus.mojo:buildnumber-maven-plugin](https://github.com/mojohaus/buildnumber-maven-plugin) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/mojohaus/buildnumber-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/buildnumber-maven-plugin/compare/3.2.0...3.2.1)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:buildnumber-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 11:35:10 +01:00
dependabot[bot]
8dcc19cc63 Bump org.yaml:snakeyaml from 2.2 to 2.3 (#2892)
Bumps [org.yaml:snakeyaml](https://bitbucket.org/snakeyaml/snakeyaml) from 2.2 to 2.3.
- [Commits](https://bitbucket.org/snakeyaml/snakeyaml/branches/compare/snakeyaml-2.3..snakeyaml-2.2)

---
updated-dependencies:
- dependency-name: org.yaml:snakeyaml
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 11:34:55 +01:00
dependabot[bot]
d4883af0d0 Bump org.mockito:mockito-core from 5.12.0 to 5.13.0 (#2884)
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.12.0 to 5.13.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.12.0...v5.13.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 11:34:06 +01:00
dependabot[bot]
4cb220de66 Bump org.postgresql:postgresql from 42.7.3 to 42.7.4 (#2869)
Bumps [org.postgresql:postgresql](https://github.com/pgjdbc/pgjdbc) from 42.7.3 to 42.7.4.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.7.3...REL42.7.4)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 11:33:49 +01:00
Tom Page
97bcd725ee Merge pull request #2861 from Alfresco/dependabot/maven/com.google.guava-guava-33.3.0-jre
Bump com.google.guava:guava from 33.2.1-jre to 33.3.0-jre
2024-09-12 11:33:22 +01:00
Tom Page
38259f9b39 Merge pull request #2852 from Alfresco/dependabot/maven/org.slf4j-slf4j-api-2.0.16
Bump org.slf4j:slf4j-api from 2.0.13 to 2.0.16
2024-09-12 11:32:56 +01:00
Tom Page
9b1f0d78a5 Merge pull request #2833 from Alfresco/dependabot/maven/org.eclipse.parsson-parsson-1.1.7
Bump org.eclipse.parsson:parsson from 1.1.6 to 1.1.7
2024-09-12 11:32:23 +01:00
Tom Page
95d7dbc5fc Merge pull request #2845 from Alfresco/dependabot/maven/org.awaitility-awaitility-4.2.2
Bump org.awaitility:awaitility from 4.2.1 to 4.2.2
2024-09-12 11:31:58 +01:00
Tom Page
920366d287 Merge pull request #2821 from Alfresco/dependabot/maven/org.apache.maven.plugins-maven-war-plugin-3.4.0
Bump org.apache.maven.plugins:maven-war-plugin from 3.3.2 to 3.4.0
2024-09-12 11:28:34 +01:00
Tom Page
14e26c46fc Merge pull request #2820 from Alfresco/dependabot/maven/org.codehaus.mojo-license-maven-plugin-2.4.0
Bump org.codehaus.mojo:license-maven-plugin from 2.0.1 to 2.4.0
2024-09-12 11:28:21 +01:00
Tom Page
c934f556cd Merge pull request #2818 from Alfresco/dependabot/maven/org.apache.maven.plugins-maven-enforcer-plugin-3.5.0
Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.3.0 to 3.5.0
2024-09-12 11:27:59 +01:00
Tom Page
73901303c5 Merge pull request #2815 from Alfresco/dependabot/maven/org.mybatis-mybatis-3.5.16
Bump org.mybatis:mybatis from 3.5.13 to 3.5.16
2024-09-12 11:27:43 +01:00
Tom Page
bbb22a79eb Merge pull request #2784 from Alfresco/dependabot/maven/commons-codec-commons-codec-1.17.1
Bump commons-codec:commons-codec from 1.17.0 to 1.17.1
2024-09-12 11:27:21 +01:00
Tom Page
099b072a47 Merge pull request #2780 from Alfresco/dependabot/maven/dependency.jackson.version-2.17.2
Bump dependency.jackson.version from 2.15.2 to 2.17.2
2024-09-12 11:26:57 +01:00
Tom Page
0bf3c078cf Merge pull request #2774 from Alfresco/dependabot/maven/com.github.docker-java-docker-java-3.4.0
Bump com.github.docker-java:docker-java from 3.3.6 to 3.4.0
2024-09-12 11:26:35 +01:00
Tom Page
9b45f75b48 Merge pull request #2731 from Alfresco/dependabot/github_actions/actions/upload-artifact-4
Bump actions/upload-artifact from 3 to 4
2024-09-12 11:25:10 +01:00
Tom Page
52914459ea Merge pull request #2710 from Alfresco/dependabot/maven/com.fasterxml.woodstox-woodstox-core-7.0.0
Bump com.fasterxml.woodstox:woodstox-core from 6.5.1 to 7.0.0
2024-09-12 11:24:55 +01:00
Tom Page
446b08aa03 Merge pull request #2686 from Alfresco/dependabot/maven/jakarta.servlet-jakarta.servlet-api-6.1.0
Bump jakarta.servlet:jakarta.servlet-api from 6.0.0 to 6.1.0
2024-09-12 11:22:53 +01:00
Tom Page
08fbc569fe Merge pull request #2652 from Alfresco/dependabot/maven/jakarta.xml.soap-jakarta.xml.soap-api-3.0.2
Bump jakarta.xml.soap:jakarta.xml.soap-api from 2.0.1 to 3.0.2
2024-09-12 11:21:05 +01:00
Tom Page
a8f50416a3 Merge pull request #2487 from Alfresco/dependabot/maven/org.json-json-20240303
Bump org.json:json from 20231013 to 20240303
2024-09-12 11:11:31 +01:00
Tom Page
c5122ddca0 Merge pull request #2431 from Alfresco/dependabot/maven/joda-time-joda-time-2.12.7
Bump joda-time:joda-time from 2.12.5 to 2.12.7
2024-09-12 11:10:01 +01:00
Tom Page
1d93bcbb0d Merge pull request #2329 from Alfresco/dependabot/maven/com.drewnoakes-metadata-extractor-2.19.0
Bump com.drewnoakes:metadata-extractor from 2.18.0 to 2.19.0
2024-09-12 11:02:12 +01:00
alfresco-build
c34f9af62d [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-11 15:58:00 +00:00
alfresco-build
112875fbfd [maven-release-plugin][skip ci] prepare release 23.4.0.8 2024-09-11 15:57:58 +00:00
Tom Page
2d21456342 Merge pull request #2905 from Alfresco/feature/ACS-8754_FixStatusCode
ACS-8754 Return 405 status code when calling /entity/id/relationship against a resource that only supports ReadById.
2024-09-11 16:19:55 +01:00
Tom Page
0363cab870 ACS-8754 Return 405 status code when calling /entity/id/relationship against a resource that only supports ReadById. 2024-09-11 15:27:33 +01:00
alfresco-build
1f708ad712 [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-09 09:53:32 +00:00
alfresco-build
475894525d [maven-release-plugin][skip ci] prepare release 23.4.0.7 2024-09-09 09:53:30 +00:00
Manish Kumar
58bad96724 [MNT-23264] script execution error (#2900)
* [MNT-23264] fix script execution error

* [MNT-23264]

* [MNT-23264] fix formatting issue

* [MNT-23264] fix formatting issue
2024-09-09 14:40:33 +05:30
alfresco-build
02486a432a [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-08 00:07:09 +00:00
alfresco-build
6de21cca78 [maven-release-plugin][skip ci] prepare release 23.4.0.6 2024-09-08 00:07:07 +00:00
Alfresco CI User
185f7ebeb6 [force] Force release for 2024-09-08. 2024-09-08 00:04:21 +00:00
alfresco-build
1b55aa9691 [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-03 11:11:42 +00:00
alfresco-build
51aa490439 [maven-release-plugin][skip ci] prepare release 23.4.0.5 2024-09-03 11:11:39 +00:00
Aleksandra Onych
4cf2e76430 ACS-8670 Deal with upcoming GitHub Actions deprecations (#2870)
Co-authored-by: Domenico Sibilio <domenicosibilio@gmail.com>
2024-09-03 12:34:31 +02:00
alfresco-build
9e34ae3df8 [maven-release-plugin][skip ci] prepare for next development iteration 2024-09-01 00:08:51 +00:00
alfresco-build
6a4f82deae [maven-release-plugin][skip ci] prepare release 23.4.0.4 2024-09-01 00:08:49 +00:00
Alfresco CI User
0e3173a573 [force] Force release for 2024-09-01. 2024-09-01 00:04:37 +00:00
alfresco-build
2744561346 [maven-release-plugin][skip ci] prepare for next development iteration 2024-08-28 10:25:33 +00:00
alfresco-build
9b8ae96c2e [maven-release-plugin][skip ci] prepare release 23.4.0.3 2024-08-28 10:25:29 +00:00
Domenico Sibilio
adb8913b56 PRODDEL-8304 Bump API Explorer to 23.3.0 (#2881) 2024-08-28 11:45:17 +02:00
alfresco-build
02237bd280 [maven-release-plugin][skip ci] prepare for next development iteration 2024-08-28 07:55:13 +00:00
alfresco-build
78001ed22c [maven-release-plugin][skip ci] prepare release 23.4.0.2 2024-08-28 07:55:11 +00:00
mohit-singh4
a568aeda17 [MNT- 24124] Adding node references in DownloadStorage and ZipDownloadExporter files. (#2880)
* [MNT-24124]: Adding nodeReferences in loggers

* [MNT-24124]: Adding nodeReferences in loggers

* [fix/MNT-24124] Adding-nodeReferences-inLogger

---------

Co-authored-by: Mohit Singh <mohit.singh4@globallogic.com>
Co-authored-by: mohit-singh4 <mohit.singh@contractors.hyland.com>
2024-08-28 12:47:47 +05:30
alfresco-build
f890e9f995 [maven-release-plugin][skip ci] prepare for next development iteration 2024-08-28 06:08:52 +00:00
alfresco-build
0ddeac79bb [maven-release-plugin][skip ci] prepare release 23.4.0.1 2024-08-28 06:08:50 +00:00
Piotr Żurek
67ca73820b ACS-8323 Allow sending events in a transaction (#2782) 2024-08-28 07:00:33 +02:00
mpichura
1df8702e16 Updating master branch to 23.4.0 after 23.3.0 ACS release [skip ci] 2024-08-26 08:55:10 +02:00
alfresco-build
12c4481ac2 [maven-release-plugin][skip ci] prepare for next development iteration 2024-08-25 00:07:27 +00:00
alfresco-build
0f572ec21a [maven-release-plugin][skip ci] prepare release 23.3.0.99 2024-08-25 00:07:25 +00:00
Alfresco CI User
9c121743d9 [force] Force release for 2024-08-25. 2024-08-25 00:04:05 +00:00
alfresco-build
c754eaeb93 [maven-release-plugin][skip ci] prepare for next development iteration 2024-08-22 10:03:32 +00:00
dependabot[bot]
b9e76970f9 Bump com.google.guava:guava from 33.2.1-jre to 33.3.0-jre
Bumps [com.google.guava:guava](https://github.com/google/guava) from 33.2.1-jre to 33.3.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-19 22:44:12 +00:00
dependabot[bot]
0a46ec0ab2 Bump org.slf4j:slf4j-api from 2.0.13 to 2.0.16
Bumps org.slf4j:slf4j-api from 2.0.13 to 2.0.16.

---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 22:14:19 +00:00
dependabot[bot]
ce39a66934 Bump org.awaitility:awaitility from 4.2.1 to 4.2.2
Bumps [org.awaitility:awaitility](https://github.com/awaitility/awaitility) from 4.2.1 to 4.2.2.
- [Changelog](https://github.com/awaitility/awaitility/blob/master/changelog.txt)
- [Commits](https://github.com/awaitility/awaitility/compare/awaitility-4.2.1...awaitility-4.2.2)

---
updated-dependencies:
- dependency-name: org.awaitility:awaitility
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-07 23:03:14 +00:00
dependabot[bot]
d098508e53 Bump org.eclipse.parsson:parsson from 1.1.6 to 1.1.7
Bumps [org.eclipse.parsson:parsson](https://github.com/eclipse-ee4j/parsson) from 1.1.6 to 1.1.7.
- [Release notes](https://github.com/eclipse-ee4j/parsson/releases)
- [Commits](https://github.com/eclipse-ee4j/parsson/compare/1.1.6...1.1.7)

---
updated-dependencies:
- dependency-name: org.eclipse.parsson:parsson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-30 22:46:07 +00:00
dependabot[bot]
738a77301a Bump org.apache.maven.plugins:maven-war-plugin from 3.3.2 to 3.4.0
Bumps [org.apache.maven.plugins:maven-war-plugin](https://github.com/apache/maven-war-plugin) from 3.3.2 to 3.4.0.
- [Commits](https://github.com/apache/maven-war-plugin/compare/maven-war-plugin-3.3.2...maven-war-plugin-3.4.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-war-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-25 22:37:59 +00:00
dependabot[bot]
be0ea5b247 Bump org.codehaus.mojo:license-maven-plugin from 2.0.1 to 2.4.0
Bumps [org.codehaus.mojo:license-maven-plugin](https://github.com/mojohaus/license-maven-plugin) from 2.0.1 to 2.4.0.
- [Release notes](https://github.com/mojohaus/license-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/license-maven-plugin/compare/2.0.1...2.4.0)

---
updated-dependencies:
- dependency-name: org.codehaus.mojo:license-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-25 22:37:57 +00:00
dependabot[bot]
d33dc8e1d4 Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.3.0 to 3.5.0
Bumps [org.apache.maven.plugins:maven-enforcer-plugin](https://github.com/apache/maven-enforcer) from 3.3.0 to 3.5.0.
- [Release notes](https://github.com/apache/maven-enforcer/releases)
- [Commits](https://github.com/apache/maven-enforcer/compare/enforcer-3.3.0...enforcer-3.5.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-enforcer-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-25 22:37:49 +00:00
dependabot[bot]
d72b8c411a Bump org.mybatis:mybatis from 3.5.13 to 3.5.16
Bumps [org.mybatis:mybatis](https://github.com/mybatis/mybatis-3) from 3.5.13 to 3.5.16.
- [Release notes](https://github.com/mybatis/mybatis-3/releases)
- [Commits](https://github.com/mybatis/mybatis-3/compare/mybatis-3.5.13...mybatis-3.5.16)

---
updated-dependencies:
- dependency-name: org.mybatis:mybatis
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-25 22:36:30 +00:00
dependabot[bot]
01c347673d Bump dependency.jackson.version from 2.15.2 to 2.17.2
Bumps `dependency.jackson.version` from 2.15.2 to 2.17.2.

Updates `com.fasterxml.jackson.core:jackson-core` from 2.15.2 to 2.17.2
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.15.2...jackson-core-2.17.2)

Updates `com.fasterxml.jackson.core:jackson-databind` from 2.15.2 to 2.17.2
- [Commits](https://github.com/FasterXML/jackson/commits)

Updates `com.fasterxml.jackson.datatype:jackson-datatype-joda` from 2.15.2 to 2.17.2
- [Commits](https://github.com/FasterXML/jackson-datatype-joda/compare/jackson-datatype-joda-2.15.2...jackson-datatype-joda-2.17.2)

Updates `com.fasterxml.jackson.dataformat:jackson-dataformat-yaml` from 2.15.2 to 2.17.2
- [Commits](https://github.com/FasterXML/jackson-dataformats-text/compare/jackson-dataformats-text-2.15.2...jackson-dataformats-text-2.17.2)

Updates `com.fasterxml.jackson.core:jackson-annotations` from 2.15.2 to 2.17.2
- [Commits](https://github.com/FasterXML/jackson/commits)

Updates `com.fasterxml.jackson.module:jackson-module-jaxb-annotations` from 2.15.2 to 2.17.2
- [Commits](https://github.com/FasterXML/jackson-modules-base/compare/jackson-modules-base-2.15.2...jackson-modules-base-2.17.2)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.core:jackson-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.fasterxml.jackson.core:jackson-databind
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.fasterxml.jackson.datatype:jackson-datatype-joda
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.fasterxml.jackson.core:jackson-annotations
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.fasterxml.jackson.module:jackson-module-jaxb-annotations
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-19 08:24:02 +00:00
dependabot[bot]
dcc6f23548 Bump commons-codec:commons-codec from 1.17.0 to 1.17.1
Bumps [commons-codec:commons-codec](https://github.com/apache/commons-codec) from 1.17.0 to 1.17.1.
- [Changelog](https://github.com/apache/commons-codec/blob/master/RELEASE-NOTES.txt)
- [Commits](https://github.com/apache/commons-codec/compare/rel/commons-codec-1.17.0...rel/commons-codec-1.17.1)

---
updated-dependencies:
- dependency-name: commons-codec:commons-codec
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 22:42:49 +00:00
dependabot[bot]
22c94284ec Bump com.github.docker-java:docker-java from 3.3.6 to 3.4.0
Bumps [com.github.docker-java:docker-java](https://github.com/docker-java/docker-java) from 3.3.6 to 3.4.0.
- [Release notes](https://github.com/docker-java/docker-java/releases)
- [Changelog](https://github.com/docker-java/docker-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/docker-java/docker-java/compare/3.3.6...3.4.0)

---
updated-dependencies:
- dependency-name: com.github.docker-java:docker-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 22:47:24 +00:00
dependabot[bot]
9f1956b632 Bump org.json:json from 20231013 to 20240303
Bumps [org.json:json](https://github.com/douglascrockford/JSON-java) from 20231013 to 20240303.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-10 14:51:51 +00:00
dependabot[bot]
740bce8c80 Bump com.drewnoakes:metadata-extractor from 2.18.0 to 2.19.0
Bumps [com.drewnoakes:metadata-extractor](https://github.com/drewnoakes/metadata-extractor) from 2.18.0 to 2.19.0.
- [Release notes](https://github.com/drewnoakes/metadata-extractor/releases)
- [Commits](https://github.com/drewnoakes/metadata-extractor/compare/2.18.0...2.19.0)

---
updated-dependencies:
- dependency-name: com.drewnoakes:metadata-extractor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-10 13:44:00 +00:00
dependabot[bot]
801b526b4a Bump joda-time:joda-time from 2.12.5 to 2.12.7
Bumps [joda-time:joda-time](https://github.com/JodaOrg/joda-time) from 2.12.5 to 2.12.7.
- [Release notes](https://github.com/JodaOrg/joda-time/releases)
- [Changelog](https://github.com/JodaOrg/joda-time/blob/main/RELEASE-NOTES.txt)
- [Commits](https://github.com/JodaOrg/joda-time/compare/v2.12.5...v2.12.7)

---
updated-dependencies:
- dependency-name: joda-time:joda-time
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-10 13:43:15 +00:00
dependabot[bot]
fde025ad88 Bump jakarta.servlet:jakarta.servlet-api from 6.0.0 to 6.1.0
Bumps [jakarta.servlet:jakarta.servlet-api](https://github.com/eclipse-ee4j/servlet-api) from 6.0.0 to 6.1.0.
- [Commits](https://github.com/eclipse-ee4j/servlet-api/commits)

---
updated-dependencies:
- dependency-name: jakarta.servlet:jakarta.servlet-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-10 13:28:11 +00:00
dependabot[bot]
ba61253c94 Bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 01:06:14 +00:00
dependabot[bot]
bf5032675f Bump com.fasterxml.woodstox:woodstox-core from 6.5.1 to 7.0.0
Bumps [com.fasterxml.woodstox:woodstox-core](https://github.com/FasterXML/woodstox) from 6.5.1 to 7.0.0.
- [Commits](https://github.com/FasterXML/woodstox/compare/woodstox-core-6.5.1...woodstox-core-7.0.0)

---
updated-dependencies:
- dependency-name: com.fasterxml.woodstox:woodstox-core
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 22:55:03 +00:00
dependabot[bot]
cce8ef50ef Bump jakarta.xml.soap:jakarta.xml.soap-api from 2.0.1 to 3.0.2
Bumps [jakarta.xml.soap:jakarta.xml.soap-api](https://github.com/jakartaee/saaj-api) from 2.0.1 to 3.0.2.
- [Release notes](https://github.com/jakartaee/saaj-api/releases)
- [Commits](https://github.com/jakartaee/saaj-api/compare/2.0.1...3.0.2)

---
updated-dependencies:
- dependency-name: jakarta.xml.soap:jakarta.xml.soap-api
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-16 22:52:29 +00:00
1238 changed files with 46420 additions and 42068 deletions

View File

@@ -41,18 +41,17 @@ jobs:
!contains(github.event.head_commit.message, '[skip tests]') &&
!contains(github.event.head_commit.message, '[force')
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- id: changed-files
uses: Alfresco/alfresco-build-tools/.github/actions/github-list-changes@v6.1.0
uses: Alfresco/alfresco-build-tools/.github/actions/github-list-changes@v8.2.0
with:
write-list-to-env: true
- uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v6.1.0
- uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@v8.2.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Prepare maven cache and check compilation"
@@ -70,12 +69,12 @@ jobs:
!contains(github.event.head_commit.message, '[force')
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- uses: Alfresco/alfresco-build-tools/.github/actions/veracode@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/veracode@v8.2.0
continue-on-error: true
with:
srcclr-api-token: ${{ secrets.SRCCLR_API_TOKEN }}
@@ -93,10 +92,10 @@ jobs:
!contains(github.event.head_commit.message, '[force')
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/github-download-file@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/github-download-file@v8.2.0
with:
token: ${{ secrets.BOT_GITHUB_TOKEN }}
repository: "Alfresco/veracode-baseline-archive"
@@ -107,12 +106,16 @@ jobs:
run: |
bash ./scripts/ci/init.sh
bash ./scripts/ci/build.sh
- name: "Remove excluded files"
run: |
mkdir temp-dir-for-sast
bash ./scripts/ci/remove-sast-exclusions.sh ./packaging/war/target/alfresco.war temp-dir-for-sast/reduced.war
- name: "Run SAST Scan"
uses: veracode/Veracode-pipeline-scan-action@v1.0.16
with:
vid: ${{ secrets.VERACODE_API_ID }}
vkey: ${{ secrets.VERACODE_API_KEY }}
file: "packaging/war/target/alfresco.war"
file: "temp-dir-for-sast/reduced.war"
fail_build: true
project_name: alfresco-community-repo
issue_details: true
@@ -130,6 +133,8 @@ jobs:
with:
name: Veracode Pipeline-Scan Results (Human Readable)
path: readable_output.zip
- name: "Remove temporary directory"
run: rm -rfv temp-dir-for-sast
- name: "Clean Maven cache"
run: bash ./scripts/ci/cleanup_cache.sh
@@ -143,10 +148,10 @@ jobs:
!contains(github.event.head_commit.message, '[skip tests]') &&
!contains(github.event.head_commit.message, '[force]')
steps:
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/ya-pmd-scan@v4.0.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- uses: Alfresco/ya-pmd-scan@v4.1.0
with:
classpath-build-command: "mvn test-compile -ntp -Pags -pl \"-:alfresco-community-repo-docker\""
@@ -176,14 +181,14 @@ jobs:
testAttributes: "-Dtest=AllMmtUnitTestSuite"
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.2.0
id: rp-prepare
with:
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - ${{ matrix.testModule }}
@@ -214,7 +219,7 @@ jobs:
continue-on-error: true
- name: "Summarize Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.2.0
id: rp-summarize
with:
tests-outcome: ${{ steps.run-tests.outcome }}
@@ -256,9 +261,9 @@ jobs:
REQUIRES_INSTALLED_ARTIFACTS: true
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Build"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: |
@@ -267,10 +272,11 @@ jobs:
- name: "Set transformers tag"
run: echo "TRANSFORMERS_TAG=$(mvn help:evaluate -Dexpression=dependency.alfresco-transform-core.version -q -DforceStdout)" >> $GITHUB_ENV
- name: "Set up the environment"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: docker compose -f ./scripts/ci/docker-compose/docker-compose.yaml --profile ${{ matrix.compose-profile }} up -d
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.2.0
id: rp-prepare
with:
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - ${{ matrix.testSuite }}
@@ -301,7 +307,7 @@ jobs:
continue-on-error: true
- name: "Summarize Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.2.0
id: rp-summarize
with:
tests-outcome: ${{ steps.run-tests.outcome }}
@@ -334,9 +340,9 @@ jobs:
version: ['10.2.18', '10.4', '10.5']
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: Run MariaDB ${{ matrix.version }} database
@@ -345,7 +351,7 @@ jobs:
MARIADB_VERSION: ${{ matrix.version }}
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.2.0
id: rp-prepare
with:
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - ${{ matrix.version }}
@@ -376,7 +382,7 @@ jobs:
continue-on-error: true
- name: "Summarize Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.2.0
id: rp-summarize
with:
tests-outcome: ${{ steps.run-tests.outcome }}
@@ -405,9 +411,9 @@ jobs:
!contains(github.event.head_commit.message, '[force')
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Run MariaDB 10.6 database"
@@ -416,7 +422,7 @@ jobs:
MARIADB_VERSION: 10.6
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.2.0
id: rp-prepare
with:
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }}
@@ -447,7 +453,7 @@ jobs:
continue-on-error: true
- name: "Summarize Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.2.0
id: rp-summarize
with:
tests-outcome: ${{ steps.run-tests.outcome }}
@@ -476,9 +482,9 @@ jobs:
!contains(github.event.head_commit.message, '[force')
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Run MySQL 8 database"
@@ -487,7 +493,7 @@ jobs:
MYSQL_VERSION: 8
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.2.0
id: rp-prepare
with:
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }}
@@ -518,7 +524,7 @@ jobs:
continue-on-error: true
- name: "Summarize Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.2.0
id: rp-summarize
with:
tests-outcome: ${{ steps.run-tests.outcome }}
@@ -546,9 +552,9 @@ jobs:
!contains(github.event.head_commit.message, '[force')
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Run PostgreSQL 13.12 database"
@@ -557,7 +563,7 @@ jobs:
POSTGRES_VERSION: 13.12
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.2.0
id: rp-prepare
with:
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }}
@@ -588,7 +594,7 @@ jobs:
continue-on-error: true
- name: "Summarize Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.2.0
id: rp-summarize
with:
tests-outcome: ${{ steps.run-tests.outcome }}
@@ -616,9 +622,9 @@ jobs:
!contains(github.event.head_commit.message, '[force')
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Run PostgreSQL 14.9 database"
@@ -627,7 +633,7 @@ jobs:
POSTGRES_VERSION: 14.9
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.2.0
id: rp-prepare
with:
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }}
@@ -658,7 +664,7 @@ jobs:
continue-on-error: true
- name: "Summarize Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.2.0
id: rp-summarize
with:
tests-outcome: ${{ steps.run-tests.outcome }}
@@ -686,9 +692,9 @@ jobs:
!contains(github.event.head_commit.message, '[force')
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Run PostgreSQL 15.4 database"
@@ -697,7 +703,7 @@ jobs:
POSTGRES_VERSION: 15.4
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.2.0
id: rp-prepare
with:
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }}
@@ -728,7 +734,7 @@ jobs:
continue-on-error: true
- name: "Summarize Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.2.0
id: rp-summarize
with:
tests-outcome: ${{ steps.run-tests.outcome }}
@@ -754,16 +760,16 @@ jobs:
!contains(github.event.head_commit.message, '[force')
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Run ActiveMQ"
run: docker compose -f ./scripts/ci/docker-compose/docker-compose.yaml --profile activemq up -d
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.2.0
id: rp-prepare
with:
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }}
@@ -794,7 +800,7 @@ jobs:
continue-on-error: true
- name: "Summarize Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.2.0
id: rp-summarize
with:
tests-outcome: ${{ steps.run-tests.outcome }}
@@ -854,9 +860,9 @@ jobs:
mvn-options: '-Dencryption.ssl.keystore.location=${CI_WORKSPACE}/keystores/alfresco/alfresco.keystore -Dencryption.ssl.truststore.location=${CI_WORKSPACE}/keystores/alfresco/alfresco.truststore'
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Set transformers tag"
@@ -875,10 +881,11 @@ jobs:
echo "HOSTNAME_VERIFICATION_DISABLED=false" >> "$GITHUB_ENV"
fi
- name: "Set up the environment"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: docker compose -f ./scripts/ci/docker-compose/docker-compose.yaml --profile ${{ matrix.compose-profile }} up -d
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.2.0
id: rp-prepare
with:
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - ${{ matrix.testSuite }} ${{ matrix.idp }}
@@ -909,7 +916,7 @@ jobs:
continue-on-error: true
- name: "Summarize Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.2.0
id: rp-summarize
with:
tests-outcome: ${{ steps.run-tests.outcome }}
@@ -967,15 +974,16 @@ jobs:
REQUIRES_LOCAL_IMAGES: true
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Build"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: |
bash ./scripts/ci/init.sh
bash ./scripts/ci/build.sh
- name: "Set up the environment"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: |
${{ env.TAS_SCRIPTS }}/start-compose.sh ${{ env.TAS_ENVIRONMENT }}/docker-compose-minimal+transforms.yml
${{ env.TAS_SCRIPTS }}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
@@ -984,7 +992,7 @@ jobs:
run: mvn install -pl :alfresco-community-repo-integration-test -am -DskipTests -Pall-tas-tests
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.2.0
id: rp-prepare
with:
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} - ${{ matrix.test-name }}
@@ -1022,7 +1030,7 @@ jobs:
continue-on-error: true
- name: "Summarize Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.2.0
id: rp-summarize
with:
tests-outcome: ${{ steps.tests.outcome }}
@@ -1048,16 +1056,16 @@ jobs:
!contains(github.event.head_commit.message, '[force')
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- name: "Run Postgres 15.4 database"
run: docker compose -f ./scripts/ci/docker-compose/docker-compose.yaml --profile postgres up -d
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.2.0
id: rp-prepare
with:
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }}
@@ -1088,7 +1096,7 @@ jobs:
continue-on-error: true
- name: "Summarize Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.2.0
id: rp-summarize
with:
tests-outcome: ${{ steps.run-tests.outcome }}
@@ -1122,9 +1130,9 @@ jobs:
REQUIRES_INSTALLED_ARTIFACTS: true
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Build"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: |
@@ -1132,7 +1140,7 @@ jobs:
bash ./scripts/ci/build.sh
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.2.0
id: rp-prepare
with:
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} 0${{ matrix.part }} - (PostgreSQL) ${{ matrix.test-name }}
@@ -1168,9 +1176,9 @@ jobs:
REQUIRES_INSTALLED_ARTIFACTS: true
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Build"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: |
@@ -1178,7 +1186,7 @@ jobs:
bash ./scripts/ci/build.sh
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.2.0
id: rp-prepare
with:
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }} 0${{ matrix.part }} - (MySQL) ${{ matrix.test-name }}
@@ -1210,9 +1218,9 @@ jobs:
REQUIRES_LOCAL_IMAGES: true
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Build"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: |
@@ -1226,7 +1234,7 @@ jobs:
mvn -B install -pl :alfresco-governance-services-automation-community-rest-api -am -Pags -Pall-tas-tests -DskipTests
- name: "Prepare Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-prepare@v8.2.0
id: rp-prepare
with:
rp-launch-prefix: ${{ env.RP_LAUNCH_PREFIX }}
@@ -1258,7 +1266,7 @@ jobs:
continue-on-error: true
- name: "Summarize Report Portal"
if: github.ref_name == 'master'
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.16.0
uses: Alfresco/alfresco-build-tools/.github/actions/reportportal-summarize@v8.2.0
id: rp-summarize
with:
tests-outcome: ${{ steps.run-tests.outcome }}
@@ -1300,9 +1308,9 @@ jobs:
!contains(github.event.head_commit.message, '[force]')
steps:
- uses: actions/checkout@v4
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Build"
timeout-minutes: ${{ fromJSON(env.GITHUB_ACTIONS_DEPLOY_TIMEOUT) }}
run: |

View File

@@ -34,12 +34,12 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v8.2.0
with:
username: ${{ env.GIT_USERNAME }}
email: ${{ env.GIT_EMAIL }}
@@ -63,12 +63,12 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.2.0
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0
- name: "Init"
run: bash ./scripts/ci/init.sh
- uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v8.16.0
- uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v8.2.0
with:
username: ${{ env.GIT_USERNAME }}
email: ${{ env.GIT_EMAIL }}

View File

@@ -133,21 +133,21 @@
"filename": ".github/workflows/ci.yml",
"hashed_secret": "b86dc2f033a63f2b7b9e7d270ab806d2910d7572",
"is_verified": false,
"line_number": 293
"line_number": 299
},
{
"type": "Secret Keyword",
"filename": ".github/workflows/ci.yml",
"hashed_secret": "1bfb0e20f886150ba59b853bcd49dea893e00966",
"is_verified": false,
"line_number": 368
"line_number": 374
},
{
"type": "Secret Keyword",
"filename": ".github/workflows/ci.yml",
"hashed_secret": "128f14373ccfaff49e3664045d3a11b50cbb7b39",
"is_verified": false,
"line_number": 901
"line_number": 908
}
],
".github/workflows/master_release.yml": [
@@ -731,7 +731,7 @@
"filename": "remote-api/src/test/java/org/alfresco/rest/api/tests/AbstractBaseApiTest.java",
"hashed_secret": "d033e22ae348aeb5660fc2140aec35850c4da997",
"is_verified": false,
"line_number": 120,
"line_number": 111,
"is_secret": false
}
],
@@ -1539,7 +1539,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/rendition2/AbstractRenditionIntegrationTest.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 130,
"line_number": 127,
"is_secret": false
}
],
@@ -1599,7 +1599,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/IdentityServiceFacadeFactoryBeanTest.java",
"hashed_secret": "c4b66dbe168ad1d2b19119494a0da063801bc3bb",
"is_verified": false,
"line_number": 83,
"line_number": 82,
"is_secret": false
},
{
@@ -1607,7 +1607,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/IdentityServiceFacadeFactoryBeanTest.java",
"hashed_secret": "c5aad1895e1dcff195992938f1bcc9954d575ac9",
"is_verified": false,
"line_number": 92,
"line_number": 91,
"is_secret": false
}
],
@@ -1627,7 +1627,7 @@
"filename": "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/SpringBasedIdentityServiceFacadeUnitTest.java",
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
"is_verified": false,
"line_number": 46,
"line_number": 47,
"is_secret": false
}
],
@@ -1888,5 +1888,5 @@
}
]
},
"generated_at": "2025-03-31T12:42:09Z"
"generated_at": "2025-01-07T10:56:22Z"
}

View File

@@ -126,4 +126,3 @@ Please use [**this guide**](CONTRIBUTING.md) to make a contribution to the proje
- [Alfresco Content Services Documentation](https://docs.alfresco.com/content-services/latest/)
- [Alfresco Platform](https://www.hyland.com/en/products/alfresco-platform)

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-amps</artifactId>
<version>23.3.11.2</version>
<version>25.1.0.21-SNAPSHOT</version>
</parent>
<modules>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-governance-services-community-parent</artifactId>
<version>23.3.11.2</version>
<version>25.1.0.21-SNAPSHOT</version>
</parent>
<modules>

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-governance-services-automation-community-repo</artifactId>
<version>23.3.11.2</version>
<version>25.1.0.21-SNAPSHOT</version>
</parent>
<build>
@@ -98,7 +98,7 @@
<dependency>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java</artifactId>
<version>3.3.6</version>
<version>3.4.0</version>
<exclusions>
<exclusion>
<groupId>org.bouncycastle</groupId>

View File

@@ -134,16 +134,6 @@ public class AddToHoldsBulkV1Tests extends BaseRMRestTest
.until(() -> getRestAPIFactory().getSearchAPI(null).search(searchRequest).getPagination()
.getTotalItems() == NUMBER_OF_FILES);
RestRequestQueryModel ancestorReq = getContentFromFolderAndAllSubfoldersQuery(rootFolder.getNodeRefWithoutVersion());
SearchRequest ancestorSearchRequest = new SearchRequest();
ancestorSearchRequest.setQuery(ancestorReq);
STEP("Wait until paths are indexed.");
// to improve stability on CI - seems that sometimes during big load we need to wait longer for the condition
await().atMost(120, TimeUnit.SECONDS)
.until(() -> getRestAPIFactory().getSearchAPI(null).search(ancestorSearchRequest).getPagination()
.getTotalItems() == NUMBER_OF_FILES);
holdBulkOperation = HoldBulkOperation.builder()
.query(queryReq)
.op(HoldBulkOperationType.ADD).build();

View File

@@ -7,7 +7,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-governance-services-community-parent</artifactId>
<version>23.3.11.2</version>
<version>25.1.0.21-SNAPSHOT</version>
</parent>
<modules>

View File

@@ -1,3 +1,3 @@
SOLR6_TAG=2.0.11
SOLR6_TAG=2.0.13
POSTGRES_TAG=15.4
ACTIVEMQ_TAG=5.18.3-jre17-rockylinux8

View File

@@ -119,11 +119,6 @@ rm.patch.v35.holdNewChildAssocPatch.batchSize=1000
rm.haspermissionmap.read=Read
rm.haspermissionmap.write=WriteProperties,AddChildren,ReadContent
# Extended Permissions
# Enable matching the given username with the correct casing username when retrieving an IPR group.
# Only needs to be used if there are owners that don't have the username in the correct casing.
rm.extendedSecurity.enableUsernameNormalization=false
#
# Extended auto-version behaviour. If true and other auto-version properties are satisfied, then
# a document will be auto-versioned when its type is changed.

View File

@@ -611,7 +611,6 @@
<property name="authorityService" ref="authorityService"/>
<property name="permissionService" ref="permissionService"/>
<property name="transactionService" ref="transactionService"/>
<property name="enableUsernameNormalization" value="${rm.extendedSecurity.enableUsernameNormalization}" />
</bean>
<bean id="ExtendedSecurityService" class="org.springframework.aop.framework.ProxyFactoryBean">

View File

@@ -219,4 +219,3 @@ function getRecordFolder(recordFolder, parentPath)
// Start webscript
main();

View File

@@ -8,7 +8,7 @@
<parent>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-governance-services-community-repo-parent</artifactId>
<version>23.3.11.2</version>
<version>25.1.0.21-SNAPSHOT</version>
</parent>
<properties>

View File

@@ -30,8 +30,7 @@ package org.alfresco.module.org_alfresco_module_dod5015.caveat;
/**
* Compatibility Implementation.
* <p>
* Used as a compatibility implementation when migrating from V1.0 to V2.0. RMCustom model still references
* this class implementation, but package has been changed.
* Used as a compatibility implementation when migrating from V1.0 to V2.0. RMCustom model still references this class implementation, but package has been changed.
*
* @author Roy Wetherall
*/

View File

@@ -27,9 +27,10 @@
package org.alfresco.module.org_alfresco_module_rm;
import org.alfresco.service.namespace.QName;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.service.namespace.QName;
/**
* @deprecated as of 2.1 see {@link org.alfresco.module.org_alfresco_module_rm.admin.CannotApplyConstraintMetadataException}
*/

View File

@@ -27,9 +27,10 @@
package org.alfresco.module.org_alfresco_module_rm;
import org.alfresco.service.namespace.QName;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.service.namespace.QName;
/**
* @deprecated as of 2.1 see {@link org.alfresco.module.org_alfresco_module_rm.admin.InvalidCustomAspectMetadataException}
*/

View File

@@ -67,7 +67,8 @@ public class RecordsManagementServiceImpl extends ServiceBaseImpl
/**
* Set the service registry service
*
* @param serviceRegistry service registry
* @param serviceRegistry
* service registry
*/
public void setRecordsManagementServiceRegistry(RecordsManagementServiceRegistry serviceRegistry)
{
@@ -78,7 +79,9 @@ public class RecordsManagementServiceImpl extends ServiceBaseImpl
/**
* Sets the default RM store reference
* @param defaultStoreRef store reference
*
* @param defaultStoreRef
* store reference
*/
@Deprecated
public void setDefaultStoreRef(StoreRef defaultStoreRef)

View File

@@ -65,7 +65,8 @@ public interface RMCaveatConfigComponent
/**
* Get RM constraint list
*
* @param listName the name of the RMConstraintList
* @param listName
* the name of the RMConstraintList
*/
RMConstraintInfo getRMConstraint(String listName);
@@ -102,12 +103,14 @@ public interface RMCaveatConfigComponent
/**
* Delete RM Constraint
*
* @param listName the name of the RMConstraintList
* @param listName
* the name of the RMConstraintList
*/
void deleteRMConstraint(String listName);
/**
* Get the details of a caveat list
*
* @param listName
* @return
*/

View File

@@ -45,6 +45,11 @@ import java.util.concurrent.locks.ReadWriteLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;
import net.sf.acegisecurity.AccessDeniedException;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.json.JSONException;
import org.json.JSONObject;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.model.ContentModel;
import org.alfresco.module.org_alfresco_module_rm.caveat.RMListOfValuesConstraint.MatchLogic;
@@ -77,10 +82,6 @@ import org.alfresco.service.cmr.security.PersonService;
import org.alfresco.service.namespace.NamespaceService;
import org.alfresco.service.namespace.QName;
import org.alfresco.util.JSONtoFmModel;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.json.JSONException;
import org.json.JSONObject;
/**
* RM Caveat Config component impl
@@ -122,12 +123,7 @@ public class RMCaveatConfigComponentImpl implements ContentServicePolicies.OnCon
private Lock readLock = lock.readLock();
private Lock writeLock = lock.writeLock();
/*
* Caveat Config (Shared) config
* first string is property name
* second string is authority name (user or group full name)
* third string is list of values of property
*/
/* Caveat Config (Shared) config first string is property name second string is authority name (user or group full name) third string is list of values of property */
private SimpleCache<String, Map<String, List<String>>> caveatConfig;
public void setCaveatConfig(SimpleCache<String, Map<String, List<String>>> caveatConfig)
@@ -227,15 +223,12 @@ public class RMCaveatConfigComponentImpl implements ContentServicePolicies.OnCon
}
/**
* @see org.alfresco.repo.content.ContentServicePolicies.OnContentUpdatePolicy#onContentUpdate(org.alfresco.service.cmr.repository.NodeRef, boolean)
* RM-2770 - this method has to be fired on transaction commit to be able to validate the content when the content store is encrypted
* @see org.alfresco.repo.content.ContentServicePolicies.OnContentUpdatePolicy#onContentUpdate(org.alfresco.service.cmr.repository.NodeRef, boolean) RM-2770 - this method has to be fired on transaction commit to be able to validate the content when the content store is encrypted
*/
@Override
@Behaviour
(
@Behaviour(
kind = BehaviourKind.CLASS,
notificationFrequency = NotificationFrequency.TRANSACTION_COMMIT
)
notificationFrequency = NotificationFrequency.TRANSACTION_COMMIT)
public void onContentUpdate(NodeRef nodeRef, boolean newContent)
{
if (logger.isInfoEnabled())
@@ -279,7 +272,8 @@ public class RMCaveatConfigComponentImpl implements ContentServicePolicies.OnCon
/**
* Validate the caveat config and optionally update the cache.
*
* @param nodeRef The nodeRef of the config
* @param nodeRef
* The nodeRef of the config
*/
@SuppressWarnings("unchecked")
protected void validateAndReset(NodeRef nodeRef)
@@ -385,8 +379,7 @@ public class RMCaveatConfigComponentImpl implements ContentServicePolicies.OnCon
if (conName.equals(conStr))
{
// note: assumes only one caveat/LOV against a given property
allowedValues = AuthenticationUtil.runAs(new RunAsWork<List<String>>()
{
allowedValues = AuthenticationUtil.runAs(new RunAsWork<List<String>>() {
public List<String> doWork()
{
return ((RMListOfValuesConstraint) con).getAllowedValues();
@@ -473,7 +466,6 @@ public class RMCaveatConfigComponentImpl implements ContentServicePolicies.OnCon
return nodeService.getChildByName(rootNode, RecordsManagementModel.ASSOC_CAVEAT_CONFIG, CAVEAT_CONFIG_NAME);
}
public NodeRef updateOrCreateCaveatConfig(InputStream is)
{
NodeRef caveatConfig = getOrCreateCaveatConfig();
@@ -753,10 +745,12 @@ public class RMCaveatConfigComponentImpl implements ContentServicePolicies.OnCon
/**
* Add a single value to an authority in a list. The existing values of the list remain.
*
* @param listName the name of the RMConstraintList
* @param listName
* the name of the RMConstraintList
* @param authorityName
* @param value
* @throws AlfrescoRuntimeException if either the list or the authority do not already exist.
* @throws AlfrescoRuntimeException
* if either the list or the authority do not already exist.
*/
public void addRMConstraintListValue(String listName, String authorityName, String value)
{
@@ -806,6 +800,7 @@ public class RMCaveatConfigComponentImpl implements ContentServicePolicies.OnCon
/**
* Get the member details of the specified list
*
* @param listName
* @return the details of the specified list
*/
@@ -837,12 +832,12 @@ public class RMCaveatConfigComponentImpl implements ContentServicePolicies.OnCon
}
/**
* Replace the values for an authority in a list.
* The existing values are removed.
* Replace the values for an authority in a list. The existing values are removed.
*
* If the authority does not already exist in the list, it will be added
*
* @param listName the name of the RMConstraintList
* @param listName
* the name of the RMConstraintList
* @param authorityName
* @param values
*/
@@ -984,7 +979,8 @@ public class RMCaveatConfigComponentImpl implements ContentServicePolicies.OnCon
/**
* Remove an authority from a list
*
* @param listName the name of the RMConstraintList
* @param listName
* the name of the RMConstraintList
* @param authorityName
*/
public void removeRMConstraintListAuthority(String listName, String authorityName)
@@ -1010,7 +1006,8 @@ public class RMCaveatConfigComponentImpl implements ContentServicePolicies.OnCon
}
/**
* @param config the configuration to convert
* @param config
* the configuration to convert
* @return a String containing the JSON representation of the configuration.
*/
private String convertToJSONString(SimpleCache<String, Map<String, List<String>>> config)
@@ -1070,6 +1067,7 @@ public class RMCaveatConfigComponentImpl implements ContentServicePolicies.OnCon
/**
* Get an RMConstraintInfo
*
* @param listQName
* @return the constraint or null if it does not exist
*/
@@ -1086,8 +1084,7 @@ public class RMCaveatConfigComponentImpl implements ContentServicePolicies.OnCon
RMConstraintInfo info = new RMConstraintInfo();
info.setName(listQName.toPrefixString());
info.setTitle(con.getTitle());
List<String> allowedValues = AuthenticationUtil.runAs(new RunAsWork<List<String>>()
{
List<String> allowedValues = AuthenticationUtil.runAs(new RunAsWork<List<String>>() {
public List<String> doWork()
{
return def.getAllowedValues();

View File

@@ -42,6 +42,7 @@ public interface RMCaveatConfigService
/**
* Get allowed values for given caveat list (for current user)
*
* @param constraintName
* @return
*/
@@ -55,18 +56,15 @@ public interface RMCaveatConfigService
*/
boolean hasAccess(NodeRef nodeRef);
/*
* Get a single RM constraint
*/
/* Get a single RM constraint */
RMConstraintInfo getRMConstraint(String listName);
/*
* Get the names of all the caveat lists
*/
/* Get the names of all the caveat lists */
Set<RMConstraintInfo> getAllRMConstraints();
/**
* Get the details of a caveat list
*
* @param listName
* @return
*/
@@ -80,50 +78,59 @@ public interface RMCaveatConfigService
/**
* add RM constraint list
* @param listName the name of the RMConstraintList
*
* @param listName
* the name of the RMConstraintList
* @param listTitle
*/
RMConstraintInfo addRMConstraint(String listName, String listTitle, String[] allowedValues);
/**
* update RM constraint list allowed values
* @param listName the name of the RMConstraintList - can not be changed
*
* @param listName
* the name of the RMConstraintList - can not be changed
* @param allowedValues
*/
RMConstraintInfo updateRMConstraintAllowedValues(String listName, String[] allowedValues);
/**
* update RM constraint Title
* @param listName the name of the RMConstraintList - can not be changed
* @param newTitle the new value for the title constraint
*
* @param listName
* the name of the RMConstraintList - can not be changed
* @param newTitle
* the new value for the title constraint
*/
RMConstraintInfo updateRMConstraintTitle(String listName, String newTitle);
/**
* delete RM Constraint
*
* @param listName the name of the RMConstraintList
* @param listName
* the name of the RMConstraintList
*/
void deleteRMConstraint(String listName);
/**
* Add a single value to an authority in a list. The existing values of the list remain.
*
* @param listName the name of the RMConstraintList
* @param listName
* the name of the RMConstraintList
* @param authorityName
* @param value
* @throws AlfrescoRuntimeException if either the list or the authority do not already exist.
* @throws AlfrescoRuntimeException
* if either the list or the authority do not already exist.
*/
void addRMConstraintListValue(String listName, String authorityName, String value);
/**
* Replace the values for an authority in a list.
* The existing values are removed.
* Replace the values for an authority in a list. The existing values are removed.
*
* If the authority does not already exist in the list, it will be added
*
* @param listName the name of the RMConstraintList
* @param listName
* the name of the RMConstraintList
* @param authorityName
* @param values
*/
@@ -132,18 +139,19 @@ public interface RMCaveatConfigService
/**
* Remove an authority from a list
*
* @param listName the name of the RMConstraintList
* @param listName
* the name of the RMConstraintList
* @param authorityName
*/
void removeRMConstraintListAuthority(String listName, String authorityName);
/**
* Replace the values for an authority in a list.
* The existing values are removed.
* Replace the values for an authority in a list. The existing values are removed.
*
* If the authority does not already exist in the list, it will be added
*
* @param listName the name of the RMConstraintList
* @param listName
* the name of the RMConstraintList
* @param value
* @param authorities
*/
@@ -152,7 +160,8 @@ public interface RMCaveatConfigService
/**
* Remove an authority from a list
*
* @param listName the name of the RMConstraintList
* @param listName
* the name of the RMConstraintList
* @param valueName
*/
void removeRMConstraintListValue(String listName, String valueName);

View File

@@ -36,6 +36,9 @@ import java.util.Map;
import java.util.Set;
import java.util.UUID;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.module.org_alfresco_module_rm.admin.RecordsManagementAdminService;
import org.alfresco.module.org_alfresco_module_rm.caveat.RMListOfValuesConstraint.MatchLogic;
@@ -48,8 +51,6 @@ import org.alfresco.service.cmr.dictionary.DictionaryService;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.NamespaceService;
import org.alfresco.service.namespace.QName;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* RM Caveat Config Service impl
@@ -66,7 +67,6 @@ public class RMCaveatConfigServiceImpl implements RMCaveatConfigService
private RMCaveatConfigComponent rmCaveatConfigComponent;
private RecordsManagementAdminService recordsManagementAdminService;
public void setNamespaceService(NamespaceService namespaceService)
{
this.namespaceService = namespaceService;
@@ -131,7 +131,9 @@ public class RMCaveatConfigServiceImpl implements RMCaveatConfigService
/**
* add RM constraint list
* @param listName the name of the RMConstraintList
*
* @param listName
* the name of the RMConstraintList
*/
public RMConstraintInfo addRMConstraint(String listName, String title, String[] values)
{
@@ -185,7 +187,8 @@ public class RMCaveatConfigServiceImpl implements RMCaveatConfigService
/**
* delete RM Constraint List
*
* @param listName the name of the RMConstraintList
* @param listName
* the name of the RMConstraintList
*/
public void deleteRMConstraint(String listName)
{
@@ -199,10 +202,12 @@ public class RMCaveatConfigServiceImpl implements RMCaveatConfigService
/**
* Add a single value to an authority in a list. The existing values of the list remain.
*
* @param listName the name of the RMConstraintList
* @param listName
* the name of the RMConstraintList
* @param authorityName
* @param value
* @throws AlfrescoRuntimeException if either the list or the authority do not already exist.
* @throws AlfrescoRuntimeException
* if either the list or the authority do not already exist.
*/
public void addRMConstraintListValue(String listName, String authorityName, String value)
{
@@ -211,6 +216,7 @@ public class RMCaveatConfigServiceImpl implements RMCaveatConfigService
/**
* Get the details of the specified list
*
* @param listName
* @return the details of the specified list
*/
@@ -220,12 +226,12 @@ public class RMCaveatConfigServiceImpl implements RMCaveatConfigService
}
/**
* Replace the values for an authority in a list.
* The existing values are removed.
* Replace the values for an authority in a list. The existing values are removed.
*
* If the authority does not already exist in the list, it will be added
*
* @param listName the name of the RMConstraintList
* @param listName
* the name of the RMConstraintList
* @param authorityName
* @param values
*/
@@ -249,7 +255,8 @@ public class RMCaveatConfigServiceImpl implements RMCaveatConfigService
/**
* Remove an authority from a list
*
* @param listName the name of the RMConstraintList
* @param listName
* the name of the RMConstraintList
* @param authorityName
*/
public void removeRMConstraintListAuthority(String listName, String authorityName)
@@ -281,8 +288,7 @@ public class RMCaveatConfigServiceImpl implements RMCaveatConfigService
i.setTitle(def.getTitle());
// note: assumes only one caveat/LOV against a given property
List<String> allowedValues = AuthenticationUtil.runAs(new RunAsWork<List<String>>()
{
List<String> allowedValues = AuthenticationUtil.runAs(new RunAsWork<List<String>>() {
public List<String> doWork()
{
return def.getAllowedValues();
@@ -301,6 +307,7 @@ public class RMCaveatConfigServiceImpl implements RMCaveatConfigService
/**
* Get an RMConstraintInfo
*
* @param listQName
* @return the constraint or null if it does not exist
*/
@@ -317,8 +324,7 @@ public class RMCaveatConfigServiceImpl implements RMCaveatConfigService
RMConstraintInfo info = new RMConstraintInfo();
info.setName(listQName.toPrefixString());
info.setTitle(con.getTitle());
List<String> allowedValues = AuthenticationUtil.runAs(new RunAsWork<List<String>>()
{
List<String> allowedValues = AuthenticationUtil.runAs(new RunAsWork<List<String>>() {
public List<String> doWork()
{
return def.getAllowedValues();
@@ -348,8 +354,10 @@ public class RMCaveatConfigServiceImpl implements RMCaveatConfigService
/**
* Update The allowed values for an RM Constraint.
*
* @param listName The name of the list.
* @param allowedValues the new alowed values
* @param listName
* The name of the list.
* @param allowedValues
* the new alowed values
*
*/
public RMConstraintInfo updateRMConstraintAllowedValues(String listName, String[] allowedValues)
@@ -369,8 +377,7 @@ public class RMCaveatConfigServiceImpl implements RMCaveatConfigService
if (con instanceof RMListOfValuesConstraint)
{
final RMListOfValuesConstraint def = (RMListOfValuesConstraint) con;
List<String> oldAllowedValues = AuthenticationUtil.runAs(new RunAsWork<List<String>>()
{
List<String> oldAllowedValues = AuthenticationUtil.runAs(new RunAsWork<List<String>>() {
public List<String> doWork()
{
return def.getAllowedValues();

View File

@@ -40,30 +40,37 @@ public class RMConstraintInfo
{
this.name = name;
}
public String getName()
{
return name;
}
public void setTitle(String title)
{
this.title = title;
}
public String getTitle()
{
return title;
}
public void setCaseSensitive(boolean caseSensitive)
{
this.caseSensitive = caseSensitive;
}
public boolean isCaseSensitive()
{
return caseSensitive;
}
public void setAllowedValues(String[] values)
{
this.allowedValues = values.clone();
}
public String[] getAllowedValues()
{
return allowedValues;

View File

@@ -33,18 +33,18 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.repo.dictionary.constraint.ListOfValuesConstraint;
import org.alfresco.repo.security.authentication.AuthenticationUtil;
import org.alfresco.service.cmr.dictionary.ConstraintException;
import org.alfresco.service.cmr.i18n.MessageLookup;
import org.alfresco.service.cmr.repository.datatype.DefaultTypeConverter;
import org.alfresco.service.cmr.repository.datatype.TypeConversionException;
import org.apache.commons.lang3.StringUtils;
import org.springframework.extensions.surf.util.I18NUtil;
/**
* RM Constraint implementation that ensures the value is one of a constrained
* <i>list of values</i>. By default, this constraint is case-sensitive.
* RM Constraint implementation that ensures the value is one of a constrained <i>list of values</i>. By default, this constraint is case-sensitive.
*
* @see #setAllowedValues(List)
* @see #setCaseSensitive(boolean)
@@ -75,7 +75,6 @@ public class RMListOfValuesConstraint extends ListOfValuesConstraint
RMListOfValuesConstraint.caveatConfigService = caveatConfigService;
}
@Override
public String toString()
{
@@ -98,8 +97,7 @@ public class RMListOfValuesConstraint extends ListOfValuesConstraint
}
/**
* Get the allowed values. Note that these are <tt>String</tt> instances, but may
* represent non-<tt>String</tt> values. It is up to the caller to distinguish.
* Get the allowed values. Note that these are <tt>String</tt> instances, but may represent non-<tt>String</tt> values. It is up to the caller to distinguish.
*
* @return Returns the values allowed
*/
@@ -169,10 +167,12 @@ public class RMListOfValuesConstraint extends ListOfValuesConstraint
return this.allowedValuesUpper;
}
}
/**
* Set the values that are allowed by the constraint.
*
* @param allowedValues a list of allowed values
* @param allowedValues
* a list of allowed values
*/
@SuppressWarnings({"unchecked", "rawtypes"})
@Override

View File

@@ -29,7 +29,6 @@ package org.alfresco.module.org_alfresco_module_rm.caveat;
import java.io.Serializable;
public class ScriptAuthority implements Serializable
{
/**
@@ -43,18 +42,20 @@ public class ScriptAuthority implements Serializable
{
this.authorityName = authorityName;
}
public String getAuthorityName()
{
return authorityName;
}
public void setAuthorityTitle(String authorityName)
{
this.authorityTitle = authorityName;
}
public String getAuthorityTitle()
{
return authorityTitle;
}
}

View File

@@ -35,11 +35,12 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
import org.alfresco.service.cmr.security.AuthorityService;
import org.apache.commons.lang3.StringUtils;
import org.json.JSONArray;
import org.json.JSONObject;
import org.alfresco.service.cmr.security.AuthorityService;
public class ScriptConstraint implements Serializable
{
/**
@@ -64,10 +65,12 @@ public class ScriptConstraint implements Serializable
{
info.setTitle(title);
}
public String getTitle()
{
return info.getTitle();
}
public void setName(String name)
{
info.setName(name);
@@ -128,6 +131,7 @@ public class ScriptConstraint implements Serializable
/**
* Update a value
*
* @param bodge
*/
public void updateValues(JSONArray bodge) throws Exception
@@ -149,6 +153,7 @@ public class ScriptConstraint implements Serializable
/**
* Update a value
*
* @param value
* @param authorities
*/
@@ -160,6 +165,7 @@ public class ScriptConstraint implements Serializable
/**
* Cascade delete an authority
*
* @param authority
*/
public void deleteAuthority(String authority)
@@ -169,6 +175,7 @@ public class ScriptConstraint implements Serializable
/**
* Cascade delete a value
*
* @param value
*/
public void deleteValue(String value)
@@ -176,9 +183,9 @@ public class ScriptConstraint implements Serializable
// Do nothing
}
/**
* Get a single value
*
* @param value
* @return
*/

View File

@@ -43,14 +43,17 @@ public class ScriptConstraintAuthority implements Serializable
{
this.values = values;
}
public List<String> getValues()
{
return values;
}
public void setAuthorityName(String authorityName)
{
this.authorityName = authorityName;
}
public String getAuthorityName()
{
return authorityName;

View File

@@ -43,22 +43,27 @@ public class ScriptConstraintValue implements Serializable
{
this.authorities = values;
}
public List<ScriptAuthority> getAuthorities()
{
return authorities;
}
public void setValueName(String authorityName)
{
this.value = authorityName;
}
public String getValueName()
{
return value;
}
public void setValueTitle(String authorityName)
{
this.value = authorityName;
}
public String getValueTitle()
{
return value;

View File

@@ -115,8 +115,9 @@ public class ScriptRMCaveatConfigService extends BaseScopableProcessorExtension
/**
* Delete list
*
* @param listName
*
*/
public void deleteConstraintList(String listName)
{
@@ -125,8 +126,6 @@ public class ScriptRMCaveatConfigService extends BaseScopableProcessorExtension
caveatConfigService.deleteRMConstraint(xxx);
}
/**
* Update value
*/

View File

@@ -41,7 +41,8 @@ public interface DeprecatedExtendedSecurityService
/**
* Gets the set of authorities that are extended readers for the given node.
*
* @param nodeRef node reference
* @param nodeRef
* node reference
* @return {@link Set}&lt;{@link String}&gt; set of extended readers
*
* @deprecated as of 2.5, use {@link ExtendedSecurityService#getReaders(NodeRef)}
@@ -51,7 +52,8 @@ public interface DeprecatedExtendedSecurityService
/**
* Get the set of authorities that are extended writers for the given node.
*
* @param nodeRef node reference
* @param nodeRef
* node reference
* @return {@link Set}&lt;{@link String}&gt; set of extended writers
*
* @deprecated as of 2.5, use {@link ExtendedSecurityService#getWriters(NodeRef)}
@@ -63,9 +65,12 @@ public interface DeprecatedExtendedSecurityService
*
* As of, 2.5 this method no longer applies the extended security to parents.
*
* @param nodeRef node reference
* @param readers set of authorities to add extended read permissions
* @param writers set of authorities to add extended write permissions
* @param nodeRef
* node reference
* @param readers
* set of authorities to add extended read permissions
* @param writers
* set of authorities to add extended write permissions
*
* @deprecated as of 2.5, use {@link ExtendedSecurityService#set(NodeRef, Set, Set)}
*/
@@ -75,74 +80,85 @@ public interface DeprecatedExtendedSecurityService
/**
* Add extended security for the specified authorities to a node.
* <p>
* If specified, the read and write extended permissions are applied to all parents up to the file plan as
* extended read. This ensures parental read, but not parental write.
* If specified, the read and write extended permissions are applied to all parents up to the file plan as extended read. This ensures parental read, but not parental write.
*
* @param nodeRef node reference
* @param readers set of authorities to add extended read permissions
* @param writers set of authorities to add extended write permissions
* @param applyToParents true if extended security applied to parents (read only) false otherwise.
* @param nodeRef
* node reference
* @param readers
* set of authorities to add extended read permissions
* @param writers
* set of authorities to add extended write permissions
* @param applyToParents
* true if extended security applied to parents (read only) false otherwise.
*
* @deprecated as of 2.5, because extended security is no longer applied to parents. Note that calling this method will
* only apply the extended security to the node and the applyToParents parameter value will be ignored.
* @deprecated as of 2.5, because extended security is no longer applied to parents. Note that calling this method will only apply the extended security to the node and the applyToParents parameter value will be ignored.
*
* @see ExtendedSecurityService#set(NodeRef, Set, Set)
*/
@Deprecated void addExtendedSecurity(NodeRef nodeRef, Set<String> readers, Set<String> writers, boolean applyToParents);
@Deprecated
void addExtendedSecurity(NodeRef nodeRef, Set<String> readers, Set<String> writers, boolean applyToParents);
/**
* Remove all extended readers and writers from the given node reference.
*
* @param nodeRef node reference
* @param nodeRef
* node reference
*
* @deprecated as of 2.5, see {@link ExtendedSecurityService#remove(NodeRef)}
*/
@Deprecated void removeAllExtendedSecurity(NodeRef nodeRef);
@Deprecated
void removeAllExtendedSecurity(NodeRef nodeRef);
/**
* Remove the extended security for the specified authorities from a node.
*
* @param nodeRef node reference
* @param readers set of authorities to remove as extended readers
* @param writers set of authorities to remove as extended writers
* @param nodeRef
* node reference
* @param readers
* set of authorities to remove as extended readers
* @param writers
* set of authorities to remove as extended writers
*
* @deprecated as of 2.5, because partial removal of readers and writers from node or parents is no longer supported.
* Note that calling this method will now remove all extended security from the node and never applied to parents.
* @deprecated as of 2.5, because partial removal of readers and writers from node or parents is no longer supported. Note that calling this method will now remove all extended security from the node and never applied to parents.
*
* @see {@link ExtendedSecurityService#remove(NodeRef)}
*/
@Deprecated void removeExtendedSecurity(NodeRef nodeRef, Set<String> readers, Set<String> writers);
@Deprecated
void removeExtendedSecurity(NodeRef nodeRef, Set<String> readers, Set<String> writers);
/**
* Remove the extended security for the specified authorities from a node.
* <p>
* If specified, extended security will also be removed from the parent hierarchy.(read only). Note that
* extended security is records as a reference count, so security will only be utterly removed from the parent
* hierarchy if all references to the authority are removed.
* If specified, extended security will also be removed from the parent hierarchy.(read only). Note that extended security is records as a reference count, so security will only be utterly removed from the parent hierarchy if all references to the authority are removed.
*
* @param nodeRef node reference
* @param readers set of authorities to remove as extended readers
* @param writers set of authorities to remove as extedned writers
* @param applyToParents true if removal of extended security is applied to parent hierarchy (read only), false
* otherwise
* @param nodeRef
* node reference
* @param readers
* set of authorities to remove as extended readers
* @param writers
* set of authorities to remove as extedned writers
* @param applyToParents
* true if removal of extended security is applied to parent hierarchy (read only), false otherwise
*
* @deprecated as of 2.5, because partial removal of readers and writers from node or parents is no longer supported.
* Note that calling this method will now remove all extended security from the node and never applied to parents.
* @deprecated as of 2.5, because partial removal of readers and writers from node or parents is no longer supported. Note that calling this method will now remove all extended security from the node and never applied to parents.
*
* @see {@link ExtendedSecurityService#remove(NodeRef)}
*/
@Deprecated void removeExtendedSecurity(NodeRef nodeRef, Set<String> readers, Set<String> writers, boolean applyToParents);
@Deprecated
void removeExtendedSecurity(NodeRef nodeRef, Set<String> readers, Set<String> writers, boolean applyToParents);
/**
* Remove all extended readers and writers from the given node reference.
*
* @param nodeRef node reference
* @param applyToParents if true then apply removal to parent hierarchy (read only) false otherwise.
* @param nodeRef
* node reference
* @param applyToParents
* if true then apply removal to parent hierarchy (read only) false otherwise.
*
* @deprecated as of 2.5, because partial removal of readers and writers from node or parents is no longer supported.
* Note that calling this method will now remove all extended security from the node and never applied to parents.
* @deprecated as of 2.5, because partial removal of readers and writers from node or parents is no longer supported. Note that calling this method will now remove all extended security from the node and never applied to parents.
*
* @see {@link ExtendedSecurityService#remove(NodeRef)}
*/
@Deprecated void removeAllExtendedSecurity(NodeRef nodeRef, boolean applyToParents);
@Deprecated
void removeAllExtendedSecurity(NodeRef nodeRef, boolean applyToParents);
}

View File

@@ -30,6 +30,9 @@ package org.alfresco.module.org_alfresco_module_rm.security;
import java.util.Map;
import java.util.Set;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.alfresco.module.org_alfresco_module_rm.model.RecordsManagementModel;
import org.alfresco.repo.security.permissions.DynamicAuthority;
import org.alfresco.repo.security.permissions.PermissionReference;
@@ -39,8 +42,6 @@ import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.repository.NodeService;
import org.alfresco.service.cmr.security.AuthorityService;
import org.alfresco.util.Pair;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
/**
* Extended readers dynamic authority implementation.
@@ -137,8 +138,7 @@ public abstract class ExtendedSecurityBaseDynamicAuthority implements DynamicAut
}
/**
* Gets a list of the authorities from the extended security aspect that this dynamic
* authority is checking against.
* Gets a list of the authorities from the extended security aspect that this dynamic authority is checking against.
*
* @param nodeRef
* @return

View File

@@ -49,8 +49,10 @@ public interface FilePlanAuthenticationService
/**
* Run provided work as the global rm admin user.
*
* @param <R> return type
* @param runAsWork work to execute as the rm admin user
* @param <R>
* return type
* @param runAsWork
* work to execute as the rm admin user
* @return R result of work execution
*
* @deprecated as of 2.2, use

View File

@@ -47,7 +47,8 @@ public interface RecordsManagementSecurityService
/**
* Creates the initial set of default roles for a root records management node
*
* @param rmRootNode root node
* @param rmRootNode
* root node
*
* @deprecated As of release 2.1, operation no longer supported
*/
@@ -55,10 +56,10 @@ public interface RecordsManagementSecurityService
void bootstrapDefaultRoles(NodeRef rmRootNode);
/**
* Returns the name of the container group for all roles of a specified file
* plan.
* Returns the name of the container group for all roles of a specified file plan.
*
* @param filePlan file plan node reference
* @param filePlan
* file plan node reference
* @return String group name
*
* @deprecated As of release 2.1, replaced by {@link FilePlanRoleService#getAllRolesContainerGroup(NodeRef)}
@@ -69,7 +70,8 @@ public interface RecordsManagementSecurityService
/**
* Get all the available roles for the given records management root node
*
* @param rmRootNode root node
* @param rmRootNode
* root node
* @return {@link Set}&lt;{@link Role}&gt; all roles for a given root node
*
* @deprecated As of release 2.1, replaced by {@link FilePlanRoleService#getRoles(NodeRef)}
@@ -103,6 +105,7 @@ public interface RecordsManagementSecurityService
/**
* Indicate whether a role exists for a given records management root node
*
* @param rmRootNode
* @param role
* @return
@@ -115,8 +118,10 @@ public interface RecordsManagementSecurityService
/**
* Determines whether the given user has the RM Admin role
*
* @param rmRootNode RM root node
* @param user user name to check
* @param rmRootNode
* RM root node
* @param user
* user name to check
* @return true if the user has the RM Admin role, false otherwise
*
* @deprecated As of release 2.1, replaced by {@link FilePlanRoleService#hasRMAdminRole(NodeRef, String)}
@@ -176,12 +181,14 @@ public interface RecordsManagementSecurityService
void assignRoleToAuthority(NodeRef rmRootNode, String role, String authorityName);
/**
* Sets a permission on a RM object. Assumes allow is true. Cascades permission down to record folder.
* Cascades ReadRecord up to file plan.
* Sets a permission on a RM object. Assumes allow is true. Cascades permission down to record folder. Cascades ReadRecord up to file plan.
*
* @param nodeRef node reference
* @param authority authority
* @param permission permission
* @param nodeRef
* node reference
* @param authority
* authority
* @param permission
* permission
*
* @deprecated As of release 2.1, replaced by {@link FilePlanPermissionService#setPermission(NodeRef, String, String)}
*/
@@ -191,9 +198,12 @@ public interface RecordsManagementSecurityService
/**
* Deletes a permission from a RM object. Cascades removal down to record folder.
*
* @param nodeRef node reference
* @param authority authority
* @param permission permission
* @param nodeRef
* node reference
* @param authority
* authority
* @param permission
* permission
*
* @deprecated As of release 2.1, replaced by {@link FilePlanPermissionService#deletePermission(NodeRef, String, String)}
*/

View File

@@ -55,7 +55,8 @@ public class RecordsManagementSecurityServiceImpl implements RecordsManagementSe
private FilePlanPermissionService filePlanPermissionService;
/**
* @param modelSecurityService model security service
* @param modelSecurityService
* model security service
*/
public void setModelSecurityService(ModelSecurityService modelSecurityService)
{
@@ -63,7 +64,8 @@ public class RecordsManagementSecurityServiceImpl implements RecordsManagementSe
}
/**
* @param filePlanRoleService file plan role service
* @param filePlanRoleService
* file plan role service
*/
public void setFilePlanRoleService(FilePlanRoleService filePlanRoleService)
{
@@ -71,7 +73,8 @@ public class RecordsManagementSecurityServiceImpl implements RecordsManagementSe
}
/**
* @param filePlanPermissionService file plan permission service
* @param filePlanPermissionService
* file plan permission service
*/
public void setFilePlanPermissionService(FilePlanPermissionService filePlanPermissionService)
{

View File

@@ -27,12 +27,13 @@
package org.alfresco.module.org_alfresco_module_rm.action;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.alfresco.module.org_alfresco_module_rm.audit.RecordsManagementAuditService;
import org.alfresco.repo.action.executer.ActionExecuterAbstractBase;
import org.alfresco.service.cmr.action.Action;
import org.alfresco.service.cmr.repository.NodeRef;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
/**
* Auditable action executer abstract base
@@ -79,7 +80,8 @@ public abstract class AuditableActionExecuterAbstractBase extends ActionExecuter
}
/**
* @param auditable true if auditable, false otherwise
* @param auditable
* true if auditable, false otherwise
*/
public void setAuditable(boolean auditable)
{
@@ -87,7 +89,8 @@ public abstract class AuditableActionExecuterAbstractBase extends ActionExecuter
}
/**
* @param auditedImmediately true if to be audited immediately, false to be audited after transaction commits
* @param auditedImmediately
* true if to be audited immediately, false to be audited after transaction commits
*/
public void setAuditedImmediately(boolean auditedImmediately)
{

View File

@@ -64,7 +64,8 @@ public abstract class PropertySubActionExecuterAbstractBase extends AuditableAct
}
/**
* @param parameterProcessorComponent parameter processor component
* @param parameterProcessorComponent
* parameter processor component
*/
public void setParameterProcessorComponent(ParameterProcessorComponent parameterProcessorComponent)
{
@@ -72,7 +73,8 @@ public abstract class PropertySubActionExecuterAbstractBase extends AuditableAct
}
/**
* @param allowParameterSubstitutions true if property subs allowed, false otherwise
* @param allowParameterSubstitutions
* true if property subs allowed, false otherwise
*/
public void setAllowParameterSubstitutions(boolean allowParameterSubstitutions)
{

View File

@@ -35,6 +35,10 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
import org.springframework.beans.factory.BeanNameAware;
import org.springframework.extensions.surf.util.I18NUtil;
import org.springframework.util.StringUtils;
import org.alfresco.module.org_alfresco_module_rm.admin.RecordsManagementAdminService;
import org.alfresco.module.org_alfresco_module_rm.audit.RecordsManagementAuditService;
import org.alfresco.module.org_alfresco_module_rm.disposition.DispositionService;
@@ -61,9 +65,6 @@ import org.alfresco.service.cmr.security.OwnableService;
import org.alfresco.service.namespace.NamespaceService;
import org.alfresco.service.transaction.TransactionService;
import org.alfresco.util.PropertyCheck;
import org.springframework.beans.factory.BeanNameAware;
import org.springframework.extensions.surf.util.I18NUtil;
import org.springframework.util.StringUtils;
/**
* Records management action executer base class
@@ -148,7 +149,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Set the transaction service
*
* @param transactionService The transaction service
* @param transactionService
* The transaction service
*/
public void setTransactionService(TransactionService transactionService)
{
@@ -168,7 +170,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Set the namespace service
*
* @param namespaceService The namespace service
* @param namespaceService
* The namespace service
*/
public void setNamespaceService(NamespaceService namespaceService)
{
@@ -188,7 +191,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Set the node service
*
* @param nodeService The node service
* @param nodeService
* The node service
*/
public void setNodeService(NodeService nodeService)
{
@@ -208,7 +212,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Set the dictionary service
*
* @param dictionaryService The dictionary service
* @param dictionaryService
* The dictionary service
*/
public void setDictionaryService(DictionaryService dictionaryService)
{
@@ -228,7 +233,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Set the content service
*
* @param contentService The content service
* @param contentService
* The content service
*/
public void setContentService(ContentService contentService)
{
@@ -248,7 +254,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Set action service
*
* @param actionService The action service
* @param actionService
* The action service
*/
public void setActionService(ActionService actionService)
{
@@ -268,7 +275,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Set the audit service that action details will be sent to
*
* @param recordsManagementAuditService The audit service that action details will be sent to
* @param recordsManagementAuditService
* The audit service that action details will be sent to
*/
public void setRecordsManagementAuditService(RecordsManagementAuditService recordsManagementAuditService)
{
@@ -288,7 +296,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Set records management service
*
* @param recordsManagementActionService The records management service
* @param recordsManagementActionService
* The records management service
*/
public void setRecordsManagementActionService(RecordsManagementActionService recordsManagementActionService)
{
@@ -308,7 +317,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Set the disposition service
*
* @param dispositionService The disposition service
* @param dispositionService
* The disposition service
*/
public void setDispositionService(DispositionService dispositionService)
{
@@ -328,7 +338,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Sets the vital record service
*
* @param vitalRecordService vital record service
* @param vitalRecordService
* vital record service
*/
public void setVitalRecordService(VitalRecordService vitalRecordService)
{
@@ -348,7 +359,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Set the records management event service
*
* @param recordsManagementEventService The records management event service
* @param recordsManagementEventService
* The records management event service
*/
public void setRecordsManagementEventService(RecordsManagementEventService recordsManagementEventService)
{
@@ -368,7 +380,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Set the ownable service
*
* @param ownableService The ownable service
* @param ownableService
* The ownable service
*/
public void setOwnableService(OwnableService ownableService)
{
@@ -388,7 +401,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Set freeze service
*
* @param freezeService freeze service
* @param freezeService
* freeze service
*/
public void setFreezeService(FreezeService freezeService)
{
@@ -408,7 +422,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Set record service
*
* @param recordService record service
* @param recordService
* record service
*/
public void setRecordService(RecordService recordService)
{
@@ -428,7 +443,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Sets the records management admin service
*
* @param recordsManagementAdminService records management admin service
* @param recordsManagementAdminService
* records management admin service
*/
public void setRecordsManagementAdminService(RecordsManagementAdminService recordsManagementAdminService)
{
@@ -448,7 +464,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Sets the model security service
*
* @param modelSecurityService model security service
* @param modelSecurityService
* model security service
*/
public void setModelSecurityService(ModelSecurityService modelSecurityService)
{
@@ -468,7 +485,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Sets the record folder service
*
* @param recordFolderService record folder service
* @param recordFolderService
* record folder service
*/
public void setRecordFolderService(RecordFolderService recordFolderService)
{
@@ -488,7 +506,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Sets the hold service
*
* @param holdService hold service
* @param holdService
* hold service
*/
public void setHoldService(HoldService holdService)
{
@@ -508,7 +527,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Sets the identifier service
*
* @param identifierService the identifier service
* @param identifierService
* the identifier service
*/
public void setIdentifierService(IdentifierService identifierService)
{
@@ -518,7 +538,8 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Sets the applicable kinds
*
* @param applicableKinds kinds that this action is applicable for
* @param applicableKinds
* kinds that this action is applicable for
*/
public void setApplicableKinds(String[] applicableKinds)
{
@@ -678,8 +699,10 @@ public abstract class RMActionExecuterAbstractBase extends PropertySubActionExe
/**
* Function to pad a string with zero '0' characters to the required length
*
* @param s String to pad with leading zero '0' characters
* @param len Length to pad to
* @param s
* String to pad with leading zero '0' characters
* @param len
* Length to pad to
*
* @return padded string or the original if already at &gt;= len characters
*

View File

@@ -30,6 +30,8 @@ package org.alfresco.module.org_alfresco_module_rm.action;
import java.util.Date;
import java.util.List;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.module.org_alfresco_module_rm.disposition.DispositionSchedule;
import org.alfresco.repo.security.authentication.AuthenticationUtil;
@@ -38,7 +40,6 @@ import org.alfresco.service.cmr.action.ParameterDefinition;
import org.alfresco.service.cmr.repository.ChildAssociationRef;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.RegexQNamePattern;
import org.springframework.extensions.surf.util.I18NUtil;
/**
* @author Roy Wetherall
@@ -81,8 +82,7 @@ public abstract class RMDispositionActionExecuterAbstractBase extends RMActionEx
}
/**
* Indicates whether we should validate the next disposition action is the action we are
* trying to execute.
* Indicates whether we should validate the next disposition action is the action we are trying to execute.
*
* @return
*/
@@ -103,8 +103,7 @@ public abstract class RMDispositionActionExecuterAbstractBase extends RMActionEx
}
/**
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action,
* org.alfresco.service.cmr.repository.NodeRef)
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
*/
@Override
protected void executeImpl(Action action, NodeRef actionedUponNodeRef)

View File

@@ -72,15 +72,16 @@ public interface RecordsManagementAction
/**
* Execution of the action
*
* @param filePlanComponent file plan component the action is executed upon
* @param parameters action parameters
* @param filePlanComponent
* file plan component the action is executed upon
* @param parameters
* action parameters
* @return The result of the executed action
*/
RecordsManagementActionResult execute(NodeRef filePlanComponent, Map<String, Serializable> parameters);
/**
* Some admin-related rmActions execute against a target nodeRef which is not provided
* by the calling code, but is instead an implementation detail of the action.
* Some admin-related rmActions execute against a target nodeRef which is not provided by the calling code, but is instead an implementation detail of the action.
*
* @return the target nodeRef
*/

View File

@@ -40,5 +40,4 @@ import org.alfresco.service.cmr.action.ActionConditionDefinition;
*/
@AlfrescoPublicApi
public interface RecordsManagementActionConditionDefinition extends ActionConditionDefinition
{
}
{}

View File

@@ -44,7 +44,8 @@ public class RecordsManagementActionConditionDefinitionImpl extends ActionCondit
/**
* Default constructor.
*
* @param name name of the condition
* @param name
* name of the condition
*/
public RecordsManagementActionConditionDefinitionImpl(String name)
{

View File

@@ -29,6 +29,8 @@ package org.alfresco.module.org_alfresco_module_rm.action;
import java.util.List;
import org.springframework.beans.factory.BeanNameAware;
import org.alfresco.module.org_alfresco_module_rm.fileplan.FilePlanService;
import org.alfresco.repo.action.evaluator.ActionConditionEvaluatorAbstractBase;
import org.alfresco.repo.security.authentication.AuthenticationUtil;
@@ -37,7 +39,6 @@ import org.alfresco.repo.transaction.RetryingTransactionHelper;
import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransactionCallback;
import org.alfresco.service.cmr.action.ActionConditionDefinition;
import org.alfresco.service.cmr.action.ParameterDefinition;
import org.springframework.beans.factory.BeanNameAware;
/**
* Records management action condition evaluator abstract base implementation.
@@ -80,7 +81,8 @@ public abstract class RecordsManagementActionConditionEvaluatorAbstractBase exte
}
/**
* @param recordsManagementActionService records management action service
* @param recordsManagementActionService
* records management action service
*/
public void setRecordsManagementActionService(RecordsManagementActionService recordsManagementActionService)
{
@@ -88,7 +90,8 @@ public abstract class RecordsManagementActionConditionEvaluatorAbstractBase exte
}
/**
* @param filePlanService file plan service
* @param filePlanService
* file plan service
*/
public void setFilePlanService(FilePlanService filePlanService)
{
@@ -96,7 +99,8 @@ public abstract class RecordsManagementActionConditionEvaluatorAbstractBase exte
}
/**
* @param retryingTransactionHelper retrying transaction helper
* @param retryingTransactionHelper
* retrying transaction helper
*/
public void setRetryingTransactionHelper(RetryingTransactionHelper retryingTransactionHelper)
{
@@ -112,12 +116,10 @@ public abstract class RecordsManagementActionConditionEvaluatorAbstractBase exte
// override to prevent condition being registered with the core action service
// run the following code as System
AuthenticationUtil.runAs(new RunAsWork<Object>()
{
AuthenticationUtil.runAs(new RunAsWork<Object>() {
public Object doWork()
{
RetryingTransactionCallback<Void> callback = new RetryingTransactionCallback<Void>()
{
RetryingTransactionCallback<Void> callback = new RetryingTransactionCallback<Void>() {
public Void execute()
{
getRecordsManagementActionService().register(RecordsManagementActionConditionEvaluatorAbstractBase.this);
@@ -176,8 +178,7 @@ public abstract class RecordsManagementActionConditionEvaluatorAbstractBase exte
/**
* @see org.alfresco.repo.action.evaluator.ActionConditionEvaluatorAbstractBase#getActionConditionDefintion()
*
* TODO base class should provide "createActionDefinition" method that can be over-ridden like the ActionExecuter
* base class to prevent duplication of code and a cleaner extension.
* TODO base class should provide "createActionDefinition" method that can be over-ridden like the ActionExecuter base class to prevent duplication of code and a cleaner extension.
*/
@Override
public ActionConditionDefinition getActionConditionDefintion()

View File

@@ -49,7 +49,8 @@ public class RecordsManagementActionDefinitionImpl extends ActionDefinitionImpl
/**
* Default constructor.
*
* @param name action definition name
* @param name
* action definition name
*/
public RecordsManagementActionDefinitionImpl(String name)
{
@@ -57,7 +58,8 @@ public class RecordsManagementActionDefinitionImpl extends ActionDefinitionImpl
}
/**
* @param applicableKinds applicable kinds
* @param applicableKinds
* applicable kinds
*/
public void setApplicableKinds(Set<FilePlanComponentKind> applicableKinds)
{

View File

@@ -43,7 +43,8 @@ public class RecordsManagementActionResult
/**
* Constructor.
*
* @param value result value
* @param value
* result value
*/
public RecordsManagementActionResult(Object value)
{

View File

@@ -34,7 +34,6 @@ import java.util.Map;
import org.alfresco.api.AlfrescoPublicApi;
import org.alfresco.service.cmr.repository.NodeRef;
/**
* Records management action service interface
*
@@ -59,8 +58,7 @@ public interface RecordsManagementActionService
List<RecordsManagementActionCondition> getRecordsManagementActionConditions();
/**
* Get a list of the available disposition actions. A disposition action is a records
* management action that can be used when defining disposition instructions.
* Get a list of the available disposition actions. A disposition action is a records management action that can be used when defining disposition instructions.
*
* @return List of disposition actions
*/
@@ -69,7 +67,8 @@ public interface RecordsManagementActionService
/**
* Gets the named records management action
*
* @param name The name of the RM action to retrieve
* @param name
* The name of the RM action to retrieve
* @return The RecordsManagementAction or null if it doesn't exist
*/
RecordsManagementAction getRecordsManagementAction(String name);
@@ -77,7 +76,8 @@ public interface RecordsManagementActionService
/**
* Gets the named disposition action
*
* @param name The name of the disposition action to retrieve
* @param name
* The name of the disposition action to retrieve
* @return The RecordsManagementAction or null if it doesn't exist
*/
RecordsManagementAction getDispositionAction(String name);
@@ -85,8 +85,10 @@ public interface RecordsManagementActionService
/**
* Execute a records management action
*
* @param nodeRef node reference to a rm container, rm folder or record
* @param name action name
* @param nodeRef
* node reference to a rm container, rm folder or record
* @param name
* action name
* @return The result of executed records management action
*/
RecordsManagementActionResult executeRecordsManagementAction(NodeRef nodeRef, String name);
@@ -94,8 +96,10 @@ public interface RecordsManagementActionService
/**
* Execute a records management action against several nodes
*
* @param nodeRefs node references to rm containers, rm folders or records
* @param name action name
* @param nodeRefs
* node references to rm containers, rm folders or records
* @param name
* action name
* @return The result of executed records management action against several nodes
*/
Map<NodeRef, RecordsManagementActionResult> executeRecordsManagementAction(List<NodeRef> nodeRefs, String name);
@@ -103,9 +107,12 @@ public interface RecordsManagementActionService
/**
* Execute a records management action
*
* @param nodeRef node reference to a rm container, rm folder or record
* @param name action name
* @param parameters action parameters
* @param nodeRef
* node reference to a rm container, rm folder or record
* @param name
* action name
* @param parameters
* action parameters
* @return The result of executed records management action
*/
RecordsManagementActionResult executeRecordsManagementAction(NodeRef nodeRef, String name, Map<String, Serializable> parameters);
@@ -113,19 +120,23 @@ public interface RecordsManagementActionService
/**
* Execute a records management action against several nodes
*
* @param nodeRefs node references to rm containers, rm folders or records
* @param name action name
* @param parameters action parameters
* @param nodeRefs
* node references to rm containers, rm folders or records
* @param name
* action name
* @param parameters
* action parameters
* @return The result of executed records management action against several nodes
*/
Map<NodeRef, RecordsManagementActionResult> executeRecordsManagementAction(List<NodeRef> nodeRefs, String name, Map<String, Serializable> parameters);
/**
* Execute a records management action. The nodeRef against which the action is to be
* executed must be provided by the RecordsManagementAction implementation.
* Execute a records management action. The nodeRef against which the action is to be executed must be provided by the RecordsManagementAction implementation.
*
* @param name action name
* @param parameters action parameters
* @param name
* action name
* @param parameters
* action parameters
* @return The result of executed records management action
*/
RecordsManagementActionResult executeRecordsManagementAction(String name, Map<String, Serializable> parameters);
@@ -133,14 +144,16 @@ public interface RecordsManagementActionService
/**
* Register records management action
*
* @param rmAction records management action
* @param rmAction
* records management action
*/
void register(RecordsManagementAction rmAction);
/**
* Register records management condition
*
* @param rmCondition records management condition
* @param rmCondition
* records management condition
* @since 2.1
*/
void register(RecordsManagementActionCondition rmCondition);

View File

@@ -36,6 +36,8 @@ import java.util.Map;
import java.util.Set;
import lombok.extern.slf4j.Slf4j;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.module.org_alfresco_module_rm.RecordsManagementPolicies.BeforeRMActionExecution;
import org.alfresco.module.org_alfresco_module_rm.RecordsManagementPolicies.OnRMActionExecution;
@@ -46,7 +48,6 @@ import org.alfresco.repo.policy.PolicyComponent;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.repository.NodeService;
import org.alfresco.service.namespace.QName;
import org.springframework.extensions.surf.util.I18NUtil;
/**
* Records Management Action Service Implementation
@@ -104,7 +105,8 @@ public class RecordsManagementActionServiceImpl implements RecordsManagementActi
}
/**
* @param freezeService freeze service
* @param freezeService
* freeze service
*/
public void setFreezeService(FreezeService freezeService)
{
@@ -119,7 +121,8 @@ public class RecordsManagementActionServiceImpl implements RecordsManagementActi
/**
* Set the policy component
*
* @param policyComponent policy component
* @param policyComponent
* policy component
*/
public void setPolicyComponent(PolicyComponent policyComponent)
{
@@ -129,7 +132,8 @@ public class RecordsManagementActionServiceImpl implements RecordsManagementActi
/**
* Set the node service
*
* @param nodeService node service
* @param nodeService
* node service
*/
public void setNodeService(NodeService nodeService)
{
@@ -173,9 +177,12 @@ public class RecordsManagementActionServiceImpl implements RecordsManagementActi
/**
* Invoke beforeRMActionExecution policy
*
* @param nodeRef node reference
* @param name action name
* @param parameters action parameters
* @param nodeRef
* node reference
* @param name
* action name
* @param parameters
* action parameters
*/
protected void invokeBeforeRMActionExecution(NodeRef nodeRef, String name, Map<String, Serializable> parameters)
{
@@ -189,9 +196,12 @@ public class RecordsManagementActionServiceImpl implements RecordsManagementActi
/**
* Invoke onRMActionExecution policy
*
* @param nodeRef node reference
* @param name action name
* @param parameters action parameters
* @param nodeRef
* node reference
* @param name
* action name
* @param parameters
* action parameters
*/
protected void invokeOnRMActionExecution(NodeRef nodeRef, String name, Map<String, Serializable> parameters)
{
@@ -226,7 +236,8 @@ public class RecordsManagementActionServiceImpl implements RecordsManagementActi
/**
* Gets the disposition actions for the given node
*
* @param nodeRef The node reference
* @param nodeRef
* The node reference
* @return List of records management action
*/
@SuppressWarnings("unused")

View File

@@ -30,17 +30,18 @@ package org.alfresco.module.org_alfresco_module_rm.action;
import java.util.Calendar;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.alfresco.module.org_alfresco_module_rm.model.RecordsManagementModel;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.repository.NodeService;
import org.alfresco.service.cmr.repository.StoreRef;
import org.alfresco.service.cmr.search.ResultSet;
import org.alfresco.service.cmr.search.SearchService;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
/**
* Scheduled disposition job.
@@ -59,11 +60,9 @@ public class ScheduledDispositionJob implements Job
*/
public void execute(JobExecutionContext context) throws JobExecutionException
{
RecordsManagementActionService rmActionService
= (RecordsManagementActionService)context.getJobDetail().getJobDataMap().get("recordsManagementActionService");
RecordsManagementActionService rmActionService = (RecordsManagementActionService) context.getJobDetail().getJobDataMap().get("recordsManagementActionService");
NodeService nodeService = (NodeService) context.getJobDetail().getJobDataMap().get("nodeService");
// Calculate the date range used in the query
Calendar cal = Calendar.getInstance();
String year = String.valueOf(cal.get(Calendar.YEAR));

View File

@@ -46,7 +46,8 @@ public class CustomParameterConstraint extends BaseParameterConstraint
/**
* Sets the parameter values
*
* @param parameterValues The parameter values
* @param parameterValues
* The parameter values
*/
public void setParameterValues(List<String> parameterValues)
{

View File

@@ -68,5 +68,4 @@ public class DispositionActionParameterConstraint extends BaseParameterConstrain
return result;
}
}

View File

@@ -71,5 +71,4 @@ public class ManualEventParameterConstraint extends BaseParameterConstraint
return result;
}
}

View File

@@ -64,7 +64,8 @@ public class RecordTypeParameterConstraint extends BaseParameterConstraint
private FilePlanService filePlanService;
/**
* @param recordService record service
* @param recordService
* record service
*/
public void setRecordService(RecordService recordService)
{
@@ -72,7 +73,8 @@ public class RecordTypeParameterConstraint extends BaseParameterConstraint
}
/**
* @param dictionaryService dictionary service
* @param dictionaryService
* dictionary service
*/
public void setDictionaryService(DictionaryService dictionaryService)
{
@@ -80,7 +82,8 @@ public class RecordTypeParameterConstraint extends BaseParameterConstraint
}
/**
* @param filePlanService file plan service
* @param filePlanService
* file plan service
*/
public void setFilePlanService(FilePlanService filePlanService)
{
@@ -92,8 +95,7 @@ public class RecordTypeParameterConstraint extends BaseParameterConstraint
*/
protected Map<String, String> getAllowableValuesImpl()
{
return AuthenticationUtil.runAsSystem(new RunAsWork<Map<String, String>>()
{
return AuthenticationUtil.runAsSystem(new RunAsWork<Map<String, String>>() {
@SuppressWarnings("unchecked")
public Map<String, String> doWork()
{

View File

@@ -81,7 +81,8 @@ public class CreateRecordAction extends AuditableActionExecuterAbstractBase
private RecordService recordService;
/**
* @param nodeService node service
* @param nodeService
* node service
*/
public void setNodeService(NodeService nodeService)
{
@@ -89,7 +90,8 @@ public class CreateRecordAction extends AuditableActionExecuterAbstractBase
}
/**
* @param filePlanService file plan service
* @param filePlanService
* file plan service
*/
public void setFilePlanService(FilePlanService filePlanService)
{
@@ -97,16 +99,17 @@ public class CreateRecordAction extends AuditableActionExecuterAbstractBase
}
/**
* @param authenticationUtil authentication util
* @param authenticationUtil
* authentication util
*/
public void setAuthenticationUtil(AuthenticationUtil authenticationUtil)
{
this.authenticationUtil = authenticationUtil;
}
/**
* @param recordService record service
* @param recordService
* record service
*/
public void setRecordService(RecordService recordService)
{

View File

@@ -31,6 +31,10 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.model.ContentModel;
import org.alfresco.module.org_alfresco_module_rm.action.AuditableActionExecuterAbstractBase;
@@ -50,9 +54,6 @@ import org.alfresco.service.cmr.dictionary.DictionaryService;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.repository.NodeService;
import org.alfresco.service.namespace.QName;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.extensions.surf.util.I18NUtil;
/**
* Creates a new record from the 'current' document version.
@@ -104,7 +105,8 @@ public class DeclareAsVersionRecordAction extends AuditableActionExecuterAbstrac
private CapabilityService capabilityService;
/**
* @param nodeService node service
* @param nodeService
* node service
*/
public void setNodeService(NodeService nodeService)
{
@@ -112,7 +114,8 @@ public class DeclareAsVersionRecordAction extends AuditableActionExecuterAbstrac
}
/**
* @param filePlanService file plan service
* @param filePlanService
* file plan service
*/
public void setFilePlanService(FilePlanService filePlanService)
{
@@ -120,7 +123,8 @@ public class DeclareAsVersionRecordAction extends AuditableActionExecuterAbstrac
}
/**
* @param dictionaryService dictionary service
* @param dictionaryService
* dictionary service
*/
public void setDictionaryService(DictionaryService dictionaryService)
{
@@ -128,7 +132,8 @@ public class DeclareAsVersionRecordAction extends AuditableActionExecuterAbstrac
}
/**
* @param recordableVersionService recordable version service
* @param recordableVersionService
* recordable version service
*/
public void setRecordableVersionService(RecordableVersionService recordableVersionService)
{
@@ -136,7 +141,8 @@ public class DeclareAsVersionRecordAction extends AuditableActionExecuterAbstrac
}
/**
* @param authenticationUtil authentication util
* @param authenticationUtil
* authentication util
*/
public void setAuthenticationUtil(AuthenticationUtil authenticationUtil)
{
@@ -144,7 +150,8 @@ public class DeclareAsVersionRecordAction extends AuditableActionExecuterAbstrac
}
/**
* @param recordService record service
* @param recordService
* record service
*/
public void setRecordService(RecordService recordService)
{
@@ -152,7 +159,8 @@ public class DeclareAsVersionRecordAction extends AuditableActionExecuterAbstrac
}
/**
* @param capabilityService capability service
* @param capabilityService
* capability service
*/
public void setCapabilityService(CapabilityService capabilityService)
{

View File

@@ -29,6 +29,9 @@ package org.alfresco.module.org_alfresco_module_rm.action.dm;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.alfresco.module.org_alfresco_module_rm.action.AuditableActionExecuterAbstractBase;
import org.alfresco.module.org_alfresco_module_rm.model.RecordsManagementModel;
import org.alfresco.module.org_alfresco_module_rm.record.InplaceRecordService;
@@ -36,8 +39,6 @@ import org.alfresco.service.cmr.action.Action;
import org.alfresco.service.cmr.action.ParameterDefinition;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.repository.NodeService;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* Hides a record within a collaboration site.
@@ -64,7 +65,8 @@ public class HideRecordAction extends AuditableActionExecuterAbstractBase
private InplaceRecordService inplaceRecordService;
/**
* @param nodeService node service
* @param nodeService
* node service
*/
public void setNodeService(NodeService nodeService)
{
@@ -72,7 +74,8 @@ public class HideRecordAction extends AuditableActionExecuterAbstractBase
}
/**
* @param inplaceRecordService inplace record service
* @param inplaceRecordService
* inplace record service
*/
public void setInplaceRecordService(InplaceRecordService inplaceRecordService)
{

View File

@@ -29,6 +29,10 @@ package org.alfresco.module.org_alfresco_module_rm.action.dm;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.module.org_alfresco_module_rm.action.AuditableActionExecuterAbstractBase;
import org.alfresco.module.org_alfresco_module_rm.model.RecordsManagementModel;
@@ -37,13 +41,9 @@ import org.alfresco.service.cmr.action.Action;
import org.alfresco.service.cmr.action.ParameterDefinition;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.repository.NodeService;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* Moves a record within a collaboration site.
* The record can be moved only within the collaboration site where it was declared.
* Moves a record within a collaboration site. The record can be moved only within the collaboration site where it was declared.
*
* @author Tuna Aksoy
* @since 2.3
@@ -78,7 +78,8 @@ public class MoveDmRecordAction extends AuditableActionExecuterAbstractBase impl
/**
* Sets the node service
*
* @param nodeService Node service
* @param nodeService
* Node service
*/
public void setNodeService(NodeService nodeService)
{
@@ -98,7 +99,8 @@ public class MoveDmRecordAction extends AuditableActionExecuterAbstractBase impl
/**
* Sets the inplace record service
*
* @param inplaceRecordService Inplace record service
* @param inplaceRecordService
* Inplace record service
*/
public void setInplaceRecordService(InplaceRecordService inplaceRecordService)
{
@@ -126,7 +128,8 @@ public class MoveDmRecordAction extends AuditableActionExecuterAbstractBase impl
/**
* Helper method to get the target node reference from the action parameter
*
* @param action The action
* @param action
* The action
* @return Node reference of the target
*/
private NodeRef getTargetNodeRef(Action action)

View File

@@ -29,6 +29,10 @@ package org.alfresco.module.org_alfresco_module_rm.action.dm;
import java.util.Arrays;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.util.StringUtils;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.model.ContentModel;
import org.alfresco.module.org_alfresco_module_rm.fileplan.FilePlanService;
@@ -37,9 +41,6 @@ import org.alfresco.module.org_alfresco_module_rm.util.AuthenticationUtil;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.repository.NodeService;
import org.alfresco.service.namespace.QName;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.util.StringUtils;
/**
* Utility class containing helper methods for record
@@ -54,8 +55,7 @@ public class RecordActionUtils
/** Private constructor to prevent instantiation. */
private RecordActionUtils()
{
}
{}
static class Services
{
@@ -89,8 +89,10 @@ public class RecordActionUtils
/**
* Helper method to get the target record folder node reference from the action path parameter
*
* @param filePlan The filePlan containing the path
* @param pathParameter The path
* @param filePlan
* The filePlan containing the path
* @param pathParameter
* The path
* @return The NodeRef of the resolved path
*/
static NodeRef resolvePath(Services services, NodeRef filePlan, final String pathParameter, String actionName)
@@ -124,8 +126,10 @@ public class RecordActionUtils
/**
* Helper method to recursively get the next path element node reference from the action path parameter
*
* @param parent The parent of the path elements
* @param pathElements The path elements still to be resolved
* @param parent
* The parent of the path elements
* @param pathElements
* The path elements still to be resolved
* @return The NodeRef of the resolved path element
*/
static NodeRef resolvePath(NodeService nodeService, NodeRef parent, List<String> pathElements, String actionName)
@@ -165,8 +169,7 @@ public class RecordActionUtils
// if the file plan is still null, raise an exception
if (filePlan == null)
{
final String logMessage =
String.format("Unable to execute %s action, because the fileplan path could not be determined. Make sure at least one file plan has been created.", actionName);
final String logMessage = String.format("Unable to execute %s action, because the fileplan path could not be determined. Make sure at least one file plan has been created.", actionName);
LOGGER.debug(logMessage);
throw new AlfrescoRuntimeException(logMessage);
}

View File

@@ -27,15 +27,18 @@
package org.alfresco.module.org_alfresco_module_rm.action.dm;
import static org.apache.commons.logging.LogFactory.getLog;
import static org.alfresco.model.ContentModel.ASPECT_VERSIONABLE;
import static org.alfresco.model.ContentModel.TYPE_CONTENT;
import static org.alfresco.module.org_alfresco_module_rm.model.RecordsManagementModel.ASPECT_RECORD;
import static org.alfresco.module.org_alfresco_module_rm.version.RecordableVersionModel.PROP_RECORDABLE_VERSION_POLICY;
import static org.alfresco.service.cmr.dictionary.DataTypeDefinition.TEXT;
import static org.apache.commons.logging.LogFactory.getLog;
import java.util.List;
import org.apache.commons.logging.Log;
import org.alfresco.module.org_alfresco_module_rm.version.RecordableVersionPolicy;
import org.alfresco.repo.action.ParameterDefinitionImpl;
import org.alfresco.repo.action.executer.ActionExecuterAbstractBase;
@@ -45,7 +48,6 @@ import org.alfresco.service.cmr.dictionary.DictionaryService;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.repository.NodeService;
import org.alfresco.service.namespace.QName;
import org.apache.commons.logging.Log;
/**
* Sets the recordable version config for a document within a collaboration site.
@@ -85,7 +87,8 @@ public class RecordableVersionConfigAction extends ActionExecuterAbstractBase
/**
* Sets the node service
*
* @param nodeService The node service
* @param nodeService
* The node service
*/
public void setNodeService(NodeService nodeService)
{
@@ -135,7 +138,8 @@ public class RecordableVersionConfigAction extends ActionExecuterAbstractBase
/**
* Helper method to do checks on the actioned upon node reference
*
* @param actionedUponNodeRef The actioned upon node reference
* @param actionedUponNodeRef
* The actioned upon node reference
* @return <code>true</code> if the actioned upon node reference passes the checks, <code>false</code> otherwise
*/
private boolean passedChecks(NodeRef actionedUponNodeRef)
@@ -189,8 +193,10 @@ public class RecordableVersionConfigAction extends ActionExecuterAbstractBase
/**
* Helper method to construct log message
*
* @param actionedUponNodeRef The actioned upon node reference
* @param messagePart The message which should be appended.
* @param actionedUponNodeRef
* The actioned upon node reference
* @param messagePart
* The message which should be appended.
* @return The constructed log message
*/
private String buildLogMessage(NodeRef actionedUponNodeRef, String messagePart)

View File

@@ -34,8 +34,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.util.ParameterCheck;
/**
* Records management evaluator base implementation that delegates to a configured capability condition
* implementation.
* Records management evaluator base implementation that delegates to a configured capability condition implementation.
*
* @author Roy Wetherall
* @since 2.1
@@ -46,7 +45,8 @@ public class CapabilityConditionEvaluator extends RecordsManagementActionConditi
private CapabilityCondition capabilityCondition;
/**
* @param capabilityCondition capability condition
* @param capabilityCondition
* capability condition
*/
public void setCapabilityCondition(CapabilityCondition capabilityCondition)
{

View File

@@ -36,8 +36,7 @@ import org.alfresco.service.cmr.action.ParameterDefinition;
import org.alfresco.service.cmr.repository.NodeRef;
/**
* Records management action condition who's implementation is delegated to an existing
* action condition.
* Records management action condition who's implementation is delegated to an existing action condition.
* <p>
* Useful for creating a RM version of an existing action condition implementation.
*
@@ -52,7 +51,8 @@ public class DelegateActionCondition extends RecordsManagementActionConditionEva
/**
* Sets the action condition evaluator
*
* @param actionConditionEvaluator The action condition evaluator
* @param actionConditionEvaluator
* The action condition evaluator
*/
public void setActionConditionEvaluator(ActionConditionEvaluator actionConditionEvaluator)
{

View File

@@ -41,8 +41,6 @@ import org.alfresco.service.cmr.dictionary.DataTypeDefinition;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.QName;
/**
* Records management hasDispositionAction evaluator that evaluates whether the given node's disposition schedule has the specified disposition action.
*
@@ -65,7 +63,8 @@ public class HasDispositionActionEvaluator extends RecordsManagementActionCondit
/**
* Sets the disposition service
*
* @param dispositionService The disposition service
* @param dispositionService
* The disposition service
*/
public void setDispositionService(DispositionService dispositionService)
{
@@ -79,7 +78,6 @@ public class HasDispositionActionEvaluator extends RecordsManagementActionCondit
String position = ((QName) actionCondition.getParameterValue(PARAM_DISPOSITION_ACTION_RELATIVE_POSITION)).getLocalName();
String action = ((QName) actionCondition.getParameterValue(PARAM_DISPOSITION_ACTION)).getLocalName();
if (dispositionService.isDisposableItem(actionedUponNodeRef))
{

View File

@@ -38,8 +38,6 @@ import org.alfresco.service.cmr.dictionary.DataTypeDefinition;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.QName;
/**
* Records management IsKind evaluator that evaluates according to the file plan
* component kind passed in.

View File

@@ -62,7 +62,8 @@ public class IsRecordTypeEvaluator extends RecordsManagementActionConditionEvalu
/**
* Sets the node service
*
* @param nodeService The node service
* @param nodeService
* The node service
*/
public void setNodeService(NodeService nodeService)
{

View File

@@ -29,6 +29,10 @@ package org.alfresco.module.org_alfresco_module_rm.action.impl;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.module.org_alfresco_module_rm.action.RMActionExecuterAbstractBase;
import org.alfresco.repo.action.ParameterDefinitionImpl;
import org.alfresco.service.cmr.action.Action;
@@ -36,9 +40,6 @@ import org.alfresco.service.cmr.action.ParameterDefinition;
import org.alfresco.service.cmr.dictionary.DataTypeDefinition;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.QName;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.extensions.surf.util.I18NUtil;
/**
* Action to add types to a record
@@ -64,8 +65,7 @@ public class AddRecordTypeAction extends RMActionExecuterAbstractBase
public static final String NAME = "addRecordTypes";
/**
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action,
* org.alfresco.service.cmr.repository.NodeRef)
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
*/
@Override
protected void executeImpl(Action action, NodeRef actionedUponNodeRef)
@@ -84,14 +84,10 @@ public class AddRecordTypeAction extends RMActionExecuterAbstractBase
}
/**
* Helper method to check the actioned upon node reference to decide to execute the action
* The preconditions are:
* - The node must exist
* - The node must not be frozen
* - The node must be record
* - The node must not be declared
* Helper method to check the actioned upon node reference to decide to execute the action The preconditions are: - The node must exist - The node must not be frozen - The node must be record - The node must not be declared
*
* @param actionedUponNodeRef node reference
* @param actionedUponNodeRef
* node reference
* @return Return true if the node reference passes all the preconditions for executing the action, false otherwise
*/
private boolean eligibleForAction(NodeRef actionedUponNodeRef)
@@ -110,7 +106,8 @@ public class AddRecordTypeAction extends RMActionExecuterAbstractBase
/**
* Helper method to get the record types from the action
*
* @param action The action
* @param action
* The action
* @return An array of record types
*/
private String[] getRecordTypes(Action action)

View File

@@ -33,6 +33,10 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.module.org_alfresco_module_rm.action.RMActionExecuterAbstractBase;
import org.alfresco.repo.action.ParameterDefinitionImpl;
@@ -42,13 +46,9 @@ import org.alfresco.service.cmr.dictionary.AspectDefinition;
import org.alfresco.service.cmr.dictionary.PropertyDefinition;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.QName;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.extensions.surf.util.I18NUtil;
/**
* This class applies the aspect specified in the spring bean property customTypeAspect.
* It is used to apply one of the 4 "custom type" aspects from the DOD 5015 model.
* This class applies the aspect specified in the spring bean property customTypeAspect. It is used to apply one of the 4 "custom type" aspects from the DOD 5015 model.
*
* @author Neil McErlean
*/
@@ -106,9 +106,7 @@ public class ApplyCustomTypeAction extends RMActionExecuterAbstractBase
}
/**
* This method converts a Map of String, Serializable to a Map of QName, Serializable.
* To do this, it assumes that each parameter name is a String representing a qname
* of the form prefix:localName.
* This method converts a Map of String, Serializable to a Map of QName, Serializable. To do this, it assumes that each parameter name is a String representing a qname of the form prefix:localName.
*/
private Map<QName, Serializable> getPropertyValues(Action action)
{

View File

@@ -35,6 +35,9 @@ import java.util.Date;
import java.util.List;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.alfresco.module.org_alfresco_module_rm.action.RMActionExecuterAbstractBase;
import org.alfresco.module.org_alfresco_module_rm.disposition.DispositionAction;
import org.alfresco.module.org_alfresco_module_rm.disposition.DispositionActionDefinition;
@@ -47,13 +50,9 @@ import org.alfresco.service.cmr.action.ParameterDefinition;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.repository.Period;
import org.alfresco.service.namespace.QName;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* Action to implement the consequences of a change to the value of the DispositionActionDefinition
* properties. When these properties are changed on a disposition schedule, then any associated
* disposition actions may need to be updated as a consequence.
* Action to implement the consequences of a change to the value of the DispositionActionDefinition properties. When these properties are changed on a disposition schedule, then any associated disposition actions may need to be updated as a consequence.
*
* @author Neil McErlean
*/
@@ -73,8 +72,7 @@ public class BroadcastDispositionActionDefinitionUpdateAction extends RMActionEx
}
/**
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action,
* org.alfresco.service.cmr.repository.NodeRef)
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
*/
@SuppressWarnings("unchecked")
@Override
@@ -141,7 +139,8 @@ public class BroadcastDispositionActionDefinitionUpdateAction extends RMActionEx
/**
* Manually update the rolled up search properties
*
* @param disposableItem disposable item
* @param disposableItem
* disposable item
*/
private void rollupSearchProperties(NodeRef disposableItem)
{
@@ -180,12 +179,14 @@ public class BroadcastDispositionActionDefinitionUpdateAction extends RMActionEx
}
/**
* Processes all the changes applied to the given disposition
* action definition node for the given record or folder node.
* Processes all the changes applied to the given disposition action definition node for the given record or folder node.
*
* @param dispositionActionDef The disposition action definition node
* @param changedProps The set of properties changed on the action definition
* @param recordOrFolder The record or folder the changes potentially need to be applied to
* @param dispositionActionDef
* The disposition action definition node
* @param changedProps
* The set of properties changed on the action definition
* @param recordOrFolder
* The record or folder the changes potentially need to be applied to
*/
private void processActionDefinitionChanges(NodeRef dispositionActionDef, List<QName> changedProps, NodeRef recordOrFolder)
{
@@ -216,11 +217,12 @@ public class BroadcastDispositionActionDefinitionUpdateAction extends RMActionEx
}
/**
* Determines whether the disposition action definition (step) being
* updated has any effect on the given next action
* Determines whether the disposition action definition (step) being updated has any effect on the given next action
*
* @param dispositionActionDef The disposition action definition node
* @param nextAction The next disposition action
* @param dispositionActionDef
* The disposition action definition node
* @param nextAction
* The next disposition action
* @return true if the step change affects the next action
*/
private boolean doesChangedStepAffectNextAction(NodeRef dispositionActionDef,
@@ -243,11 +245,12 @@ public class BroadcastDispositionActionDefinitionUpdateAction extends RMActionEx
}
/**
* Persists any changes made to the period on the given disposition action
* definition on the given next action.
* Persists any changes made to the period on the given disposition action definition on the given next action.
*
* @param dispositionActionDef The disposition action definition node
* @param nextAction The next disposition action
* @param dispositionActionDef
* The disposition action definition node
* @param nextAction
* The next disposition action
*/
protected void persistPeriodChanges(NodeRef dispositionActionDef, DispositionAction nextAction)
{

View File

@@ -44,8 +44,7 @@ public class CloseRecordFolderAction extends RMActionExecuterAbstractBase
public static final String PARAM_CLOSE_PARENT = "closeParent";
/**
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action,
* org.alfresco.service.cmr.repository.NodeRef)
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
*/
@Override
protected void executeImpl(Action action, final NodeRef actionedUponNodeRef)
@@ -53,8 +52,7 @@ public class CloseRecordFolderAction extends RMActionExecuterAbstractBase
if (eligibleForAction(actionedUponNodeRef))
{
// do the work of creating the record as the system user
AuthenticationUtil.runAsSystem(new RunAsWork<Void>()
{
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
@Override
public Void doWork()
{
@@ -67,12 +65,10 @@ public class CloseRecordFolderAction extends RMActionExecuterAbstractBase
}
/**
* Helper method to check the actioned upon node reference to decide to execute the action
* The preconditions are:
* - The node must exist
* - The node must not be frozen
* Helper method to check the actioned upon node reference to decide to execute the action The preconditions are: - The node must exist - The node must not be frozen
*
* @param actionedUponNodeRef node reference
* @param actionedUponNodeRef
* node reference
* @return Return true if the node reference passes all the preconditions for executing the action, false otherwise
*/
private boolean eligibleForAction(NodeRef actionedUponNodeRef)

View File

@@ -69,8 +69,7 @@ public class CompleteEventAction extends RMActionExecuterAbstractBase
}
/**
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action,
* org.alfresco.service.cmr.repository.NodeRef)
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
*/
@Override
protected void executeImpl(Action action, NodeRef actionedUponNodeRef)

View File

@@ -30,6 +30,10 @@ package org.alfresco.module.org_alfresco_module_rm.action.impl;
import java.util.Arrays;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.util.StringUtils;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.model.ContentModel;
import org.alfresco.module.org_alfresco_module_rm.action.RMActionExecuterAbstractBase;
@@ -46,9 +50,6 @@ import org.alfresco.service.cmr.model.FileFolderService;
import org.alfresco.service.cmr.model.FileNotFoundException;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.QName;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.util.StringUtils;
/**
* File To action implementation.
@@ -93,7 +94,8 @@ public abstract class CopyMoveLinkFileToBaseAction extends RMActionExecuterAbstr
/**
* Sets the action mode
*
* @param mode Action mode
* @param mode
* Action mode
*/
protected void setMode(CopyMoveLinkFileToActionMode mode)
{
@@ -101,7 +103,8 @@ public abstract class CopyMoveLinkFileToBaseAction extends RMActionExecuterAbstr
}
/**
* @param fileFolderService file folder service
* @param fileFolderService
* file folder service
*/
public void setFileFolderService(FileFolderService fileFolderService)
{
@@ -109,7 +112,8 @@ public abstract class CopyMoveLinkFileToBaseAction extends RMActionExecuterAbstr
}
/**
* @param filePlanService file plan service
* @param filePlanService
* file plan service
*/
public void setFilePlanService(FilePlanService filePlanService)
{
@@ -159,8 +163,7 @@ public abstract class CopyMoveLinkFileToBaseAction extends RMActionExecuterAbstr
validateActionPostPathResolution(actionedUponNodeRef, recordFolder, actionName, targetIsUnfiledRecords);
final NodeRef finalRecordFolder = recordFolder;
AuthenticationUtil.runAsSystem(new RunAsWork<Void>()
{
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
@Override
public Void doWork()
{
@@ -272,7 +275,8 @@ public abstract class CopyMoveLinkFileToBaseAction extends RMActionExecuterAbstr
*
* @param action
* @param actionedUponNodeRef
* @param targetisUnfiledRecords true is the target is in unfiled records
* @param targetisUnfiledRecords
* true is the target is in unfiled records
* @return
*/
private NodeRef createOrResolvePath(final Action action, final NodeRef actionedUponNodeRef, final boolean targetisUnfiledRecords)
@@ -293,8 +297,7 @@ public abstract class CopyMoveLinkFileToBaseAction extends RMActionExecuterAbstr
final boolean isRecord = getDictionaryService().isSubClass(type, ContentModel.TYPE_CONTENT);
// create or resolve the specified path
path = getTransactionService().getRetryingTransactionHelper().doInTransaction(new RetryingTransactionHelper.RetryingTransactionCallback<NodeRef>()
{
path = getTransactionService().getRetryingTransactionHelper().doInTransaction(new RetryingTransactionHelper.RetryingTransactionCallback<NodeRef>() {
public NodeRef execute() throws Throwable
{
return createOrResolvePath(action, context, actionedUponNodeRef, isRecord, Arrays.asList(pathElementsArray), targetisUnfiledRecords, create, false);
@@ -307,14 +310,22 @@ public abstract class CopyMoveLinkFileToBaseAction extends RMActionExecuterAbstr
/**
* Create or resolve the specified path
*
* @param action Action to use for reporting if anything goes wrong
* @param parent Parent of path to be created
* @param actionedUponNodeRef The node subject to the file/move/copy action
* @param isRecord true if node is a CONTENT SubType
* @param pathElements The elements of the path to be created
* @param targetisUnfiledRecords true if the target is within unfiled records
* @param create true if the path should be creeated if it does not exist
* @param creating true if we have already created the parent and therefore can skip the check to see if the next path element already exists
* @param action
* Action to use for reporting if anything goes wrong
* @param parent
* Parent of path to be created
* @param actionedUponNodeRef
* The node subject to the file/move/copy action
* @param isRecord
* true if node is a CONTENT SubType
* @param pathElements
* The elements of the path to be created
* @param targetisUnfiledRecords
* true if the target is within unfiled records
* @param create
* true if the path should be creeated if it does not exist
* @param creating
* true if we have already created the parent and therefore can skip the check to see if the next path element already exists
* @return
*/
private NodeRef createOrResolvePath(Action action, NodeRef parent, NodeRef actionedUponNodeRef, boolean isRecord, List<String> pathElements, boolean targetisUnfiledRecords, boolean create, boolean creating)
@@ -371,11 +382,16 @@ public abstract class CopyMoveLinkFileToBaseAction extends RMActionExecuterAbstr
/**
* Create the specified child of the specified parent
*
* @param action Action to use for reporting if anything goes wrong
* @param parent Parent of the child to be created
* @param childName The name of the child to be created
* @param targetisUnfiledRecords true if the child is being created in the unfiled directory (determines type as unfiled container child)
* @param lastAsFolder true if this is the last element of the pathe being created and it should be created as a folder. ignored if targetIsUnfiledRecords is true
* @param action
* Action to use for reporting if anything goes wrong
* @param parent
* Parent of the child to be created
* @param childName
* The name of the child to be created
* @param targetisUnfiledRecords
* true if the child is being created in the unfiled directory (determines type as unfiled container child)
* @param lastAsFolder
* true if this is the last element of the pathe being created and it should be created as a folder. ignored if targetIsUnfiledRecords is true
* @return
*/
private NodeRef createChild(final Action action, final NodeRef parent, final String childName, final boolean targetisUnfiledRecords, final boolean lastAsFolder)

View File

@@ -27,12 +27,13 @@
package org.alfresco.module.org_alfresco_module_rm.action.impl;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.module.org_alfresco_module_rm.action.RMActionExecuterAbstractBase;
import org.alfresco.module.org_alfresco_module_rm.fileplan.FilePlanService;
import org.alfresco.service.cmr.action.Action;
import org.alfresco.service.cmr.repository.NodeRef;
import org.springframework.extensions.surf.util.I18NUtil;
/**
* Create disposition schedule action
@@ -48,7 +49,8 @@ public class CreateDispositionScheduleAction extends RMActionExecuterAbstractBas
private FilePlanService filePlanService;
/**
* @param filePlanService file plan service
* @param filePlanService
* file plan service
*/
public void setFilePlanService(FilePlanService filePlanService)
{
@@ -73,12 +75,10 @@ public class CreateDispositionScheduleAction extends RMActionExecuterAbstractBas
}
/**
* Helper method to check the actioned upon node reference to decide to execute the action
* The preconditions are:
* - The node must exist
* - The node must not be a record category
* Helper method to check the actioned upon node reference to decide to execute the action The preconditions are: - The node must exist - The node must not be a record category
*
* @param actionedUponNodeRef node reference
* @param actionedUponNodeRef
* node reference
* @return Return true if the node reference passes all the preconditions for executing the action, false otherwise
*/
private boolean eligibleForAction(NodeRef actionedUponNodeRef)

View File

@@ -69,12 +69,12 @@ public class CutOffAction extends RMDispositionActionExecuterAbstractBase
}
/**
* Check if the record or folder has been uncut off. If it has and this cut off action is an
* automated disposition action then the cut off isn't run. If it has and this is a manual
* cut off action then the uncut off aspect is removed prior to the uncut action.
* Check if the record or folder has been uncut off. If it has and this cut off action is an automated disposition action then the cut off isn't run. If it has and this is a manual cut off action then the uncut off aspect is removed prior to the uncut action.
*
* @param action The cut off action
* @param recordOrFolder The record or folder to be cut off
* @param action
* The cut off action
* @param recordOrFolder
* The record or folder to be cut off
* @return True if the record or folder can be cut off
*/
private boolean checkUncutOffStatus(Action action, NodeRef recordOrFolder)

View File

@@ -54,7 +54,8 @@ public class DeclareRecordAction extends RMActionExecuterAbstractBase
/**
* Sets the record service
*
* @param recordService record service
* @param recordService
* record service
*/
public void setRecordService(RecordService recordService)
{

View File

@@ -52,7 +52,8 @@ public class DelegateAction extends RMActionExecuterAbstractBase
private boolean checkFrozen = false;
/**
* @param delegateActionExecuter delegate action executer
* @param delegateActionExecuter
* delegate action executer
*/
public void setDelegateAction(ActionExecuter delegateActionExecuter)
{
@@ -60,7 +61,8 @@ public class DelegateAction extends RMActionExecuterAbstractBase
}
/**
* @param checkFrozen true if we check whether the actioned upon node reference is frozen, false otherwise
* @param checkFrozen
* true if we check whether the actioned upon node reference is frozen, false otherwise
*/
public void setCheckFrozen(boolean checkFrozen)
{

View File

@@ -31,6 +31,8 @@ import java.io.Serializable;
import java.util.Collections;
import java.util.List;
import org.apache.commons.lang3.StringUtils;
import org.alfresco.module.org_alfresco_module_rm.action.RMDispositionActionExecuterAbstractBase;
import org.alfresco.module.org_alfresco_module_rm.capability.CapabilityService;
import org.alfresco.module.org_alfresco_module_rm.content.ContentDestructionComponent;
@@ -43,7 +45,6 @@ import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.security.AccessStatus;
import org.alfresco.service.cmr.version.Version;
import org.alfresco.service.namespace.QName;
import org.apache.commons.lang3.StringUtils;
/**
* Destroy action.
@@ -71,7 +72,8 @@ public class DestroyAction extends RMDispositionActionExecuterAbstractBase
private boolean ghostingEnabled = true;
/**
* @param contentDestructionComponent content destruction component
* @param contentDestructionComponent
* content destruction component
*/
public void setContentDestructionComponent(ContentDestructionComponent contentDestructionComponent)
{
@@ -79,7 +81,8 @@ public class DestroyAction extends RMDispositionActionExecuterAbstractBase
}
/**
* @param capabilityService capability service
* @param capabilityService
* capability service
*/
public void setCapabilityService(CapabilityService capabilityService)
{
@@ -87,7 +90,8 @@ public class DestroyAction extends RMDispositionActionExecuterAbstractBase
}
/**
* @param recordableVersionService recordable version service
* @param recordableVersionService
* recordable version service
*/
public void setRecordableVersionService(RecordableVersionService recordableVersionService)
{
@@ -95,7 +99,8 @@ public class DestroyAction extends RMDispositionActionExecuterAbstractBase
}
/**
* @param inplaceRecordService inplace record service
* @param inplaceRecordService
* inplace record service
*/
public void setInplaceRecordService(InplaceRecordService inplaceRecordService)
{
@@ -103,7 +108,8 @@ public class DestroyAction extends RMDispositionActionExecuterAbstractBase
}
/**
* @param ghostingEnabled true if ghosting is enabled, false otherwise
* @param ghostingEnabled
* true if ghosting is enabled, false otherwise
*/
public void setGhostingEnabled(boolean ghostingEnabled)
{
@@ -198,8 +204,7 @@ public class DestroyAction extends RMDispositionActionExecuterAbstractBase
}
/**
* Return true if the ghost on destroy property is set against the
* definition for the passed action on the specified node
* Return true if the ghost on destroy property is set against the definition for the passed action on the specified node
*
* @param action
* @param nodeRef

View File

@@ -29,12 +29,13 @@ package org.alfresco.module.org_alfresco_module_rm.action.impl;
import java.util.Date;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.module.org_alfresco_module_rm.action.RMActionExecuterAbstractBase;
import org.alfresco.module.org_alfresco_module_rm.disposition.DispositionAction;
import org.alfresco.service.cmr.action.Action;
import org.alfresco.service.cmr.repository.NodeRef;
import org.springframework.extensions.surf.util.I18NUtil;
/**
* Edit review as of date action.
@@ -54,8 +55,7 @@ public class EditDispositionActionAsOfDateAction extends RMActionExecuterAbstrac
public static final String PARAM_AS_OF_DATE = "asOfDate";
/**
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action,
* org.alfresco.service.cmr.repository.NodeRef)
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
*/
@Override
protected void executeImpl(Action action, NodeRef actionedUponNodeRef)

View File

@@ -27,12 +27,13 @@
package org.alfresco.module.org_alfresco_module_rm.action.impl;
import org.apache.commons.lang3.StringUtils;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.module.org_alfresco_module_rm.action.RMActionExecuterAbstractBase;
import org.alfresco.service.cmr.action.Action;
import org.alfresco.service.cmr.repository.NodeRef;
import org.apache.commons.lang3.StringUtils;
import org.springframework.extensions.surf.util.I18NUtil;
/**
* Edit freeze reason Action

View File

@@ -29,11 +29,12 @@ package org.alfresco.module.org_alfresco_module_rm.action.impl;
import java.util.Date;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.module.org_alfresco_module_rm.action.RMActionExecuterAbstractBase;
import org.alfresco.service.cmr.action.Action;
import org.alfresco.service.cmr.repository.NodeRef;
import org.springframework.extensions.surf.util.I18NUtil;
/**
*
@@ -50,8 +51,7 @@ public class EditReviewAsOfDateAction extends RMActionExecuterAbstractBase
public static final String PARAM_AS_OF_DATE = "asOfDate";
/**
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action,
* org.alfresco.service.cmr.repository.NodeRef)
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
*/
@Override
protected void executeImpl(Action action, NodeRef actionedUponNodeRef)

View File

@@ -27,6 +27,9 @@
package org.alfresco.module.org_alfresco_module_rm.action.impl;
import org.apache.commons.lang3.StringUtils;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.model.ContentModel;
import org.alfresco.module.org_alfresco_module_rm.action.RMActionExecuterAbstractBase;
@@ -42,8 +45,6 @@ import org.alfresco.service.cmr.action.Action;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.security.AccessStatus;
import org.alfresco.service.namespace.QName;
import org.apache.commons.lang3.StringUtils;
import org.springframework.extensions.surf.util.I18NUtil;
/**
* File report generic action.
@@ -89,7 +90,8 @@ public class FileReportAction extends RMActionExecuterAbstractBase implements Re
}
/**
* @param reportService report service
* @param reportService
* report service
*/
public void setReportService(ReportService reportService)
{
@@ -97,7 +99,8 @@ public class FileReportAction extends RMActionExecuterAbstractBase implements Re
}
/**
* @param capabilityService capability service
* @param capabilityService
* capability service
*/
public void setCapabilityService(CapabilityService capabilityService)
{
@@ -105,8 +108,7 @@ public class FileReportAction extends RMActionExecuterAbstractBase implements Re
}
/**
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action,
* org.alfresco.service.cmr.repository.NodeRef)
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
*/
@Override
protected void executeImpl(Action action, NodeRef actionedUponNodeRef)
@@ -131,8 +133,7 @@ public class FileReportAction extends RMActionExecuterAbstractBase implements Re
final Report report = getReportService().generateReport(reportType, actionedUponNodeRef, mimetype);
// file the report as system
NodeRef filedReport = AuthenticationUtil.runAsSystem(new RunAsWork<NodeRef>()
{
NodeRef filedReport = AuthenticationUtil.runAsSystem(new RunAsWork<NodeRef>() {
@Override
public NodeRef doWork()
{
@@ -148,7 +149,8 @@ public class FileReportAction extends RMActionExecuterAbstractBase implements Re
/**
* Checks if the destination is frozen, closed, cut off or not. In case if it is an exception will be thrown.
*
* @param nodeRef The destination node reference for which the capability should be checked
* @param nodeRef
* The destination node reference for which the capability should be checked
*/
private void checkFilingPermissionOnlyCapability(NodeRef nodeRef)
{
@@ -159,25 +161,30 @@ public class FileReportAction extends RMActionExecuterAbstractBase implements Re
}
/**
* Retrieves the value of the given parameter. If the parameter has not been
* passed from the UI an error will be thrown
* Retrieves the value of the given parameter. If the parameter has not been passed from the UI an error will be thrown
*
* @param action The action
* @param parameter The parameter for which the value should be retrieved
* @param action
* The action
* @param parameter
* The parameter for which the value should be retrieved
* @return The value of the given parameter
*/
private String getParameterValue(Action action, String parameter)
{
String paramValue = (String) action.getParameterValue(parameter);
if (StringUtils.isBlank(paramValue)) { throw new AlfrescoRuntimeException(I18NUtil.getMessage(
MSG_PARAM_NOT_SUPPLIED, parameter)); }
if (StringUtils.isBlank(paramValue))
{
throw new AlfrescoRuntimeException(I18NUtil.getMessage(
MSG_PARAM_NOT_SUPPLIED, parameter));
}
return paramValue;
}
/**
* Helper method for getting the destination.
*
* @param action The action
* @param action
* The action
* @return The file plan node reference
*/
private NodeRef getDestination(Action action)
@@ -189,7 +196,8 @@ public class FileReportAction extends RMActionExecuterAbstractBase implements Re
/**
* Helper method for getting the report type.
*
* @param action The action
* @param action
* The action
* @return The report type
*/
private QName getReportType(Action action)

View File

@@ -67,7 +67,8 @@ public class FreezeAction extends RMActionExecuterAbstractBase
if (getNodeService().exists(actionedUponNodeRef) &&
!getNodeService().hasAspect(actionedUponNodeRef, ContentModel.ASPECT_PENDING_DELETE) &&
(getRecordService().isRecord(actionedUponNodeRef) ||
getRecordFolderService().isRecordFolder(actionedUponNodeRef)) &&
getRecordFolderService().isRecordFolder(actionedUponNodeRef))
&&
!getFreezeService().isFrozen(actionedUponNodeRef))
{
getFreezeService().freeze((String) action.getParameterValue(PARAM_REASON), actionedUponNodeRef);

View File

@@ -27,14 +27,15 @@
package org.alfresco.module.org_alfresco_module_rm.action.impl;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.model.ContentModel;
import org.alfresco.module.org_alfresco_module_rm.action.RMActionExecuterAbstractBase;
import org.alfresco.service.cmr.action.Action;
import org.alfresco.service.cmr.repository.ChildAssociationRef;
import org.alfresco.service.cmr.repository.NodeRef;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.extensions.surf.util.I18NUtil;
/**
* Action to re-open the records folder
@@ -53,8 +54,7 @@ public class OpenRecordFolderAction extends RMActionExecuterAbstractBase
public static final String PARAM_OPEN_PARENT = "openParent";
/**
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action,
* org.alfresco.service.cmr.repository.NodeRef)
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
*/
@Override
protected void executeImpl(Action action, NodeRef actionedUponNodeRef)

View File

@@ -27,11 +27,12 @@
package org.alfresco.module.org_alfresco_module_rm.action.impl;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.module.org_alfresco_module_rm.action.RMActionExecuterAbstractBase;
import org.alfresco.service.cmr.action.Action;
import org.alfresco.service.cmr.repository.NodeRef;
import org.springframework.extensions.surf.util.I18NUtil;
/**
* Relinquish Hold Action

View File

@@ -33,6 +33,10 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.alfresco.model.ContentModel;
import org.alfresco.module.org_alfresco_module_rm.action.RMActionExecuterAbstractBase;
import org.alfresco.repo.action.ParameterDefinitionImpl;
@@ -45,9 +49,6 @@ import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.workflow.WorkflowService;
import org.alfresco.service.namespace.QName;
import org.alfresco.workflow.RMWorkflowModel;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
* Request info action for starting a workflow to request more information for an undeclared record
@@ -75,7 +76,8 @@ public class RequestInfoAction extends RMActionExecuterAbstractBase
private WorkflowService workflowService;
/**
* @param workflowService workflow service
* @param workflowService
* workflow service
*/
public void setWorkflowService(WorkflowService workflowService)
{
@@ -123,8 +125,10 @@ public class RequestInfoAction extends RMActionExecuterAbstractBase
/**
* Helper method for creating a workflow package to contain the actioned upon nodeRef
*
* @param action The request info action
* @param actionedUponNodeRef The actioned upon nodeRef
* @param action
* The request info action
* @param actionedUponNodeRef
* The actioned upon nodeRef
* @return Returns a workflow package containing the actioned upon nodeRef
*/
private NodeRef getWorkflowPackage(Action action, NodeRef actionedUponNodeRef)
@@ -139,7 +143,8 @@ public class RequestInfoAction extends RMActionExecuterAbstractBase
/**
* Helper method for getting the assignees from the action
*
* @param action The request info action
* @param action
* The request info action
* @return Returns a list of {@link NodeRef}s each representing the assignee
*/
private Serializable getAssignees(Action action)
@@ -157,7 +162,8 @@ public class RequestInfoAction extends RMActionExecuterAbstractBase
/**
* Helper method for getting the requested information from the action
*
* @param action The request info action
* @param action
* The request info action
* @return Returns the requested information
*/
private Serializable getRequestedInformation(Action action)
@@ -168,7 +174,8 @@ public class RequestInfoAction extends RMActionExecuterAbstractBase
/**
* Helper method for getting the rule creator
*
* @param action The request info action
* @param action
* The request info action
* @return Returns the rule creator
*/
private Serializable getRuleCreator(Action action)

View File

@@ -38,7 +38,6 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import jakarta.mail.MessagingException;
import jakarta.mail.Multipart;
import jakarta.mail.Part;
@@ -46,6 +45,11 @@ import jakarta.mail.internet.ContentType;
import jakarta.mail.internet.MimeMessage;
import jakarta.mail.internet.MimeUtility;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.extensions.surf.util.I18NUtil;
import org.springframework.util.FileCopyUtils;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.model.ContentModel;
import org.alfresco.model.ImapModel;
@@ -63,10 +67,6 @@ import org.alfresco.service.cmr.repository.ContentWriter;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.NamespaceService;
import org.alfresco.service.namespace.QName;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.extensions.surf.util.I18NUtil;
import org.springframework.util.FileCopyUtils;
/**
* Split Email Action
@@ -105,7 +105,8 @@ public class SplitEmailAction extends RMActionExecuterAbstractBase
/**
* Sets the relationship service instance
*
* @param relationshipService The relationship service instance
* @param relationshipService
* The relationship service instance
*/
public void setRelationshipService(RelationshipService relationshipService)
{
@@ -139,8 +140,7 @@ public class SplitEmailAction extends RMActionExecuterAbstractBase
}
/**
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action,
* org.alfresco.service.cmr.repository.NodeRef)
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
*/
@Override
protected void executeImpl(Action action, NodeRef actionedUponNodeRef)
@@ -213,8 +213,11 @@ public class SplitEmailAction extends RMActionExecuterAbstractBase
/**
* Create attachment from Mime Message Part
* @param messageNodeRef - the node ref of the mime message
* @param parentNodeRef - the node ref of the parent folder
*
* @param messageNodeRef
* - the node ref of the mime message
* @param parentNodeRef
* - the node ref of the parent folder
* @param part
* @throws MessagingException
* @throws IOException
@@ -273,7 +276,6 @@ public class SplitEmailAction extends RMActionExecuterAbstractBase
*/
createRMReference(messageNodeRef, attachmentRef.getChildRef());
}
/**
@@ -281,8 +283,7 @@ public class SplitEmailAction extends RMActionExecuterAbstractBase
*/
private void createRMReference(final NodeRef parentRef, final NodeRef childRef)
{
AuthenticationUtil.runAsSystem(new RunAsWork<Void>()
{
AuthenticationUtil.runAsSystem(new RunAsWork<Void>() {
@Override
public Void doWork()
{

View File

@@ -52,7 +52,8 @@ public class TransferAction extends RMDispositionActionExecuterAbstractBase
/**
* Indicates whether this transfer is an accession or not
*
* @param isAccession Is the transfer an accession or not
* @param isAccession
* Is the transfer an accession or not
*/
public void setIsAccession(boolean isAccession)
{
@@ -62,7 +63,8 @@ public class TransferAction extends RMDispositionActionExecuterAbstractBase
/**
* Sets the transfer service
*
* @param transferService transfer service
* @param transferService
* transfer service
*/
public void setTransferService(TransferService transferService)
{
@@ -101,8 +103,10 @@ public class TransferAction extends RMDispositionActionExecuterAbstractBase
/**
* Create the transfer node and link the disposition lifecycle node beneath it
*
* @param action action
* @param dispositionLifeCycleNodeRef disposition lifecycle node
* @param action
* action
* @param dispositionLifeCycleNodeRef
* disposition lifecycle node
*/
private void doTransfer(Action action, NodeRef dispositionLifeCycleNodeRef)
{

View File

@@ -27,13 +27,14 @@
package org.alfresco.module.org_alfresco_module_rm.action.impl;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.module.org_alfresco_module_rm.action.RMActionExecuterAbstractBase;
import org.alfresco.module.org_alfresco_module_rm.transfer.TransferService;
import org.alfresco.service.cmr.action.Action;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.QName;
import org.springframework.extensions.surf.util.I18NUtil;
/**
* Transfer complete action
@@ -60,7 +61,8 @@ public class TransferCompleteAction extends RMActionExecuterAbstractBase
}
/**
* @param transferService transfer service
* @param transferService
* transfer service
*/
public void setTransferService(TransferService transferService)
{
@@ -68,8 +70,7 @@ public class TransferCompleteAction extends RMActionExecuterAbstractBase
}
/**
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action,
* org.alfresco.service.cmr.repository.NodeRef)
* @see org.alfresco.repo.action.executer.ActionExecuterAbstractBase#executeImpl(org.alfresco.service.cmr.action.Action, org.alfresco.service.cmr.repository.NodeRef)
*/
@Override
protected void executeImpl(Action action, NodeRef actionedUponNodeRef)
@@ -81,7 +82,8 @@ public class TransferCompleteAction extends RMActionExecuterAbstractBase
/**
* Checks if the actioned upon node reference is a sub class of transfer
*
* @param actionedUponNodeRef actioned upon node reference
* @param actionedUponNodeRef
* actioned upon node reference
*/
private void checkTransferSubClass(NodeRef actionedUponNodeRef)
{

View File

@@ -29,12 +29,13 @@ package org.alfresco.module.org_alfresco_module_rm.action.impl;
import java.util.List;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.module.org_alfresco_module_rm.action.RMActionExecuterAbstractBase;
import org.alfresco.module.org_alfresco_module_rm.disposition.DispositionAction;
import org.alfresco.service.cmr.action.Action;
import org.alfresco.service.cmr.repository.NodeRef;
import org.springframework.extensions.surf.util.I18NUtil;
/**
* UnCutoff action implementation

View File

@@ -27,13 +27,14 @@
package org.alfresco.module.org_alfresco_module_rm.action.impl;
import org.alfresco.module.org_alfresco_module_rm.action.RMActionExecuterAbstractBase;
import org.alfresco.service.cmr.action.Action;
import org.alfresco.service.cmr.repository.NodeRef;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.module.org_alfresco_module_rm.action.RMActionExecuterAbstractBase;
import org.alfresco.service.cmr.action.Action;
import org.alfresco.service.cmr.repository.NodeRef;
/**
* Undeclare record action
*

View File

@@ -27,9 +27,10 @@
package org.alfresco.module.org_alfresco_module_rm.admin;
import org.alfresco.service.namespace.QName;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.service.namespace.QName;
/**
* Custom metadata exception.
*

View File

@@ -27,9 +27,10 @@
package org.alfresco.module.org_alfresco_module_rm.admin;
import org.alfresco.service.namespace.QName;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.service.namespace.QName;
/**
* Custom metadata exception.
*

View File

@@ -27,9 +27,10 @@
package org.alfresco.module.org_alfresco_module_rm.admin;
import org.alfresco.api.AlfrescoPublicApi;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.api.AlfrescoPublicApi;
/**
* Custom metadata exception.
*

View File

@@ -36,6 +36,10 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.model.ContentModel;
import org.alfresco.module.org_alfresco_module_rm.model.RecordsManagementCustomModel;
@@ -56,9 +60,6 @@ import org.alfresco.service.cmr.repository.NodeService;
import org.alfresco.service.cmr.repository.StoreRef;
import org.alfresco.service.namespace.NamespaceService;
import org.alfresco.service.namespace.QName;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.extensions.surf.util.I18NUtil;
/**
* Base class for RM admin services
@@ -149,7 +150,8 @@ public class RecordsManagementAdminBase implements RecordsManagementCustomModel
/**
* Sets the dictionary service instance
*
* @param dictionaryService The dictionary service instance
* @param dictionaryService
* The dictionary service instance
*/
public void setDictionaryService(DictionaryService dictionaryService)
{
@@ -159,7 +161,8 @@ public class RecordsManagementAdminBase implements RecordsManagementCustomModel
/**
* Sets the node service instance
*
* @param nodeService The node service instance
* @param nodeService
* The node service instance
*/
public void setNodeService(NodeService nodeService)
{
@@ -169,7 +172,8 @@ public class RecordsManagementAdminBase implements RecordsManagementCustomModel
/**
* Sets the content service instance
*
* @param contentService The content service instance
* @param contentService
* The content service instance
*/
public void setContentService(ContentService contentService)
{
@@ -179,7 +183,8 @@ public class RecordsManagementAdminBase implements RecordsManagementCustomModel
/**
* Sets the namespace service instance
*
* @param namespaceService The namespace service instance
* @param namespaceService
* The namespace service instance
*/
public void setNamespaceService(NamespaceService namespaceService)
{
@@ -189,7 +194,8 @@ public class RecordsManagementAdminBase implements RecordsManagementCustomModel
/**
* Sets the dictionary repository bootstrap instance
*
* @param dictionaryRepositoryBootstrap The dictionary repository bootstrap instance
* @param dictionaryRepositoryBootstrap
* The dictionary repository bootstrap instance
*/
public void setDictionaryRepositoryBootstrap(DictionaryRepositoryBootstrap dictionaryRepositoryBootstrap)
{
@@ -217,7 +223,8 @@ public class RecordsManagementAdminBase implements RecordsManagementCustomModel
/**
* Gets the node reference of the custom model
*
* @param uri The URI of the model namespace
* @param uri
* The URI of the model namespace
* @return The node reference of the custom model
*/
protected NodeRef getCustomModelRef(String uri)
@@ -259,7 +266,8 @@ public class RecordsManagementAdminBase implements RecordsManagementCustomModel
/**
* Gets the deserialized model
*
* @param modelNodeRef The node reference of the model
* @param modelNodeRef
* The node reference of the model
* @return The deserialized model
*/
protected M2Model readCustomContentModel(NodeRef modelNodeRef)
@@ -299,8 +307,10 @@ public class RecordsManagementAdminBase implements RecordsManagementCustomModel
/**
* Updates the content of the custom model
*
* @param modelRef The node reference of the model
* @param deserializedModel The deserialized model
* @param modelRef
* The node reference of the model
* @param deserializedModel
* The deserialized model
*/
protected void writeCustomContentModel(NodeRef modelRef, M2Model deserializedModel)
{
@@ -328,7 +338,8 @@ public class RecordsManagementAdminBase implements RecordsManagementCustomModel
/**
* Checks if the given association definition title exists
*
* @param associationDefinitionTitle The association definition title
* @param associationDefinitionTitle
* The association definition title
* @return <code>true</code> if the association definition title exists, <code>false</code> otherwise
*/
protected boolean existsTitle(String associationDefinitionTitle)
@@ -348,7 +359,8 @@ public class RecordsManagementAdminBase implements RecordsManagementCustomModel
/**
* Splits the association definition title into source text and target text
*
* @param sourceTargetText The text to split into source text and target text
* @param sourceTargetText
* The text to split into source text and target text
* @return Splited association definition title which includes source text and target text
*/
protected String[] splitAssociationDefinitionTitle(String sourceTargetText)
@@ -364,8 +376,10 @@ public class RecordsManagementAdminBase implements RecordsManagementCustomModel
/**
* Creates the association definition title form the source text and target text
*
* @param sourceText The source text
* @param targetText The target text
* @param sourceText
* The source text
* @param targetText
* The target text
* @return The association definition title created from the source text and target text
*/
protected String composeAssociationDefinitionTitle(String sourceText, String targetText)

View File

@@ -45,8 +45,7 @@ import org.alfresco.service.namespace.QName;
import org.alfresco.service.namespace.QNamePattern;
/**
* Records management custom model service interface. Implementations of this class are responsible
* for the creation and maintenance of RM-related custom properties and custom associations.
* Records management custom model service interface. Implementations of this class are responsible for the creation and maintenance of RM-related custom properties and custom associations.
*
* @author Neil McErlean, janv
* @since 2.1
@@ -63,10 +62,10 @@ public interface RecordsManagementAdminService
Set<QName> getCustomisable();
/**
* Get a list of all the registered customisable types and aspects present on a given
* node reference.
* Get a list of all the registered customisable types and aspects present on a given node reference.
*
* @param nodeRef node reference
* @param nodeRef
* node reference
* @return Set of &lt;{@link QName}&gt;s of customisable types and aspects, empty if none
*/
Set<QName> getCustomisable(NodeRef nodeRef);
@@ -74,7 +73,8 @@ public interface RecordsManagementAdminService
/**
* Indicates whether a type (or aspect) is customisable.
*
* @param type customisable type {@link QName}
* @param type
* customisable type {@link QName}
* @return boolean true if type customisable, false otherwise
*/
boolean isCustomisable(QName type);
@@ -82,48 +82,44 @@ public interface RecordsManagementAdminService
/**
* Makes a type customisable.
*
* @param type type {@link QName} to make customisable
* @param type
* type {@link QName} to make customisable
*/
void makeCustomisable(QName type);
/**
* Assuming the custom properties are not in use, makes a type no longer customisable.
*
* @param type type {@link QName} to make customisable
* @param type
* type {@link QName} to make customisable
*/
void unmakeCustomisable(QName type);
/**
* Indicates whether the custom property exists.
*
* @param property properties {@link QName}
* @param property
* properties {@link QName}
* @return boolean true if property exists, false otherwise
*/
boolean existsCustomProperty(QName property);
/**
* This method returns the custom properties that have been defined for the specified
* customisable RM element.
* This method returns the custom properties that have been defined for the specified customisable RM element.
* <p>
* Note: the custom property definitions are retrieved from the dictionaryService
* which is notified of any newly created definitions on transaction commit.
* Therefore custom properties created in the current transaction will not appear
* in the result of this method.
* Note: the custom property definitions are retrieved from the dictionaryService which is notified of any newly created definitions on transaction commit. Therefore custom properties created in the current transaction will not appear in the result of this method.
*
* </p>
*
* @param customisableType
* @return Map of &lt;{@link QName}, {@link PropertyDefinition}&gt;s of custom properties definitions
*/
Map<QName, PropertyDefinition> getCustomPropertyDefinitions(QName customisableType);
/**
* This method returns the custom properties that have been defined for all of
* the specified customisable RM elements.
* This method returns the custom properties that have been defined for all of the specified customisable RM elements.
* <p>
* Note: the custom property definitions are retrieved from the dictionaryService
* which is notified of any newly created definitions on transaction commit.
* Therefore custom properties created in the current transaction will not appear
* in the result of this method.
* Note: the custom property definitions are retrieved from the dictionaryService which is notified of any newly created definitions on transaction commit. Therefore custom properties created in the current transaction will not appear in the result of this method.
* </p>
*
* @return Map of &lt;{@link QName}, {@link PropertyDefinition}&gt;s of custom properties definitions
@@ -135,16 +131,18 @@ public interface RecordsManagementAdminService
*
* Note: no default value, single valued, optional, not system protected, no constraints
*
* @param propId - If a value for propId is provided it will be used to identify property definitions
* within URLs and in QNames. Therefore it must contain URL/QName-valid characters
* only. It must also be unique.
* If a null value is passed, an id will be generated.
* @param typeName - mandatory. The aspect within which the property is to be defined.
* This must be one of the CustomisableRmElements.
* @param label - mandatory
* @param dataType - mandatory
* @param title - optional
* @param description - optional
* @param propId
* - If a value for propId is provided it will be used to identify property definitions within URLs and in QNames. Therefore it must contain URL/QName-valid characters only. It must also be unique. If a null value is passed, an id will be generated.
* @param typeName
* - mandatory. The aspect within which the property is to be defined. This must be one of the CustomisableRmElements.
* @param label
* - mandatory
* @param dataType
* - mandatory
* @param title
* - optional
* @param description
* - optional
*
* @return the propId, whether supplied as a parameter or generated.
*/
@@ -153,21 +151,28 @@ public interface RecordsManagementAdminService
/**
* Add custom property definition with one optional constraint reference
*
* @param propId - If a value for propId is provided it will be used to identify property definitions
* within URLs and in QNames. Therefore it must contain URL/QName-valid characters
* only. It must also be unique.
* If a null value is passed, an id will be generated.
* @param typeName - mandatory. The aspect within which the property is to be defined.
* This must be one of the CustomisableRmElements.
* @param label - mandatory
* @param dataType - mandatory
* @param title - optional
* @param description - optional
* @param defaultValue - optional
* @param multiValued - TRUE if multi-valued property
* @param mandatory - TRUE if mandatory property
* @param isProtected - TRUE if protected property
* @param lovConstraintQName - optional custom constraint
* @param propId
* - If a value for propId is provided it will be used to identify property definitions within URLs and in QNames. Therefore it must contain URL/QName-valid characters only. It must also be unique. If a null value is passed, an id will be generated.
* @param typeName
* - mandatory. The aspect within which the property is to be defined. This must be one of the CustomisableRmElements.
* @param label
* - mandatory
* @param dataType
* - mandatory
* @param title
* - optional
* @param description
* - optional
* @param defaultValue
* - optional
* @param multiValued
* - TRUE if multi-valued property
* @param mandatory
* - TRUE if mandatory property
* @param isProtected
* - TRUE if protected property
* @param lovConstraintQName
* - optional custom constraint
*
* @return the propId, whether supplied as a parameter or generated.
*/
@@ -190,16 +195,21 @@ public interface RecordsManagementAdminService
/**
* Update the custom property definition's label (title).
*
* @param propQName the qname of the property definition
* @param newLabel the new value for the label.
* @param propQName
* the qname of the property definition
* @param newLabel
* the new value for the label.
* @return the propId.
*/
QName setCustomPropertyDefinitionLabel(QName propQName, String newLabel) throws PropertyAlreadyExistsMetadataException;
/**
* Update the name and label of the custom property definition.
* @param propQName The qname of the existing property definition
* @param newName THe new name for both the custom property and its label.
*
* @param propQName
* The qname of the existing property definition
* @param newName
* THe new name for both the custom property and its label.
* @return
* @throws CustomMetadataException
*/
@@ -208,8 +218,10 @@ public interface RecordsManagementAdminService
/**
* Sets a new list of values constraint on the custom property definition.
*
* @param propQName the qname of the property definition
* @param newLovConstraint the List-Of-Values constraintRef.
* @param propQName
* the qname of the property definition
* @param newLovConstraint
* the List-Of-Values constraintRef.
* @return the propId.
*/
QName setCustomPropertyDefinitionConstraint(QName propQName, QName newLovConstraint);
@@ -217,7 +229,8 @@ public interface RecordsManagementAdminService
/**
* Removes all list of values constraints from the custom property definition.
*
* @param propQName the qname of the property definition
* @param propQName
* the qname of the property definition
* @return the propId.
*/
QName removeCustomPropertyDefinitionConstraints(QName propQName);
@@ -230,12 +243,7 @@ public interface RecordsManagementAdminService
void removeCustomPropertyDefinition(QName propQName);
/**
* This method returns the custom references that have been defined in the custom
* model.
* Note: the custom reference definitions are retrieved from the dictionaryService
* which is notified of any newly created definitions on transaction commit.
* Therefore custom references created in the current transaction will not appear
* in the results.
* This method returns the custom references that have been defined in the custom model. Note: the custom reference definitions are retrieved from the dictionaryService which is notified of any newly created definitions on transaction commit. Therefore custom references created in the current transaction will not appear in the results.
*
* @return The Map of custom references (both parent-child and standard).
* @deprecated as of RM 2.3, please use {@link RelationshipService#getRelationshipDefinitions()} instead.
@@ -245,17 +253,15 @@ public interface RecordsManagementAdminService
/**
* Fetches all associations <i>from</i> the given source.
*
* @param node the node from which the associations start.
* @param node
* the node from which the associations start.
* @return a List of associations.
* @deprecated as of RM 2.3, please
* use{@link NodeService#getTargetAssocs(NodeRef, QNamePattern)} with QNamePattern RegexQNamePattern.MATCH_ALL
* instead
* @deprecated as of RM 2.3, please use{@link NodeService#getTargetAssocs(NodeRef, QNamePattern)} with QNamePattern RegexQNamePattern.MATCH_ALL instead
*/
List<AssociationRef> getCustomReferencesFrom(NodeRef node);
/**
* Fetches all child associations of the given source. i.e. all associations where the
* given node is the parent.
* Fetches all child associations of the given source. i.e. all associations where the given node is the parent.
*
* @param node
* @return
@@ -266,10 +272,10 @@ public interface RecordsManagementAdminService
/**
* Returns a List of all associations <i>to</i> the given node.
*
* @param node the node to which the associations point.
* @param node
* the node to which the associations point.
* @return a List of associations.
* @deprecated as of RM 2.3, please use
* {@link NodeService#getSourceAssocs(NodeRef, QNamePattern)} with QNamePattern RegexQNamePattern.MATCH_ALL instead.
* @deprecated as of RM 2.3, please use {@link NodeService#getSourceAssocs(NodeRef, QNamePattern)} with QNamePattern RegexQNamePattern.MATCH_ALL instead.
*/
List<AssociationRef> getCustomReferencesTo(NodeRef node);
@@ -283,15 +289,14 @@ public interface RecordsManagementAdminService
List<ChildAssociationRef> getCustomParentReferences(NodeRef node);
/**
* This method adds the specified custom reference instance between the specified nodes.
* Only one instance of any custom reference type is allowed in a given direction
* between two given records.
* This method adds the specified custom reference instance between the specified nodes. Only one instance of any custom reference type is allowed in a given direction between two given records.
*
* @param fromNode
* @param toNode
* @param assocId the server-side qname e.g. {http://www.alfresco.org/model/rmcustom/1.0}abcd-12-efgh-4567
* @throws AlfrescoRuntimeException if an instance of the specified reference type
* already exists from fromNode to toNode.
* @param assocId
* the server-side qname e.g. {http://www.alfresco.org/model/rmcustom/1.0}abcd-12-efgh-4567
* @throws AlfrescoRuntimeException
* if an instance of the specified reference type already exists from fromNode to toNode.
* @deprecated as of RM 2.3, please use {@link RelationshipService#addRelationship(String, NodeRef, NodeRef)} instead.
*/
void addCustomReference(NodeRef fromNode, NodeRef toNode, QName assocId);
@@ -301,7 +306,8 @@ public interface RecordsManagementAdminService
*
* @param fromNode
* @param toNode
* @param assocId the server-side qname e.g. {http://www.alfresco.org/model/rmcustom/1.0}abcd-12-efgh-4567
* @param assocId
* the server-side qname e.g. {http://www.alfresco.org/model/rmcustom/1.0}abcd-12-efgh-4567
* @deprecated as of RM 2.3, please use {@link RelationshipService#removeRelationship(String, NodeRef, NodeRef)} instead.
*/
void removeCustomReference(NodeRef fromNode, NodeRef toNode, QName assocId);
@@ -309,15 +315,15 @@ public interface RecordsManagementAdminService
/**
* This method creates a new custom association, using the given label as the title.
*
* @param label the title of the association definition
* @param label
* the title of the association definition
* @return the QName of the newly-created association.
* @deprecated as of RM 2.3, please use {@link RelationshipService#createRelationshipDefinition(org.alfresco.module.org_alfresco_module_rm.relationship.RelationshipDisplayName)} instead.
*/
QName addCustomAssocDefinition(String label);
/**
* This method creates a new custom child association, combining the given source and
* target and using the combined String as the title.
* This method creates a new custom child association, combining the given source and target and using the combined String as the title.
*
* @param source
* @param target
@@ -327,13 +333,14 @@ public interface RecordsManagementAdminService
QName addCustomChildAssocDefinition(String source, String target);
/**
* This method updates the source and target values for the specified child association.
* The source and target will be combined into a single string and stored in the title property.
* Source and target are String metadata for RM parent/child custom references.
* This method updates the source and target values for the specified child association. The source and target will be combined into a single string and stored in the title property. Source and target are String metadata for RM parent/child custom references.
*
* @param refQName qname of the child association.
* @param newSource the new value for the source field.
* @param newTarget the new value for the target field.
* @param refQName
* qname of the child association.
* @param newSource
* the new value for the source field.
* @param newTarget
* the new value for the target field.
* @see #getCompoundIdFor(String, String)
* @see #splitSourceTargetId(String)
* @deprecated as of RM 2.3, please use {@link RelationshipService#updateRelationshipDefinition(String, org.alfresco.module.org_alfresco_module_rm.relationship.RelationshipDisplayName)} instead.
@@ -341,38 +348,35 @@ public interface RecordsManagementAdminService
QName updateCustomChildAssocDefinition(QName refQName, String newSource, String newTarget);
/**
* This method updates the label value for the specified association.
* The label will be stored in the title property.
* Label is String metadata for bidirectional custom references.
* This method updates the label value for the specified association. The label will be stored in the title property. Label is String metadata for bidirectional custom references.
*
* @param refQName qname of the child association.
* @param newLabel the new value for the label field.
* @param refQName
* qname of the child association.
* @param newLabel
* the new value for the label field.
* @deprecated as of RM 2.3, please use {@link RelationshipService#updateRelationshipDefinition(String, org.alfresco.module.org_alfresco_module_rm.relationship.RelationshipDisplayName)} instead.
*/
QName updateCustomAssocDefinition(QName refQName, String newLabel);
/**
* This method returns ConstraintDefinition objects defined in the given model
* (note: not property references or in-line defs)
* The custom constraint definitions are retrieved from the dictionaryService
* which is notified of any newly created definitions on transaction commit.
* Therefore custom constraints created in the current transaction will not appear
* in the results.
* This method returns ConstraintDefinition objects defined in the given model (note: not property references or in-line defs) The custom constraint definitions are retrieved from the dictionaryService which is notified of any newly created definitions on transaction commit. Therefore custom constraints created in the current transaction will not appear in the results.
*/
List<ConstraintDefinition> getCustomConstraintDefinitions(QName modelQName);
/**
* This method adds a Constraint definition to the custom model.
* The implementation of this method would have to go into the M2Model and insert
* the relevant M2Objects for this new constraint.
* This method adds a Constraint definition to the custom model. The implementation of this method would have to go into the M2Model and insert the relevant M2Objects for this new constraint.
*
* param type not included as it would always be RMListOfValuesConstraint for RM.
*
* @param constraintName the name e.g. rmc:foo
* @param title the human-readable title e.g. My foo list
* @param constraintName
* the name e.g. rmc:foo
* @param title
* the human-readable title e.g. My foo list
* @param caseSensitive
* @param allowedValues the allowed values list
* @param matchLogic AND (all values must match), OR (at least one values must match)
* @param allowedValues
* the allowed values list
* @param matchLogic
* AND (all values must match), OR (at least one values must match)
*/
void addCustomConstraintDefinition(QName constraintName, String title, boolean caseSensitive, List<String> allowedValues, MatchLogic matchLogic);
@@ -380,14 +384,16 @@ public interface RecordsManagementAdminService
* Remove custom constraint definition - if not referenced (by any properties)
*
*
* @param constraintName the name e.g. rmc:foo
* @param constraintName
* the name e.g. rmc:foo
*/
void removeCustomConstraintDefinition(QName constraintName);
/**
* Update custom constraint definition with new list of values (replaces existing list, if any)
*
* @param constraintName the name e.g. rmc:foo
* @param constraintName
* the name e.g. rmc:foo
* @param newValues
*/
void changeCustomConstraintValues(QName constraintName, List<String> newValues);
@@ -400,27 +406,25 @@ public interface RecordsManagementAdminService
void changeCustomConstraintTitle(QName constraintName, String title);
/**
* This method iterates over the custom properties, references looking for one whose id
* exactly matches that specified.
* This method iterates over the custom properties, references looking for one whose id exactly matches that specified.
*
* @param localName the localName part of the qname of the property or reference definition.
* @param localName
* the localName part of the qname of the property or reference definition.
* @return the QName of the property, association definition which matches, or null.
*/
QName getQNameForClientId(String localName);
/**
* Given a compound id for source and target strings (as used with parent/child
* custom references), this method splits the String and returns an array containing
* the source and target IDs separately.
* Given a compound id for source and target strings (as used with parent/child custom references), this method splits the String and returns an array containing the source and target IDs separately.
*
* @param sourceTargetId the compound ID.
* @param sourceTargetId
* the compound ID.
* @return a String array, where result[0] == sourceId and result[1] == targetId.
*/
String[] splitSourceTargetId(String sourceTargetId);
/**
* This method retrieves a compound ID (client-side) for the specified
* sourceId and targetId.
* This method retrieves a compound ID (client-side) for the specified sourceId and targetId.
*
* @param sourceId
* @param targetId

View File

@@ -38,6 +38,14 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.core.Ordered;
import org.springframework.extensions.surf.util.I18NUtil;
import org.springframework.extensions.surf.util.URLDecoder;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.model.ContentModel;
import org.alfresco.module.org_alfresco_module_rm.caveat.RMListOfValuesConstraint;
@@ -79,13 +87,6 @@ import org.alfresco.service.namespace.RegexQNamePattern;
import org.alfresco.service.transaction.TransactionService;
import org.alfresco.util.GUID;
import org.alfresco.util.LockCallback;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.core.Ordered;
import org.springframework.extensions.surf.util.I18NUtil;
import org.springframework.extensions.surf.util.URLDecoder;
/**
* Records Management AdminService Implementation.
@@ -142,7 +143,8 @@ public class RecordsManagementAdminServiceImpl extends RecordsManagementAdminBas
private boolean isCustomMapInit = false;
/**
* @param transactionService transaction service
* @param transactionService
* transaction service
*/
public void setTransactionService(TransactionService transactionService)
{
@@ -150,7 +152,8 @@ public class RecordsManagementAdminServiceImpl extends RecordsManagementAdminBas
}
/**
* @param relationshipService The relationship service instance
* @param relationshipService
* The relationship service instance
*/
public void setRelationshipService(RelationshipService relationshipService)
{
@@ -168,7 +171,8 @@ public class RecordsManagementAdminServiceImpl extends RecordsManagementAdminBas
}
/**
* @param jobLockService The Job Lock service
* @param jobLockService
* The Job Lock service
*/
public void setJobLockService(JobLockService jobLockService)
{
@@ -176,8 +180,7 @@ public class RecordsManagementAdminServiceImpl extends RecordsManagementAdminBas
}
/**
* Indicate that this application content listener must be executed with the lowest
* precedence. (ie last)
* Indicate that this application content listener must be executed with the lowest precedence. (ie last)
*
* @see Ordered#getOrder()
*/
@@ -251,7 +254,6 @@ public class RecordsManagementAdminServiceImpl extends RecordsManagementAdminBas
}
}
/**
* Helper method to indicate whether the custom map is initialised or not.
*
@@ -266,18 +268,15 @@ public class RecordsManagementAdminServiceImpl extends RecordsManagementAdminBas
* @see org.alfresco.repo.node.NodeServicePolicies.OnAddAspectPolicy#onAddAspect(org.alfresco.service.cmr.repository.NodeRef, org.alfresco.service.namespace.QName)
*/
@Override
@Behaviour
(
@Behaviour(
kind = BehaviourKind.CLASS,
isService = true,
notificationFrequency = NotificationFrequency.FIRST_EVENT
)
notificationFrequency = NotificationFrequency.FIRST_EVENT)
public void onAddAspect(final NodeRef nodeRef, final QName aspectTypeQName)
{
if (isCustomMapInit)
{
AuthenticationUtil.runAs(new RunAsWork<Void>()
{
AuthenticationUtil.runAs(new RunAsWork<Void>() {
@Override
public Void doWork()
{
@@ -299,18 +298,15 @@ public class RecordsManagementAdminServiceImpl extends RecordsManagementAdminBas
* @see org.alfresco.repo.node.NodeServicePolicies.OnRemoveAspectPolicy#onRemoveAspect(org.alfresco.service.cmr.repository.NodeRef, org.alfresco.service.namespace.QName)
*/
@Override
@Behaviour
(
@Behaviour(
kind = BehaviourKind.CLASS,
isService = true,
notificationFrequency = NotificationFrequency.FIRST_EVENT
)
notificationFrequency = NotificationFrequency.FIRST_EVENT)
public void onRemoveAspect(final NodeRef nodeRef, final QName aspectTypeQName)
{
if (isCustomMapInit)
{
AuthenticationUtil.runAs(new RunAsWork<Void>()
{
AuthenticationUtil.runAs(new RunAsWork<Void>() {
@Override
public Void doWork()
{
@@ -333,18 +329,15 @@ public class RecordsManagementAdminServiceImpl extends RecordsManagementAdminBas
* @see org.alfresco.repo.node.NodeServicePolicies.OnCreateNodePolicy#onCreateNode(org.alfresco.service.cmr.repository.ChildAssociationRef)
*/
@Override
@Behaviour
(
@Behaviour(
kind = BehaviourKind.CLASS,
isService = true,
notificationFrequency = NotificationFrequency.FIRST_EVENT
)
notificationFrequency = NotificationFrequency.FIRST_EVENT)
public void onCreateNode(final ChildAssociationRef childAssocRef)
{
if (isCustomMapInit)
{
AuthenticationUtil.runAs(new RunAsWork<Void>()
{
AuthenticationUtil.runAs(new RunAsWork<Void>() {
@Override
public Void doWork()
{
@@ -379,7 +372,8 @@ public class RecordsManagementAdminServiceImpl extends RecordsManagementAdminBas
}
/**
* @param customisableTypes list of string representations of the type qnames that are customisable
* @param customisableTypes
* list of string representations of the type qnames that are customisable
*/
public void setCustomisableTypes(List<String> customisableTypes)
{
@@ -930,9 +924,7 @@ public class RecordsManagementAdminServiceImpl extends RecordsManagementAdminBas
String lovConstraintQNameAsString = newLovConstraint.toPrefixString(getNamespaceService());
// Add the constraint - if it isn't already there (there should only be one constraint).
String refOfExistingConstraint = (targetProp.getConstraints().isEmpty() ?
null :
targetProp.getConstraints().get(0).getRef());
String refOfExistingConstraint = (targetProp.getConstraints().isEmpty() ? null : targetProp.getConstraints().get(0).getRef());
if (refOfExistingConstraint != null)
{

View File

@@ -32,12 +32,13 @@ import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import org.springframework.extensions.surf.util.ISO8601DateFormat;
import org.alfresco.api.AlfrescoPublicApi;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.QName;
import org.alfresco.util.Pair;
import org.alfresco.util.ParameterCheck;
import org.springframework.extensions.surf.util.ISO8601DateFormat;
/**
* Class to represent a Records Management audit entry.
@@ -183,8 +184,7 @@ public final class RecordsManagementAuditEntry
/**
*
* @return The human readable description of the reason for the audit log
* entry i.e. metadata updated, record declared
* @return The human readable description of the reason for the audit log entry i.e. metadata updated, record declared
*/
public String getEvent()
{
@@ -192,9 +192,7 @@ public final class RecordsManagementAuditEntry
}
/**
* An identifier for the item being audited, for example for a record
* it will be the unique record identifier, for a user it would be the
* username etc.
* An identifier for the item being audited, for example for a record it will be the unique record identifier, for a user it would be the username etc.
*
* @return Ad identifier for the thing being audited
*/

View File

@@ -34,8 +34,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.QName;
/**
* Class to represent the parameters for a Records Management
* audit log query.
* Class to represent the parameters for a Records Management audit log query.
*
* @author Gavin Cornwell
*/
@@ -68,10 +67,10 @@ public final class RecordsManagementAuditQueryParameters
}
/**
* Restricts the retrieved audit trail to entries made by
* the provided user.
* Restricts the retrieved audit trail to entries made by the provided user.
*
* @param user The username to filter by
* @param user
* The username to filter by
*/
public void setUser(String user)
{
@@ -88,10 +87,10 @@ public final class RecordsManagementAuditQueryParameters
}
/**
* Restricts the retrieved audit trail to the last
* <code>maxEntries</code> entries.
* Restricts the retrieved audit trail to the last <code>maxEntries</code> entries.
*
* @param maxEntries Maximum number of entries
* @param maxEntries
* Maximum number of entries
*/
public void setMaxEntries(int maxEntries)
{
@@ -108,10 +107,10 @@ public final class RecordsManagementAuditQueryParameters
}
/**
* Restricts the retrieved audit trail to only those entries
* created by the give node.
* Restricts the retrieved audit trail to only those entries created by the give node.
*
* @param nodeRef The node to get entries for
* @param nodeRef
* The node to get entries for
*/
public void setNodeRef(NodeRef nodeRef)
{
@@ -128,10 +127,10 @@ public final class RecordsManagementAuditQueryParameters
}
/**
* Restricts the retrieved audit trail to only those entries
* that occurred after the given date.
* Restricts the retrieved audit trail to only those entries that occurred after the given date.
*
* @param dateFrom Date to retrieve entries after
* @param dateFrom
* Date to retrieve entries after
*/
public void setDateFrom(Date dateFrom)
{
@@ -148,10 +147,10 @@ public final class RecordsManagementAuditQueryParameters
}
/**
* Restricts the retrieved audit trail to only those entries
* that occurred before the given date.
* Restricts the retrieved audit trail to only those entries that occurred before the given date.
*
* @param dateTo Date to retrieve entries before
* @param dateTo
* Date to retrieve entries before
*/
public void setDateTo(Date dateTo)
{
@@ -168,10 +167,10 @@ public final class RecordsManagementAuditQueryParameters
}
/**
* Restricts the retrieved audit trail to only those entries
* that match the given event string.
* Restricts the retrieved audit trail to only those entries that match the given event string.
*
* @param event Event to retrieve entries for
* @param event
* Event to retrieve entries for
*/
public void setEvent(String event)
{
@@ -188,19 +187,17 @@ public final class RecordsManagementAuditQueryParameters
}
/**
* Restricts the audit trail to only those entries that involve
* the given property.
* Restricts the audit trail to only those entries that involve the given property.
*
* @param property The property to retrieve entries for
* @param property
* The property to retrieve entries for
*/
public void setProperty(QName property)
{
this.property = property;
}
/*
* @see java.lang.Object#toString()
*/
/* @see java.lang.Object#toString() */
@Override
public String toString()
{

View File

@@ -47,7 +47,10 @@ import org.alfresco.service.namespace.QName;
@SuppressWarnings("deprecation")
public interface RecordsManagementAuditService extends RecordsManagementAuditServiceDeprecated
{
public enum ReportFormat { HTML, JSON }
public enum ReportFormat
{
HTML, JSON
}
/**
* Retrieves a list of audit events.
@@ -59,27 +62,30 @@ public interface RecordsManagementAuditService extends RecordsManagementAuditSer
/**
* Register audit event.
* <p>
* Creates an instance of a simple audit event and registers it with
* the service.
* Creates an instance of a simple audit event and registers it with the service.
*
* @param name name of audit event
* @param label display label of audit event
* @param name
* name of audit event
* @param label
* display label of audit event
*/
void registerAuditEvent(String name, String label);
/**
* Register audit event.
*
* @param auditEvent audit event
* @param auditEvent
* audit event
*/
void registerAuditEvent(AuditEvent auditEvent);
/**
* Audits an event, assumes no properties where modified and that the event should not be audited
* immediately.
* Audits an event, assumes no properties where modified and that the event should not be audited immediately.
*
* @param nodeRef node reference
* @param eventName event name
* @param nodeRef
* node reference
* @param eventName
* event name
*/
void auditEvent(NodeRef nodeRef,
String eventName);
@@ -87,10 +93,14 @@ public interface RecordsManagementAuditService extends RecordsManagementAuditSer
/**
* Audits an event, assumes that the event should not be audited immediately and not be removed if no property is changed.
*
* @param nodeRef node reference
* @param eventName event name
* @param before property values before event (this must be modifiable and may be changed by the method).
* @param after property values after event (this must be modifiable and may be changed by the method).
* @param nodeRef
* node reference
* @param eventName
* event name
* @param before
* property values before event (this must be modifiable and may be changed by the method).
* @param after
* property values after event (this must be modifiable and may be changed by the method).
*/
void auditEvent(NodeRef nodeRef,
String eventName,
@@ -100,11 +110,16 @@ public interface RecordsManagementAuditService extends RecordsManagementAuditSer
/**
* Audit event, assumes not to be removed if no property is changed.
*
* @param nodeRef node reference
* @param eventName event name
* @param before property values before event (this must be modifiable and may be changed by the method).
* @param after property values after event (this must be modifiable and may be changed by the method).
* @param immediate true if event is to be audited immediately, false otherwise
* @param nodeRef
* node reference
* @param eventName
* event name
* @param before
* property values before event (this must be modifiable and may be changed by the method).
* @param after
* property values after event (this must be modifiable and may be changed by the method).
* @param immediate
* true if event is to be audited immediately, false otherwise
*/
void auditEvent(NodeRef nodeRef,
String eventName,
@@ -115,12 +130,18 @@ public interface RecordsManagementAuditService extends RecordsManagementAuditSer
/**
* Audit event.
*
* @param nodeRef node reference
* @param eventName event name
* @param before property values before event (this must be modifiable and may be changed by the method).
* @param after property values after event (this must be modifiable and may be changed by the method).
* @param immediate true if event is to be audited immediately, false otherwise
* @param removeIfNoPropertyChanged true if event is not audited when there are no properties changed, false otherwise
* @param nodeRef
* node reference
* @param eventName
* event name
* @param before
* property values before event (this must be modifiable and may be changed by the method).
* @param after
* property values after event (this must be modifiable and may be changed by the method).
* @param immediate
* true if event is to be audited immediately, false otherwise
* @param removeIfNoPropertyChanged
* true if event is not audited when there are no properties changed, false otherwise
*/
void auditEvent(NodeRef nodeRef,
String eventName,
@@ -132,11 +153,16 @@ public interface RecordsManagementAuditService extends RecordsManagementAuditSer
/**
* Supply incremental changes as part of an event. This will either create a new event or update the existing details to put any supplied properties into the map.
*
* @param nodeRef node reference
* @param eventName event name
* @param before additional property values before event (this must be modifiable and may be changed by the method).
* @param after additional property values after event (this must be modifiable and may be changed by the method).
* @param removeIfNoPropertyChanged true if event is not audited when there are no properties changed, false otherwise
* @param nodeRef
* node reference
* @param eventName
* event name
* @param before
* additional property values before event (this must be modifiable and may be changed by the method).
* @param after
* additional property values after event (this must be modifiable and may be changed by the method).
* @param removeIfNoPropertyChanged
* true if event is not audited when there are no properties changed, false otherwise
*/
void auditOrUpdateEvent(NodeRef nodeRef,
String eventName,
@@ -147,7 +173,8 @@ public interface RecordsManagementAuditService extends RecordsManagementAuditSer
/**
* Determines whether the RM audit log is currently enabled.
*
* @param filePlan file plan
* @param filePlan
* file plan
* @return true if RM auditing is active false otherwise
*/
boolean isAuditLogEnabled(NodeRef filePlan);
@@ -155,28 +182,32 @@ public interface RecordsManagementAuditService extends RecordsManagementAuditSer
/**
* Start RM auditing.
*
* @param filePlan file plan
* @param filePlan
* file plan
*/
void startAuditLog(NodeRef filePlan);
/**
* Stop RM auditing.
*
* @param filePlan file plan
* @param filePlan
* file plan
*/
void stopAuditLog(NodeRef filePlan);
/**
* Clears the RM audit.
*
* @param filePlan file plan
* @param filePlan
* file plan
*/
void clearAuditLog(NodeRef filePlan);
/**
* Returns the date the RM audit was last started.
*
* @param filePlan file plan
* @param filePlan
* file plan
* @return Date the audit was last started
*/
Date getDateAuditLogLastStarted(NodeRef filePlan);
@@ -189,48 +220,40 @@ public interface RecordsManagementAuditService extends RecordsManagementAuditSer
Date getDateAuditLogLastStopped(NodeRef filePlan);
/**
* Retrieves a list of audit log entries using the provided parameters
* represented by the RecordsManagementAuditQueryParameters instance.
* Retrieves a list of audit log entries using the provided parameters represented by the RecordsManagementAuditQueryParameters instance.
* <p>
* The parameters are all optional so an empty RecordsManagementAuditQueryParameters
* object will result in ALL audit log entries for the RM system being
* returned. Setting the various parameters effectively filters the full
* audit trail.
* The parameters are all optional so an empty RecordsManagementAuditQueryParameters object will result in ALL audit log entries for the RM system being returned. Setting the various parameters effectively filters the full audit trail.
*
* @param params Parameters to use to retrieve audit trail (never <tt>null</tt>)
* @param format The format the report should be produced in
* @param params
* Parameters to use to retrieve audit trail (never <tt>null</tt>)
* @param format
* The format the report should be produced in
* @return File containing JSON representation of audit trail
*/
File getAuditTrailFile(RecordsManagementAuditQueryParameters params, ReportFormat format);
/**
* Retrieves a list of audit log entries using the provided parameters
* represented by the RecordsManagementAuditQueryParameters instance.
* Retrieves a list of audit log entries using the provided parameters represented by the RecordsManagementAuditQueryParameters instance.
* <p>
* The parameters are all optional so an empty RecordsManagementAuditQueryParameters
* object will result in ALL audit log entries for the RM system being
* returned. Setting the various parameters effectively filters the full
* audit trail.
* The parameters are all optional so an empty RecordsManagementAuditQueryParameters object will result in ALL audit log entries for the RM system being returned. Setting the various parameters effectively filters the full audit trail.
*
* @param params Parameters to use to retrieve audit trail (never <tt>null</tt>)
* @param params
* Parameters to use to retrieve audit trail (never <tt>null</tt>)
* @return All entries for the audit trail
*/
List<RecordsManagementAuditEntry> getAuditTrail(RecordsManagementAuditQueryParameters params);
/**
* Retrieves a list of audit log entries using the provided parameters
* represented by the RecordsManagementAuditQueryParameters instance and
* then files the resulting log as an undeclared record in the record folder
* represented by the given NodeRef.
* Retrieves a list of audit log entries using the provided parameters represented by the RecordsManagementAuditQueryParameters instance and then files the resulting log as an undeclared record in the record folder represented by the given NodeRef.
* <p>
* The parameters are all optional so an empty RecordsManagementAuditQueryParameters
* object will result in ALL audit log entries for the RM system being
* returned. Setting the various parameters effectively filters the full
* audit trail.
* The parameters are all optional so an empty RecordsManagementAuditQueryParameters object will result in ALL audit log entries for the RM system being returned. Setting the various parameters effectively filters the full audit trail.
*
* @param params Parameters to use to retrieve audit trail (never <tt>null</tt>)
* @param destination NodeRef representing a record folder in which to file the audit log
* @param format The format the report should be produced in
* @param params
* Parameters to use to retrieve audit trail (never <tt>null</tt>)
* @param destination
* NodeRef representing a record folder in which to file the audit log
* @param format
* The format the report should be produced in
* @return NodeRef of the undeclared record filed
*/
NodeRef fileAuditTrailAsRecord(RecordsManagementAuditQueryParameters params, NodeRef destination, ReportFormat format);

View File

@@ -27,14 +27,15 @@
package org.alfresco.module.org_alfresco_module_rm.audit;
import static org.apache.commons.lang3.StringEscapeUtils.escapeHtml4;
import static org.apache.commons.lang3.StringUtils.isBlank;
import static org.alfresco.model.ContentModel.PROP_AUTHORITY_DISPLAY_NAME;
import static org.alfresco.model.ContentModel.PROP_AUTHORITY_NAME;
import static org.alfresco.model.ContentModel.PROP_USERNAME;
import static org.alfresco.module.org_alfresco_module_rm.audit.event.UserGroupMembershipUtils.PARENT_GROUP;
import static org.alfresco.module.org_alfresco_module_rm.dod5015.DOD5015Model.TYPE_DOD_5015_SITE;
import static org.alfresco.module.org_alfresco_module_rm.model.rma.type.RmSiteType.DEFAULT_SITE_NAME;
import static org.apache.commons.lang3.StringEscapeUtils.escapeHtml4;
import static org.apache.commons.lang3.StringUtils.isBlank;
import java.io.BufferedWriter;
import java.io.File;
@@ -54,6 +55,18 @@ import java.util.Map;
import java.util.Set;
import jakarta.transaction.SystemException;
import org.apache.commons.lang3.time.DateUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.springframework.context.ApplicationEvent;
import org.springframework.extensions.surf.util.AbstractLifecycleBean;
import org.springframework.extensions.surf.util.I18NUtil;
import org.springframework.extensions.surf.util.ISO8601DateFormat;
import org.springframework.extensions.surf.util.ParameterCheck;
import org.alfresco.error.AlfrescoRuntimeException;
import org.alfresco.model.ContentModel;
import org.alfresco.module.org_alfresco_module_rm.action.RecordsManagementAction;
@@ -95,17 +108,6 @@ import org.alfresco.util.PropertyCheck;
import org.alfresco.util.PropertyMap;
import org.alfresco.util.TempFileProvider;
import org.alfresco.util.transaction.TransactionListenerAdapter;
import org.apache.commons.lang3.time.DateUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.springframework.context.ApplicationEvent;
import org.springframework.extensions.surf.util.AbstractLifecycleBean;
import org.springframework.extensions.surf.util.I18NUtil;
import org.springframework.extensions.surf.util.ISO8601DateFormat;
import org.springframework.extensions.surf.util.ParameterCheck;
/**
* Records Management Audit Service Implementation.
@@ -262,9 +264,13 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Set the site service (used to check the type of RM site created).
*
* @param siteService The site service.
* @param siteService
* The site service.
*/
public void setSiteService(SiteService siteService) { this.siteService = siteService; }
public void setSiteService(SiteService siteService)
{
this.siteService = siteService;
}
/**
* Sets the ContentService instance
@@ -299,7 +305,8 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
}
/**
* @param filePlanService file plan service
* @param filePlanService
* file plan service
*/
public void setFilePlanService(FilePlanService filePlanService)
{
@@ -307,7 +314,8 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
}
/**
* @param namespaceService namespace service
* @param namespaceService
* namespace service
*/
public void setNamespaceService(NamespaceService namespaceService)
{
@@ -315,14 +323,14 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
}
/**
* @param capabilityService capability service
* @param capabilityService
* capability service
*/
public void setCapabilityService(CapabilityService capabilityService)
{
this.capabilityService = capabilityService;
}
/**
* @param ignoredAuditProperties
*/
@@ -597,11 +605,16 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Create a new audit event for this transaction.
*
* @param nodeRef The node the audit message is about.
* @param eventName The event.
* @param before The before property map to use.
* @param after The after property map to use.
* @param removeIfNoPropertyChanged Whether to remove the event if no properties have changed.
* @param nodeRef
* The node the audit message is about.
* @param eventName
* The event.
* @param before
* The before property map to use.
* @param after
* The after property map to use.
* @param removeIfNoPropertyChanged
* Whether to remove the event if no properties have changed.
*/
private void createAuditEventInTransaction(NodeRef nodeRef, String eventName, Map<QName, Serializable> before,
Map<QName, Serializable> after, boolean removeIfNoPropertyChanged)
@@ -622,8 +635,10 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Find an audit node if it already exists for the transaction.
*
* @param nodeRef The node the event is against.
* @param eventName The name of the event.
* @param nodeRef
* The node the event is against.
* @param eventName
* The name of the event.
* @return The pre-existing event node, or null if none exists.
*/
private RMAuditNode findExistingEventNode(NodeRef nodeRef, String eventName)
@@ -703,8 +718,10 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Helper method to remove system properties from maps
*
* @param before properties before event
* @param after properties after event
* @param before
* properties before event
* @param after
* properties after event
*/
private void removeAuditProperties(Map<QName, Serializable> before, Map<QName, Serializable> after)
{
@@ -730,10 +747,7 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
{
private final Log logger = LogFactory.getLog(RecordsManagementAuditServiceImpl.class);
/*
* Equality and hashcode generation are left unimplemented; we expect to only have a single
* instance of this class per action.
*/
/* Equality and hashcode generation are left unimplemented; we expect to only have a single instance of this class per action. */
/**
* Get the action parameters from the transaction and audit them.
@@ -744,8 +758,7 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
final Set<RMAuditNode> auditedNodes = TransactionalResourceHelper.getSet(KEY_RM_AUDIT_NODE_RECORDS);
// Start a *new* read-write transaction to audit in
RetryingTransactionCallback<Void> auditCallback = new RetryingTransactionCallback<Void>()
{
RetryingTransactionCallback<Void> auditCallback = new RetryingTransactionCallback<Void>() {
@Override
public Void execute() throws Throwable
{
@@ -759,7 +772,8 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Do the actual auditing, assuming the presence of a viable transaction
*
* @param auditedNodes details of the nodes that were modified
* @param auditedNodes
* details of the nodes that were modified
*/
private void auditInTxn(Set<RMAuditNode> auditedNodes) throws SystemException
{
@@ -863,10 +877,14 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Get the audit trail, optionally dumping the results the the given writer dumping to a list.
*
* @param params the search parameters
* @param results the list to which individual results will be dumped
* @param writer Writer to write the audit trail
* @param reportFormat Format to write the audit trail in, ignored if writer is <code>null</code>
* @param params
* the search parameters
* @param results
* the list to which individual results will be dumped
* @param writer
* Writer to write the audit trail
* @param reportFormat
* Format to write the audit trail in, ignored if writer is <code>null</code>
*/
protected void getAuditTrailImpl(
final RecordsManagementAuditQueryParameters params,
@@ -964,11 +982,10 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
}
/**
* Calculates the start of the given date.
* For example, if you had the date time of 12 Aug 2013 12:10:15.158
* the result would be 12 Aug 2013 00:00:00.000.
* Calculates the start of the given date. For example, if you had the date time of 12 Aug 2013 12:10:15.158 the result would be 12 Aug 2013 00:00:00.000.
*
* @param date The date for which the start should be calculated.
* @param date
* The date for which the start should be calculated.
* @return Returns the start of the given date.
*/
protected Date getStartOfDay(Date date)
@@ -978,9 +995,11 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Gets the start of the from date
*
* @see org.alfresco.module.org_alfresco_module_rm.audit.RecordsManagementAuditServiceImpl#getStartOfDay(java.util.Date)
*
* @param date The date for which the start should be retrieved.
* @param date
* The date for which the start should be retrieved.
* @return Returns null if the given date is null, otherwise the start of the given day.
*/
private Date getFromDate(Date date)
@@ -991,7 +1010,8 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Returns the number of milliseconds for the "from date".
*
* @param date The date for which the number of milliseconds should retrieved.
* @param date
* The date for which the number of milliseconds should retrieved.
* @return Returns null if the given date is null, otherwise the number of milliseconds for the given date.
*/
private Long getFromDateTime(Date date)
@@ -1006,11 +1026,10 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
}
/**
* Calculates the end of the given date.
* For example, if you had the date time of 12 Aug 2013 12:10:15.158
* the result would be 12 Aug 2013 23:59:59.999.
* Calculates the end of the given date. For example, if you had the date time of 12 Aug 2013 12:10:15.158 the result would be 12 Aug 2013 23:59:59.999.
*
* @param date The date for which the end should be calculated.
* @param date
* The date for which the end should be calculated.
* @return Returns the end of the given date.
*/
private Date getEndOfDay(Date date)
@@ -1020,9 +1039,11 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Gets the end of the from date
*
* @see org.alfresco.module.org_alfresco_module_rm.audit.RecordsManagementAuditServiceImpl#getEndOfDay(java.util.Date)
*
* @param date The date for which the end should be retrieved.
* @param date
* The date for which the end should be retrieved.
* @return Returns null if the given date is null, otherwise the end of the given day.
*/
private Date getToDate(Date date)
@@ -1033,7 +1054,8 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Returns the number of milliseconds for the "to date".
*
* @param date The date for which the number of milliseconds should retrieved.
* @param date
* The date for which the number of milliseconds should retrieved.
* @return Returns null if the given date is null, otherwise the number of milliseconds for the given date.
*/
private Long getToDateTime(Date date)
@@ -1118,9 +1140,11 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Writes the start of the audit trail stream to the given writer
*
* @param writer The writer to write to
* @param writer
* The writer to write to
* @params params The parameters being used
* @param reportFormat The format to write the header in
* @param reportFormat
* The format to write the header in
* @throws IOException
*/
private void writeAuditTrailHeader(Writer writer,
@@ -1204,9 +1228,12 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Writes an audit trail entry to the given writer
*
* @param writer The writer to write to
* @param entry The entry to write
* @param reportFormat The format to write the header in
* @param writer
* The writer to write to
* @param entry
* The entry to write
* @param reportFormat
* The format to write the header in
* @throws IOException
*/
@SuppressWarnings({"rawtypes", "unchecked"})
@@ -1228,9 +1255,7 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
writer.write("</span>");
writer.write("<span class=\"label\">User:</span>");
writer.write("<span class=\"value\">");
writer.write(entry.getFullName() != null ?
escapeHtml4(entry.getFullName()) :
escapeHtml4(entry.getUserName()));
writer.write(entry.getFullName() != null ? escapeHtml4(entry.getFullName()) : escapeHtml4(entry.getUserName()));
writer.write("</span>");
if (entry.getUserRole() != null && entry.getUserRole().length() > 0)
{
@@ -1396,9 +1421,12 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Update a JSON object with a node name for an audit event.
*
* @param entry The audit event.
* @param json The object to update.
* @throws JSONException If there is a problem updating the JSON.
* @param entry
* The audit event.
* @param json
* The object to update.
* @throws JSONException
* If there is a problem updating the JSON.
*/
private void setNodeName(RecordsManagementAuditEntry entry, JSONObject json) throws JSONException
{
@@ -1461,8 +1489,10 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Get a node name using the first non-blank value from a properties object using a list of property names.
*
* @param properties The properties object.
* @param propertyNames The names of the properties to use. Return the first value that is not empty.
* @param properties
* The properties object.
* @param propertyNames
* The names of the properties to use. Return the first value that is not empty.
* @return The value of the property, or null if it's not there.
*/
private String getNodeName(Map<QName, Serializable> properties, QName... propertyNames)
@@ -1481,7 +1511,8 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Helper method to convert value to MLText
*
* @param map map of locale's and values
* @param map
* map of locale's and values
* @return {@link MLText} multilingual text value
*/
private MLText convertToMlText(Map<Locale, String> map)
@@ -1494,8 +1525,10 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Writes the end of the audit trail stream to the given writer
*
* @param writer The writer to write to
* @param reportFormat The format to write the footer in
* @param writer
* The writer to write to
* @param reportFormat
* The format to write the footer in
* @throws IOException
*/
private void writeAuditTrailFooter(Writer writer, ReportFormat reportFormat) throws IOException
@@ -1520,7 +1553,8 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Returns the display label for a property QName
*
* @param property The property to get label for
* @param property
* The property to get label for
* @return The label
*/
private String getPropertyLabel(QName property)
@@ -1544,7 +1578,8 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Returns the display label for the given audit event key
*
* @param eventKey The audit event key
* @param eventKey
* The audit event key
* @return The display label or null if the key does not exist
*/
private String getAuditEventLabel(String eventKey)
@@ -1704,6 +1739,7 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* {@inheritDoc}
*
* @since 3.2
* @deprecated since 2.1
*/
@@ -1732,7 +1768,6 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
firstEntry = true;
}
@Override
public boolean valuesRequired()
{
@@ -1764,7 +1799,6 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
return false;
}
Date timestamp = new Date(time);
String eventName = null;
String fullName = null;
@@ -1864,7 +1898,8 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
{
if ((filePlanService.isFilePlanComponent(nodeRef) &&
!AccessStatus.ALLOWED.equals(
capabilityService.getCapabilityAccessState(nodeRef, ACCESS_AUDIT_CAPABILITY))) ||
capabilityService.getCapabilityAccessState(nodeRef, ACCESS_AUDIT_CAPABILITY)))
||
(!AccessStatus.ALLOWED.equals(permissionService.hasPermission(nodeRef, PermissionService.READ))))
{
return true;
@@ -1913,7 +1948,9 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Helper method to check permission on the hold, if any, from the given event properties
* @param eventProperties event properties
*
* @param eventProperties
* event properties
*/
private void checkPermissionIfHoldInProperties(Map<QName, Serializable> eventProperties)
{
@@ -1930,7 +1967,9 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Helper method to remove the hold node ref, if any, from the given event properties
* @param eventProperties event properties
*
* @param eventProperties
* event properties
*/
private void removeHoldNodeRefIfPresent(Map<QName, Serializable> eventProperties)
{
@@ -1942,7 +1981,9 @@ public class RecordsManagementAuditServiceImpl extends AbstractLifecycleBean
/**
* Helper method to write the audit entry to file
* @param entry audit entry
*
* @param entry
* audit entry
*/
private void writeEntryToFile(RecordsManagementAuditEntry entry)
{

View File

@@ -58,7 +58,8 @@ public class AddToHoldAuditEvent extends AuditEvent implements HoldServicePolici
/**
* Sets the node service
*
* @param nodeService nodeService to set
* @param nodeService
* nodeService to set
*/
public void setNodeService(NodeService nodeService)
{
@@ -69,12 +70,10 @@ public class AddToHoldAuditEvent extends AuditEvent implements HoldServicePolici
* @see org.alfresco.module.org_alfresco_module_rm.hold.HoldServicePolicies.OnAddToHoldPolicy#onAddToHold(org.alfresco.service.cmr.repository.NodeRef, org.alfresco.service.cmr.repository.NodeRef)
*/
@Override
@Behaviour
(
@Behaviour(
kind = BehaviourKind.CLASS,
type = "rma:hold",
notificationFrequency = EVERY_EVENT
)
notificationFrequency = EVERY_EVENT)
public void onAddToHold(NodeRef holdNodeRef, NodeRef contentNodeRef)
{
Map<QName, Serializable> auditProperties = HoldUtils.makePropertiesMap(holdNodeRef, nodeService);

View File

@@ -56,7 +56,8 @@ public class AddToUserGroupAuditEvent extends AuditEvent implements OnCreateChil
/**
* Sets the node service
*
* @param nodeService nodeService to set
* @param nodeService
* nodeService to set
*/
public void setNodeService(NodeService nodeService)
{

View File

@@ -27,12 +27,13 @@
package org.alfresco.module.org_alfresco_module_rm.audit.event;
import org.apache.commons.lang3.StringUtils;
import org.springframework.extensions.surf.util.I18NUtil;
import org.alfresco.api.AlfrescoPublicApi;
import org.alfresco.module.org_alfresco_module_rm.audit.RecordsManagementAuditService;
import org.alfresco.module.org_alfresco_module_rm.model.RecordsManagementModel;
import org.alfresco.util.ParameterCheck;
import org.apache.commons.lang3.StringUtils;
import org.springframework.extensions.surf.util.I18NUtil;
/**
* Class to represent an audit event
@@ -54,7 +55,8 @@ public class AuditEvent implements RecordsManagementModel, Comparable<AuditEvent
protected RecordsManagementAuditService recordsManagementAuditService;
/**
* @param recordsManagementAuditService records management audit service
* @param recordsManagementAuditService
* records management audit service
*/
public void setRecordsManagementAuditService(RecordsManagementAuditService recordsManagementAuditService)
{
@@ -83,8 +85,10 @@ public class AuditEvent implements RecordsManagementModel, Comparable<AuditEvent
/**
* Default constructor.
*
* @param name audit event name
* @param label audit event label (can be actual label or I18N lookup key)
* @param name
* audit event name
* @param label
* audit event label (can be actual label or I18N lookup key)
*/
public AuditEvent(String name, String label)
{
@@ -104,7 +108,8 @@ public class AuditEvent implements RecordsManagementModel, Comparable<AuditEvent
}
/**
* @param name audit event name
* @param name
* audit event name
*/
public void setName(String name)
{
@@ -125,7 +130,8 @@ public class AuditEvent implements RecordsManagementModel, Comparable<AuditEvent
}
/**
* @param label audit event label
* @param label
* audit event label
*/
public void setLabel(String label)
{
@@ -135,7 +141,8 @@ public class AuditEvent implements RecordsManagementModel, Comparable<AuditEvent
/**
* Compare by label.
*
* @param compare compare to audit event
* @param compare
* compare to audit event
* @return int
*/
@Override

Some files were not shown because too many files have changed in this diff Show More