WL#12817: REST endpoints for router application
Affects: Server-8.0
—
Status: Complete
Motivation
When using the REST interface of the Router (WL#8965) the router application
itself should expose itself:
- version that's running
- when it was started
- its identity
- FR1
-
Router Version MUST be exposed via an REST endpoint
- FR2
-
Uptime of the process MUST be expose via an REST endpoint
- FR3
-
Using the router rest endpoint MUST require authentication
Implementation
- a new plugin
rest_router
- must be loaded to activate the URI
- depends on
rest_api
(WL#8965)
Configuration Options
require_realm
, string, name of an authentication realm
Interface Spec
/router/status
hostname
: string, name of the host the application running on. May be empty if no hostname is configured.
processId
: integer, process id of the application
productEdition
: string, product edition (GPL, commercial, source ...)
timeStarted
: string (date-time), time the application was started
version
: string, version of the application e.g. "8.0.16"
Copyright (c) 2000, 2025, Oracle Corporation and/or its affiliates. All rights reserved.