Go to file
Dušan Borovčanin fa7d638453 MF-540 - Add pagination in API responses for Bootstrap service (#575)
* Add Page to List response

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Add request validation tests

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Update endpoint routes

Update API docs accordingly.

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Add optional Thing ID to config add request

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Extract literals to constants

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Update comments

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Fix count logs

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
2019-02-22 14:54:09 +01:00
.github NOISSUE - Housekeeping. Update README. (#497) 2018-12-09 20:06:20 +01:00
bootstrap MF-540 - Add pagination in API responses for Bootstrap service (#575) 2019-02-22 14:54:09 +01:00
cli NOISSUE - fix CLI log (#581) 2019-02-08 15:38:07 +01:00
cmd MF-583 - Correct cmd/mongodb-reader HTTPServer log Info (#584) 2019-02-12 11:36:58 +01:00
coap MF-475 - Replace increment ID with UUID (#490) 2018-12-05 13:09:25 +01:00
dashflux MF-325 - Add SPDX license and copyright headers (#362) 2018-08-26 13:15:48 +02:00
docker update docker-compose (#590) 2019-02-20 00:17:13 +01:00
docs Fix run command in dev guide (#605) 2019-02-21 15:56:51 +01:00
http MF-475 - Replace increment ID with UUID (#490) 2018-12-05 13:09:25 +01:00
k8s Add nginx ingress config to k8s services (#472) 2018-11-27 12:56:36 +01:00
load-test Add CHANGELOG. Bump version. (#494) 2018-12-08 20:53:39 +01:00
logger Fixing level_test.go (#406) 2018-09-26 20:22:26 +02:00
lora MF-600 - Handle custom LoRa Server application decoder (#608) 2019-02-22 09:31:44 +01:00
metrics NOISSUE - Add exported metrics visualization for grafana (#326) 2018-06-15 17:08:49 +02:00
mqtt Changed RawMessage (#587) 2019-02-11 14:27:56 +01:00
normalizer Fix non-SenML message routing in normalizer (#573) 2019-02-04 13:07:05 +01:00
readers MF-519 - Refine Message (#567) 2019-02-06 13:57:12 +01:00
scripts Add generated files check (#601) 2019-02-17 18:40:30 +01:00
sdk/go MF-519 - Refine Message (#567) 2019-02-06 13:57:12 +01:00
things Fix pagination response for empty page (#547) 2019-01-17 17:31:30 +01:00
users MF-448 - Add option to connect to DB with verify-ca and verify-full (#500) 2018-12-16 00:28:22 +01:00
vendor NOISSUE - Fix event sourcing client on LoRa adapter (#527) 2019-01-07 23:54:18 -02:00
writers Fix data scheme in cassandra writer (#514) 2018-12-17 20:41:11 +01:00
ws MF-475 - Replace increment ID with UUID (#490) 2018-12-05 13:09:25 +01:00
.dockerignore NOISSUE - Add .dockerignore to project root (#457) 2018-11-13 22:31:13 +01:00
.gitignore MF-363 - Add compiled .proto files (#364) 2018-08-24 15:33:40 +02:00
CHANGELOG.md NOISSUE - Fix CHANGELOG (#496) 2018-12-08 21:47:19 +01:00
CONTRIBUTING.md NOISSUE - Housekeeping. Update README. (#497) 2018-12-09 20:06:20 +01:00
Gopkg.lock MF-551 - Add metadata fields to Bootstrap Channels (#563) 2019-01-30 16:40:37 +01:00
Gopkg.toml NOISSUE - Fix event sourcing client on LoRa adapter (#527) 2019-01-07 23:54:18 -02:00
LICENSE Update licnese year (#533) 2019-01-09 16:23:30 +01:00
MAINTAINERS Update MAINTAINERS 2018-08-28 22:42:47 +02:00
Makefile MF-513 - Add Bootstrapping service (#524) 2019-01-09 15:42:23 +01:00
README.md Fix Dusan Maldenovic GitHub (#570) 2019-02-03 09:12:40 +01:00
api.go MF-325 - Add SPDX license and copyright headers (#362) 2018-08-26 13:15:48 +02:00
doc.go MF-325 - Add SPDX license and copyright headers (#362) 2018-08-26 13:15:48 +02:00
env.go MF-325 - Add SPDX license and copyright headers (#362) 2018-08-26 13:15:48 +02:00
internal.pb.go Update generated code (#602) 2019-02-18 17:10:25 +01:00
internal.proto MF-475 - Replace increment ID with UUID (#490) 2018-12-05 13:09:25 +01:00
message.go MF-519 - Refine Message (#567) 2019-02-06 13:57:12 +01:00
message.pb.go Update generated code (#602) 2019-02-18 17:10:25 +01:00
message.proto MF-519 - Refine Message (#567) 2019-02-06 13:57:12 +01:00
mkdocs.yml NOISSUE - Refine docs (#537) 2019-01-09 17:04:34 +01:00
publisher.go MF-325 - Add SPDX license and copyright headers (#362) 2018-08-26 13:15:48 +02:00
topics.go MF-325 - Add SPDX license and copyright headers (#362) 2018-08-26 13:15:48 +02:00
version.go Add CHANGELOG. Bump version. (#494) 2018-12-08 20:53:39 +01:00

README.md

Mainflux

build go report card coverage license chat

banner

Mainflux is modern, scalable, secure open source and patent-free IoT cloud platform written in Go.

It accepts user, device, and application connections over various network protocols (i.e. HTTP, MQTT, WebSocket, CoAP), thus making a seamless bridge between them. It is used as the IoT middleware for building complex IoT solutions.

For more details, check out the official documentation.

Mainflux is member of the Linux Foundation and an active contributor to the EdgeX Foundry project. It has been made with ❤️ by Mainflux company, which maintains the project and offers professional services around it.

Features

  • Multi-protocol connectivity and protocol bridging (HTTP, MQTT, WebSocket and CoAP)
  • Device management and provisioning
  • Fine-grained access control
  • Storage support (Cassandra, InfluxDB and MongoDB)
  • Platform logging and instrumentation support
  • Event sourcing
  • Container-based deployment using Docker and Kubernetes
  • LoRaWAN network integration
  • SDK
  • CLI
  • Small memory footprint and fast execution
  • Domain-driven design architecture, high-quality code and test coverage

Install

Before proceeding, install the following prerequisites:

Once everything is installed, execute the following commands from project root:

docker-compose -f docker/docker-compose.yml up -d

This will bring up all Mainflux dockers and inter-connect them in the composition.

Usage

Best way to quickstart using Mainflux is via CLI:

make cli
./build/mainflux-cli version

Mainflux CLI can also be downloaded as a tarball from offical release page

If this works, head to official documentation to understand Mainflux provisioning and messaging.

Documentation

Official documentation is hosted at Mainflux Read The Docs page.

Documentation is auto-generated from Markdown files in ./docs directory. If you spot an error or need for corrections, please let us know - or even better: send us a PR.

Additional practical information, news and tutorials can be found on the Mainflux blog.

Authors

Main architect and BDFL of Mainflux project is @drasko.

Additionally, @nmarcetic and @janko-isidorovic assured overall architecture and design, while @manuio and @darkodraskovic helped with crafting initial implementation and continiusly work on the project evolutions.

Besides them, Mainflux is constantly improved and actively developed by @anovakovic01, @dusanb94, @srados, @gsaleh, @blokovi, @chombium and a large set of contributors.

Maintainers are listed in MAINTAINERS file.

Mainflux team would like to give special thanks to @mijicd for his monumental work on designing and implementing highly improved and optimized version of the platform, and @malidukica for his effort on implementing initial user interface.

Contributing

Thank you for your interest in Mainflux and wish to contribute!

  1. Take a look at our open issues.
  2. Checkout the contribution guide to learn more about our style and conventions.
  3. Make your changes compatible to our workflow.

We're Hiring

If you are interested in working professionally on Mainflux, please head to company's careers page or shoot us an e-mail at careers@mainflux.com.

Note that the best way to grab our attention is by sending PRs 😎.

Community

License

Apache-2.0