Generate sitemap and store on S3
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- switch-cheehau
- Posts: 14
- Joined: 23 Jun 2021, 02:39
Generate sitemap and store on S3
Hi Aimeos,
I would like to generate sitemap and store on AWS S3, anyway to configure the storing method?
I'm trying to use serverless architecture, hence the local storage is readonly file-system.
I would like to generate sitemap and store on AWS S3, anyway to configure the storing method?
I'm trying to use serverless architecture, hence the local storage is readonly file-system.
Re: Generate sitemap and store on S3
Not by default, the sitemap files are currently stored locally:
https://github.com/aimeos/ai-controller ... #L142-L210
But you could change the code in the job controller to store the file in one of the configured file systems directly:
https://github.com/aimeos/aimeos-larave ... hp#L52-L57
The filesystem interfaces are available here:
https://github.com/aimeos/aimeos-core/t ... Filesystem
We would love to get a PR for that enhancement
https://github.com/aimeos/ai-controller ... #L142-L210
But you could change the code in the job controller to store the file in one of the configured file systems directly:
https://github.com/aimeos/aimeos-larave ... hp#L52-L57
The filesystem interfaces are available here:
https://github.com/aimeos/aimeos-core/t ... Filesystem
We would love to get a PR for that enhancement
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
- switch-cheehau
- Posts: 14
- Joined: 23 Jun 2021, 02:39
Re: Generate sitemap and store on S3
Thanks, i'll try when free