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

Cloud Hot Folder local setup file being picked but not routed as didn't match any configurations

x1111111111
Participant
0 Likes
2,099

Sap commerce cloud hot folder local setup is done and file is being picked but not processed as as didn't match any configurations

INFO  [AzureIntegrationTaskExecutorThread-master-1] [LoggingMonitorRecorder] HOT_FOLDER:base_product-en-000001.csv1601284653000 Status [IN_PROGRESS]
Step [DOWNLOADED] Node [0] Status [SUCCESS] Started [2020-09-28T14:47:33.461+05:30] Ended [2020-09-28T14:47:33.466+05:30] Duration [5]ms Message [Successfully read blob [master/hot_folder/base_product-en-000001.csv] of size [178 bytes]] Actions [none]
WARN  [AzureIntegrationTaskExecutorThread-master-1] [LoggingMonitorRecorder] HOT_FOLDER:base_product-en-000001.csv1601284653000 Status [WARNING]
Step [DOWNLOADED] Node [0] Status [SUCCESS] Started [2020-09-28T14:47:33.461+05:30] Ended [2020-09-28T14:47:33.466+05:30] Duration [5]ms Message [Successfully read blob [master/hot_folder/base_product-en-000001.csv] of size [178 bytes]] Actions [none]


Step [FILE_ROUTED] Node [0] Status [FAILURE] Started [null] Ended [null] Duration [null]ms Message [File [base_product-en-000001.csv] modified [1601284653000] was not routed as didn't match any configurations] Actions [none]


Accepted Solutions (0)

Answers (1)

Answers (1)

Private_Member_467521
Active Contributor

HI x1111111111

This comes from stackoverflow.com and addresses the same topic.

Try using the following properties to set the desired behavior of the system:

<code>cluster.node.groups=integration,yHotfolderCandidate

azure.hotfolder.storage.account.connection-string=DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:32770/devstoreaccount1;

azure.hotfolder.storage.container.hotfolder=${tenantId}/your/path/here

cloud.hotfolder.default.mapping.file.name.pattern=^(customer|product|url_media|sampleFilePattern|anotherFileNamePattern)-\\d+.*

cloud.hotfolder.default.images.root.url=http://127.0.0.1:32785/devstoreaccount1/${azure.hotfolder.storage.container.name}/master/path/to/media/folder

cloud.hotfolder.default.mapping.header.catalog=YourProductCatalog

And that is it, if there are existing routings for traditional hot folder import, these can also be used but their mappings should be in the value of

<code>cloud.hotfolder.default.mapping.file.name.pattern

Kindly advise if that addressed your topic.

Cheers,

Luis

x1111111111
Participant
0 Likes

Hi luedazfr1

Thanks for suggestion. I already had these properties but was missing below 2 properties

cloud.hotfolder.default.mapping.file.name.pattern=^(ww_product|base_product|customer|product|url_media)-\\d+.*
cloud.hotfolder.default.mapping.header.catalog=wwProductCatalog

Any idea how can we manage multiple catalogs with this ?

Currently all files are creating data under wwProductCatalog only

May be because of cloud.hotfolder.default.mapping.header.catalog

How can manage multiple catalog for cloud hot folder ?

Private_Member_467521
Active Contributor
0 Likes

Let me try to investigate on this. If you prefer to create a separate topic, that will help keep track of it.

Kindly up vote the prior answer 🙂

Cheers,

Luis