wlsapiclient1213
v1.0.4
Published
Oracle Weblogic API Client (works for WLS >= v.12.1.3)
Downloads
6
Readme
Oracle Weblogic API Client (works for WLS >= v.12.1.3)
Initiate
const WLSApiClient = require('WLSApiClient-1213')
const wlsapi = new WLSApiClient("http://weblogic-admin-server:7001", "username", "password")
Methods
getServers()
Receive name, state and health info about all servers.
const allServers = await wlsapi.getServers()
getServerInfo(serverName)
Receive more detailed information about certain server
const serverInfo = await wlsapi.getServerInfo(serverName)
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 wlsapi.getDatasources()
const filteredDatasources = await wlsapi.getDatasources("managed-server")
testDatasource()
Test connection to the database. Return status and a message with some details.
const testResult = await wlsapi.testDatasource()