Can´t figure out where to put metadata extractor inside ACS 7.0 transform-core-aio docker image

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

Can´t figure out where to put metadata extractor inside ACS 7.0 transform-core-aio docker image

Jump to solution

Hello,

 

I'm trying to change the default property mappings on PDF metadata extraction, as explained on the official documentation:

https://docs.alfresco.com/content-services/community/develop/repo-ext-points/metadata-extractors/#ch...

 

But i can't figure out where to put the PdfBoxMetadataExtractor_metadata_extract.properties

I suppose it's inside the transform-core-aio image, but I can't figure out in what directory.

I knew how to do it on version 6.0, with the old xml method, but seems that it changed.

Thank you all!

2 Solutions

Accepted Solutions
angelborroy
Alfresco Employee

Re: Can´t figure out where to put metadata extractor inside ACS 7.0 transform-core-aio docker image

Jump to solution
afaust
Master

Re: Can´t figure out where to put metadata extractor inside ACS 7.0 transform-core-aio docker image

Jump to solution

You need to put it in the directory that Angel linked, and re-build the image as a custom image for your deployment from the source project. AFAIK there is no support for a simple "configuration file mounted into container" type of extension that you may be looking for, where you only put the file into the container at a particular path.

View solution in original post

4 Replies
angelborroy
Alfresco Employee

Re: Can´t figure out where to put metadata extractor inside ACS 7.0 transform-core-aio docker image

Jump to solution

On the configuration link, you are redirected to:

https://github.com/Alfresco/alfresco-transform-core/blob/master/alfresco-transform-tika/alfresco-tra...

Hyland Developer Evangelist
iohann95
Active Member II

Re: Can´t figure out where to put metadata extractor inside ACS 7.0 transform-core-aio docker image

Jump to solution

Hello, thank you the explanation.

 

But I read the article, and the link doesn't explain in what directory to put the configuration file.

 

Regards.

afaust
Master

Re: Can´t figure out where to put metadata extractor inside ACS 7.0 transform-core-aio docker image

Jump to solution

You need to put it in the directory that Angel linked, and re-build the image as a custom image for your deployment from the source project. AFAIK there is no support for a simple "configuration file mounted into container" type of extension that you may be looking for, where you only put the file into the container at a particular path.

iohann95
Active Member II

Re: Can´t figure out where to put metadata extractor inside ACS 7.0 transform-core-aio docker image

Jump to solution

Unfortunately, no matter what I do, I just can't compile this project.

In the end, I always get the same error:

[ERROR] F8: Failed to execute the build: io.fabric8.maven.docker.access.DockerAccessException: Unable to build image [alfresco/alfresco-imagemagick:latest] : Connection reset by peer

If anone knows what may be going on, I would appreciate it. Thanks!