mjordan/islandora_workbench_integration 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

mjordan/islandora_workbench_integration

Composer 安装命令:

composer require mjordan/islandora_workbench_integration

包简介

Islandora Workbench Integration

README 文档

README

Introduction

Drupal 10/11 Module required by Islandora Workbench. Enables the following Views:

  • Term from URI
  • Term from term name

Also enables the following REST resources:

  • Field
  • Field Storage
  • Entity Form Display
  • User
  • URL alias
  • File upload
  • Media type
  • Content type
  • Taxonomy Vocabulary

Also provides endpoints for exposing:

  • Drupal core's version number
  • this module's version number
  • a given file's checksum

Usage

There is no user interface to this module. It only installs configuration that is required by Islandora Workbench.

Requirements

Installation

You can install this module using Composer. Within your Drupal root directory, run the following:

  1. composer require mjordan/islandora_workbench_integration "dev-main"
  2. Enable the module either under the "Admin > Extend" menu or by running drush en -y islandora_workbench_integration.

If you're deploying Islandora via ISLE, install and enable this module using these two commands from within your isle-dc directory:

  1. docker-compose exec -T drupal with-contenv bash -lc "composer require mjordan/islandora_workbench_integration"
  2. docker-compose exec -T drupal with-contenv bash -lc "drush en -y islandora_workbench_integration"

Configuration

By default, all vocabularies are registered in the views. To prevent vocabularies from being updated by Workbench, remove them from the "Terms in vocabulary" View using its "Taxonomy term: Vocabulary" filter.

Updates

Since this module enables a number of REST endpoints, you may need to reimport the configuration if a new endpoint is added. For example, after pulling in updates from Github, you should run the following drush commands from within the /var/www/html/drupal/web directory:

  1. drush cim -y --partial --source=modules/contrib/islandora_workbench_integration/config/optional
  2. drush cr

Or, if you are using ISLE:

  1. docker-compose exec -T drupal with-contenv bash -lc "drush cim -y --partial --source=modules/contrib/islandora_workbench_integration/config/optional"
  2. docker-compose exec -T drupal with-contenv bash -lc "drush cr"

Note that as of the 1.0.0 release, the "Terms in vocabulary" View is no longer used by Workbench. Unless you are using this View for some other purpose, as of version 1.0.0 you can disable/delete it from your Drupal.

Permissions

All REST endpoints added or endabled by this module require the use of Basic Authentication. The username/password combination used in your Islandora Workbench configuration files should be a member of the "Administrator" role.

Running tests locally

A docker-compose.yml file is defined in ./tests that can automatically lint and run phpunit tests for this module. These are how tests are ran in GitHub Actions.

cd tests
export MODULE_DIRECTORY=$(pwd | xargs dirname)
export ENABLE_MODULES=islandora_workbench_integration
export DRUPAL_VERSION=10.4
export PHP_VERSION=8.3
docker compose up --quiet-pull --abort-on-container-exit

Current maintainer

License

GPLv2

mjordan/islandora_workbench_integration 适用场景与选型建议

mjordan/islandora_workbench_integration 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 121.89k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2021 年 06 月 30 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「drupal」 「Islandora」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 mjordan/islandora_workbench_integration 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 mjordan/islandora_workbench_integration 我们能提供哪些服务?
定制开发 / 二次开发

基于 mjordan/islandora_workbench_integration 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 121.89k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 21
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2021-06-30