-
Notifications
You must be signed in to change notification settings - Fork 4
API Design
These are design notes for the Asbestos (FHIR Toolkit) API.
The candidate functions are the functions already implemented server-side for use with the UI. The source for these is found at https://github.com/usnistgov/asbestos/tree/master/asbestos-proxy/src/main/java/gov/nist/asbestos/asbestosProxy/requests.
Hapi and Xds both have liveliness checks. The engine needs same (we currently use an indirect determination on the UI).
GetProxyBase, GetSessionNames, GetSignin exist.
CreateChannel, DeleteChannel, GetChannelIds, GetChannelConfig, LockChannel exist.
GetEventsForChannel, GetEvent, GetEventForResourceType exist.
GetLogEventAnalysis
GetTestAssertions, GetTestCollectionNames, GetTestCollection, GetTestDefinition
GetClientEventEval, GetClientTestEval, RunTest
GetTestLog, GetTestLogs
- Document each request here along with its parameters and assumptions.
- Return content from these functions are mostly generated with GSON. Probably needs upgrading (see ChannelConfig for upgrade example).
- Generate Java library that defines API.
- Javadoc generation added to system build.
- IT tests to validate library.
- Examples of use.