Go to file
Aleksandar Novaković 4ab2e396c2 NOISSUE - Add authorization HTTP API to things service (#772)
* Add authorization HTTP API to things service

Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>

* Add new tests and update existing ones

Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>

* Update swagger documentation

Update swagger documentation for auth endpoints.

Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>

* Update README docs for things service

Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>

* Update docker-compose and fix endpoint typo

Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>

* Remove commented code

Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
2019-07-04 17:06:55 +02:00
.github NOISSUE - Housekeeping. Update README. (#497) 2018-12-09 20:06:20 +01:00
bootstrap NOISSUE - Add authorization HTTP API to things service (#772) 2019-07-04 17:06:55 +02:00
cli NOISSUE - Typo fix (#777) 2019-07-04 09:57:03 +02:00
cmd NOISSUE - Add authorization HTTP API to things service (#772) 2019-07-04 17:06:55 +02:00
coap NOISSUE - Update docs (#683) 2019-04-04 10:22:09 +02:00
docker NOISSUE - Add authorization HTTP API to things service (#772) 2019-07-04 17:06:55 +02:00
docs Update docs (#766) 2019-06-21 14:07:24 +02:00
http NOISSUE - Fix subtopic regex and restrict empty subtopic parts (#659) 2019-03-19 16:05:56 +01:00
k8s Add nginx ingress config to k8s services (#472) 2018-11-27 12:56:36 +01:00
load-test MF-488 - Remove Thing type (app or device) (#718) 2019-04-20 14:09:11 +02:00
logger Fixing level_test.go (#406) 2018-09-26 20:22:26 +02:00
lora NOISSUE - Rm Things type from lora-adapter (#727) 2019-04-22 21:31:08 +02:00
metrics NOISSUE - Add exported metrics visualization for grafana (#326) 2018-06-15 17:08:49 +02:00
mqtt Use errors and null packets in authorized pub/sub (#773) 2019-07-01 11:22:31 +02:00
normalizer MF-488 - Remove Thing type (app or device) (#718) 2019-04-20 14:09:11 +02:00
readers MF-732 - Add Postgres reader (#740) 2019-05-16 18:00:19 +02:00
scripts NOISSUE - Fix Docker for ARM (#760) 2019-06-20 14:14:06 +02:00
sdk/go NOISSUE - Add authorization HTTP API to things service (#772) 2019-07-04 17:06:55 +02:00
things NOISSUE - Add authorization HTTP API to things service (#772) 2019-07-04 17:06:55 +02:00
ui MF-663 - enable nginx port conf from docker env (#769) 2019-06-24 20:13:02 +02:00
users MF-488 - Remove Thing type (app or device) (#718) 2019-04-20 14:09:11 +02:00
vendor MF-722 - Change UUID lib (#746) 2019-05-16 13:35:13 +02:00
writers NOISSUE - Use .env vars in docker-compose (#770) 2019-07-02 14:22:12 +02:00
ws NOISSUE - Fix subtopic regex and restrict empty subtopic parts (#659) 2019-03-19 16:05:56 +01:00
.dockerignore MF-571 - Elm UI (#632) 2019-03-06 16:21:09 +01:00
.env NOISSUE - Add authorization HTTP API to things service (#772) 2019-07-04 17:06:55 +02:00
.gitignore MF-571 - Elm UI (#632) 2019-03-06 16:21:09 +01:00
CHANGELOG.md Changelog updates regarding to 0.8 Milestone (#669) 2019-03-20 18:10:32 +01:00
CONTRIBUTING.md Corrected grammar and rephrased a few sentences to read nicely (#641) 2019-03-07 16:25:37 +01:00
Gopkg.lock MF-722 - Change UUID lib (#746) 2019-05-16 13:35:13 +02:00
Gopkg.toml MF-722 - Change UUID lib (#746) 2019-05-16 13:35:13 +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 fix variant option for manifest annotate (#765) 2019-06-20 15:31:56 +02:00
README.md MF-488 - Remove Thing type (app or device) (#718) 2019-04-20 14:09:11 +02: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 Fix CI with fixed plugin versions (#747) 2019-05-15 17:41:18 +02:00
message.proto MF-596 - Add subtopic to RawMessage (#642) 2019-03-15 18:38:07 +01:00
mkdocs.yml Update docs structure (#686) 2019-04-04 12:10:46 +02: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 Bump version to 0.8 (#668) 2019-03-20 17:44:38 +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 and thing 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