oehrlis / oudbase

OUD base environment scripts
Apache License 2.0
6 stars 1 forks source link

update get_ports function to collect REST Ports #72

Closed oehrlis closed 4 years ago

oehrlis commented 4 years ago

Enhance get_ports to collect also the HTTP Ports for REST API

oehrlis commented 4 years ago

get ports new checks for the objectClass rather than the connection name. e.g. ds-cfg-administration-connector, ds-cfg-ldap-connection-handler etc.

oehrlis commented 4 years ago

add default values for different ports

oehrlis commented 4 years ago

add Vartiable PORT_REST_HTTP, PORT_REST_HTTPS and PORT_REST_ADMIN for the different REST connectors

oehrlis commented 4 years ago

Function get_ports and oud_status will display the REST ports when defined..

oracle@eusoud:/u00/app/oracle/local/oudbase/ [oud_eus] oud_status
--------------------------------------------------------------
 Instance Name      : oud_eus
 Instance Home (ok) : /u01/instances/oud_eus
 Oracle Home        : /u00/app/oracle/product/fmw12.2.1.4.0
 Instance Status    : up
 LDAP Port          : 1389
 LDAPS Port         : 1636
 Admin Port         : 4444
 Replication Port   : 8989
 REST Admin Port    : 8444
 REST http Port     : 1080
 REST https Port    : 1081
--------------------------------------------------------------