Manuel Imperiale
a60a5c1ba1
NOISSUE - Fix lora-adapter Object decode ( #610 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-02-22 15:30:37 +01:00
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
Manuel Imperiale
1c09632671
MF-600 - Handle custom LoRa Server application decoder ( #608 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-02-22 09:31:44 +01:00
Ivan Milošević
06921fbee6
Fix run command in dev guide ( #605 )
...
Signed-off-by: Ivan Milošević <iva@blokovi.com>
2019-02-21 15:56:51 +01:00
caztial
b69d31817d
update docker-compose ( #590 )
...
add udp instead of default tcp to the docker coap port.
2019-02-20 00:17:13 +01:00
Dušan Borovčanin
225f56fc3e
Update generated code ( #602 )
...
Use latest release of `protobuf` 3.6.1.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
2019-02-18 17:10:25 +01:00
Dušan Borovčanin
133383ecb7
Add generated files check ( #601 )
...
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
2019-02-17 18:40:30 +01:00
Mirko Teodorovic
2ee0ed18e0
MF-597 - Removed legacy code as not needed anymore ( #598 )
...
* Removed legacy code as not needed anymore
Signed-off-by: mteodor <mirko.teodorovic@gmail.com>
* Small correction
Signed-off-by: mteodor <mirko.teodorovic@gmail.com>
* Remove git as not needed
Signed-off-by: mteodor <mirko.teodorovic@gmail.com>
2019-02-15 18:35:52 +01:00
mteodor
c418a9a4cf
NOISSUE - Added normalizer service to run script ( #594 )
...
* Added normalizer service to be run
* Update run.sh
2019-02-13 12:05:29 +01:00
Kai-Chu Chung
351d6e7bfb
MF-583 - Correct cmd/mongodb-reader HTTPServer log Info ( #584 )
...
Signed-off-by: Kai-Chu Chung <cage.chung@gmail.com>
2019-02-12 11:36:58 +01:00
Nikola Marčetić
434a57d8e1
Changed RawMessage ( #587 )
...
Signed-off-by: nmarcetic <n.marcetic86@gmail.com>
2019-02-11 14:27:56 +01:00
Manuel Imperiale
94574e3707
NOISSUE - fix CLI log ( #581 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-02-08 15:38:07 +01:00
Juanma Fernandez
b12bb3374b
NOISSUE - Fix users logs in main.go ( #577 )
...
Signed-off-by: juanmagal <juanma.galmes@gmail.com>
2019-02-07 08:43:43 +01:00
Dušan Borovčanin
3f3b42b511
MF-519 - Refine Message ( #567 )
...
* Enable Message JSON mashaling/unmarshaling
Update Protobuf generated files.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update readers and SDK to use Mainflux Message
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Fix alignment
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
2019-02-06 13:57:12 +01:00
Dušan Borovčanin
1df4dcd7b7
NOISSUE - Add name field for Bootstrap Config ( #564 )
...
* Add name field to Config
Enable search by name.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Create separate response for unknown Configs
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Use meaningful names for filters
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Add name search tests
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update API docs
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Break mocks check into multiple lines
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Create new instances in a consistent way
Reformat `return` statements.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
2019-02-06 10:28:54 +01:00
Aleksandar Novaković
8966a13760
Fix non-SenML message routing in normalizer ( #573 )
...
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
2019-02-04 13:07:05 +01:00
Drasko DRASKOVIC
0fbb21c3fb
Fix Dusan Maldenovic GitHub ( #570 )
...
Signed-off-by: drasko <drasko.draskovic@gmail.com>
2019-02-03 09:12:40 +01:00
Drasko DRASKOVIC
998c7ef9ef
NOISSUE - Update authors list ( #569 )
...
* NOISSUE - Update authors list
Add Dejan's recognition
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Fix Manu's GitHub nick
Signed-off-by: drasko <drasko.draskovic@gmail.com>
2019-02-02 22:21:33 +01:00
Manuel Imperiale
dc16eb5451
Update lora.md ( #568 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-02-01 23:46:02 +01:00
Manuel Imperiale
53036b5ae7
Fix CLI docs ( #566 )
...
* Fix CLI docs
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix CLI docs typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix CLI docs typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix CLI docs typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Typo fix
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Typo fix
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-02-01 23:17:09 +01:00
Manuel Imperiale
c04909d645
NOISSUE- Improve LoRa doc ( #562 )
...
* Improve lora docs
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Typo fix
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Typo fix
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Typo fix
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-01-31 18:26:00 +01:00
Dušan Borovčanin
bf9e148120
MF-551 - Add metadata fields to Bootstrap Channels ( #563 )
...
* Save MF channel name and metadata to the BS
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Remove separate Channels table
Use nested JSON field instead.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Fix tests
Use proper JSON format for Bootstrap response fields.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update API docs
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Remove unnecessary comments
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Extract Config fields to constants
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Inline if statements
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
2019-01-30 16:40:37 +01:00
Aleksandar Novaković
330545ad38
Fix MQTT adapter by setting subscription queue ( #561 )
...
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
2019-01-28 22:55:14 +01:00
Nikola Marčetić
1947d39119
MF-558 - Add MQTT subtopics documentation ( #559 )
...
* Added MQTT subtopic's doc section
Signed-off-by: nmarcetic <n.marcetic86@gmail.com>
* Resolving remarks
Signed-off-by: nmarcetic <n.marcetic86@gmail.com>
* Resolving remarks
Signed-off-by: nmarcetic <n.marcetic86@gmail.com>
* Resolved remarks
Signed-off-by: nmarcetic <n.marcetic86@gmail.com>
2019-01-28 14:36:29 +01:00
Drasko DRASKOVIC
0b770ce49e
Fix regexp for SUB ( #557 )
...
Signed-off-by: drasko <drasko.draskovic@gmail.com>
2019-01-26 20:53:35 +01:00
Drasko DRASKOVIC
2c6379f823
Simplify MQTT topipc regexp ( #555 )
...
Current regexp makes 2 selection groups, while
capturing just the first group (the only one of
interest) into variable.
This PR simplifies the regexp and avoids capturing
secound group.
Signed-off-by: drasko <drasko.draskovic@gmail.com>
2019-01-26 19:53:01 +01:00
Nikola Marčetić
c8e7a97122
MF-429 -Enabled MQTT subtopic's ( #554 )
...
* Enabled MQTT subtopic
Signed-off-by: nmarcetic <n.marcetic86@gmail.com>
* Removed debug logs
Signed-off-by: nmarcetic <n.marcetic86@gmail.com>
* Resolved remarks
Signed-off-by: nmarcetic <n.marcetic86@gmail.com>
* Resolved remarks
Signed-off-by: nmarcetic <n.marcetic86@gmail.com>
2019-01-25 22:22:36 +01:00
Manuel Imperiale
6bc287e028
NOISSUE - Fix normalizer exposed port in docker-compose ( #548 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-01-21 09:28:50 +01:00
Aleksandar Novaković
f9f25e2d2f
Fix pagination response for empty page ( #547 )
...
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
2019-01-17 17:31:30 +01:00
Aleksandar Novaković
ca6968f8d0
Fix swagger and provisioning docs ( #546 )
...
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
2019-01-17 16:56:03 +01:00
Aleksandar Novaković
a618627599
Add env var for number of concurrent messages ( #545 )
...
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
2019-01-17 02:26:58 +01:00
Aleksandar Novaković
fedbe1c422
NOISSUE - Update doc and fix empty key bug ( #544 )
...
* Update docs with new connection endpoints
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Fix empty key bug
Return key that was absent from things that are returned in
connections endpoint.
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
2019-01-15 18:51:06 +01:00
Dušan Borovčanin
7ff738360b
MF-370 - Simplify and refine CI ( #541 )
...
* Add CI script
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Fix indentetion
Add script explanation comment.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
2019-01-11 13:57:47 +01:00
Manuel Imperiale
a0505e0eeb
NOISSUE - Add connection commands to CLI ( #542 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-01-10 21:42:31 +01:00
Drasko DRASKOVIC
3bbd21f583
NOISSUE - Refine docs ( #537 )
...
Signed-off-by: drasko <drasko.draskovic@gmail.com>
2019-01-09 17:04:34 +01:00
Dušan Borovčanin
c788ef64c0
Update licnese year ( #533 )
...
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
2019-01-09 16:23:30 +01:00
Dušan Borovčanin
22fc26b375
MF-513 - Add Bootstrapping service ( #524 )
...
* Introduce Config response for bootstrap procedure
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Add inital service implementation
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Enable status change
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Fix logger import
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update BSS to send config in valid format
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Use ConfigReader to create valid format response
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update config retrieval error handle
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Enable Thing deletion API
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Add API support for fetching Thing by ID
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Add list Things endpoint
Update database schema
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Use MF API to update status
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Use Channels list
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Fix reading Thing from the database
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Create Mainflux Thing when adding new Thing to BS
Create MF Thing as soon as Bootstrap service thing is added. There are 2
main reasons to create Thing when adding a new BS Thing over creating
Thing on bootstrapping:
1) On bootstrapping time, user JWT will not be sent as a part of
request, so there is no mechanism to send a valid API call to Mainflux.
2) This way, Bootstrap service will be in sync with Mainlux: each Thing
existing in BS will also be in Mainflux.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Add Thing update
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Remove API key from BS service
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Improve channels update algorithm
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Refactor code
Remove unused fields, comment code and simplfy some method signatures.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Remove Identity Provider and use gRPC
Update dependencies
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Add external auth key
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update BS config reader
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update docker-compose
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update env variable read
Add MQTT password to bootstrap response.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update response fields and tags
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Remove status check
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Enable BS of active Things
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Add NewThing state
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Rename Status to State
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update README.md
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Add filterng
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update List endpoint
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Fix Database query
Remove copyright headers.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Add filter type
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Gateway provisioning (1.d)
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update self-bootstrapping feature
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Add mocks
Update dependencies to the newest Mainflux version.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Add thing service tests
Mocks fix.
Some of the service code intentionally left untested due to possible
changes in future.
Fix copyright headers and update Mainflux and other dependencies.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Use name "Config" instead of "Thing"
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Refactor code
Remove commented code.
Fix typo.
Remove unused exported error.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Simplify service tests
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Remove Assign method
Raise test coverage.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update database schema
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Store unknown bootstrap attempts
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update unknown bootstrap handling
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update naming
Fix uses of `Thing` in DB and `api` package.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Add endpoint tests
Currently, only test for adding a new Config are implemented.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Add initialization of DB tests
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Add DB tests
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update readme file
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Add API docs
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Remove Mainflux from vendor
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Add licence headers
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Fix service and endpoint tests
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Raise test coverage
Remove unused repsonse type.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update build and deployment
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update API docs
Fix typo.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update imports formatting
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Make state response empty
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Raise test coverage
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update API docs
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update readme file
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Use uuid as a primary key
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Use Mainflux ID
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Remove `Created` state.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Move State to separate file
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Add Things prefix
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update API and API docs
Be consistent in API naming and add some useful comments.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Refactor repository implementation
Cleanup code, make it more readable. Fix missing drop in migrations.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Use "cfg" insted of "thing"
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Fix tests
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update tables names
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
2019-01-09 15:42:23 +01:00
Aleksandar Novaković
8dbe2f4066
Add dedicated env vars for event sourcing ( #536 )
...
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
2019-01-08 22:08:24 +01:00
Drasko DRASKOVIC
72fa9db939
NOISSUE - Fix docs ( #535 )
...
Signed-off-by: drasko <drasko.draskovic@gmail.com>
2019-01-08 21:15:00 +01:00
Manuel Imperiale
7a3d7fa8ec
Add lora doc to getting-started.md ( #529 )
...
* Add lora doc to getting-started.md
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Typo fix
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix doc
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add missing components doc to architecture.md (#531 )
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix doc
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-01-08 12:25:13 +01:00
Aleksandar Novaković
ea1993665d
MF-483 - Enable channels and devices corresponding lists in backend ( #520 )
...
* Add list channels by thing id endpoint
Add list channels by thing id endpoint to things service. Add
pagination format and logic.
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Add fetch channels by thing endpoint
Add fetch channels by thing endpoint with pagination.
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Update list endpoints to contain pagination
Update list endpoints to contain pagination metadata.
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Add tests for two new endpoints
Add tests for two new endpoints and update existing ones. Also,
remove connected field from channel response.
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Fix tests for SDK
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Add SDK methods for new endpoints
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Update swagger docs for things service
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Add error handling to http tests
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Fix response body in http tests
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Remove unused responses from things service
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Add test cases to things postgres tests
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Add test cases for event sourcing
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
2019-01-08 11:53:24 +01:00
Aleksandar Novaković
bd00c5fa13
NOISSUE - Fix event sourcing client on LoRa adapter ( #527 )
...
* Fix event sourcing client on LoRa adapter
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Fix tests for things redis streams
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
2019-01-07 23:54:18 -02:00
Manuel Imperiale
c75aaa9d45
Add missing components doc to architecture.md ( #531 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2018-12-29 22:17:35 +01:00
Aleksandar Novaković
cdd2eb4bc7
Fix MQTT adapter scaling issue ( #526 )
...
MQTT adapter wasn't scalable because mq emitter wasn't setup. Now
it's working as intended. You can create two different instances
and exchange messages between their clients.
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
2018-12-27 10:44:57 +01:00
Aleksandar Novaković
584c8591ad
Fix logging level in MQTT adapter ( #522 )
...
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
2018-12-21 17:45:49 +01:00
Aleksandar Novaković
643dc12408
Remove heartbeat log from MQTT broker ( #521 )
...
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
2018-12-21 16:14:54 +01:00
Manuel Imperiale
655141e941
MF-433 - Add method for reading messages from readers to SDK. ( #511 )
...
* MF-433 - Add method for reading messages from readers to SDK
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add messages read command on CLI
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix review
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2018-12-18 22:04:34 +01:00
Manuel Imperiale
c8069827bb
MF-506 - Fix influx & mongo readers queries to return most recent messages ( #510 )
...
* MF-506 - Fix fluxdb-reader query to return recent messages
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* MF-506 - Fix mongodb-reader query to return messages sorted by descendent time
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix readers tests
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2018-12-18 15:17:55 +01:00
Aleksandar Novaković
1e017bdbcc
Fix data scheme in cassandra writer ( #514 )
...
Fix data scheme so that cassandra stores channel and thing id as
text. Support sorting by time per channel partition.
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
2018-12-17 20:41:11 +01:00
Manuel Imperiale
5f6bbf4b0a
MF-419 - Use JSON for CLI commands output ( #504 )
...
* MF-419 - Use JSON for CLI commands output
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* dep ensure
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Remove accidentaly added CLI binary
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix cast
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix review
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Typo fix
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use logCreated for token command
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix review
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2018-12-16 14:01:37 -05:00