Skip to content
Snippets Groups Projects

Resolve "Actuator"

Merged Alžbeta Hajná requested to merge 11-actuator into develop
2 files
+ 20
2
Compare changes
  • Side-by-side
  • Inline
Files
2
package cz.muni.pa165.actuator;
import org.springframework.boot.actuate.info.Info;
import org.springframework.boot.actuate.info.InfoContributor;
import org.springframework.stereotype.Component;
@Component
public class CustomInfoContributor implements InfoContributor {
@Override
public void contribute(Info.Builder builder) {
builder.withDetail("course", "PA165").withDetail("module", "core").build();
}
}
Loading