cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Cloud Hot Folder setup

Former Member
0 Likes
3,438

Hi,

We're currently on Cloud V2 with our Hybris environment.

We're trying to setup hot folder with Microsoft Azure Blob Storage. The local setup works with putting a file on a local folder which is being picked up and processed.

Followed: https://help.hybris.com/scc/pcd/6e23a26fe9c8472380f9101e8a9fe1c3.html

For some reason our file isn't picked up and getting processed. Currently we're using Microsoft Azure Storage explorer to put files on location hybris/master/hotfolder.

questions

  1. Does anyone has a sample manifest.json configuration with the hot folder setup?

  2. Do we need to do some extra configuration for cloud hot folder in our spring.xml file?

Thanks, Dieter

Accepted Solutions (0)

Answers (6)

Answers (6)

ersinv
Explorer

You have to add some properties and azure cloud extension in your project and background processing aspect like below:

 ...
    "azurecloudhotfolder",
 .....
              {
             "name": "backgroundProcessing",
             "properties": [
                 {
                     "key": "cluster.node.groups",
                     "value": "integration,yHotfolderCandidate"
                 },
                 {
                     "key": "azure.hotfolder.storage.container.hotfolder",
                     "value": "master/hotfolder"
                 },
                 {
                     "key": "azure.hotfolder.storage.container.match.pattern",
                     "value": "^((?!ignore).)*$"
                 },
                 {
                     "key": "azure.hotfolder.storage.container.name",
                     "value": "hybris"
                 },
                 {
                     "key": "azure.hotfolder.storage.polling.fixed.rate",
                     "value": "30000"
                 },
                 {
                     "key": "azure.hotfolder.storage.delete.remote.files",
                     "value": "true"
                 },
                 {
                     "key": "azure.hotfolder.storage.account.name",
                     "value": "**your_account**"
                 }
             ]
         },  
 
 
 
Former Member
0 Likes

Is it necessary to add parameters which start with "Azure" ? We already add these parameters to the properties of dev, stage or prod env. Otherwise how to manage Azure account name for different env?

0 Likes

Thank you very much 🙂

alex_alvarez1
Product and Topic Expert
Product and Topic Expert
0 Likes
Former Member
0 Likes

Hi did you add our custom file prefic in this property "key": "cloud.hotfolder.default.mapping.file.name.pattern", "value": "^(customer|product|url_media|custom)-\\d+.*" },

Regards

Former Member
0 Likes

For us it's also working now. We're still having problems on creating a custom mapping. we receive the error "failed to resolve channel name"

Former Member
0 Likes

Thanks!

Just i had error in my match pattern, right now is working!!

I appreciate you help! Regards!!

Former Member
0 Likes

Hi Dieter

I have the same problems the files isnt picked i add the azurecoudhotfolder extension and the required parameters but is not working, have yo already made the hotfolder work?

Regards