diff options
author | 2017-06-09 03:19:04 +0300 | |
---|---|---|
committer | 2017-06-09 03:19:04 +0300 | |
commit | ed64b5edff15e702493df21aa3230b81593e6133 (patch) | |
tree | a4cb01fdaccc34930a8db403a3097c0d1e40914b /catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CommonImportManager.java | |
parent | 280f8015d06af1f41a3ef12e8300801c7a5e0d54 (diff) |
[SDC-29] catalog 1707 rebase commit.
Change-Id: I43c3dc5cf44abf5da817649bc738938a3e8388c1
Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CommonImportManager.java')
-rw-r--r-- | catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CommonImportManager.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CommonImportManager.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CommonImportManager.java index 9b99b665f7..f97b4cf3f1 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CommonImportManager.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CommonImportManager.java @@ -119,7 +119,7 @@ public class CommonImportManager { } } catch (Exception e) { - log.debug("Failed to yaml file {} {}", elementTypesYml, e); + log.debug("Failed to yaml file {}", elementTypesYml, e); return Either.right(ActionStatus.INVALID_YAML_FILE); } return Either.left(elementTypes); @@ -133,7 +133,7 @@ public class CommonImportManager { } - enum ElementTypeEnum { + public enum ElementTypeEnum { PolicyType, GroupType, DataType, CapabilityType, InterfaceLifecycleType }; @@ -204,7 +204,7 @@ public class CommonImportManager { Either<ActionStatus, ResponseFormat> validateElementType = validator.apply(elementType); if (validateElementType.isRight()) { ResponseFormat responseFormat = validateElementType.right().value(); - log.debug("Failed in validation of element type {}. Response is {}", elementType, responseFormat.getFormattedMessage()); + log.debug("Failed in validation of element type: {}. Response is {}", elementType, responseFormat.getFormattedMessage()); eitherResult = Either.right(responseFormat); break; } |