Get active profiles from the Boot LS
This commit is contained in:
@@ -320,6 +320,9 @@ public class SpringProcessCommandHandler {
|
||||
case "port": {
|
||||
return CompletableFuture.completedFuture(data.getPort());
|
||||
}
|
||||
case "profiles": {
|
||||
return CompletableFuture.completedFuture(data.getActiveProfiles());
|
||||
}
|
||||
default: {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ interface LiveProcessDataQuery {
|
||||
}
|
||||
|
||||
interface SimpleQuery extends LiveProcessDataQuery {
|
||||
endpoint: "mappings" | "contextPath" | "port" | "properties";
|
||||
endpoint: "mappings" | "contextPath" | "port" | "properties" | "profiles";
|
||||
}
|
||||
|
||||
interface BeansQuery extends LiveProcessDataQuery {
|
||||
|
||||
Reference in New Issue
Block a user