12-12-2019 03:50 PM
Hi all,
I've been playing with T-engines for a week. I've got a T-engine to work, and endpoint /transform responds OK. Transformations through this endpoint works as expected.
Now, I'm trying to integrate this T-engine with Alfresco 6.2. I used alfresco SDK4 (no news from SDK4.1), with a few customizations based on https://github.com/Alfresco/alfresco-docker-installer regarding to T-engines configuration. I registered my custom T-engine as a local transform, and ACS recognizes it, as it polls my custom T-engine for its config as it does with other local transforms.
As far as I know, in Alfresco 6.2 renditions are asynchronous, while transformations are synchronous. So, I'm interested in creating a custom rendition to perform my transformations asynchronously. Then I defined a custom rendition for ACS (though I think renditions definitions should be defined inside the T-engine itself), as per this docs: https://github.com/Alfresco/acs-packaging/blob/master/docs/custom-transforms-and-renditions.md#confi....
If I go to rest-api and list available renditions for a node, I can see my custom rendition definitions. But when I try to generate my custom rendition, it does simply not work. No errors. No logs available in endpoint /log from my transformer. No logs from inside my code.
So, I'd like to know, am I missing something?
Are local transforms really implemented to work through ACS in 6.2? Because if, following the docs, I deactivate legacy transformations (legacy.transform.service.enabled=false), all previews and thumbnails results in an error...
I hope somebody can help me with this, as documentation is not very clear at this, enterpise-oriented, and a bit outdated.
Thanks in advance
12-13-2019 10:08 AM
I've created a first draft in
https://github.com/aborroy/alf-tengine-markdown
I'll write a blog post on that next week.
12-16-2019 02:17 AM
I've added a sample behaviour to get renditions done in Share with ACS 6.2:
https://github.com/aborroy/alf-tengine-markdown/tree/master/markdown-rendition
I think the sample is complete with this addition.
I'll write a blog post this week to describe how this works.
Let me know if you need anything else.
12-13-2019 01:40 AM
I'm working on providing a running sample for this feature. Hopefully I can have something for next week.
12-13-2019 02:42 AM
Genial, muchas gracias. Estaré atento.
Saludos,
12-13-2019 10:08 AM
I've created a first draft in
https://github.com/aborroy/alf-tengine-markdown
I'll write a blog post on that next week.
12-14-2019 02:28 AM
Ok, my custom renditions are working now. I think they were not working because of the transformOptions I provided with the rendition definitions. And your explanation at the end of the README file about renditions clarified why legacy transformers must be enabled for thumbnails to work in 6.2.
I won't miss your blog post about all this stuff. Thanks!
12-16-2019 02:17 AM
I've added a sample behaviour to get renditions done in Share with ACS 6.2:
https://github.com/aborroy/alf-tengine-markdown/tree/master/markdown-rendition
I think the sample is complete with this addition.
I'll write a blog post this week to describe how this works.
Let me know if you need anything else.
12-17-2019 02:17 AM
Blog post is published!
Explore our Alfresco products with the links below. Use labels to filter content by product module.