plugin.yml 1.53 KB
# vibe_erp plug-in manifest for the reference printing-shop customer.
#
# This file is what a real customer's plug-in would look like. It is loaded
# by the platform-plugins host, validated, and used to wire the plug-in into
# its own classloader and Spring child context.
#
# The id is dotless and url-safe; it becomes the schema-namespace prefix
# (`plugin_printingshop__*`) and the URL prefix for any plug-in endpoints
# (`/api/v1/plugins/printing-shop/...`).
id: printing-shop
version: 0.1.0-SNAPSHOT

# Semver range against api.v1 — the host loader rejects this plug-in at
# install time if its api.v1 major doesn't match. "1.x" means "any 1.y.z".
requiresApi: "1.x"

# Translated names. The host displays the entry matching the operator's
# locale; falls back to en-US.
name:
  en-US: Printing Shop (reference customer)
  zh-CN: 印刷厂(参考客户)
  de-DE: Druckerei (Referenzkunde)

# Permissions this plug-in declares. They appear in the role editor for
# every tenant that has this plug-in enabled.
permissions:
  - printingshop.plate.view
  - printingshop.plate.create
  - printingshop.plate.approve
  - printingshop.job.dispatch

# Other plug-ins that must be present and started before this one.
dependencies: []

# Resources to load from inside the JAR after the plug-in starts. Paths are
# relative to the JAR root and the file extensions tell the host how to
# treat them.
metadata:
  - workflows/quote-to-job-card.bpmn
  - forms/job-card.form.json
  - metadata/seed.yml
  - i18n/messages_en-US.properties
  - i18n/messages_zh-CN.properties