1.0.26 • Published 4 years ago

frost-bridge v1.0.26

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
4 years ago

FROST-bridge

This little library is used to communicate with a FROST-server to store IOT-related information, following SensorThings OGC standards.

Configuration

You can edit the server URL in lib/config/network.ts. For testing, we use the FROST-Server all-in-one Docker image.

Build

Before building, you need to install dependencies with npm install.\ Then, run npm run build.

Tests

There are different tests configurations within this project, all of them compile library before running tests.

npm run test

Contains basic tests of the project, excluding load charge tests.

npm run test:all

Runs all tests of the library, including load charge tests.

npm run test:verbose

Runs all tests with a (very) verbose output, printing all actions and calls from the library, very helpful when you don't understand what it is doing exactly.

npm run test:webpack

Does not run tests, but rather launches internal.js, which is used to test the compiled version of the library.

Architecture

Entities used in this project are of two different categories:

  • strains, containing minimal information required to create the entity on the server;
  • server, which map SensorThings OGC entities.

Class diagram of the library

1.0.26

4 years ago

1.0.25

4 years ago

1.0.24

4 years ago

1.0.22

4 years ago

1.0.21

4 years ago

1.0.20

4 years ago

1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago