Skip to content

Commit

Permalink
NOISSUE - Change Users to Client Entity (absmach#1725)
Browse files Browse the repository at this point in the history
* MF-1678 - Fetching users returns an invalid status code response (absmach#1679)
* fix: get /users authorize err code
* add: test case for forbidden request in GET /users
* update: api docs of GET /users
* add: test case for forbidden request in GET /users
* NOSSUE - Add Seperate Client Service (absmach#1715)
* initial commit
* move clients to jackc/pgx/v5/pgconn
* add clients prefix to all clients URLs
* fix makepolicy handler
* add clients prefix on proxy
* initial commit
* remove unused functions
* NOSSUE - Add Seperate Client Service (absmach#1715)
* initial commit
* move clients to jackc/pgx/v5/pgconn
* add clients prefix to all clients URLs
* fix makepolicy handler
* add clients prefix on proxy
* add roles
* fix add policy for clients
* fix tests
* initial commit
* remove unused functions
* add roles
* fix add policy for clients
* fix tests
* remove keys db volume
* add emailer config
* remove ackc/pgx/v5/stdlib
* rename clients to users
* change users env var
* rename clients to users
* Bump github.com/pion/dtls/v2 from 2.1.5 to 2.2.4 (absmach#1722)
* NOSSUE - Add Seperate Client Service (absmach#1715)
* initial commit
* move clients to jackc/pgx/v5/pgconn
* add clients prefix to all clients URLs
* fix makepolicy handler
* add clients prefix on proxy
* NOSSUE - Add Seperate Client Service (absmach#1715)
* initial commit
* move clients to jackc/pgx/v5/pgconn
* add clients prefix to all clients URLs
* fix makepolicy handler
* add clients prefix on proxy
* initial commit
* add emailer config
* rename clients to users
* cleanup after reabse
* remove clients by replacing with users

Signed-off-by: rodneyosodo <blackd0t@protonmail.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Signed-off-by: SammyOina <sammyoina@gmail.com>
  • Loading branch information
dborovcanin authored and SammyOina committed Mar 30, 2023
1 parent 2e6ffe1 commit b832c13
Show file tree
Hide file tree
Showing 82 changed files with 1,299 additions and 12,111 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

MF_DOCKER_IMAGE_NAME_PREFIX ?= mainflux
BUILD_DIR = build
SERVICES = clients users things http coap ws lora influxdb-writer influxdb-reader mongodb-writer \
SERVICES = users things http coap ws lora influxdb-writer influxdb-reader mongodb-writer \
mongodb-reader cassandra-writer cassandra-reader postgres-writer postgres-reader timescale-writer timescale-reader cli \
bootstrap opcua twins mqtt provision certs smtp-notifier smpp-notifier
DOCKERS = $(addprefix docker_,$(SERVICES))
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/mocks/users.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Mainflux
s// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0

package mocks
Expand Down
1 change: 1 addition & 0 deletions certs/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"time"

"github.com/mainflux/mainflux/certs/pki"
"github.com/mainflux/mainflux/users/policies"
"github.com/mainflux/mainflux/pkg/errors"
mfsdk "github.com/mainflux/mainflux/pkg/sdk/go"
"github.com/mainflux/mainflux/users/policies"
Expand Down
2 changes: 1 addition & 1 deletion cli/users.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ var cmdUsers = []cobra.Command{
Short: "Update user tags",
Long: `Update user tags`,
Run: func(cmd *cobra.Command, args []string) {
if len(args) != 3 {
if len(args) != 4 {
logUsage(cmd.Use)
return
}
Expand Down
3 changes: 0 additions & 3 deletions clients/README.md

This file was deleted.

264 changes: 0 additions & 264 deletions clients/clients/api/endpoints.go

This file was deleted.

Loading

0 comments on commit b832c13

Please sign in to comment.