Oracle Weblogic API Client (works for WLS >= v.12.1.3)
Initiate
const WLSApiClient = const wlsapi = "http://weblogic-admin-server:7001" "username" "password"
Methods
getServers()
Receive name, state and health info about all servers.
const allServers = await wlsapi
getServerInfo(serverName)
Receive more detailed information about certain server
const serverInfo = await wlsapi
getDatasources([datasourceName])
Receive information (name, jndi, targets, url, username) about data sources (returns all datasources when request being sent without parameters or filters results based on match)
const allDatasources = await wlsapiconst filteredDatasources = await wlsapi
testDatasource()
Test connection to the database. Return status and a message with some details.
const testResult = await wlsapi