diff --git a/bothub/api/grpc/connect_grpc_client.py b/bothub/api/grpc/connect_grpc_client.py index 74c53897..7c9c9c04 100644 --- a/bothub/api/grpc/connect_grpc_client.py +++ b/bothub/api/grpc/connect_grpc_client.py @@ -3,7 +3,7 @@ import grpc from django.conf import settings -from bothub.protos import project_pb2_grpc, project_pb2 +from bothub.protos.inteligence import project_pb2_grpc, project_pb2 class ConnectGRPCClient: diff --git a/bothub/api/grpc/organization/handlers.py b/bothub/api/grpc/organization/handlers.py index aaa7d7da..b045ccb4 100644 --- a/bothub/api/grpc/organization/handlers.py +++ b/bothub/api/grpc/organization/handlers.py @@ -1,5 +1,5 @@ from bothub.api.grpc.organization.services import OrgService -from bothub.protos import organization_pb2_grpc +from bothub.protos.inteligence import organization_pb2_grpc def grpc_handlers(server): diff --git a/bothub/api/grpc/organization/serializers.py b/bothub/api/grpc/organization/serializers.py index b70c2d2d..7dcade24 100644 --- a/bothub/api/grpc/organization/serializers.py +++ b/bothub/api/grpc/organization/serializers.py @@ -4,7 +4,7 @@ from bothub.authentication.models import User from bothub.common.models import Organization, OrganizationAuthorization -from bothub.protos import organization_pb2 +from bothub.protos.inteligence import organization_pb2 class OrgProtoSerializer(proto_serializers.ModelProtoSerializer): diff --git a/bothub/api/grpc/organization/services.py b/bothub/api/grpc/organization/services.py index 4cde6906..a8711551 100644 --- a/bothub/api/grpc/organization/services.py +++ b/bothub/api/grpc/organization/services.py @@ -16,7 +16,7 @@ RepositoryAuthorization, Repository, ) -from bothub.protos.organization_pb2 import OrgStatistic +from bothub.protos.inteligence.organization_pb2 import OrgStatistic class OrgService( diff --git a/bothub/api/grpc/repository/handlers.py b/bothub/api/grpc/repository/handlers.py index da1a0d6b..d118c033 100644 --- a/bothub/api/grpc/repository/handlers.py +++ b/bothub/api/grpc/repository/handlers.py @@ -1,5 +1,5 @@ from .services import RepositoryService -from bothub.protos import repository_pb2_grpc +from bothub.protos.inteligence import repository_pb2_grpc def grpc_handlers(server): diff --git a/bothub/api/grpc/repository/serializers.py b/bothub/api/grpc/repository/serializers.py index e5653af3..3c7717e7 100644 --- a/bothub/api/grpc/repository/serializers.py +++ b/bothub/api/grpc/repository/serializers.py @@ -3,7 +3,7 @@ from bothub.api.v2.repository.serializers import RepositoryCategorySerializer from bothub.common.models import Repository -from bothub.protos import repository_pb2 +from bothub.protos.inteligence import repository_pb2 class RepositoryProtoSerializer(proto_serializers.ModelProtoSerializer): diff --git a/bothub/api/grpc/repository/tests.py b/bothub/api/grpc/repository/tests.py index 5ef7fae1..2ffc65ec 100644 --- a/bothub/api/grpc/repository/tests.py +++ b/bothub/api/grpc/repository/tests.py @@ -8,7 +8,7 @@ OrganizationAuthorization, RepositoryAuthorization, ) -from bothub.protos import repository_pb2_grpc, repository_pb2 +from bothub.protos.inteligence import repository_pb2_grpc, repository_pb2 class RepositoryServiceTestCase(RPCTransactionTestCase): diff --git a/bothub/api/grpc/user/handlers.py b/bothub/api/grpc/user/handlers.py index b19eae59..87cc4930 100644 --- a/bothub/api/grpc/user/handlers.py +++ b/bothub/api/grpc/user/handlers.py @@ -3,7 +3,7 @@ UserService, UserLanguageService, ) -from bothub.protos import authentication_pb2_grpc +from bothub.protos.inteligence import authentication_pb2_grpc def grpc_handlers(server): diff --git a/bothub/api/grpc/user/serializers.py b/bothub/api/grpc/user/serializers.py index ef810e7d..8f24b270 100644 --- a/bothub/api/grpc/user/serializers.py +++ b/bothub/api/grpc/user/serializers.py @@ -2,7 +2,7 @@ from rest_framework import serializers from bothub.authentication.models import User -from bothub.protos import authentication_pb2 +from bothub.protos.inteligence import authentication_pb2 class UserProtoSerializer(proto_serializers.ModelProtoSerializer): diff --git a/bothub/api/grpc/user/tests.py b/bothub/api/grpc/user/tests.py index 10faf4a0..dda82085 100644 --- a/bothub/api/grpc/user/tests.py +++ b/bothub/api/grpc/user/tests.py @@ -3,7 +3,7 @@ from bothub.api.v2.tests.utils import create_user_and_token from bothub.authentication.models import User from bothub.common.models import Organization, OrganizationAuthorization -from bothub.protos import authentication_pb2_grpc, authentication_pb2 +from bothub.protos.inteligence import authentication_pb2_grpc, authentication_pb2 class UserServiceTest(RPCTransactionTestCase):