10.7 About CMCTL REST Interface
CMCTL REST interface helps you manage Oracle Connection Manager (Oracle
CMAN) instance from remote machines using REST interface. A client
that supports HTTPS can issue CMCTL equivalent commands. Each REST
API call must have WWW-Authenticate HTTPS header
with Basic authentication method.
- Configuring CMCTL REST Interface
Use thecman.oraREST_ADDRESSparameter to configure REST endpoint hostname and port. The CMCTL REST interface authentication uses user name and password available in an Oracle CMAN wallet. - REST APIs for CMCTL Commands
Use CMCTL REST interface to automate CMAN tasks in cloud deployments. This functionality is similar to the CMANcmctlcontrol utility.
Parent topic: Configuring and Administering Oracle Connection Manager
10.7.1 Configuring CMCTL REST Interface
Use the cman.ora REST_ADDRESS parameter to configure REST endpoint hostname and port. The CMCTL REST interface authentication uses user name and password available in an Oracle CMAN wallet.
10.7.2 REST APIs for CMCTL Commands
Use CMCTL REST interface to automate CMAN tasks in cloud deployments. This
functionality is similar to the CMAN cmctl control utility.
CMCTL REST interface uses local operating system authentication between REST interface process and Oracle CMAN listener.
After you start an Oracle CMAN instance with REST configuration, you can make a REST call with HTTPS basic authentication.
Use the curl command line tool to verify CMAN REST API. For
example to list the services that are running, use the following command:
Note:
Thecurl command is used for testing and verification purposes only.
curl -X GET -u username:password https://cmanhostname:rest_port/show/servicesRelated Topics
Parent topic: About CMCTL REST Interface