Skip to content
Snippets Groups Projects
Commit 246b324b authored by hammonds's avatar hammonds
Browse files

Added command to remove the listner on http (not https) on port 8080.

This is to remove for security
parent c7cc3439
No related branches found
No related tags found
No related merge requests found
...@@ -78,6 +78,9 @@ $ASADMIN_CMD create-jdbc-connection-pool --datasourceclassname org.postgresql.ds ...@@ -78,6 +78,9 @@ $ASADMIN_CMD create-jdbc-connection-pool --datasourceclassname org.postgresql.ds
echo "Creating JDBC resource $DM_DATA_SOURCE" echo "Creating JDBC resource $DM_DATA_SOURCE"
$ASADMIN_CMD create-jdbc-resource --connectionpoolid ${DM_DB_POOL} ${DM_DATA_SOURCE} $ASADMIN_CMD create-jdbc-resource --connectionpoolid ${DM_DB_POOL} ${DM_DATA_SOURCE}
# Remove unsecure access on port 8080
$ASADMIN_CMD delete-http-listener "http-listener-1"
# test the connection settings # test the connection settings
echo "Testing connection" echo "Testing connection"
$ASADMIN_CMD ping-connection-pool $DM_DB_POOL || exit 1 $ASADMIN_CMD ping-connection-pool $DM_DB_POOL || exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment