定制 drupal/openstack_queues 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

drupal/openstack_queues

Composer 安装命令:

composer require drupal/openstack_queues

包简介

Openstack Zaqar is an OpenStack project designed to be an open alternative to Amazon SQS and SNS. This module implements Openstack Queues as an alternative Drupal Queue backend.

README 文档

README

Scrutinizer Code Quality Code Coverage Build Status

Configuration

Connection information can be configured at admin/config/system/openstack-queues

If you need separate sets of credentials for different queues, they can be configured at admin/config/system/openstack-queues/{queue_name} (i.e. admin/config/system/openstack-queues/update_fetch_tasks for the Update queue).

The YAML format for configuration is as follows (using "default" and "update_fetch_tasks" as examples):

openstack_queues.settings.default:
  client_id: ''
  auth_url: 'https://identity.api.rackspacecloud.com/v2.0/'
  credentials:
    username: ''
    apiKey: ''
  region: ''
  prefix: ''
  
openstack_queues.settings.update_fetch_tasks:
  client_id: ''
  auth_url: 'https://identity.api.rackspacecloud.com/v2.0/'
  credentials:
    username: ''
    apiKey: ''
  region: ''
  prefix: ''

client_id must be a UUID to identify this particular API client. REQUIRED. auth_url is the URL to the identity service. username is your API username. apiKey is your API key. region is your Openstack region. prefix is used to namespace your queues. It is OPTIONAL, but RECOMMENDED especially if you are running multiple sites under the same account.

If you want to use Openstack Queues as the default queue manager, add the following to your site's settings.php:

  $settings['queue_default'] = 'queue.openstack';

Alternatively, you can also use Openstack Queues for specific queues:

  $settings['queue_{queue_name}'];

统计信息

  • 总下载量: 19
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-10-12