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 Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceModulestatic StringgenerateServiceId(String serviceName, String host, int port) booleanvoidMethods inherited from class io.quarkus.hibernate.reactive.panache.PanacheEntityBase
count, count, count, count, delete, delete, delete, delete, deleteAll, deleteById, find, find, find, find, find, find, findAll, findAll, findById, findById, flush, getSession, isPersistent, list, list, list, list, list, list, listAll, listAll, persist, persist, persist, persist, persistAndFlush, update, update, update
-
Field Details
-
serviceId
-
serviceName
-
host
-
port
-
version
-
configSchemaId
-
metadata
-
registeredAt
-
lastHeartbeat
-
status
-
-
Constructor Details
-
ServiceModule
public ServiceModule()
-
-
Method Details
-
create
-
generateServiceId
-
updateHeartbeat
public void updateHeartbeat() -
isHealthy
public boolean isHealthy()
-