oat-sa/extension-tao-delivery 问题修复 & 功能扩展

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

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

oat-sa/extension-tao-delivery

Composer 安装命令:

composer require oat-sa/extension-tao-delivery

包简介

extension to manage deliveries

README 文档

README

TAO Logo

GitHub GitHub release GitHub commit activity codecov

Extension to manage deliveries

Installation instructions

These instructions assume that you have already a TAO installation on your system. If you don't, go to package/tao and follow the installation instructions.

If you installed your TAO instance through package/tao, oat-sa/extension-tao-delivery is very likely already installed. You can verify this under Settings -> Extension manager, where it would appear on the left hand side as taoDelivery. Alternatively you would find it in the code at /config/generis/installation.conf.php.

Note, that you have to be logged in as System Administrator to do this.

Add the extension to your TAO composer and to the autoloader:

composer require oat-sa/extension-tao-delivery

Install the extension on the CLI from the project root:

Linux:

sudo php tao/scripts/installExtension oat-sa/extension-tao-delivery

Windows:

php tao\scripts\installExtension oat-sa/extension-tao-delivery

As a system administrator you also install it through the TAO Extension Manager:

  • Settings (the gears on the right hand side of the menu) -> Extension manager
  • Select taoDelivery on the right hand side, check the box and hit install

REST API

Open API Specification

Configuration options

AttemptService.conf.php

Configuration option states_to_exclude

Description : when retrieving attempts (executions), those attempts with specified states won't be retrieved

Possible states :

  • http://www.tao.lu/Ontologies/TAODelivery.rdf#DeliveryExecutionStatusActive: active state
  • http://www.tao.lu/Ontologies/TAODelivery.rdf#DeliveryExecutionStatusPaused: paused state
  • http://www.tao.lu/Ontologies/TAODelivery.rdf#DeliveryExecutionStatusFinished: finished state
  • http://www.tao.lu/Ontologies/TAODelivery.rdf#DeliveryExecutionStatusTerminated: terminated state

One can specify multiple states as an array to exclude.

authorization.conf.php

Configuration option providers

Description : when verifying that a given delivery execution is allowed to be executed, the specified providers are used. For an execution to be rejected, at least one provider should throw an exception, return values are not considered

Possible values:

  • Objects of a class that implements the AuthorizationProvider interface

Value examples :

  • [ new oat\taoDelivery\model\authorization\strategy\StateValidation() ]
  • [ new oat\taoDelivery\model\authorization\strategy\StateValidation(), oat\taoDelivery\model\authorization\strategy\AuthorizationAggregator() ]

DeliveryExecutionDelete.conf.php

Configuration option deleteDeliveryExecutionDataServices

Description: the list of services to remove a delivery execution

Possible values:

  • Objects of a class that implements the DeliveryExecutionDelete interface.

deliveryFields.conf.php

Configuration option http://www.tao.lu/Ontologies/TAODelivery.rdf#CustomLabel

Description: the use roles able to see delivery custom labels

Possible values:

  • Any TAO roles

Value examples:

  • [ 'http://www.tao.lu/Ontologies/TAO.rdf#DeliveryRole' ]

returnUrl.conf.php

Configuration option extension

Description: an extension name for composing a return URL

Possible values:

  • Any TAO extension name

Value examples:

  • taoDelivery

Configuration option controller

Description: a controller (module) name for composing a return URL

Possible values:

  • Any controller within the extension above

Value examples:

  • Main

Configuration option method

Description: a method (action) for composing a return URL

Possible values:

  • any public method within the controller above

Value examples:

  • index

Extension Wiki

You can find the extension wiki here.

oat-sa/extension-tao-delivery 适用场景与选型建议

oat-sa/extension-tao-delivery 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 110.93k 次下载、GitHub Stars 达 4, 最近一次更新时间为 2014 年 07 月 22 日, 在 PHP 生态内属于活跃度较高的组件。

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

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

围绕 oat-sa/extension-tao-delivery 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

  • 总下载量: 110.93k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 35
  • 依赖项目数: 22
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 40
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-only
  • 更新时间: 2014-07-22