@@ -375,6 +375,13 @@ public StatusReplaceResponseStep(DomainStatusUpdaterStep updaterStep,
375375 public Result onSuccess (Packet packet , KubernetesApiResponse <DomainResource > callResponse ) {
376376 if (callResponse .getObject () != null ) {
377377 DomainPresenceInfo info = (DomainPresenceInfo ) packet .get (ProcessingConstants .DOMAIN_PRESENCE_INFO );
378+
379+ DomainResource domain = callResponse .getObject ();
380+ System .out .println ("**** RJE: after patch, creation: " + domain .getMetadata ().getCreationTimestamp ()
381+ + ", generation: " + domain .getMetadata ().getGeneration () + ", resourceVersion: "
382+ + domain .getMetadata ().getResourceVersion ()
383+ + ", observedGeneration: " + domain .getStatus ().getObservedGeneration ());
384+
378385 info .setDomain (callResponse .getObject ());
379386 }
380387 return doNext (createClusterResourceStatusUpdaterStep (getNext ()), packet );
@@ -523,6 +530,15 @@ private Step getCallStep(DomainResource oldDomain, DomainStatus status) {
523530 .withSpec (null )
524531 .withStatus (status );
525532
533+ // TEST
534+ System .out .println ("**** RJE: domain update status OLD, creation: "
535+ + oldDomain .getMetadata ().getCreationTimestamp ()
536+ + ", generation: " + oldDomain .getMetadata ().getGeneration () + ", resourceVersion: "
537+ + oldDomain .getMetadata ().getResourceVersion ()
538+ + "; NEW, creation: " + newDomain .getMetadata ().getCreationTimestamp ()
539+ + ", generation: " + newDomain .getMetadata ().getGeneration () + ", resourceVersion: "
540+ + newDomain .getMetadata ().getResourceVersion ());
541+
526542 return RequestBuilder .DOMAIN .updateStatus (newDomain , DomainResource ::getStatus ,
527543 domainStatusUpdaterStep .createResponseStep (this ));
528544 }
0 commit comments