Drasko DRASKOVIC

Results 127 comments of Drasko DRASKOVIC

Apart from this - I think we should separate thing `token` from `thingID`, and really have an independant pair. This would allow then for users to provide us their `Password`s...

OK, then I guess it is just for us to decide do we encrypt, or we let user give us his key. I am more for the approach where we...

At this moment, I think we should encrypt, as I would expect that someone forgot/lost token written in the device flash and wants to retrieve it. If we just hash,...

@lpegoraro great, it would be highly appreciated. We'll let you know very soon.

@mandric yes, definitely you can give it a try. I think it should start by selecting a correct technology. @chombium and @anovakovic01 mentioned [Pact](https://docs.pact.io/) before, and there is a Go...

Yes, this is interesting. I researched already [go-swagger](https://github.com/go-swagger/go-swagger) before. In any case, fining an equivalent to this would be interesting: https://github.com/postmanlabs/newman

A Peorperty-Based Testing technique is worth investigating: https://www.youtube.com/watch?v=hXnS_Xjwk2Y Haskell has a famous tool [QuickCheck](http://www.cse.chalmers.se/~rjmh/QuickCheck/manual.html), maybe some libs/frameworks for Go exist: - https://blog.gopheracademy.com/advent-2017/property-based-testing/ - https://github.com/flyingmutant/rapid - https://github.com/leanovate/gopter

Thanks @darkodraskovic this looks good. Take care that Mainflux API is not only HTTP, but also async (event-driven) API (for messaging - for example MQTT). Luckily, Pact seem to support...

Additional docs to read: - https://medium.com/@m_arlandy/contract-testing-for-microservices-using-swagger-prism-and-dredd-efdd463b9433 - https://dev.to/waleedashraf/asyncapi-for-documentation-and-validation-of-event-driven-architecture-2ap8 They look interesting - especially the second one, as they can use existing Swagger, OpenAPI and [AsyncAPI](https://www.asyncapi.com/) files (yamls) to generate tests...

Related to this: https://docs.pact.io/faq/convinceme/#but-i-use-swaggeropenapi