eove / his-api Goto Github PK
View Code? Open in Web Editor NEWDocumentation, clients or examples to connect to HIS features on Eove devices
License: MIT License
Documentation, clients or examples to connect to HIS features on Eove devices
License: MIT License
We explicitely call process.exit()
in examples and without such instruction node might still be running after a client disconnection.
This means client is not disposing resources correctly.
Probable cause is device cannot be closed while waiting for a USB transfer.
After eo150-app SRS revision these 2 specifications must be removed. In order to be able to cover this HIS functionalities, an HIS-api SRS and protocol must be generated.
Generate an SRS with next specifications:
_APP-SRS-0001_ It must be possible to generate an api file to complete server information
_APP-SRS-0010_ A documentation must be delivered with HIS feature
Generate a protocol with next tests:
_APP-TST-0001 refers to APP-SRS-0001_
Feature: HIS api.json generation
Scenario: HIS api.json generation
Given an his-connectivity up to date
When launching next command from his-cli:
npm_config_registry=https://npm.pkg.github.com/eove npx @eove/his-cli generate-api-doc \
--moduleApiVersion 32.2 \
--productType eo150 \
--locale en-EN \
--outputFile ~/Downloads/exemple_his_api.json
Then json file is generated in the outputFile .......................... PASS [ ] / FAIL [ ]
And the json file displays HIS apiVersion ............................ PASS [ ] / FAIL [ ]
And the json file displays module apiVersion ......................... PASS [ ] / FAIL [ ]
And the json file displays product type .............................. PASS [ ] / FAIL [ ]
And the json file displays labels and units for monitoring items ..... PASS [ ] / FAIL [ ]
And the json file displays labels and units for modes items .......... PASS [ ] / FAIL [ ]
And the json file displays labels and units for alarms items ......... PASS [ ] / FAIL [ ]
And the json file displays labels, priority and category for alarms items .............................................................................................. PASS [ ] / FAIL [ ]
And the json file displays labels for alarms categories items ........ PASS [ ] / FAIL [ ]
And the json file displays labels for alarms priorities items ........ PASS [ ] / FAIL [ ]
And the json file displays labels and units for waveforms items ...... PASS [ ] / FAIL [ ]
And the json file displays labels for units items .................... PASS [ ] / FAIL [ ]
_APP-TST-0010 refers to APP-SRS-0010_
Feature: HIS documentation
Scenario: HIS documentation
Given an his-connectivity up to date
When going to his-api/docs/eove-his-interface.md repository
Then an his-api user manual is displayed .................................... PASS [ ] / FAIL [ ]
And this document allow user to develop his own client .................... PASS [ ] / FAIL [ ]
ANd there is a text explaining that eove can not be responsible of the software developped to use eo150 data ............................................................ PASS [ ] / FAIL [ ]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.