Giter Club home page Giter Club logo

his-api's People

Contributors

allan-cornet-eove avatar faustxvi avatar fribes avatar pierreroth64 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

his-api's Issues

Node process still running after client disconnection

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.

Generate SRS and protocol

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.

TO DO

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 [ ]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.