experius/module-alumiolog

显示 Magento 2 后端中的 Alumio 日志

1.2.0 2022-03-01 14:26 UTC

This package is auto-updated.

Last update: 2024-09-10 15:30:46 UTC


README

``experius/module-alumiolog``

主要功能

在 Magento 2 管理面板中显示 Alumio 日志

该模块从 Alumio 获取任务列表并在 Magento 中保存这些任务。当加载任务时,将从 Alumio 获取任务的额外信息。

安装

* 在生产环境中请使用 --keep-generated 选项

类型 1:Zip 文件

  • 将 zip 文件解压到 app/code/Experius
  • 通过运行 php bin/magento module:enable Experius_AlumioLog 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新*
  • 通过运行 php bin/magento cache:flush 清除缓存

类型 2:Composer

  • 将模块添加到 composer 仓库中,例如
    • 私有仓库 repo.magento.com
    • 公共仓库 packagist.org
    • 公共 GitHub 仓库作为 vcs
  • 通过运行 composer config repositories.repo.magento.com composer https://repo.magento.com/ 将 composer 仓库添加到配置中
  • 通过运行 composer require experius/module-alumiolog 安装模块
  • 通过运行 php bin/magento module:enable Experius_AlumioLog 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新*
  • 通过运行 php bin/magento cache:flush 清除缓存

配置

需要配置 3 项

  • Web 服务 URL
  • Web 服务Bearer令牌
  • 路由

注意,在共享的 Alumio 环境中,您应将路由配置添加到 app/etc/config.php - 因为在这个 Magento 环境中不应能够检索其他路由。注意,'obscure' 字段类型用于 Bearer 令牌。这意味着每次保存此页面的配置都会重置 Bearer 令牌,这很遗憾。建议使用 php bin/magento config:set alumiolog/general/webservice_bearer_token {{BEARER TOKEN}} --lock-config

图片

The Grid The Detailview The Detail-log-view