mirror of https://github.com/OpenKMIP/PyKMIP.git
Move the KMIPProtocol from server to services
This change moves the KMIPProtocol class from the server module to the services module. Because the client uses KMIPProtocol, and KMIPProtocol lived in the server module, the client would end up importing server libraries whenever it was used. If there are any issues with server dependencies, this would cause the client to fail for no good reason. This change now insulates the client from the server code base and prevents this case from happening. See #509
This commit is contained in:
parent
6f81d79c53
commit
e2f93d49d7
|
@ -52,7 +52,7 @@ from kmip.core.messages import messages
|
|||
|
||||
from kmip.core.messages import payloads
|
||||
|
||||
from kmip.services.server.kmip_protocol import KMIPProtocol
|
||||
from kmip.services.kmip_protocol import KMIPProtocol
|
||||
|
||||
from kmip.core.config_helper import ConfigHelper
|
||||
|
||||
|
|
|
@ -18,9 +18,9 @@ from testtools import TestCase
|
|||
|
||||
import binascii
|
||||
|
||||
from kmip.services.server.kmip_protocol import KMIPProtocol
|
||||
from kmip.services.server.kmip_protocol import RequestLengthMismatch
|
||||
from kmip.services.server.kmip_protocol import KMIPProtocolFactory
|
||||
from kmip.services.kmip_protocol import KMIPProtocol
|
||||
from kmip.services.kmip_protocol import RequestLengthMismatch
|
||||
from kmip.services.kmip_protocol import KMIPProtocolFactory
|
||||
|
||||
|
||||
class TestKMIPProtocol(TestCase):
|
||||
|
|
Loading…
Reference in New Issue