Commit Graph

2098 Commits

Author SHA1 Message Date
Alexandru Balan
f0758989f4 RM-2271 - added the job lock refresh mechanism so that for long running jobs that exceed the locks TTL the lock will be refreshed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2@109406 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-03 09:27:17 +00:00
Alexandru Balan
8a3717bef4 RM-2391 - Added capability checking to the AuditLog Get REST API. Added a unit test. Minor changes on the Share side to forward the forbidden status.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2@109401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-03 08:43:40 +00:00
Tuna Aksoy
355f17d2b3 RM-2433 (Extend REST API for content reclassification)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109307 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-31 15:30:43 +00:00
Tom Page
50bbb2b4ff RM-2470 Remove unnecessary cast (code review fix).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109203 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-30 10:21:10 +00:00
Tuna Aksoy
1049d16238 RM-2448 (Extend classified document properties view)
RM-2449 (Extend classified record properties view)

+review RM-137

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109185 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-29 21:42:31 +00:00
Tuna Aksoy
63e0466482 RM-2402 (Extend classification REST API)
+review RM-143

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109184 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-29 20:11:28 +00:00
Tom Page
9edd378291 RM-2470 Change security clearance sorting to be by full name.
Enable sorting by multiple fields and configure the security clearance page
to use first name, last name and then fall back to user name as a tie
breaker.

The rm-automation test fails for me locally, as the person search is case
sensitive. I'm pushing this anyway because Bamboo didn't protest at the
old sorting method (which also failed locally due to case sensitivity).

Remove "final" from UserQueryParams so it can be mocked.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109169 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-29 15:16:25 +00:00
Tuna Aksoy
10495abb88 Temporary fix for the failing UI tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109158 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-29 13:35:05 +00:00
Tuna Aksoy
d895833b56 RM-2448 (Extend classified document properties view)
RM-2449 (Extend classified record properties view)

+review RM-137

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109139 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-29 10:25:32 +00:00
Tuna Aksoy
a08ea6908a RM-2402 (Extend classification REST API)
+review RM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109137 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-29 10:23:26 +00:00
Roy Wetherall
24b6655eeb Data destruction and cleansing
* added content destruction component which ensures all records and classified content are immediately destroyed and optionally cleansed
 * extension to eager content cleaner to allow cleansing to take place just before the content is deleted from the content store
 * base content cleanser
 * simple implementation of DoD 5220-22M cleansing algoritm
 * data cleansing enabled global configuration
 * data cleansing bean configuration
 * unit tests
 * see RM-2463 and RM-2464

+review RM 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109121 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-29 01:26:49 +00:00
Tuna Aksoy
8c441c8835 Fixed typo
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109021 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-27 12:43:31 +00:00
Tom Page
d8da135d63 RM-2401, RM-2400, RM-2409 Store classification schedule properties.
Update Java API to store the classification schedule properties.

Fix the classification aspect behaviour to check newly classified
documents.

Add an application context test that the downgrade instructions are
mandatory when the downgrade date is set.

+review RM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109015 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-27 10:27:16 +00:00
Tom Page
6d4df8571c Fix a couple of unrelated minor code review comments.
Fix copy/paste error to change "document" to "record".

Remove TODO from classifiedContentModel.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109004 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-27 08:52:25 +00:00
Neil McErlean
7322da8f66 Addressing review comments from RM-132. Original issues were RM-2431 and RM-2432.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108993 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-25 07:24:34 +00:00
Tuna Aksoy
33b6dd5c9e RM-2421 (Add PUT method to classify content REST API)
+review RM-135

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108946 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-24 13:55:07 +00:00
Tom Page
49de2937c9 RM-2400 Add policy for classification schedule properties.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108941 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-24 13:19:09 +00:00
Tom Page
b1d88d737c RM-2401 Pass classification schedule fields when classifying content.
Create a new data transfer object and add all the classification fields to
it. Update everywhere we're classifying content with the API to use the
data transfer object.  Also update the new edit classification API.

Break the classifyContent implementation into several smaller methods and
update unit tests to target these methods.

Don't actually use new fields in this commit, as there was plenty in this
commit as it was!

+review RM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108928 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-24 09:36:52 +00:00
Tuna Aksoy
39aa063654 Fixed failing integration tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108913 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-23 22:07:23 +00:00
Tuna Aksoy
4376c2a152 Fixed version number in some java and js files
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108912 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-23 21:38:31 +00:00
Tuna Aksoy
992a3be30e RM-2421 (Add PUT method to classify content REST API)
+review RM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108911 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-23 21:15:31 +00:00
Tuna Aksoy
c6f5d7d718 RM-2420 (Add edit classification to ClassifyService Java API)
+review RM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108910 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-23 21:14:25 +00:00
Tuna Aksoy
671fbfcaa1 RM-2422 (Reuse existing classify file dialog for edit classification)
+review RM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108909 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-23 21:13:05 +00:00
Neil McErlean
ebc34f9209 Work that's part of RM-2431 and RM-2432.
Added to the classified-content-model - various properties as described in RM-2431 along with a constraint on Reclassification Action.
Addition to the ClassificationSchemeService of methods and types associated with Reclassification. (Upgrade, Downgrade, Declassify). See RM-2432.
Behaviour bean that will automatically set lastReclassificationAction and lastReclassifyBy in response to any change to currentClassificationLevel.
Also some util methods in RMCollections.
Fixed some spelling mistakes in classification-related properties.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108878 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-23 16:13:43 +00:00
Tom Page
9d5fb95ced RM-2400 Add new properties to ClassifiedContentModel.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108860 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-23 13:06:49 +00:00
Tom Page
3b159f2ba9 RM-2400 Add classification schedule properties to model.
Refactor constraints, and create new constraints for exemption categories
and classification reasons.

+review RM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108859 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-23 13:06:48 +00:00
Tuna Aksoy
aff3da54ef RM-2129 (Check classification before method execution)
* Renamed ClassificationEnformentException to AccessDeniedException

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108657 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-21 12:49:06 +00:00
Tuna Aksoy
3ea9843ac3 RM-2129 (Check classification before method execution)
* Code tidy up

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108640 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-21 10:55:57 +00:00
Tuna Aksoy
353afe04a8 Enabled test for checking properties for a classified node
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108631 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-21 09:54:30 +00:00
Roy Wetherall
9a9560fa6c Fixes to classification enforcement:
* only process services that start with an upper case character.  We were being over zealous in our checking which was causing problems, we only care about public services.
 * add enable/disable/isenabled methods to pre-processor
 * switch off pre-processing when post-processing
 * remove method black list
 * unit tests, integration tests and UI tests run locally

+review RM @taksoy



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108613 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-21 05:30:53 +00:00
Tuna Aksoy
8d16bbf699 RM-2129 (Check classification before method execution)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108598 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-20 14:38:12 +00:00
Roy Wetherall
f5dffd5c24 RM-2144, RM-2143, RM-2360: UI automation of classified document search
* page objects for advanced search and search results
 * inclusion of AlfrescoTest annotation from common benchmark project
 * automation of classified content search
 * used dataPrep style tear up and down to avoid data setup dependencies

+review RM @tpage @taskoy
 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108553 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-20 08:10:44 +00:00
Tuna Aksoy
700ac87fb0 RM-2466 (Show the correct number of existing pages and make them available for navigation in the Security Clearance page)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108542 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-19 19:57:43 +00:00
Tom Page
703fcbef77 RM-2466 Pass through total results count as if nothing is filtered.
Change PagingResultsPostMethodInvocationProcessor to always return the
total results count as if nothing is filtered. This should fix the case
where nothing is filtered, and is a concession to the fact that we cannot
know how many total results there will be from a single page. We will fix
this later by filtering the results before we get to this processor, but
the processor is a good backup filter.

Change the rm-automation tests not to use the pagination details at the
bottom of the browse list pages, as these will often now be incorrect.

In making this change I also looked at using the getTotalResultCount()
interface with a range as the interface supports returning a minimum and
maximum on the total number of results. This would be very useful here,
as it should allow us to say that we don't know how many results there
will be.  However most of the webscripts don't support a range, and so
this leads to some odd results in Share (e.g. 'Showing results 1 to 50
of -1').

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108482 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-17 09:01:00 +00:00
Tuna Aksoy
1121127ed2 RM-2466 (Show the correct number of existing pages and make them available for navigation in the Security Clearance page)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108366 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-15 16:25:24 +00:00
Neil McErlean
d5f4ecaa35 Added missing testcase, part of RM-2343. Test ensures that whitespace-only values for 'classified by' result in a 4xx HTTP response.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108248 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-14 11:43:10 +00:00
Neil McErlean
71565ff47a Part of RM-2343. Ensure that blank or whitespace-only values for the 'Classified By' field are not accepted.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108246 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-14 11:13:06 +00:00
Michael Suzuki
345cb84a77 Updated to use dataprep 1.4, now able to declare user first and last name
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108183 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-13 14:41:49 +00:00
Roy Wetherall
d7b132705b RM UI Automation:
* tighter integration with data prep project
 * RecordsManagement service .. will be moved to data prep project asap
 * remove unwanted artifacts relating to replaced code



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108159 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-13 09:22:48 +00:00
Tuna Aksoy
2b12d7809b rm-automation has been removed from the list of modules in the parent pom
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108152 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-11 21:59:34 +00:00
Tuna Aksoy
f83f2fa108 rm-automation has been added to the list of modules in the parent pom
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108151 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-11 21:05:24 +00:00
Tuna Aksoy
0e34fa64d4 Fixed failing automated UI tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108149 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-11 15:56:28 +00:00
Tuna Aksoy
eff31898f5 Removed warnings
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108134 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-10 17:10:06 +00:00
Tuna Aksoy
6a8eeda795 RM-2388 (User without any clearance should not see the classify action)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108131 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-10 15:50:55 +00:00
Michael Suzuki
d011b7ec0a Wire in dataprep project, a service that helps prepares test data using API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108124 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-10 14:35:36 +00:00
Roy Wetherall
b3a707b8ab RM UI Automation Improvements:
* multiple reliability fixes
 * added REST API client
 * users now created via REST API not via UI

+review RM @tpage



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-09 01:20:20 +00:00
Michael Suzuki
3082480aba fix runtime issue with selenium-grid and updated context to reference it correctly
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107814 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-07 16:11:00 +00:00
Michael Suzuki
fb0f63d8a3 Remove webdrone dependency and replace with selenium-grid, which is Alfresco's webdriver factory
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107805 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-07 14:15:23 +00:00
Tuna Aksoy
d35a700360 RM-2129 (Check classification before method execution)
* Preventing access to information without appropriate security clearance

+review RM-117

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107738 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-06 15:24:26 +00:00
Tuna Aksoy
4e54de394d Temporary fix for the failing integration test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107700 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-06 09:59:49 +00:00