mirror of
https://github.com/OpenKMIP/PyKMIP.git
synced 2025-06-27 17:24:24 +02:00
Merge pull request #94 from OpenKMIP/maint/reorg-server-code
Reorganizing the server code
This commit is contained in:
commit
cd85d91a13
@ -40,8 +40,8 @@ from kmip.core.objects import KeyBlock
|
|||||||
from kmip.core.objects import KeyMaterial
|
from kmip.core.objects import KeyMaterial
|
||||||
from kmip.core.objects import KeyValue
|
from kmip.core.objects import KeyValue
|
||||||
from kmip.core.objects import TemplateAttribute
|
from kmip.core.objects import TemplateAttribute
|
||||||
from kmip.core.repo.mem_repo import MemRepo
|
|
||||||
from kmip.core.secrets import SymmetricKey
|
from kmip.core.secrets import SymmetricKey
|
||||||
|
from kmip.services.server.repo.mem_repo import MemRepo
|
||||||
from kmip.services.results import CreateResult
|
from kmip.services.results import CreateResult
|
||||||
from kmip.services.results import DestroyResult
|
from kmip.services.results import DestroyResult
|
||||||
from kmip.services.results import GetResult
|
from kmip.services.results import GetResult
|
||||||
|
@ -58,7 +58,7 @@ from kmip.core.messages.payloads import rekey_key_pair
|
|||||||
from kmip.core.messages.payloads import register
|
from kmip.core.messages.payloads import register
|
||||||
from kmip.core.messages.payloads import revoke
|
from kmip.core.messages.payloads import revoke
|
||||||
|
|
||||||
from kmip.services.kmip_protocol import KMIPProtocol
|
from kmip.services.server.kmip_protocol import KMIPProtocol
|
||||||
|
|
||||||
from kmip.core.config_helper import ConfigHelper
|
from kmip.core.config_helper import ConfigHelper
|
||||||
|
|
||||||
|
14
kmip/services/server/__init__.py
Normal file
14
kmip/services/server/__init__.py
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# Copyright (c) 2015 The Johns Hopkins University/Applied Physics Laboratory
|
||||||
|
# All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
@ -21,8 +21,8 @@ import ssl
|
|||||||
from kmip.core.config_helper import ConfigHelper
|
from kmip.core.config_helper import ConfigHelper
|
||||||
from kmip.core.server import KMIPImpl
|
from kmip.core.server import KMIPImpl
|
||||||
|
|
||||||
from kmip.services.kmip_protocol import KMIPProtocolFactory
|
from kmip.services.server.kmip_protocol import KMIPProtocolFactory
|
||||||
from kmip.services.processor import Processor
|
from kmip.services.server.processor import Processor
|
||||||
|
|
||||||
FILE_PATH = os.path.dirname(os.path.abspath(__file__))
|
FILE_PATH = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
|
@ -13,7 +13,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from kmip.core.repo.repo import ManagedObjectRepo
|
from kmip.services.server.repo.repo import ManagedObjectRepo
|
||||||
|
|
||||||
|
|
||||||
class MemRepo(ManagedObjectRepo):
|
class MemRepo(ManagedObjectRepo):
|
Loading…
x
Reference in New Issue
Block a user