removed some logs
This commit is contained in:
parent
e6fac1f6e1
commit
08cb6eb54e
|
@ -123,7 +123,7 @@ public class ProfiledDocuments {
|
|||
}.execute().getResult();
|
||||
|
||||
Status status = theNewProject.getLifecycleInformation().getLastOperationStatus();
|
||||
// IF last operation status is not ERROR, notify PROJECT_CREATED event
|
||||
// If latest operation status is not ERROR, notify PROJECT_CREATED event
|
||||
if (status != null && !status.equals(LifecycleInformation.Status.ERROR)) {
|
||||
// notifying the Event.PROJECT_CREATED;
|
||||
ItemObserved<Project> item = new ItemObserved<Project>();
|
||||
|
@ -163,7 +163,7 @@ public class ProfiledDocuments {
|
|||
}.execute().getResult();
|
||||
|
||||
Status status = theUpdatedProject.getLifecycleInformation().getLastOperationStatus();
|
||||
// IF last operation status is not ERROR, notify PROJECT_UPDATED event
|
||||
// If latest operation status is not ERROR, notify PROJECT_UPDATED event
|
||||
if (status != null && !status.equals(LifecycleInformation.Status.ERROR)) {
|
||||
|
||||
ItemObserved<Project> item = new ItemObserved<Project>();
|
||||
|
@ -226,7 +226,7 @@ public class ProfiledDocuments {
|
|||
}
|
||||
}.execute().getResult();
|
||||
|
||||
// IF deleted, notify PROJECT_DELETED event
|
||||
// If deleted, notify PROJECT_DELETED event
|
||||
if (deleted) {
|
||||
ItemObserved<Project> item = new ItemObserved<Project>();
|
||||
EventManager.Event event = Event.PROJECT_DELETED;
|
||||
|
@ -322,16 +322,9 @@ public class ProfiledDocuments {
|
|||
}
|
||||
}.execute().getResult();
|
||||
|
||||
log.info("Starting event...");
|
||||
|
||||
if(log.isInfoEnabled()) {
|
||||
List<Field> allFields = Arrays.asList(PerformStepRequest.class.getDeclaredFields());
|
||||
String fieldsName = allFields.stream().map(e -> e.getName()).collect(Collectors.joining(","));
|
||||
log.info("Fields name: "+fieldsName);
|
||||
}
|
||||
|
||||
Status status = theProject.getLifecycleInformation().getLastOperationStatus();
|
||||
// IF last operation status is not ERROR, notify LIFECYCLE_STEP_PERFORMED event
|
||||
// If latest operation status is not ERROR, notify LIFECYCLE_STEP_PERFORMED
|
||||
// event
|
||||
if (status != null && !status.equals(LifecycleInformation.Status.ERROR)) {
|
||||
ItemObserved<Project> item = new ItemObserved<Project>();
|
||||
EventManager.Event event = Event.LIFECYCLE_STEP_PERFORMED;
|
||||
|
|
Loading…
Reference in New Issue