wlsapiclient1211
v1.1.0
Published
Oracle Weblogic API Client (works for WLS >= v.12.1.1)
Downloads
8
Readme
Oracle Weblogic API Client (works for WLS >= v.12.1.1)
Initiate
const WLSApiClient = require('WLSApiClient-1211')
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")