diff options
author | Brinda Santh Muthuramalingam <brindasanth@in.ibm.com> | 2020-01-31 14:32:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-01-31 14:32:13 +0000 |
commit | ac4118dcf7fe93455eae31427d08cee9dc30db4a (patch) | |
tree | b22291aebd9b56d77f2588a531ab093648ef4d10 /ms/py-executor/blueprints_grpc/executor_utils.py | |
parent | 23f898a96f7e8b3ecb0817abc61612bdc3d2e9aa (diff) | |
parent | be4c46420944531765ecc8bae7305086d71a36d0 (diff) |
Merge "Add Artifact Manager service."
Diffstat (limited to 'ms/py-executor/blueprints_grpc/executor_utils.py')
-rw-r--r-- | ms/py-executor/blueprints_grpc/executor_utils.py | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/ms/py-executor/blueprints_grpc/executor_utils.py b/ms/py-executor/blueprints_grpc/executor_utils.py index 44b6d8e87..701958fff 100644 --- a/ms/py-executor/blueprints_grpc/executor_utils.py +++ b/ms/py-executor/blueprints_grpc/executor_utils.py @@ -14,14 +14,28 @@ # See the License for the specific language governing permissions and # limitations under the License. -from google.protobuf.timestamp_pb2 import Timestamp -from google.protobuf import struct_pb2 -from google.protobuf import json_format -import sys, importlib, importlib.util, json, time, datetime +import datetime +import importlib +import importlib.util +import json import logging -from .proto.BluePrintProcessing_pb2 import ExecutionServiceInput, ExecutionServiceOutput -from .proto.BluePrintCommon_pb2 import Status, EVENT_COMPONENT_TRACE, EVENT_COMPONENT_PROCESSING, \ - EVENT_COMPONENT_EXECUTED, EVENT_COMPONENT_NOTIFICATION +import sys +import time + +from google.protobuf import json_format, struct_pb2 +from google.protobuf.timestamp_pb2 import Timestamp +from proto.BluePrintCommon_pb2 import ( + EVENT_COMPONENT_EXECUTED, + EVENT_COMPONENT_NOTIFICATION, + EVENT_COMPONENT_PROCESSING, + EVENT_COMPONENT_TRACE, + Status +) +from proto.BluePrintProcessing_pb2 import ( + ExecutionServiceInput, + ExecutionServiceOutput, +) + from .script_executor_configuration import ScriptExecutorConfiguration logger = logging.getLogger("Utils") |