mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
[pitboss] phase 22: Track F.2 + F.3 — Cross-language framework probes + data store / external service / dangerous-local detection
This commit is contained in:
parent
c03326a658
commit
2395446655
43 changed files with 5213 additions and 82 deletions
|
|
@ -0,0 +1,17 @@
|
|||
package com.example;
|
||||
|
||||
import io.quarkus.runtime.Quarkus;
|
||||
import jakarta.enterprise.context.ApplicationScoped;
|
||||
import jakarta.ws.rs.GET;
|
||||
import jakarta.ws.rs.Path;
|
||||
|
||||
@ApplicationScoped
|
||||
@Path("/api")
|
||||
public class GreetResource {
|
||||
|
||||
@GET
|
||||
@Path("/hello")
|
||||
public String hello() {
|
||||
return "hi";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue