Skip to content

Make soap services disabled by default #23158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions modules/distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,9 @@

<replace file="target/wso2carbon-core-${carbon.kernel.version}/bin/wso2server.bat" token="-Dhttpclient.hostnameVerifier=&quot;DefaultAndLocalhost&quot;" value="-Dhttpclient.hostnameVerifier=&quot;DefaultAndLocalhost&quot;" />

<replace file="target/wso2carbon-core-${carbon.kernel.version}/bin/wso2server.sh" token="-Dhttpclient.hostnameVerifier=&quot;DefaultAndLocalhost&quot; \" value="-Dhttpclient.hostnameVerifier=&quot;DefaultAndLocalhost&quot; \${line.separator} -Doptimize=true \" />
<replace file="target/wso2carbon-core-${carbon.kernel.version}/bin/wso2server.bat" token="-Dhttpclient.hostnameVerifier=&quot;DefaultAndLocalhost&quot;" value="-Dhttpclient.hostnameVerifier=&quot;DefaultAndLocalhost&quot; -Doptimize=true" />

<replace file="../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/security/authenticators.xml" token="&lt;!--Authenticator name=&quot;MutualSSLAuthenticator&quot; disabled=&quot;false&quot;&gt;" value="&lt;Authenticator name=&quot;MutualSSLAuthenticator&quot;&gt;" />

<replace file="../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/security/authenticators.xml" token="&lt;/Authenticator--&gt;" value="&lt;/Authenticator&gt;" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public void initTest() throws Exception {
public void startCarbonServer(int portOffset, AutomationContext context, Map<String, String> startupParameters)
throws Exception {

startupParameters.put("-Doptimize", String.valueOf(false));
automationContextMap.put(portOffset, context);
CarbonTestServerManager server = new CarbonTestServerManager(context, System.getProperty("carbon.zip"),
startupParameters);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ private void startOtherCarbonServers() throws Exception {
automationContextMap.put(PORT_OFFSET_1, context1);

Map<String, String> startupParameterMap2 = new HashMap<String, String>();
startupParameterMap2.put("-Doptimize", String.valueOf(false));
startupParameterMap2.put(PORT_OFFSET_PARAM, String.valueOf(CommonConstants.IS_DEFAULT_OFFSET + PORT_OFFSET_2));
startupParameterMap2.put(ENABLE_REMOTE_SHUTDOWN_RESTART_PARAM, String.valueOf(true));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@
<parameter name="-DportOffset" value="410" />
<parameter name="-Dsetup" value="true"/>
<parameter name="-DenableRemoteShutdownAndRestart" value="true"/>
<parameter name="-Doptimize" value="false"/>
<!--<parameter name="backup-test-pack" value="true"/>-->
<!--<parameter name="backup-location" value="<Absolute path for backup location with trailing foreword slash>"/>-->
<!--<parameter name="cmdArg" value="debug 5005" />-->
Expand Down