Skip to content

Commit

Permalink
Farm 1.3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Jul 27, 2024
1 parent 32ed517 commit c493dd6
Show file tree
Hide file tree
Showing 6 changed files with 2,201 additions and 581 deletions.
208 changes: 104 additions & 104 deletions src/main/webui/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,92 +162,6 @@
}
}
},
"/q/logging-manager" : {
"summary" : "Return info on all loggers, or a specific logger",
"description" : "Logging Manager Loggers",
"get" : {
"tags" : [ "Logging-manager" ],
"summary" : "Information on Logger(s)",
"description" : "Get information on all loggers or a specific logger.",
"operationId" : "logging_manager_get_all",
"parameters" : [ {
"name" : "loggerName",
"in" : "query",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"200" : {
"description" : "Ok",
"content" : {
"application/json" : {
"schema" : {
"type" : "array",
"items" : {
"$ref" : "#/components/schemas/LoggerInfo"
}
}
}
}
},
"404" : {
"description" : "Not Found"
}
}
},
"post" : {
"tags" : [ "Logging-manager" ],
"summary" : "Update log level",
"description" : "Update a log level for a certain logger",
"operationId" : "logging_manager_update",
"requestBody" : {
"content" : {
"application/x-www-form-urlencoded" : {
"schema" : {
"type" : "object",
"properties" : {
"loggerName" : { },
"loggerLevel" : {
"$ref" : "#/components/schemas/LoggerLevel"
}
}
}
}
}
},
"responses" : {
"201" : {
"description" : "Created"
}
}
}
},
"/q/logging-manager/levels" : {
"summary" : "Return all levels that is available",
"description" : "All available levels",
"get" : {
"tags" : [ "Logging-manager" ],
"summary" : "Get all available levels",
"description" : "This returns all possible log levels",
"operationId" : "logging_manager_levels",
"responses" : {
"200" : {
"description" : "Ok",
"content" : {
"application/json" : {
"schema" : {
"type" : "array",
"items" : {
"$ref" : "#/components/schemas/LoggerLevel"
}
}
}
}
}
}
}
},
"/q/health" : {
"summary" : "MicroProfile Health provides a way for your application to distribute information about its healthiness state to state whether or not it is able to function properly",
"description" : "MicroProfile Health Endpoint",
Expand Down Expand Up @@ -415,6 +329,92 @@
}
}
}
},
"/q/logging-manager" : {
"summary" : "Return info on all loggers, or a specific logger",
"description" : "Logging Manager Loggers",
"get" : {
"tags" : [ "Logging-manager" ],
"summary" : "Information on Logger(s)",
"description" : "Get information on all loggers or a specific logger.",
"operationId" : "logging_manager_get_all",
"parameters" : [ {
"name" : "loggerName",
"in" : "query",
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"200" : {
"description" : "Ok",
"content" : {
"application/json" : {
"schema" : {
"type" : "array",
"items" : {
"$ref" : "#/components/schemas/LoggerInfo"
}
}
}
}
},
"404" : {
"description" : "Not Found"
}
}
},
"post" : {
"tags" : [ "Logging-manager" ],
"summary" : "Update log level",
"description" : "Update a log level for a certain logger",
"operationId" : "logging_manager_update",
"requestBody" : {
"content" : {
"application/x-www-form-urlencoded" : {
"schema" : {
"type" : "object",
"properties" : {
"loggerName" : { },
"loggerLevel" : {
"$ref" : "#/components/schemas/LoggerLevel"
}
}
}
}
}
},
"responses" : {
"201" : {
"description" : "Created"
}
}
}
},
"/q/logging-manager/levels" : {
"summary" : "Return all levels that is available",
"description" : "All available levels",
"get" : {
"tags" : [ "Logging-manager" ],
"summary" : "Get all available levels",
"description" : "This returns all possible log levels",
"operationId" : "logging_manager_levels",
"responses" : {
"200" : {
"description" : "Ok",
"content" : {
"application/json" : {
"schema" : {
"type" : "array",
"items" : {
"$ref" : "#/components/schemas/LoggerLevel"
}
}
}
}
}
}
}
}
},
"components" : {
Expand Down Expand Up @@ -617,24 +617,6 @@
}
}
},
"LoggerLevel" : {
"enum" : [ "OFF", "SEVERE", "ERROR", "FATAL", "WARNING", "WARN", "INFO", "DEBUG", "TRACE", "CONFIG", "FINE", "FINER", "FINEST", "ALL" ],
"type" : "string"
},
"LoggerInfo" : {
"type" : "object",
"properties" : {
"name" : {
"type" : "string"
},
"effectiveLevel" : {
"$ref" : "#/components/schemas/LoggerLevel"
},
"configuredLevel" : {
"$ref" : "#/components/schemas/LoggerLevel"
}
}
},
"HealthCheckResponse" : {
"type" : "object",
"properties" : {
Expand All @@ -653,6 +635,24 @@
"HealthCheckStatus" : {
"enum" : [ "DOWN", "UP" ],
"type" : "string"
},
"LoggerLevel" : {
"enum" : [ "OFF", "SEVERE", "ERROR", "FATAL", "WARNING", "WARN", "INFO", "DEBUG", "TRACE", "CONFIG", "FINE", "FINER", "FINEST", "ALL" ],
"type" : "string"
},
"LoggerInfo" : {
"type" : "object",
"properties" : {
"name" : {
"type" : "string"
},
"effectiveLevel" : {
"$ref" : "#/components/schemas/LoggerLevel"
},
"configuredLevel" : {
"$ref" : "#/components/schemas/LoggerLevel"
}
}
}
}
}
Expand Down
Loading

0 comments on commit c493dd6

Please sign in to comment.