How resilienx/fraihmwork-api works
Purpose and Contract Format
This repository is an API-contract bundle for FRAIHMWORK health, integrity, rules, risk, maintenance, alerting, constraint, and parameter-data integrations. It contains OpenAPI 3.0 YAML specifications rather than an executable application. Payloads are JSON; identifiers are UUIDs; timestamps use ISO 8601.
Consumer Entry Points
Each top-level *Api.yaml file is independently importable into Swagger Editor for endpoint exploration and client/server generation. The primary integration guidance is in Documentation/Basic API Integration EXTERNAL.docx; an importable request collection is provided at Integration/FRAIHMWORK Integrator Starter Kit Collection.json.
Authentication and API Boundary
OAuth authentication and the supported Health and Integrity Monitoring request workflows are documented outside the OpenAPI contracts, creating an explicit security/integration boundary before API calls. Consumers should begin with:
• Documentation/Basic API Integration EXTERNAL.docx
• FraihmworkHealthAndIntegrityApi.yaml
• Integration/readme.txt
Health, Integrity, and Rules Domain
The central monitoring domain is represented by the Health and Integrity API, with a separate Rules Engine contract for evaluation or policy-driven workflows:
• FraihmworkHealthAndIntegrityApi.yaml
• FraihmworkRulesEngineApi.yaml
• FraihmworkHealthAndIntegrityApiChangelist.txt
Operational Response Domain
Alerting and maintenance APIs define the operational response surface around detected health/integrity conditions. These contracts likely form the downstream flow from monitoring/rule outcomes into notifications and maintenance activity:
• AlertingApi.yaml
• MaintenanceApi.yaml
• AlertingApiChangelist.txt
Assessment, Constraints, and Input Data
Risk assessment, constraints, and parameter data are separated into dedicated API contracts. This establishes boundaries between source/parameter ingestion, applicable operating constraints, and risk-oriented evaluation:
• ParameterDataApi.yaml
• ConstraintApi.yaml
• RiskAssessmentApi.yaml
Versioning and Legacy Contracts
Per-API changelists track contract evolution. Superseded endpoints are isolated under Deprecated/, including former registration, active-component, active-fault, and earlier health/integrity definitions. New integrations should target top-level API specs rather than:
• Deprecated/RegistrationApi.yaml
• Deprecated/ActiveComponentApi.yaml
• Deprecated/FraihmworkHealthAndIntegrityMonitoringApi_v0.yaml
Main entry points: FraihmworkHealthAndIntegrityApi.yaml Health & Integrity API · AlertingApi.yaml Alerting API · Basic API Integration EXTERNAL.docx External integration guide · FRAIHMWORK Integrator Starter Kit Collection.json Integrator starter collection
Components 15
Consumer onboarding
- External integration guide · Documents OAuth and supported monitoring workflows.
Documentation/Basic API Integration EXTERNAL.docx - Integrator starter collection · Importable requests for integration setup.
Integration/FRAIHMWORK Integrator Starter Kit Collection.json - Integration readme
Integration/readme.txt
Monitoring and response
- Health & Integrity API · Primary monitoring integration contract.
FraihmworkHealthAndIntegrityApi.yaml - Rules Engine API · Evaluation and policy-driven workflows.
FraihmworkRulesEngineApi.yaml - Alerting API · Notification response surface.
AlertingApi.yaml - Maintenance API · Maintenance activity response surface.
MaintenanceApi.yaml - Health API changelist
FraihmworkHealthAndIntegrityApiChangelist.txt - Alerting API changelist
AlertingApiChangelist.txt
Assessment inputs
- Parameter Data API · Parameter and source-data ingestion boundary.
ParameterDataApi.yaml - Constraint API · Applicable operating constraints.
ConstraintApi.yaml - Risk Assessment API · Risk-oriented evaluation boundary.
RiskAssessmentApi.yaml
Legacy contracts
Superseded APIs; do not use for new integrations.
- Legacy Registration API
Deprecated/RegistrationApi.yaml - Legacy Active Component API
Deprecated/ActiveComponentApi.yaml - Legacy Monitoring API v0 · Earlier health and integrity definition.
Deprecated/FraihmworkHealthAndIntegrityMonitoringApi_v0.yaml
Connections 16
- External integration guide → Health & Integrity API: onboards consumers to
- Integration readme → Health & Integrity API: starts integration with
- Integrator starter collection → Health & Integrity API: provides requests for
- External integration guide → Integrator starter collection: supports setup with
- Parameter Data API → Risk Assessment API: supplies assessment inputs
- Constraint API → Risk Assessment API: defines applicable limits
- Health & Integrity API → Rules Engine API: supports evaluation workflows
- Rules Engine API → Alerting API: can drive notifications
- Health & Integrity API → Alerting API: conditions lead to
- Health & Integrity API → Maintenance API: conditions lead to
- Alerting API → Maintenance API: supports operational response
- Health API changelist → Health & Integrity API: tracks evolution of
- Alerting API changelist → Alerting API: tracks evolution of
- Legacy Monitoring API v0 → Health & Integrity API: superseded by
- Legacy Registration API → Health & Integrity API: excluded from new integrations
- Legacy Active Component API → Health & Integrity API: excluded from new integrations