Se rendre au contenu

Outils

Lynx Patrii Cloud Connector

Drive Patrii Cloud from Lynx with stored application credentials

lynx_patrii_cloud_connector · v19.0.1.0.1 · Premium

What this solves

Lynx Patrii Cloud Connector

Stored application credentials, a curated script catalog, and per-customer project provisioning so a Lynx tenant can drive their Patrii Cloud account from inside Odoo.

Two operating modes are supported. In Shared Project mode, every script runs against one configured Patrii project — the right shape for a single ops team managing fleet automation. In Project Per Customer mode, the connector listens for license.issued events and provisions a fresh Patrii project plus an isolated application credential for each customer, giving clean per-tenant blast radius and per-tenant billing. Tenant admins configure connections; ordinary users run admin-curated scripts from the catalog — no free-form code execution surface is exposed.

Key Features

  • Connection model — encrypted app_credential_id and app_credential_secret per company.

  • Two modes — shared project for fleet ops, project-per-customer for tenant isolation.

  • Curated script catalog — admin-defined lynx.patrii.script entries with JSON-Schema parameters.

  • Two executors — HTTP call to the Patrii REST API, or outbound webhook dispatch via lynx_api.

  • Per-customer auto-provision — listens for license.issued and creates project + credential.

  • Token cache — bearer tokens cached in-memory with TTL matching the Patrii CLI.

  • Audit trail — every script run recorded as a lynx.patrii.script.run row, mail.thread enabled.

  • Webhook events — fires patrii.project.provisioned, patrii.script.run.completed, etc.

  • Premium-gated — connector features run through @require_premium_feature decorators.

Integrates With

  • lynx_licensing_sale — consumes the license.issued event for per-customer provisioning.

  • lynx_api — registers Patrii-specific webhook events and dispatches via emit_event.

  • lynx_license_issuer — feature gating through premium.feature codes.

Models

  • lynx.patrii.connection — credentials and base URL for the Patrii Cloud account.

  • lynx.patrii.customer.project — one row per per-customer project (per_customer mode).

  • lynx.patrii.script — curated script catalog entry.

  • lynx.patrii.script.run — audit row for one script execution.

Try Lynx Patrii Cloud Connector on your team.

Free trial, no credit card. Talk to sales when you're ready.