chore: update

This commit is contained in:
TakahashiNg
2026-05-11 10:23:21 +00:00
parent 1e68af9661
commit 3dc458361e
@@ -8,6 +8,7 @@ import jakarta.enterprise.context.ApplicationScoped;
import jakarta.transaction.Transactional; import jakarta.transaction.Transactional;
import jakarta.ws.rs.*; import jakarta.ws.rs.*;
import jakarta.ws.rs.core.*; import jakarta.ws.rs.core.*;
import java.util.UUID;
import org.eclipse.microprofile.reactive.messaging.*; import org.eclipse.microprofile.reactive.messaging.*;
@Path(Role.Manager) @Path(Role.Manager)
@@ -65,4 +66,10 @@ public class ManagerService extends BaseService<ManagerEntity> {
.entity(manager) .entity(manager)
.build(); .build();
} }
@GET
@Path("/{id}")
public Response getManagerById(@PathParam("id") UUID id) {
return Response.ok(ManagerEntity.findById(id)).build();
}
} }