Commit Graph

554 Commits

Author SHA1 Message Date
David Edwards
0e9bf13157 Merge branch 'ATS-675_aio_transformer' into ATS-702_ATS-675_Add-AIO-Tests 2020-04-08 11:28:31 +01:00
David Edwards
9909436f29 Revert "Revert "Revert "ATS-702/ATS-675 Change exception thrown by tranformers to TransformException"""
This reverts commit 3245dcc151.
2020-04-08 11:27:55 +01:00
David Edwards
b656d3bfb8 Revert "Revert "Revert "ATS-702 Remove incorrect error handling"""
This reverts commit f5bacf92af.
2020-04-08 11:27:47 +01:00
David Edwards
8295c71cd4 ATS-702 remove unused imports 2020-04-08 10:56:02 +01:00
David Edwards
994dff9a07 Fix typo 2020-04-08 10:55:13 +01:00
David Edwards
a6e25d7020 Merge branch 'ATS-702_ATS-675_Add-AIO-Tests' of github.com:Alfresco/alfresco-transform-core into ATS-702_ATS-675_Add-AIO-Tests 2020-04-08 10:53:05 +01:00
David Edwards
db1771fbfd ATS-702 remove commons-io 2020-04-08 10:53:01 +01:00
Erik Knizat
1130a27361 Add missing test files 2020-04-08 10:50:39 +01:00
Erik Knizat
c436ff2872 Reenable libreoffice 2020-04-08 10:44:33 +01:00
eknizat
b053da22c1 Refactor classes for simpler design (#210)
* refactor classes
2020-04-08 10:26:45 +01:00
David Edwards
12ad15269d ATS-702 remove unneccessary imports 2020-04-08 10:08:47 +01:00
David Edwards
98d77b5ad1 AST-702 remove accidental commit 2020-04-08 10:04:58 +01:00
David Edwards
c85c38baf9 ATS-702 fix comments 2020-04-08 10:03:34 +01:00
David Edwards
efa1f96daf ATS-702 fix header 2020-04-08 10:02:20 +01:00
David Edwards
c722166803 ATS-675/ATS-702 Load resources from jar
Added Junit temporary folder to AbstractControllerTest in order to stream the files out of the jar and maintain the functionality of  getTestFile().
2020-04-08 09:44:45 +01:00
David Edwards
f5bacf92af Revert "Revert "ATS-702 Remove incorrect error handling""
This reverts commit dcb32eb73f.
2020-04-08 09:44:30 +01:00
David Edwards
3245dcc151 Revert "Revert "ATS-702/ATS-675 Change exception thrown by tranformers to TransformException""
This reverts commit ab0ab14956.
2020-04-08 09:41:10 +01:00
David Edwards
8ab62d01e8 ATS-675 Update header 2020-04-07 21:43:21 +01:00
David Edwards
6cfbe15850 Merge branch 'ATS-675_aio_transformer' into ATS-702_ATS-675_Add-AIO-Tests 2020-04-07 20:26:29 +01:00
David Edwards
ab0ab14956 Revert "ATS-702/ATS-675 Change exception thrown by tranformers to TransformException"
This reverts commit 401fe68a57.
2020-04-07 20:23:44 +01:00
David Edwards
dcb32eb73f Revert "ATS-702 Remove incorrect error handling"
This reverts commit e551647327.
2020-04-07 20:23:33 +01:00
David Edwards
e551647327 ATS-702 Remove incorrect error handling 2020-04-07 20:16:13 +01:00
David Edwards
d7b8d0500d ATS-702 Remove unused imports 2020-04-07 20:12:12 +01:00
David Edwards
55271020f0 ATS-675 - Move static strings to util class 2020-04-07 20:08:37 +01:00
David Edwards
981cb745eb Revert "Revert "Remove test files""
This reverts commit 1ff531f8a8.
2020-04-07 19:46:00 +01:00
Erik Knizat
97542740ce Resolve some review comments 2020-04-07 19:23:02 +01:00
David Edwards
1122d5bd80 ATS-702/ATS-675 override deprecatedCommandOptionsTest 2020-04-07 17:08:41 +01:00
David Edwards
401fe68a57 ATS-702/ATS-675 Change exception thrown by tranformers to TransformException
Due to the previous error handling, an incorrect status code of 200 was being produced following an error that should have caused a 400.
2020-04-07 17:08:09 +01:00
David Edwards
b39f8815a3 ATS-702/ATS675 Fix config tests
These config tests are not designed to work in the way config is now produced, by aggregating config files.
2020-04-07 16:41:19 +01:00
David Edwards
47504c6dba ATS-702 Remove unneccessary import 2020-04-07 16:40:12 +01:00
David Edwards
461145ef43 ATS-702 fix broken config 2020-04-07 16:39:48 +01:00
David Edwards
1ff531f8a8 Revert "Remove test files"
This reverts commit 356f6ec0e3.
2020-04-07 16:20:14 +01:00
David Edwards
356f6ec0e3 Remove test files 2020-04-07 16:17:50 +01:00
David Edwards
bdd3e5ceb5 Merge branch 'ATS-675_aio_transformer' into ATS-702_ATS-675_Add-AIO-Tests 2020-04-07 15:22:57 +01:00
David Edwards
afa4d9e266 ATS-702 Update tests, undo renaming 2020-04-07 15:21:40 +01:00
David Edwards
5c9d16fe01 Create imagemagick_engine_config.json 2020-04-07 15:11:20 +01:00
eknizat
efb9801535 Fix travis tests (#205)
* Fix engine specific properties for engine config location
* Temporarily add engine configs to test resources for the boot modules.  Will need to fix this properly
2020-04-07 11:04:05 +01:00
David Edwards
78f157056e Revert "ATS-702 Failing tests Temporary Workaround Must REVERT!!"
This reverts commit f63fa299d7.
2020-04-07 09:57:22 +01:00
David Edwards
6f12259157 Merge branch 'ATS-675_aio_transformer' into ATS-702_ATS-675_Add-AIO-Tests 2020-04-07 09:57:02 +01:00
David Edwards
f63fa299d7 ATS-702 Failing tests Temporary Workaround Must REVERT!!
Amended the build script to only test AIOcontroller
2020-04-07 09:41:07 +01:00
Erik Knizat
886807c253 Fix up controller 2020-04-07 09:39:49 +01:00
David Edwards
cbcc203e89 ATS-702 Test implementation Imagemagick+HttpRequest
Added implementation for the above for the AIO controller.
Added a separate for imagemagick that includes all tests from the original ImageMagickControllerTest.java. Was getting a pathing error on Windows when trying to use the inheritance. Added the inheritance method as a POC separately..
2020-04-07 09:15:57 +01:00
David Edwards
0c5a0c70b1 ATS-702/ATS-675 Add POC for test inheritance (Imagemagick) Currently tests do not pass on windows due to path error reading resources. 2020-04-07 09:13:03 +01:00
David Edwards
0e79811094 Merge branch 'ATS-675_aio_transformer' of github.com:Alfresco/alfresco-transform-core into ATS-675_aio_transformer 2020-04-07 08:54:28 +01:00
David Edwards
a50f41b6ac Revert "ATS-675/ATS-695 Remove test resources, to be added in test implementation"
This reverts commit d83573bceb.
2020-04-06 17:24:04 +01:00
David Edwards
cd4cb26d90 Merge commit '5c6782a3aa6cee060b84a36751ab4f18a0352902' into ATS-675_aio_transformer 2020-04-06 16:03:18 +01:00
Erik Knizat
952cfef306 Initial tests
* Add initial tests for config aggregation
* Update AbstractTransformerControllerTest to use the new engine config names
2020-04-06 16:02:01 +01:00
Erik Knizat
c5a552066a Fix typo 2020-04-03 19:35:03 +01:00
Erik Knizat
c62c052bbe Add missing file header 2020-04-03 18:24:06 +01:00
Erik Knizat
fc96f9aa5f Do the wiring 2020-04-03 17:15:36 +01:00