https://github.com/inferno-framework/inferno-bdt-service
A simple HTTP service wrapper for the SMART Bulk Data Testing library
https://github.com/inferno-framework/inferno-bdt-service
Last synced: 7 months ago
JSON representation
A simple HTTP service wrapper for the SMART Bulk Data Testing library
- Host: GitHub
- URL: https://github.com/inferno-framework/inferno-bdt-service
- Owner: inferno-framework
- Created: 2019-11-03T18:17:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-10T19:52:37.000Z (over 2 years ago)
- Last Synced: 2025-02-17T04:28:43.098Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 97.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BDT HTTP Service Wrapper
A service wrapper for the [Bulk Data Test tool (BDT)](https://github.com/smart-on-fhir/bdt) Node.js module
that enables BDT test orchestration and reporting functionality within [Inferno](https://github.com/onc-healthit/inferno).
## Running Natively
```
npm install
npm start
```
## Running with Docker
```
docker build -t bdt .
docker run -p 4500:4500 bdt
```
## Accessing the API
```
# Returns metadata about all Bulk Data Tests
GET http://localhost:4500/api/tests
# Run a single tests or group of tests
POST http://localhost:4500/api/tests
PAYLOAD: {path: '5.0', settings: {//settings}}
```
This API should be consistent with the currently unpublished BDT web application.
See [BDT Sample App](https://github.com/smart-on-fhir/bdt-sample-app/) for an example
client app to execute against this wrapped API.
## License
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
```
http://www.apache.org/licenses/LICENSE-2.0
```
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.