Alfresco 6.2 transformations, renditions and T-engines

cancel
Showing results for 
Search instead for 
Did you mean: 
narkuss
Active Member II

Alfresco 6.2 transformations, renditions and T-engines

Jump to solution

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

2 Solutions

Accepted Solutions

Re: Alfresco 6.2 transformations, renditions and T-engines

Jump to solution

I've created a first draft in

https://github.com/aborroy/alf-tengine-markdown

I'll write a blog post on that next week.

Software Engineer in Alfresco Search Team.

View solution in original post

Re: Alfresco 6.2 transformations, renditions and T-engines

Jump to solution

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.

Software Engineer in Alfresco Search Team.

View solution in original post

6 Replies

Re: Alfresco 6.2 transformations, renditions and T-engines

Jump to solution

I'm working on providing a running sample for this feature. Hopefully I can have something for next week.

Software Engineer in Alfresco Search Team.
narkuss
Active Member II

Re: Alfresco 6.2 transformations, renditions and T-engines

Jump to solution

Genial, muchas gracias. Estaré atento.

Saludos,

Re: Alfresco 6.2 transformations, renditions and T-engines

Jump to solution

I've created a first draft in

https://github.com/aborroy/alf-tengine-markdown

I'll write a blog post on that next week.

Software Engineer in Alfresco Search Team.

View solution in original post

narkuss
Active Member II

Re: Alfresco 6.2 transformations, renditions and T-engines

Jump to solution

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!

Re: Alfresco 6.2 transformations, renditions and T-engines

Jump to solution

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.

Software Engineer in Alfresco Search Team.

View solution in original post

Re: Alfresco 6.2 transformations, renditions and T-engines

Jump to solution

Blog post is published!

https://hub.alfresco.com/t5/alfresco-content-services-blog/quick-reference-for-transformers-in-acs-c...

Software Engineer in Alfresco Search Team.