* Replace Nats with Nats Jestream For PubSub
Signed-off-by: rodneyosodo <blackd0t@protonmail.com>
* Add Stream Description
Signed-off-by: rodneyosodo <blackd0t@protonmail.com>
* Fix connection leak in NATS publisher
The publisher struct in pkg/messaging/nats/publisher.go was modified to include a new `conn` field of type `*broker.Conn`. This change was made to fix a connection leak issue in the NATS publisher.
The `NewPublisher` function was updated to assign the `conn` parameter to the new `conn` field in the publisher struct.
Additionally, the `Close` method in the publisher struct was modified to close the `conn` connection.
This commit fixes the connection leak issue in the NATS publisher and ensures that connections are properly closed.
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
* Setup subscriber config to contain handler topic and ID
Signed-off-by: rodneyosodo <blackd0t@protonmail.com>
* Add delivery policy
Signed-off-by: rodneyosodo <blackd0t@protonmail.com>
* Avoid duplicate messages
Signed-off-by: rodneyosodo <blackd0t@protonmail.com>
* Rename to DeliveryPolicy
Signed-off-by: rodneyosodo <blackd0t@protonmail.com>
* Fix tests
Signed-off-by: rodneyosodo <blackd0t@protonmail.com>
* Not check for data result set when we are returning subset of messages
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* For unsubscribe remove config
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* Fix comment
Signed-off-by: rodneyosodo <blackd0t@protonmail.com>
---------
Signed-off-by: rodneyosodo <blackd0t@protonmail.com>
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* Minor changes on mqtt publisher using nats
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
* Remove vernemq dependencies
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
* Restore VerneMQ config files
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
* Fix Makefile to support custom Docker profiles
The Makefile has been updated to support custom Docker profiles.
Previously, the Makefile only supported the default profiles for the
message broker and MQTT broker. Now, the Makefile allows for custom
profiles to be specified using environment variables. If the
MF_BROKER_TYPE or MF_MQTT_BROKER_TYPE variables are not set, the
default values "nats" and "nats" will be used, respectively. This
change enables more flexibility in configuring the Docker environment
for the project.
The `run` target has also been modified to use the correct broker
configuration file based on the MF_BROKER_TYPE variable. The sed
command in the `run` target now replaces the placeholder in the
docker/docker-compose.yml file with the appropriate broker
configuration file.
This commit improves the Makefile to support custom Docker profiles
and ensures the correct broker configuration file is used when
running the project.
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
* Fix queue binding issue in RabbitMQ pubsub
The commit fixes an issue in the RabbitMQ pubsub implementation where the queue binding was not correctly set up. Instead of using the topic as the queue name, the commit now uses a unique client ID generated by combining the topic and subscriber ID. This ensures that each subscriber has its own dedicated queue. The commit also updates the queue binding to use the correct queue name.
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
* Refactor Docker config editing in Makefile
The commit refactors the `edit_docker_config` function in the Makefile to improve readability and maintainability. The changes include:
- Removing unnecessary conditionals related to the `rabbitmq` broker
These changes ensure that the Docker configuration is correctly updated based on the specified MQTT broker type.
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
* Fix failing tests on RabbitMQ
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
* Refactor MQTT_BROKER comment in docker-compose.yml
The MQTT_BROKER comment in the docker-compose.yml file has been updated to provide a more accurate description of its functionality. The comment now states that the MQTT_BROKER handles MQTT communication between MQTT adapters and the message broker, instead of Mainflux services. This change improves clarity and aligns with the actual purpose of the MQTT_BROKER.
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
* Rename `MF_BROKER` to `MF_MESSAGE_BROKER`
The Makefile and Semaphore configuration files have been refactored to update the variable names related to the message broker type.
These changes ensure consistency and clarity in the codebase by using more descriptive variable names related to the message broker type.
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
* Fix Docker profile configuration for nats_rabbitmq
Update the Docker profile configuration for nats_rabbitmq by replacing the NATS URL in the .env file with the correct value.
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
* Rename MF_BROKER_URL to MF_MESSAGE_BROKER_URL
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
* Fix MQTT QoS level in pubsub.go
The MQTT QoS level in the pubsub.go file was set to 1, which is the
default level. However, since NATS supports up to QoS 1, I updated the
QoS level comment to reflect this.
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
* Refactor NewPublisher to accept QoS parameter
The NewPublisher function in the pkg/messaging/mqtt/publisher.go file has been refactored to accept a new parameter, qos, which represents the Quality of Service level for MQTT message publishing. This change allows for more flexibility in configuring the MQTT publisher.
The NewPublisher function now has the following signature:
```go
func NewPublisher(address string, qos uint8, timeout time.Duration) (messaging.Publisher, error)
```
This change ensures that the MQTT publisher can be created with the desired QoS level, enhancing the reliability and delivery guarantees of the published messages.
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
* Fix test assertions in pubsub_test.go
The test assertions in the pubsub_test.go file were incorrect. This commit fixes the assertions to properly compare the expected and received message values.
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
* Test configurable MQTT broker
Signed-off-by: rodneyosodo <blackd0t@protonmail.com>
---------
Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
Signed-off-by: rodneyosodo <blackd0t@protonmail.com>
* Fix linting errors
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* feat(linters): add ineffassign linter
This commit adds the `ineffassign` linter to the project's `.golangci.yml` configuration file. The `ineffassign` linter helps identify and flag assignments to variables that are never used, helping to improve code quality and maintainability.
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* Add extra linters
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* feat(golangci): Add header check
- Added goheader check to ensure all files have license headers
- Added build tags for "nats" in the .golangci.yml file to include the necessary dependencies for the "nats" package during the build process.
- Also, increased the maximum number of issues per linter and the maximum number of same issues reported by the linter to improve the code quality analysis.
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* feat(.golangci.yml): Add new linters
Add the following new linters to the .golangci.yml configuration file:
- asasalint
- asciicheck
- bidichk
- contextcheck
- decorder
- dogsled
- errchkjson
- errname
- execinquery
- exportloopref
- ginkgolinter
- gocheckcompilerdirectives
These linters will help improve code quality and catch potential issues during the code review process.
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
---------
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* Return Auth service
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Update Compose to run with SpiceDB and Auth svc
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Update auth gRPC API
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Remove Users' policies
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Move Groups to internal
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Use shared groups in Users
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Remove unused code
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Use pkg Groups in Things
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Remove Things groups
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Make imports consistent
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Update Groups networking
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Remove things groups-specific API
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Move Things Clients to the root
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Move Clients to Users root
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Temporarily remove tracing
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Fix imports
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Add buffer config for gRPC
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Update auth type for Things
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Use Auth for login
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Add temporary solution for refresh token
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Update Tokenizer interface
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Updade tokens issuing
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Fix token issuing
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Update JWT validator and refactor Tokenizer
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Rename access timeout
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Rename login to authenticate
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Update Identify to use SubjectID
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Add Auth to Groups
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Use the Auth service for Groups
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Update auth schema
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Fix Auth for Groups
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Add auth for addons (#14)
Signed-off-by: Arvindh <arvindh91@gmail.com>
Speparate Login and Refresh tokens
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Merge authN and authZ requests for things
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Add connect and disconnect
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Update sharing
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Fix policies addition and removal
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Update relation with roels
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Add gRPC to Things
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Assign and Unassign members to group and Listing of Group members (#15)
* add auth for addons
Signed-off-by: Arvindh <arvindh91@gmail.com>
* add assign and unassign to group
Signed-off-by: Arvindh <arvindh91@gmail.com>
* add group incomplete repo implementation
Signed-off-by: Arvindh <arvindh91@gmail.com>
* groups for users
Signed-off-by: Arvindh <arvindh91@gmail.com>
* groups for users
Signed-off-by: Arvindh <arvindh91@gmail.com>
* groups for users
Signed-off-by: Arvindh <arvindh91@gmail.com>
* groups for users
Signed-off-by: Arvindh <arvindh91@gmail.com>
---------
Signed-off-by: Arvindh <arvindh91@gmail.com>
Move coap mqtt and ws policies to spicedb (#16)
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
Remove old policies
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
NOISSUE - Things authorize to return thingID (#18)
This commit modifies the authorize endpoint to the grpc endpoint to return thingID. The authorize endpoint allows adapters to get the publisher of the message.
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
Add Groups to users service (#17)
* add assign and unassign to group
Signed-off-by: Arvindh <arvindh91@gmail.com>
* add group incomplete repo implementation
Signed-off-by: Arvindh <arvindh91@gmail.com>
* groups for users
Signed-off-by: Arvindh <arvindh91@gmail.com>
* groups for users
Signed-off-by: Arvindh <arvindh91@gmail.com>
* groups for users
Signed-off-by: Arvindh <arvindh91@gmail.com>
* groups for users
Signed-off-by: Arvindh <arvindh91@gmail.com>
* groups for users stable 1
Signed-off-by: Arvindh <arvindh91@gmail.com>
* groups for users stable 2
Signed-off-by: Arvindh <arvindh91@gmail.com>
* groups for users & things
Signed-off-by: Arvindh <arvindh91@gmail.com>
* Amend signature
Signed-off-by: Arvindh <arvindh91@gmail.com>
* fix merge error
Signed-off-by: Arvindh <arvindh91@gmail.com>
---------
Signed-off-by: Arvindh <arvindh91@gmail.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* NOISSUE - Fix es code (#21)
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* NOISSUE - Fix Bugs (#20)
* fix bugs
Signed-off-by: Arvindh <arvindh91@gmail.com>
* fix bugs
Signed-off-by: Arvindh <arvindh91@gmail.com>
---------
Signed-off-by: Arvindh <arvindh91@gmail.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* NOISSUE - Test e2e (#19)
* fix: connect method
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* fix: e2e
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* fix changes in sdk and e2e
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* feat(docker): remove unnecessary port mapping
Remove the port mapping for MQTT broker in the docker-compose.yml file.
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* Enable group listing
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* feat(responses): update ChannelsPage struct
The ChannelsPage struct in the responses.go file has been updated. The "Channels" field has been renamed to "Groups" to provide more accurate naming. This change ensures consistency and clarity in the codebase.
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* feat(things): add UpdateClientSecret method
Add the UpdateClientSecret method to the things service. This method allows updating the client secret for a specific client identified by the provided token, id, and key parameters.
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
---------
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Use smaller buffers for gRPC
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Clean up tests (#22)
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add Connect Disconnect endpoints (#23)
* fix bugs
Signed-off-by: Arvindh <arvindh91@gmail.com>
* fix bugs
Signed-off-by: Arvindh <arvindh91@gmail.com>
* fix list of things in a channel and Add connect disconnect endpoint
Signed-off-by: Arvindh <arvindh91@gmail.com>
* fix list of things in a channel and Add connect disconnect endpoint
Signed-off-by: Arvindh <arvindh91@gmail.com>
---------
Signed-off-by: Arvindh <arvindh91@gmail.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add: Things share with users (#25)
* fix list of things in a channel and Add connect disconnect endpoint
Signed-off-by: Arvindh <arvindh91@gmail.com>
* add: things share with other users
Signed-off-by: Arvindh <arvindh91@gmail.com>
---------
Signed-off-by: Arvindh <arvindh91@gmail.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* NOISSUE - Rename gRPC Services (#24)
* Rename things and users auth service
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* docs: add authorization docs for gRPC services
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* Rename things and users grpc services
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* Remove mainflux.env package
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
---------
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add: Listing of things, channels, groups, users (#26)
* add: listing of channels, users, groups, things
Signed-off-by: Arvindh <arvindh91@gmail.com>
* add: listing of channels, users, groups, things
Signed-off-by: Arvindh <arvindh91@gmail.com>
* add: listing of channels, users, groups, things
Signed-off-by: Arvindh <arvindh91@gmail.com>
* add: listing of channels, users, groups, things
Signed-off-by: Arvindh <arvindh91@gmail.com>
---------
Signed-off-by: Arvindh <arvindh91@gmail.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* NOISSUE - Clean Up Users (#27)
* feat(groups): rename redis package to events
- Renamed the `redis` package to `events` in the `internal/groups` directory.
- Updated the file paths and names accordingly.
- This change reflects the more accurate purpose of the package and improves code organization.
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* feat(auth): Modify identity method
Change request and response of identity method
Add accessToken and refreshToken to Token response
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* clean up users, remove dead code
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* feat(users): add unit tests for user service
This commit adds unit tests for the user service in the `users` package. The tests cover various scenarios and ensure the correct behavior of the service.
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
---------
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add: List of user groups & removed repeating code in groups (#29)
* removed repeating code in list groups
Signed-off-by: Arvindh <arvindh91@gmail.com>
* add: list of user group
Signed-off-by: Arvindh <arvindh91@gmail.com>
* fix: otel handler operator name for endpoints
Signed-off-by: Arvindh <arvindh91@gmail.com>
---------
Signed-off-by: Arvindh <arvindh91@gmail.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* NOISSUE - Clean Up Things Service (#28)
* Rework things service
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* add tests
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
---------
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* NOISSUE - Clean Up Auth Service (#30)
* clean up auth service
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
* feat(auth): remove unused import
Remove the unused import of `emptypb` in `auth.pb.go`. This import is not being used in the codebase and can be safely removed.
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
---------
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* NOISSUE - Update API docs (#31)
Signed-off-by: rodneyosodo <blackd0t@protonmail.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Remove TODO comments and cleanup the code
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Update dependenices
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
---------
Signed-off-by: Arvindh <arvindh91@gmail.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
Signed-off-by: rodneyosodo <blackd0t@protonmail.com>
Co-authored-by: b1ackd0t <28790446+rodneyosodo@users.noreply.github.com>
Co-authored-by: Arvindh <30824765+arvindh123@users.noreply.github.com>
* Improve path parameters naming
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
* Improve path parameter naming
improve path parameter naming for:
bootstrap/api/transport.go
twins/api/http/transport.go
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
* Change functions to suit updated path params
Duplicated the functions decodeView and decodeListByConnection to
form new functions decodeThingView, decodeChannelView,
decodeThingListByConnection and decodeChannelListByConnection. This
was as a result of the two functions being used for both view thing
and view channel services
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
* Improve path parameter naming
Improve path parameter naming for:
auth/api/http/groups/transport.go
bootstrap/api/transport.go
twins/api/http/transport.go
ws/api/endpoints.go
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
* fix swagger files
Updated the following swagger files
api/openapi/auth.yml
api/openapi/cert.yml
api/openapi/websocket.yml
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
* Move websocket.yml from openapi to asyncapi
deleted websocket.yml file in openapi and created websocket.yml file
in asyncapi
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
* Update websocket.yml file
Update the websocket.yml file to make subtopic optional and
added security (bearerAuth)
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
* Format new line correctly
format newline for api/asyncapi/websocket.yml
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
* update websocket.yml file
update the websocket.yml file based on the requested review changes
The document is now valid
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
* Update path parameter naming
make changes to path parameter naming in:
api/openapi/consumers-notifiers.yml
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
* update path parameters naming
Update path parameters naming to be consistent with Go
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
* update the mqtt.yml file
update the mqtt.yml file to the latest AsyncAPI version and
make changes on the security of the server
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
* Add contact information
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
* Update api/asyncapi/mqtt.yml
Co-authored-by: b1ackd0t <blackd0t@protonmail.com>
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
* Add an empty line between functions
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
---------
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Co-authored-by: b1ackd0t <blackd0t@protonmail.com>
Co-authored-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* Upgrade InfluxDB from 1.x to 2.x
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Influx DB configuration updated
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Connection to InfluxDBv2
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Token cannot be created
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Connected to InfluxDB2
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Connected to InfluxDB2
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* InfluxDB v2 Consumer Implementation
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* quickfix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Influxdb-Writer Unit Tests Update
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Consumer Update
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* InfluxDB Writer Tests Implemented
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* fix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* InfluxDB Connection Check
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolving Remarks
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolved consumer-test remark
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* consumer-test slow working version
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* reader changes
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Consumer tests time issue fixed
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Eof warning fixed
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolved Reviews
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Makefile Fixed
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolved Reviews
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolved Reviews
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolved Reviews
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolved Reviews
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolved Reviews
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Readers Initial Setup
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* consumer json fix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* readers simple version
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* readers simple version fix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* readers simple version fix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* readers simple version fix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* readers simple version fix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* readers simple version fix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* readers simple version fix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Influxdb Reader Parsers
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Influxdb Reader Parsers
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Influxdb Reader Parsers
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Bugfix and resolves comments.
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* one test fails
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* solved last page read
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* writers future time problem fixed
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* weird
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* weird
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Tests Passes
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolve Semaphore Issues
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* UUID comment on consumer tests resolved
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Inclusive from and Exclusive to
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Inclusive from and Exclusive to
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* 1 second limits
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* 1 second limits
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* resolved review
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* resolved review
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* resolved review
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* resolved review
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* fixed json time
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* fixed CI error
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* resolved request
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* resolved request
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* resolved requests
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* removed blank line
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* resolved comment
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* deleted unnecessary string builder
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* initial commit
Signed-off-by: aryan <aryangodara03@gmail.com>
* change influxdb docker image version.
Signed-off-by: aryan <aryangodara03@gmail.com>
* go mod and vendor fixing
Signed-off-by: aryan <aryangodara03@gmail.com>
* Upgrade InfluxDB from 1.x to 2.x
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Influx DB configuration updated
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Connection to InfluxDBv2
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Token cannot be created
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Connected to InfluxDB2
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Connected to InfluxDB2
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* InfluxDB v2 Consumer Implementation
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* quickfix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Influxdb-Writer Unit Tests Update
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Consumer Update
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* InfluxDB Writer Tests Implemented
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* fix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* InfluxDB Connection Check
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolving Remarks
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolved consumer-test remark
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* consumer-test slow working version
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* reader changes
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Consumer tests time issue fixed
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolved Reviews
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolved Reviews
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolved Reviews
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolved Reviews
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolved Reviews
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolved Reviews
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Readers Initial Setup
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* consumer json fix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* readers simple version
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* readers simple version fix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* readers simple version fix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* readers simple version fix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* readers simple version fix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* readers simple version fix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* readers simple version fix
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Influxdb Reader Parsers
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Influxdb Reader Parsers
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Influxdb Reader Parsers
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Bugfix and resolves comments.
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* one test fails
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* solved last page read
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* writers future time problem fixed
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* weird
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* weird
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Tests Passes
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Resolve Semaphore Issues
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* UUID comment on consumer tests resolved
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Inclusive from and Exclusive to
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* Inclusive from and Exclusive to
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* 1 second limits
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* 1 second limits
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* resolved review
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* resolved review
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* resolved review
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* resolved review
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* fixed json time
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* fixed CI error
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* resolved request
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* resolved request
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* resolved requests
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* removed blank line
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* resolved comment
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* deleted unnecessary string builder
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
* initial commit
Signed-off-by: aryan <aryangodara03@gmail.com>
* change influxdb docker image version.
Signed-off-by: aryan <aryangodara03@gmail.com>
* go mod and vendor fixing
Signed-off-by: aryan <aryangodara03@gmail.com>
* go mod fixing
Signed-off-by: aryan <aryangodara03@gmail.com>
* make tests pass locally, fix errors
Signed-off-by: aryan <aryangodara03@gmail.com>
* rem unsused variables/consts
Signed-off-by: aryan <aryangodara03@gmail.com>
* go mod tidy vendor
Signed-off-by: aryan <aryangodara03@gmail.com>
* add env var and data types
Signed-off-by: aryan <aryangodara03@gmail.com>
* update influxdb version to latest (2.3 to 2.12)
Signed-off-by: aryan <aryangodara03@gmail.com>
* change time precision for message tests
Signed-off-by: aryan <aryangodara03@gmail.com>
* renamed influxdb2 to influxdata
Signed-off-by: aryan <aryangodara03@gmail.com>
* address remarks on PR
Signed-off-by: aryan <aryangodara03@gmail.com>
* update influxbd according to latest mf commit
Signed-off-by: aryan <aryangodara03@gmail.com>
* temp commit, rem before pushing
Signed-off-by: aryan <aryangodara03@gmail.com>
* update main files and cassandra-reader messages_tests
Signed-off-by: aryan <aryangodara03@gmail.com>
* fix name of logger while importing
Signed-off-by: aryan <aryangodara03@gmail.com>
* remove unnecessary print lines
Signed-off-by: aryan <aryangodara03@gmail.com>
* correct env var name
Signed-off-by: aryan <aryangodara03@gmail.com>
* change to async consume
Signed-off-by: aryan <aryangodara03@gmail.com>
* add option to switch bw sync and async
Signed-off-by: aryan <aryangodara03@gmail.com>
* test for both async and sync
Signed-off-by: aryan <aryangodara03@gmail.com>
* update consumer and add writeAPIs to config
Signed-off-by: aryan <aryangodara03@gmail.com>
* revert back to sync consuming
Signed-off-by: aryan <aryangodara03@gmail.com>
* temp fix for default timeout value
Signed-off-by: aryan <aryangodara03@gmail.com>
* set default timeout in config.
Signed-off-by: aryan <aryangodara03@gmail.com>
* remove unwanted env vars, add required ones.
Signed-off-by: aryan <aryangodara03@gmail.com>
* rem unused username password from config
Signed-off-by: aryan <aryangodara03@gmail.com>
* update readme, env vars, and remove grafana
Signed-off-by: aryan <aryangodara03@gmail.com>
* update readme
Signed-off-by: aryan <aryangodara03@gmail.com>
* fix typo
Signed-off-by: aryan <aryangodara03@gmail.com>
* update readme description.
Signed-off-by: aryan <aryangodara03@gmail.com>
* fix more typos.
Signed-off-by: aryan <aryangodara03@gmail.com>
* add link to official docs to readme.
Signed-off-by: aryan <aryangodara03@gmail.com>
---------
Signed-off-by: fatih <fatihdurmaz@sabanciuniv.edu>
Signed-off-by: aryan <aryangodara03@gmail.com>
Co-authored-by: fatih <fatihdurmaz@sabanciuniv.edu>
Co-authored-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* - MF-1580
- Modified consumers/writers/influxdb/fields.go
- influxdb-writer used to update data type of update-time to string
- Commented line 12 of consumers/writers/influxdb/fields.go to resolve
uneccessary data type conversion issue
Signed-off-by: Hasan Tariq <hasantariqashraf@gmail.com>
* - MF-1580
- Removed strconv package from consumers/writers/influxdb/fields.go since it is no longer needed
- Removed line 12 from consumers/writers/influxdb/fields.go
- Replaced retrun value of updateTime with msg.UpdateTime (line 16 in
fields.go)
Signed-off-by: Hasan Tariq <hasantariqashraf@gmail.com>
* Fix InflxuDB readers
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Co-authored-by: Hasan Tariq <hasant@plcgroup.com>
Co-authored-by: dusanb94 <dusan.borovcanin@mainflux.com>
* MF-1348 - Add go-kit transport level logging
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix merge
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix remark
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix go test flags
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use httputil errors in things and http service
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix SDK tests
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use httputil errors in certs and provision service
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use httputil errors in consumers service
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* General renaming and add ErrMissingToken
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rename httputil -> apiutil and use errors in users servive
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use apiutil errors in auth, bootstrap, readers, things and twins
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Replace errors.Contain by comparison
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix remarks
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Simplify validateID
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Simplify validateID
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Simplify and rename ExtractAuthToken -> ExtractBearerToken
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix readers
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix auth key test and remarks
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Improve comment
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Simplify validateUUID check
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
Co-authored-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* MF-1469 - Indicate proper authentication scheme in Authorization header
Signed-off-by: Stefan Kovacevic <jen2tri@gmail.com>
* Fixing the remarks on the last push
Signed-off-by: Stefan Kovacevic <jen2tri@gmail.com>
* Remove Bearer prefix in all services and fix tests
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix remarks
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
Co-authored-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* MF-1240 - Return to service transport layer only service errors
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Remove unecessary errors
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rm duplicated errors and fix transport
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Revert http endpoint_test
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix conflict
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
Co-authored-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Use gomail package for sending emails
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* remove print err
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* Add vendor
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* Rename email structure
remove logger
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* typo in var name
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* rename var
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* remove MF_EMAIL_SECRET
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* MF-1308 - Use IETF Health Check standard
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add nginx health endpoint
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rm github.com/nelkinda dependency
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Check error
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Replace Version by Health in the CLI and SDK
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use new build flag go:build
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Revert wrong renaming
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* sdk health test
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add /health endpoint to openapi doc
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use const for description message
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add version and build time during build
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Time format
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add version and commit using git and build args
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add comments
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add tests
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add missing api properties
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix api
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use ./schemas/HealthInfo.yml as
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix example
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use content type application/health+json
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Set Makefile variables only if empty
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* MF-1421 - Add a flag for making flattening JSON transformer optional
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Add test cases for JSON transformer without flattening
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Add a comment for Transform
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Separate TestTransformJSON into two tests
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Replace flatten flag
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Remove unnecessary flattening while reading a message
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* init swaggerui action
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* remove dep
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* fix filename
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* add checkout master
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* try diffrent action
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* change path for search
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* change path
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* change path
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* put almost all openapi spec to one folder
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* fix pattern
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* try servers changing
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* test k8s
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* remove servers
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* use blokovi action
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* add cname
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* Parameters ready for PR to upstream
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* Fix errors in Auth openapi spec
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* remove white line
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* fix link in README
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* change docs and api links in readme files
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* MF-1368 - Add internal http api package for query params reading
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix comments
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix comments
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use internal/http and internalhttp alias
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Mv errors types to pkg
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use httputil/query.go and remove aliases
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add blank lines after error definitions
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add ReadBoolValueQuery
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Mv readBoolValueQuery
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* User ErrNotFoundParam instead of pointer
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Revert ReadUintQuery to use default values
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use default values for all query readers
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>