Class ServiceModule

java.lang.Object
io.quarkus.hibernate.reactive.panache.PanacheEntityBase
ai.pipestream.registration.entity.ServiceModule

@Entity public class ServiceModule extends io.quarkus.hibernate.reactive.panache.PanacheEntityBase
Entity representing a registered service module in the system. This is the system of record for all service registrations.
  • Field Details

  • Constructor Details

    • ServiceModule

      public ServiceModule()
  • Method Details

    • create

      public static ServiceModule create(String serviceName, String host, int port)
    • generateServiceId

      public static String generateServiceId(String serviceName, String host, int port)
    • updateHeartbeat

      public void updateHeartbeat()
    • isHealthy

      public boolean isHealthy()