KinashYurii commented on a change in pull request #1006:
URL: https://github.com/apache/incubator-datalab/pull/1006#discussion_r539137593



##########
File path: 
services/provisioning-service/src/main/java/com/epam/datalab/backendapi/core/response/handlers/ResourcesStatusCallbackHandler.java
##########
@@ -85,6 +87,16 @@ protected EnvStatusDTO parseOutResponse(JsonNode resultNode, 
EnvStatusDTO baseSt
         return baseStatus;
     }
 
+    private String CheckAndMapStatus(String status) {
+        if (status.toLowerCase().equals("terminated_with_errors")) {

Review comment:
       Ty, done.

##########
File path: 
services/provisioning-service/src/main/java/com/epam/datalab/backendapi/core/response/handlers/ResourcesStatusCallbackHandler.java
##########
@@ -85,6 +87,16 @@ protected EnvStatusDTO parseOutResponse(JsonNode resultNode, 
EnvStatusDTO baseSt
         return baseStatus;
     }
 
+    private String CheckAndMapStatus(String status) {

Review comment:
       Ty, done.

##########
File path: 
services/provisioning-service/src/main/java/com/epam/datalab/backendapi/core/response/handlers/ResourcesStatusCallbackHandler.java
##########
@@ -60,6 +61,7 @@ public ResourcesStatusCallbackHandler(@JacksonInject 
RESTService selfService, @J
 
     @Override
     protected EnvStatusDTO parseOutResponse(JsonNode resultNode, EnvStatusDTO 
baseStatus) {
+        log.trace("Trying to parse: {}, with{}", resultNode, baseStatus);

Review comment:
       Ty, done.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to