dbp/relay-nexus-bundle
最新稳定版本:v0.2.5
Composer 安装命令:
composer require dbp/relay-nexus-bundle
包简介
A template bundle for the Relay API gateway
README 文档
README
GitHub | Packagist | Frontend Application
The Nexus bundle provides an API for providing a desktop application merging multiple frontend activities.
There is a corresponding frontend application that uses this API at Nexus Frontend Application.
Bundle installation
You can install the bundle directly from packagist.org.
composer require dbp/relay-nexus-bundle
Bundle configuration
Add this file dbp_relay_nexus.yaml to your config/packages/ directory, e.g.:
dbp_relay_nexus: topics: - "https://server01.org/app/app.topic.metadata.json" - "https://server02.org/app/app.topic.metadata.json" - "https://server03.org/app/app.topic.metadata.json" typesense: api_url: "%env(NEXUS_TYPESENSE_API_URL)%" api_key: "%env(NEXUS_TYPESENSE_API_KEY)%" authorization: roles: ROLE_USER: 'user.get("ROLE_DEVELOPER")'
| variable | type | content |
|---|---|---|
| topics | array | strings are URLs to the topic.metatdada.json files of the apps |
| typsense | Settings for the internal connction to the typesense server | |
| api_url | string | Typesense API URL of the internal typesense server |
| api_key | string | typesense API key to create, query and delete typesense collections |
Automatic import into new collection
Run bin/console dbp:relay:nexus:generate:activities to create a new collection with currently available activities. If documents were imported, the alias is set to the latest import and obsolete collections are deleted.
统计信息
- 总下载量: 4.29k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: AGPL-3.0-or-later
- 更新时间: 2024-03-20