Memsource Integration — business view
Technical trace: Memsource Integration
1. Business Summary
Authenticates against Memsource per user/brand, creates/syncs projects and TMs, runs file analyses, and retrieves deliverables.
2. Business Value
Automation of TM-driven workflows in the primary TMS.
3. Users / Stakeholders
PMs, engineers.
4. Workflows
- Acquire a token and cache it.
- Create projects, upload TMX, run analyses.
- Pull deliverables.
5. Sub-Features
- Token caching; brand-scoped credentials.
6. Business Rules
- Falls back to a hard-coded admin credential in some paths (operational risk).
- Tokens are reused while still valid.
7. Data Entities
Memsource user record (token cache).
8. Entry Points
- TMS controller / Memsource controller.
9. Inputs & Outputs
- Inputs: credentials.
- Outputs: tokens, projects, analyses, deliverables.
10. Integrations
- Memsource API.
11. Calculations / Logic
- Token TTL handling.
12. Status Lifecycle
- Token valid/expired.
13. Permissions
- PMs/engineers; brand-scoped.
14. Reports & KPIs
- Memsource sync success.
15. Risks & Observations
- Hard-coded fallback credentials.
- Long synchronous waits in the TMS pathway.
16. Source Code Evidence
app/Controller/MemSourceController.php.