-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Decision Goal
Based on discussion(s), we should create a single API Development Standards document in the community repo and a set of reusable tests that verify API compliance
Category
Code Quality
Stakeholders / Affected Areas
Developers
Decision Needed By
No response
Problem Statement
OpenCHAMI microservices expose REST APIs which can be consumed by clients and other services. While REST itself describes the way resources are represented and modified over http using verbs, it intentionally doesn't prescribe associated API standards and behaviors.
Within OpenCHAMI, we seek to establish a set of conventions and tests to validate those conventions which make client development easier and provide intuitive interfaces.
Proposed Solution
I propose we create API implementation standards for APIs controlled by OpenCHAMI. We should store these standards in the community repository. We should subsequently create tests that validate services are following our standard conventions and flag variances as BUGs in the appropriate repositories.
For discussion and possible inclusion:
- [RFD] Contract definition language #88
- [RFD] Authentication #87
- [RFD] Bulk Operation: Bulk PATCH #86
- [RFD] Bulk Operations: Bulk path #84
- [RFD] Asynchronous Operations #83
- [RFD] Pagination #82
- [RFD] Results Filtering #81
- [RFD] Standard Query Parameters #80
- [RFD] API Versioning #78
- [RFD] API Tagging #79
- [RFD] JWTs for microservice authentication #11
Alternatives Considered
No response
Other Considerations
No response
Related Docs / PRs
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Status