Skip to content

Commit

Permalink
[BACKLOG-39783] - Implemented a PentahoSystemPublisher that allows ar…
Browse files Browse the repository at this point in the history
…bitrary events to be published to concerned subscribers
  • Loading branch information
wseyler committed Feb 7, 2024
1 parent a5dccb2 commit 61a9f06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,6 @@ public static boolean init( final IApplicationContext pApplicationContext, final
if ( debug ) {
Logger.debug( PentahoSystem.class, "PentahoSystem Init Complete" ); //$NON-NLS-1$
}
PentahoSystemPublisher.getInstance().publish( PentahoSystemPublisher.START_UP_TOPIC, true );
return true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import org.pentaho.platform.api.util.IVersionHelper;
import org.pentaho.platform.engine.core.system.PathBasedSystemSettings;
import org.pentaho.platform.engine.core.system.PentahoSystem;
import org.pentaho.platform.engine.core.system.PentahoSystemPublisher;
import org.pentaho.platform.engine.core.system.status.PeriodicStatusLogger;
import org.pentaho.platform.util.messages.LocaleHelper;
import org.pentaho.platform.web.http.PentahoHttpSessionHelper;
Expand Down Expand Up @@ -163,6 +164,7 @@ public void contextInitialized( final ServletContextEvent event ) {
}

this.showInitializationMessage( initOk, fullyQualifiedServerUrl );
PentahoSystemPublisher.getInstance().publish( PentahoSystemPublisher.START_UP_TOPIC, true );
}

private void updateStatusMessages( boolean initOk ) {
Expand Down

0 comments on commit 61a9f06

Please sign in to comment.