diff --git a/pkg/auth/anonymous.go b/auth/anonymous.go similarity index 100% rename from pkg/auth/anonymous.go rename to auth/anonymous.go diff --git a/pkg/auth/client.go b/auth/client.go similarity index 100% rename from pkg/auth/client.go rename to auth/client.go diff --git a/pkg/auth/context.go b/auth/context.go similarity index 100% rename from pkg/auth/context.go rename to auth/context.go diff --git a/pkg/auth/factory.go b/auth/factory.go similarity index 100% rename from pkg/auth/factory.go rename to auth/factory.go diff --git a/pkg/auth/grpc.go b/auth/grpc.go similarity index 100% rename from pkg/auth/grpc.go rename to auth/grpc.go diff --git a/pkg/auth/principal.go b/auth/principal.go similarity index 100% rename from pkg/auth/principal.go rename to auth/principal.go diff --git a/pkg/auth/system.go b/auth/system.go similarity index 100% rename from pkg/auth/system.go rename to auth/system.go diff --git a/pkg/auth/user.go b/auth/user.go similarity index 100% rename from pkg/auth/user.go rename to auth/user.go diff --git a/id/system/system.go b/id/system/system.go index c33995d905a615b6c24422e27239da34141d4752..9eb8ddaadae183af06de629312ac4ce540efb3b9 100644 --- a/id/system/system.go +++ b/id/system/system.go @@ -4,8 +4,8 @@ import ( "context" "reflect" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/clients" "git.perx.ru/perxis/perxis-go/pkg/collections" "git.perx.ru/perxis/perxis-go/pkg/environments" diff --git a/images/middleware/access_logging_middleware.go b/images/middleware/access_logging_middleware.go index 0a5f5ec2374db349e5eea81ec147d8258649412f..b70bd7f93c9c72d2cb57db75d238fe7fa975893e 100644 --- a/images/middleware/access_logging_middleware.go +++ b/images/middleware/access_logging_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/images" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/files" "go.uber.org/zap" ) diff --git a/images/middleware/telemetry_middleware.go b/images/middleware/telemetry_middleware.go index 36d09a320a2bd7fa92ceaa341fad44c89989942b..ab486db905010d44be9099cd5baf7cdec8ad0887 100644 --- a/images/middleware/telemetry_middleware.go +++ b/images/middleware/telemetry_middleware.go @@ -10,9 +10,9 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" "git.perx.ru/perxis/perxis-go/images" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/files" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" "go.opentelemetry.io/otel" diff --git a/logs/middleware/logging_middleware.go b/logs/middleware/logging_middleware.go index 3a425bf03a64b0f5fa6d998db8d4076f92755d29..aae4c1cd11b4ae5f89aba5e2e6dc6d9b7e96717b 100644 --- a/logs/middleware/logging_middleware.go +++ b/logs/middleware/logging_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/logs" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/options" "go.uber.org/zap" ) diff --git a/logs/middleware/telemetry_middleware.go b/logs/middleware/telemetry_middleware.go index 3731386368aeb9cdd4678a1e3bd65d892798c610..883fd9e7c759a2f835be799340d3fdd439784be2 100644 --- a/logs/middleware/telemetry_middleware.go +++ b/logs/middleware/telemetry_middleware.go @@ -10,9 +10,9 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" "git.perx.ru/perxis/perxis-go/logs" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/options" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" "go.opentelemetry.io/otel" diff --git a/logs/zap/buffered_write_syncer.go b/logs/zap/buffered_write_syncer.go index 42fae2b134e958045ba2a5986499eac4834862f3..ecb1bdda06c3eec857f07c7d01e86416d535cc34 100644 --- a/logs/zap/buffered_write_syncer.go +++ b/logs/zap/buffered_write_syncer.go @@ -5,8 +5,8 @@ import ( "sync" "time" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/logs" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/errors" ) diff --git a/logs/zap/example_test.go b/logs/zap/example_test.go index dc182fb0fb764b9b7ca3a232678564c8878a72b0..b9ca6907718fe53cadde9a6c24804ca8a08001a7 100644 --- a/logs/zap/example_test.go +++ b/logs/zap/example_test.go @@ -6,10 +6,10 @@ import ( "slices" "testing" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/id" "git.perx.ru/perxis/perxis-go/logs" logmocks "git.perx.ru/perxis/perxis-go/logs/mocks" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/items" "git.perx.ru/perxis/perxis-go/pkg/users" usersmocks "git.perx.ru/perxis/perxis-go/pkg/users/mocks" diff --git a/pkg/account/account.go b/pkg/account/account.go index 9eb54c317274789cb34ee30632df61c152aef93a..61aa47530a09741d7a4a6e81e3f1c86567628ac9 100644 --- a/pkg/account/account.go +++ b/pkg/account/account.go @@ -1,7 +1,7 @@ package account import ( - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/members" msobserver "git.perx.ru/perxis/perxis-go/pkg/members/observer" "git.perx.ru/perxis/perxis-go/pkg/organizations" diff --git a/pkg/clients/middleware/access_logging_middleware.go b/pkg/clients/middleware/access_logging_middleware.go index 66379ef014588aa0b6bcdb92863e00ba9f428fc5..07a826c6d62f1f50c28cb4619d0543e50fe14731 100644 --- a/pkg/clients/middleware/access_logging_middleware.go +++ b/pkg/clients/middleware/access_logging_middleware.go @@ -10,7 +10,7 @@ import ( "context" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/clients" "go.uber.org/zap" ) diff --git a/pkg/clients/middleware/telemetry_middleware.go b/pkg/clients/middleware/telemetry_middleware.go index cbb217153db160631a1e71ebf9d48d68cd787ebc..70c8edf57b83134375c16f2e5f8e4258cb312c1d 100644 --- a/pkg/clients/middleware/telemetry_middleware.go +++ b/pkg/clients/middleware/telemetry_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/clients" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" "go.opentelemetry.io/otel" diff --git a/pkg/collaborators/middleware/access_logging_middleware.go b/pkg/collaborators/middleware/access_logging_middleware.go index 505624ba33f2f91280d3b1dce338262f4a7405d3..ed129dc68d02078189c856ec7661cb8b097a270b 100644 --- a/pkg/collaborators/middleware/access_logging_middleware.go +++ b/pkg/collaborators/middleware/access_logging_middleware.go @@ -10,7 +10,7 @@ import ( "context" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/collaborators" "go.uber.org/zap" ) diff --git a/pkg/collaborators/middleware/telemetry_middleware.go b/pkg/collaborators/middleware/telemetry_middleware.go index d4a6f56ccbc0d2b5334d596c8ca88932d677017b..1c92fe2664da82f977c444ab75f1b870d37cee28 100644 --- a/pkg/collaborators/middleware/telemetry_middleware.go +++ b/pkg/collaborators/middleware/telemetry_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/collaborators" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" "go.opentelemetry.io/otel" diff --git a/pkg/collections/middleware/access_logging_middleware.go b/pkg/collections/middleware/access_logging_middleware.go index 3624955b5d3ef6201704932e623b4e8e00cc6192..81357174233af4f9c03c918822fc30205e82c55f 100644 --- a/pkg/collections/middleware/access_logging_middleware.go +++ b/pkg/collections/middleware/access_logging_middleware.go @@ -10,7 +10,7 @@ import ( "context" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/collections" "git.perx.ru/perxis/perxis-go/pkg/schema" "go.uber.org/zap" diff --git a/pkg/collections/middleware/telemetry_middleware.go b/pkg/collections/middleware/telemetry_middleware.go index c189a7bebaf727b818aa3f37ecb828ff89de6391..37e433b63d47884882d87f3ffc6df4ecd581601f 100644 --- a/pkg/collections/middleware/telemetry_middleware.go +++ b/pkg/collections/middleware/telemetry_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/collections" "git.perx.ru/perxis/perxis-go/pkg/schema" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" diff --git a/pkg/content/content.go b/pkg/content/content.go index 1d351e9308da0ea2c81f8afa80fb2be219c633ea..1842209aa45a647a7d7d5caf576fe9b0fa047639 100644 --- a/pkg/content/content.go +++ b/pkg/content/content.go @@ -1,7 +1,7 @@ package content import ( - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/clients" "git.perx.ru/perxis/perxis-go/pkg/collaborators" "git.perx.ru/perxis/perxis-go/pkg/collections" diff --git a/pkg/delivery/middleware/telemetry_middleware.go b/pkg/delivery/middleware/telemetry_middleware.go index 600b6a61caec8391507735e01d12d82ee822c8e3..308e9a001c9f17b2c727e55a016ec83c7b27d58e 100644 --- a/pkg/delivery/middleware/telemetry_middleware.go +++ b/pkg/delivery/middleware/telemetry_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/collections" "git.perx.ru/perxis/perxis-go/pkg/delivery" "git.perx.ru/perxis/perxis-go/pkg/environments" diff --git a/pkg/environments/middleware/access_logging_middleware.go b/pkg/environments/middleware/access_logging_middleware.go index e357e2ec9786edb9f67a7b14445558f86938e924..11cba721923cf0954b2c11c9245017f72f709235 100644 --- a/pkg/environments/middleware/access_logging_middleware.go +++ b/pkg/environments/middleware/access_logging_middleware.go @@ -10,7 +10,7 @@ import ( "context" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/environments" "go.uber.org/zap" ) diff --git a/pkg/environments/middleware/telemetry_middleware.go b/pkg/environments/middleware/telemetry_middleware.go index f1fb94c767248ac3db42617e9f8c0475ddcece64..681d1ac384cc547164f389d11c0f3e4b7551b24c 100644 --- a/pkg/environments/middleware/telemetry_middleware.go +++ b/pkg/environments/middleware/telemetry_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/environments" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" "go.opentelemetry.io/otel" diff --git a/pkg/extension/manager.go b/pkg/extension/manager.go index 9d4def7ce9e6c24c8e9ac257066606e16db80afb..885c9fb71b63f7ad129be1ff6f56135b0571c7bb 100644 --- a/pkg/extension/manager.go +++ b/pkg/extension/manager.go @@ -3,7 +3,7 @@ package extension import ( "context" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/errors" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" diff --git a/pkg/extension/manager_client.go b/pkg/extension/manager_client.go index 3adbf804204de244552d42875edf1fdf95c06350..d6d98ddc242d83b5ed1dde02747053369e51f20e 100644 --- a/pkg/extension/manager_client.go +++ b/pkg/extension/manager_client.go @@ -3,7 +3,7 @@ package extension import ( "context" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" pb "git.perx.ru/perxis/perxis-go/proto/extensions" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" diff --git a/pkg/extension/middleware/access_logging_middleware.go b/pkg/extension/middleware/access_logging_middleware.go index 0fbd63de8991c449fc96ad49527f5e079bd88773..ab3d08b022c22adfded008fc99b34b650026d207 100644 --- a/pkg/extension/middleware/access_logging_middleware.go +++ b/pkg/extension/middleware/access_logging_middleware.go @@ -10,7 +10,7 @@ import ( "context" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/extension" "go.uber.org/zap" ) diff --git a/pkg/extension/middleware/telemetry_middleware.go b/pkg/extension/middleware/telemetry_middleware.go index 7302cab3b4ecf364f475b0dbe7d77a37c96cd784..52abd1799ada7ef7b4208afc766f5986ec9d6a33 100644 --- a/pkg/extension/middleware/telemetry_middleware.go +++ b/pkg/extension/middleware/telemetry_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/extension" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" "go.opentelemetry.io/otel" diff --git a/pkg/extension/service/registrar.go b/pkg/extension/service/registrar.go index 28da7d37d7e3d5fd29d3dfc51ec8af3ecc83707f..cfaf13230061c526974375a463d8044c2caadb0c 100644 --- a/pkg/extension/service/registrar.go +++ b/pkg/extension/service/registrar.go @@ -4,7 +4,7 @@ import ( "context" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/extension" retry "github.com/avast/retry-go/v4" "go.uber.org/zap" diff --git a/pkg/files/middleware/access_logging_middleware.go b/pkg/files/middleware/access_logging_middleware.go index df932a8282989e17936438b66b714dd9b4b14df6..08cfa1ed205005a97d9897468b6ed53546281006 100644 --- a/pkg/files/middleware/access_logging_middleware.go +++ b/pkg/files/middleware/access_logging_middleware.go @@ -10,7 +10,7 @@ import ( "context" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/files" "go.uber.org/zap" ) diff --git a/pkg/files/middleware/telemetry_middleware.go b/pkg/files/middleware/telemetry_middleware.go index e2e482a6af8f4ffde281120f35c17fae425202f6..7a9072d6cdbaa20c2069c2dfe13363ba530f743f 100644 --- a/pkg/files/middleware/telemetry_middleware.go +++ b/pkg/files/middleware/telemetry_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/files" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" "go.opentelemetry.io/otel" diff --git a/pkg/invitations/middleware/access_logging_middleware.go b/pkg/invitations/middleware/access_logging_middleware.go index 24a854995bed29e849ccf873f41ccd1af073cb69..69383a455a68e75388ee0ba79796b4aca74d39de 100644 --- a/pkg/invitations/middleware/access_logging_middleware.go +++ b/pkg/invitations/middleware/access_logging_middleware.go @@ -10,7 +10,7 @@ import ( "context" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/invitations" "git.perx.ru/perxis/perxis-go/pkg/options" "go.uber.org/zap" diff --git a/pkg/invitations/middleware/telemetry_middleware.go b/pkg/invitations/middleware/telemetry_middleware.go index 1696f81a9ada1457336e928ebb44c79aa6852bcd..59252b0bc5c8390ff195e40bde3747e013710119 100644 --- a/pkg/invitations/middleware/telemetry_middleware.go +++ b/pkg/invitations/middleware/telemetry_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/invitations" "git.perx.ru/perxis/perxis-go/pkg/options" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" diff --git a/pkg/items/middleware/access_logging_middleware.go b/pkg/items/middleware/access_logging_middleware.go index 2342a6d99249f427aa0f4ad6b4220a43ba872a4f..8d376220e8397b280c65e723c118749d3af56468 100644 --- a/pkg/items/middleware/access_logging_middleware.go +++ b/pkg/items/middleware/access_logging_middleware.go @@ -10,7 +10,7 @@ import ( "context" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/items" "git.perx.ru/perxis/perxis-go/pkg/schema" "go.uber.org/zap" diff --git a/pkg/items/middleware/telemetry_middleware.go b/pkg/items/middleware/telemetry_middleware.go index da626aa53ea846ce5747bd0deded09d300d48d95..67e5cbcf9e953f33c98c4b308b2454fe80306002 100644 --- a/pkg/items/middleware/telemetry_middleware.go +++ b/pkg/items/middleware/telemetry_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/items" "git.perx.ru/perxis/perxis-go/pkg/schema" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" diff --git a/pkg/locales/middleware/access_logging_middleware.go b/pkg/locales/middleware/access_logging_middleware.go index ab31fc8c81ec51af35e63ab8eadbc400a9b717db..0d52bc9753210bbde486272cc46e782247ba62db 100644 --- a/pkg/locales/middleware/access_logging_middleware.go +++ b/pkg/locales/middleware/access_logging_middleware.go @@ -10,7 +10,7 @@ import ( "context" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/locales" "go.uber.org/zap" ) diff --git a/pkg/locales/middleware/telemetry_middleware.go b/pkg/locales/middleware/telemetry_middleware.go index 709a6bab9a23210954ae0c756e6c10ac7fa2bd05..179c9471a5e1b98aed2fbd59418418b832428a61 100644 --- a/pkg/locales/middleware/telemetry_middleware.go +++ b/pkg/locales/middleware/telemetry_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/locales" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" "go.opentelemetry.io/otel" diff --git a/pkg/members/middleware/access_logging_middleware.go b/pkg/members/middleware/access_logging_middleware.go index 0a062331a51f9f93d0d7c877637636d3640ef8a7..6a20feb94998f78d95314ba835bab5cde52705c2 100644 --- a/pkg/members/middleware/access_logging_middleware.go +++ b/pkg/members/middleware/access_logging_middleware.go @@ -10,7 +10,7 @@ import ( "context" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/members" "go.uber.org/zap" ) diff --git a/pkg/members/middleware/telemetry_middleware.go b/pkg/members/middleware/telemetry_middleware.go index bf339f3fd998e3e49d842a6b99612759743aced5..f6a79b2238c1d206c92b54f32f8a216a537d70e6 100644 --- a/pkg/members/middleware/telemetry_middleware.go +++ b/pkg/members/middleware/telemetry_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/members" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" "go.opentelemetry.io/otel" diff --git a/pkg/members/observer/middleware/access_logging_middleware.go b/pkg/members/observer/middleware/access_logging_middleware.go index 48e9da969978baf7abdad1ae3c9a92582f56d299..ddc9921dbaa545c20d5d39f010a261859cf5e93e 100644 --- a/pkg/members/observer/middleware/access_logging_middleware.go +++ b/pkg/members/observer/middleware/access_logging_middleware.go @@ -10,7 +10,7 @@ import ( "context" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/collaborators" "git.perx.ru/perxis/perxis-go/pkg/members/observer" "go.uber.org/zap" diff --git a/pkg/operation/service.go b/pkg/operation/service.go index 5456e56a9e853fb45242393d048de652937f5c64..76423f34d0c09202afdcfd29a08c9b957c9a942a 100644 --- a/pkg/operation/service.go +++ b/pkg/operation/service.go @@ -5,7 +5,7 @@ import ( "sync" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/errors" "google.golang.org/protobuf/proto" ) diff --git a/pkg/organizations/middleware/access_logging_middleware.go b/pkg/organizations/middleware/access_logging_middleware.go index be6e937d1dc76ba9a6d4d80acd5c6343e35eacd7..b7892a738a5f108405030b147a59b5cfdbac6f53 100644 --- a/pkg/organizations/middleware/access_logging_middleware.go +++ b/pkg/organizations/middleware/access_logging_middleware.go @@ -10,7 +10,7 @@ import ( "context" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/options" "git.perx.ru/perxis/perxis-go/pkg/organizations" "go.uber.org/zap" diff --git a/pkg/organizations/middleware/telemetry_middleware.go b/pkg/organizations/middleware/telemetry_middleware.go index 1cb7932880080c617db6ccbf2f3d204682ca7c11..b44ee935882950323b3ecf31e2fd3c76d6457424 100644 --- a/pkg/organizations/middleware/telemetry_middleware.go +++ b/pkg/organizations/middleware/telemetry_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/options" "git.perx.ru/perxis/perxis-go/pkg/organizations" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" diff --git a/pkg/references/middleware/access_logging_middleware.go b/pkg/references/middleware/access_logging_middleware.go index b5fe116505c7a5f7d12c5f043c5d1c6b4c5d8fda..9f60039f2d12b29b7bd600f15e146b1fddaf5273 100644 --- a/pkg/references/middleware/access_logging_middleware.go +++ b/pkg/references/middleware/access_logging_middleware.go @@ -10,7 +10,7 @@ import ( "context" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/items" "git.perx.ru/perxis/perxis-go/pkg/references" "go.uber.org/zap" diff --git a/pkg/references/middleware/telemetry_middleware.go b/pkg/references/middleware/telemetry_middleware.go index 3e8fbb773fd9bc548eed3f34f78a4f5adcbe1128..4280c017874d020eddedf5eef927fc91e5910d1a 100644 --- a/pkg/references/middleware/telemetry_middleware.go +++ b/pkg/references/middleware/telemetry_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/items" "git.perx.ru/perxis/perxis-go/pkg/references" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" diff --git a/pkg/roles/middleware/access_logging_middleware.go b/pkg/roles/middleware/access_logging_middleware.go index 310cdeda7c585c571263bebb6c42739a8d3074de..35825f9f36b3bb32f8010be668d0d16cfac3ceb6 100644 --- a/pkg/roles/middleware/access_logging_middleware.go +++ b/pkg/roles/middleware/access_logging_middleware.go @@ -10,7 +10,7 @@ import ( "context" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/roles" "go.uber.org/zap" ) diff --git a/pkg/roles/middleware/telemetry_middleware.go b/pkg/roles/middleware/telemetry_middleware.go index 7403575220d93fe24a00b0a8de749371e57904b0..0d5cc4232d5a6d46e4035629ca08cc8b25ad2369 100644 --- a/pkg/roles/middleware/telemetry_middleware.go +++ b/pkg/roles/middleware/telemetry_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/roles" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" "go.opentelemetry.io/otel" diff --git a/pkg/spaces/middleware/access_logging_middleware.go b/pkg/spaces/middleware/access_logging_middleware.go index d155ee1f0d95daad6b29c5961604cdc8b466fcd9..38fd9af5ca3a458b40193f431803a06af3809126 100644 --- a/pkg/spaces/middleware/access_logging_middleware.go +++ b/pkg/spaces/middleware/access_logging_middleware.go @@ -10,7 +10,7 @@ import ( "context" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/options" "git.perx.ru/perxis/perxis-go/pkg/spaces" "go.uber.org/zap" diff --git a/pkg/spaces/middleware/telemetry_middleware.go b/pkg/spaces/middleware/telemetry_middleware.go index 84c90bd6a74bd9bdce5479ae6d100e306916355d..bd9c6f87177944c5e21e2f7fe2c768561001d457 100644 --- a/pkg/spaces/middleware/telemetry_middleware.go +++ b/pkg/spaces/middleware/telemetry_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/options" "git.perx.ru/perxis/perxis-go/pkg/spaces" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" diff --git a/pkg/users/middleware/access_logging_middleware.go b/pkg/users/middleware/access_logging_middleware.go index dd8d4a14c73915d553381b239770fcf05c02aca5..70d6873f76fdcf37ca1758cf4c1bc884c2716f1a 100644 --- a/pkg/users/middleware/access_logging_middleware.go +++ b/pkg/users/middleware/access_logging_middleware.go @@ -10,7 +10,7 @@ import ( "context" "time" - "git.perx.ru/perxis/perxis-go/pkg/auth" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/pkg/options" "git.perx.ru/perxis/perxis-go/pkg/users" "go.uber.org/zap" diff --git a/pkg/users/middleware/telemetry_middleware.go b/pkg/users/middleware/telemetry_middleware.go index 8ad677e704656503e246943bf12d30e133d4c11f..628d5f89fc023ad56c04921cec26be7177132607 100644 --- a/pkg/users/middleware/telemetry_middleware.go +++ b/pkg/users/middleware/telemetry_middleware.go @@ -10,8 +10,8 @@ import ( "context" "time" + "git.perx.ru/perxis/perxis-go/auth" oid "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/options" "git.perx.ru/perxis/perxis-go/pkg/telemetry/metrics" "git.perx.ru/perxis/perxis-go/pkg/users" diff --git a/zap/field.go b/zap/field.go index d687bacc49c8e9599611e88590093c5756771896..7beabe390e51108c088dc1f84ab0ecdc9b0ba36c 100644 --- a/zap/field.go +++ b/zap/field.go @@ -2,9 +2,10 @@ package zap import ( "context" + + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/id" _ "git.perx.ru/perxis/perxis-go/id/system" // регистрируем обработчики для системных объектов - "git.perx.ru/perxis/perxis-go/pkg/auth" "go.uber.org/zap" "go.uber.org/zap/zapcore" ) diff --git a/zap/field_test.go b/zap/field_test.go index 46c4ee50722934e7d9ddd5ea759d01f3836706f8..7b706be156b431d0e6be38bcda71c16668da4e65 100644 --- a/zap/field_test.go +++ b/zap/field_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" + "git.perx.ru/perxis/perxis-go/auth" "git.perx.ru/perxis/perxis-go/id" - "git.perx.ru/perxis/perxis-go/pkg/auth" "git.perx.ru/perxis/perxis-go/pkg/items" "git.perx.ru/perxis/perxis-go/pkg/users" "github.com/stretchr/testify/assert"