Skip to content

Commit 21310fb

Browse files
author
Tom Barnes
committed
Restore deleted NAP sit cfg and SSL listen address overrides.
1 parent 00b3a76 commit 21310fb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

operator/src/main/resources/scripts/introspectDomain.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,20 @@ def customizeServer(self, server):
688688
self.indent()
689689
self.writeln("<d:name>" + name + "</d:name>")
690690
self.writeln("<d:listen-address f:combine-mode=\"replace\">" + listen_address + "</d:listen-address>")
691+
if server.getSSL():
692+
self.writeln("<d:ssl>")
693+
self.indent()
694+
self.writeln("<d:listen-address f:combine-mode=\"replace\">" + listen_address + "</d:listen-address>")
695+
self.undent()
696+
self.writeln("</d:ssl>")
697+
for nap in server.getNetworkAccessPoints():
698+
nap_name=nap.getName()
699+
self.writeln("<d:network-access-point>")
700+
self.indent()
701+
self.writeln("<d:name f:combine-mode=\"replace\">" + nap_name + "</d:name>")
702+
self.writeln("<d:listen-address f:combine-mode=\"replace\">" + listen_address + "</d:listen-address>")
703+
self.undent()
704+
self.writeln("</d:network-access-point>")
691705
self.customizeLog(name)
692706
self.undent()
693707
self.writeln("</d:server>")

0 commit comments

Comments
 (0)