Commit Graph

10130 Commits

Author SHA1 Message Date
Erik Knizat
eda2ac2b6f REPO-2852 Heartbeat: Add junit tests for the new service and collectors
* Code review changes - added throws Exception to method signatures
2017-09-15 13:45:30 +01:00
Erik Knizat
d268b29c97 Merge branch 'feature/REPO-2626_HB2.0' of https://github.com/Alfresco/alfresco-repository into feature/REPO-2626_HB2.0 2017-09-14 15:34:30 +01:00
Erik Knizat
cf4f02b19c REPO-2852 Heartbeat: Add junit tests for the new service and collectors
*Add test to AllRepositoryTestsCatalogue
2017-09-14 15:31:45 +01:00
alfresco-build
1ec8a00a72 [maven-release-plugin] prepare for next development iteration 2017-09-14 09:53:23 +00:00
alfresco-build
08fb7f53d2 [maven-release-plugin] prepare release alfresco-repository-HB20-1 2017-09-14 09:53:18 +00:00
Ancuta Morarasu
7814bf18f6 Merge branch 'develop' into feature/REPO-2626_HB2.0 2017-09-14 10:41:43 +03:00
Matt Ward
5826673b67 Merge pull request #15 from Alfresco/fix/REPO-2705_createDocVersNone
Fix/repo 2705 create doc vers none
2017-09-13 17:34:25 +01:00
Erik Knizat
a51b5f10a1 REPO-2852 Heartbeat: Add junit tests for the new service and collectors
* Add unit tests for RepositoryDataCollector
2017-09-13 17:19:16 +01:00
Erik Knizat
02a5b1b2fc Refactor code
* Split heartbeat-context into 2
* Move new heartbeat-repo-collector-context out of application-context-core
2017-09-13 17:08:30 +01:00
Erik Knizat
c6c6b972d5 Merge remote-tracking branch 'origin/feature/REPO-2626_HB2.0' into feature/REPO-2626_HB2.0 2017-09-13 10:51:00 +01:00
Erik Knizat
5ebca10fa1 Format code 2017-09-12 19:07:53 +01:00
Erik Knizat
c763a85b96 REPO-2852 Heartbeat: Add junit tests for the new service and collectors
* Add unit tests for HeartBeat, HBDataCollectorService
2017-09-12 19:04:29 +01:00
Erik Knizat
789d216fd2 REPO-2850 Heartbeat: Add support for turning the data collection on/off based on the heartbeat.enabled global property
* Move the enabled state from HBDataCollectorServiceImpl to HearBeat class as it is only modified there.
2017-09-12 18:56:54 +01:00
Ancuta Morarasu
dc66151ec0 REPO-2626: [Heartbeat] Set alfresco-hearbeat-data-sender version to 1.0.0. 2017-09-12 17:26:00 +03:00
Alex Mukha
7b24ed66b6 REPO-2183 Update data-model to 6.18 2017-09-12 11:09:29 +01:00
Ancuta Morarasu
a1dfc6fafe REPO-2626 / REPO-2878: Cleanup after merge from /repo - feature/REPO-2614_send_legacy_hb_data 2017-09-12 02:16:43 +03:00
Ancuta Morarasu
6d4510043d REPO-2625 / REPO-2626: Use of the heartbeat data sender. 2017-09-12 02:03:04 +03:00
Ancuta Morarasu
ccaeda45dc REPO-2625 / REPO-2854: Update HBDataSenderService definition 2017-09-12 02:01:40 +03:00
Erik Knizat
70a9a2dae3 REPO-2853: Clean up
* Fix formatting
* Add javadoc
* Remove unused imports
* Remove unused Heartbeat.isEnabled()
2017-09-12 01:57:17 +03:00
Ancuta Morarasu
c18d4cb4e6 (Erik Knizat) REPO-2853 Heartbeat: Move the Heartbeat class to Community and cleanup legacy code
* Delete unused heartbeatpublic.keystore
* Rename CommunityHBDataCollector.java to RepositoryDataCollector.java as per code review
* Removed licence related data from RepositoryDataCollector.java
* Remove unused commented out methods
* Synchronise accessors for hb enabled flag
2017-09-12 01:55:56 +03:00
Erik Knizat
fc05980f98 REPO-2850 Heartbeat: Add support for turning the data collection on/off based on the heartbeat.enabled global property
* Add support for enabled property
* Add support for hearbeat target url propery
2017-09-12 01:48:52 +03:00
Ancuta Morarasu
58f272d01b REPO-2625 / REPO-2626: Use of the heartbeat data sender 2017-09-12 01:46:53 +03:00
Ancuta Morarasu
ca14f06392 (Erik Knizat) REPO-2853 Move the Heartbeat class to Community and cleanup legacy code
* Move HeartBeat bean definitions to new hearbeat-context.xml
* Removed bean definition for the EnterpriseHBDataCollector.java
* Refactored code based on code review
* Added real data collection to CommunityHBDataCollector.java
2017-09-12 01:37:22 +03:00
Ancuta Morarasu
37464d825c (Erik Knizat) REPO-2853 Move the Heartbeat class to Community and cleanup legacy code
* Moved HeartBeat to community and refactored
* Configured HBDataCollectorService with dummy data collectors in bootstrap-context but this configuration might be moved elsewhere.
2017-09-12 01:30:19 +03:00
Ancuta Morarasu
0ec01992ec REPO-2626: Heartbeat: Add data collection to Community code
- Initial (bare) implementation of the new Data Collectors
    - The corresponding spring beans were NOT added.
2017-09-12 00:45:08 +03:00
Ancuta Morarasu
28366861fc REPO-2705 / MNT-17961: Cannot create new Alfresco NON-versioned document with CMIS API Calls - test 2017-09-12 00:26:57 +03:00
alandavis
d1216de8d4 Fix/mnt 18404 image magick fails on windows (#14)
REMO-18404 Environment not being set for ImageMagick

The environment required by ImageMagick was not being set. Even though the environment shown by  log4j.logger.org.alfresco.util.exec.RuntimeExec=trace indicated that the required variables already existed in the current environment, that does not mean they are passed on to the sub process. In this case they were not being passed on and they were not being set as additional variables required by the sub process.

The bug was introduced when Alfresco PDF renderer was added (REPO-2054) to ACS 5.2.1 and ACS 5.2.g. The context file for ImageMagic (imagemagick-transform-context.xml) was used as the basis for Alfresco PDF renderer's context file. Unfortunately the names of the spring beans that provided the Windows and Unix environment variable values were not changed. As a result, ImageMagick was being provided with Alfresco PDF renderer's environment variables.

The Alfresco global property img.gslib and environment variable $GS_LIB set using it, are now redundant following the REPO-2054 work so have been removed in this commit.

When testing this issue we should test ImageMagick and Alfresco PDF renderer on both Windows and Unix (Linux). I have not dug into why ImageMagick and Alfresco PDF renderer are working on Linux. I'm guessing that the current environment is being passed on unlike Windows.
2017-09-11 09:09:33 +01:00
Cristian Turlica
3c98f67e1a REPO-2705: Service Pack: MNT-17961: Cannot create new Alfresco NON-versioned document with CMIS API Calls
- added possibility to create cmis document with VersioningState.NONE
2017-09-08 15:51:43 +03:00
Andrei Rebegea
58f29fb7a9 Merge pull request #12 from Alfresco/feature/REPO-2872_fix_encoding_test_windows
REPO-2872: fix HtmlParserContentTransformerTest.testEncodingHandling
2017-09-06 11:32:36 +03:00
Andrei Rebegea
41eba5bac8 REPO-2872: fix HtmlParserContentTransformerTest.testEncodingHandling() test failing when run locally on systems other than Linux 2017-09-05 14:48:21 +03:00
Alex Mukha
6c26de3e33 REPO-2830 Remove RMI passwords file 2017-09-04 16:04:28 +01:00
Alex Mukha
f71e789c26 REPO-2830 Remove RMI passwords file 2017-09-04 15:35:00 +01:00
Alexandru-Eusebiu Epure
4cbacecada REPO-2819 : DELETE /shared-links/{id} with admin returns 403 (#9)
* REPO-2819 : DELETE /shared-links/{id} with admin returns 403
   Add an extra check to QuickShareServiceImpl.canDeleteSharedLink, because the admin user can return the SiteName of a nodeRef (even if it's private).
      Add a JUnit test into QuickShareServiceIntegrationTest
         Add a comment to the test - no actual shared Link is needed for this test.

* REPO-2520 : SiteMembership Java API calls should tell which site resulted in errors
   Add the test class into the test suite (was not previously added).
2017-08-30 10:26:07 +03:00
Alex Mukha
af2e069b2e Merge branch 'fix/REPO-2365-GET-/shared-links-returns-403' into 'develop'
REPO-2365 :

See merge request !19
2017-08-23 12:27:15 +01:00
Alex Mukha
00f9c3618b Update legacy-lucene version to 6.2 2017-08-22 11:32:17 +01:00
Andrei Rebegea
728bc47377 Feature/repo 2793 efficient ts (#7)
* REPO-2793: refactoring the tests in the test suites so we can get more efficient and balanced Test Suites

* REPO-2793: cleanup and renames

* REPO-2793: fix the Virtual Folder tests that was failing on bamboo

* REPO-2793: fix some rendition tests on the build by running them earlier

* REPO-2793: fix the test testAR1303. It needed some cleanup
2017-08-22 13:05:27 +03:00
Alex Mukha
91fa88dad3 SEARCH-506: Updating to data-model 6.17 2017-08-22 00:20:05 +01:00
Alex Mukha
d4c6d93c5d Create LICENSE 2017-08-17 13:35:59 +01:00
Alex Mukha
84719f0691 REPO-2756 Add readme and contributing guide 2017-08-17 13:14:14 +01:00
Andrei Rebegea
7cdc5a16c6 Merge pull request #6 from Alfresco/feature/REPO-1995_improve_test_split
Feature/repo 1995 improve test split
2017-08-10 18:25:44 +03:00
Andrei Rebegea
4ec280ce62 REPO-1995: remove duplicate tests 2017-08-09 11:18:37 +03:00
Andrei Rebegea
bdd9bb29bb REPO-19954: adding the missing test FTPServerTest 2017-08-09 10:27:00 +03:00
Andrei Rebegea
b041d4128d REPO-1995: disable the test testConcurrentArchive until REPO-2783 is done 2017-08-08 12:08:50 +03:00
Andrei Rebegea
37681212e3 Merge branch 'feature/REPO-1995_improve_test_split' of https://github.com/Alfresco/alfresco-repository into feature/REPO-1995_improve_test_split 2017-08-07 19:54:42 +03:00
Andrei Rebegea
0f17b27a95 REPO-2774: add the correct ApplicationContextHelper.getApplicationContext method call for getting the context in the setUp method 2017-08-07 19:54:19 +03:00
Alan Davis
de6c0d218c Merge branch 'feature/REPO-1995_improve_test_split' of github.com:Alfresco/alfresco-repository into feature/REPO-1995_improve_test_split 2017-08-07 17:22:16 +01:00
Alan Davis
68b3d482b0 REPO-1995 TransformerDebugTest
There was a leading date on the log message and the code to zero out the trans ref did not know that.
2017-08-07 17:21:58 +01:00
Andrei Rebegea
5e635d95bc Merge branch 'feature/REPO-1995_improve_test_split' of https://github.com/Alfresco/alfresco-repository into feature/REPO-1995_improve_test_split 2017-08-07 18:06:34 +03:00
Andrei Rebegea
7127fffd0a REPO-2774: rebalance the tests in the AppContextExtra 2 and 3 2017-08-07 18:05:51 +03:00
Alan Davis
049526f4d1 REPO-1995 TransformerDebugTest appears to be failing because there are CRLF
even though the build agents are Linux.
2017-08-07 15:51:41 +01:00