fiware-sth-comet Documentation

fiware-sth-comet Documentation

Release develop

June 16, 2016

Contents

1 Introduction

3

2 Getting Started

5

3 Why Comet?

7

4 Dependencies

9

5 Installation

11

5.1 Cloning the Github repository . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

5.2 Using a RPM package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

5.3 Automatic deployment using Docker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

6 Running the STH server

15

7 Storing historical raw and aggregated time series context information

19

8 Getting historical raw context information

21

9 Getting historical aggregated time series context information

23

10 Removing historical raw and aggregated time series context information

27

11 Migrating historical raw and aggregated time series context information

29

12 Unit tests coverage

31

12.1 Preconditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

12.2 Running the tests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

13 Performance tests coverage

33

14 Additional resources

35

15 Contribution guidelines

37

15.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

15.2 How to contribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

15.3 Coding guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

15.4 Branching model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

15.5 Changelog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

15.6 Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

i

15.7 Continuous testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 15.8 Code coverage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 15.9 Code complexity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 15.10 Source code documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 15.11 Releasing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 15.12 Version/release numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

ii

Contents:

fiware-sth-comet Documentation, Release develop

Contents

1

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download