wso2 / product-apim

Welcome to the WSO2 API Manager source code! For info on working with the WSO2 API Manager repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
837 stars 781 forks source link

Missing features in Deployment.toml- Wso2 v 3.1.0 #8315

Open Kalpanayella opened 4 years ago

Kalpanayella commented 4 years ago

Describe your problem(s)

We are trying to enable all our configurations through deployment.toml in WSO2 APIM v3.1.0.

We could not find entries/settings for the following parameters in deployment.toml (Given below are configuration files and corresponding parameter names):

File Name: repository/conf/carbon.xml Parameters:

 [1]  <HideAdminServiceWSDLs>false</HideAdminServiceWSDLs>
 [2]  <HttpAdminServices>*</HttpAdminServices>
 [3]  <EnableHTTPAdminConsole>true</EnableHTTPAdminConsole>

File Name: repository/conf/metrics.xml Parameters: [4] <enabled>false</enabled>

File Name: repository/conf/axis2/axis2.xml: Parameters:

[5]  <property name="subDomain" value="mgt"/>
[6]  <clustering class="org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent" enable="false">

We want to know to run a non-hazelcast cluster with deployment.toml.

When we provide the clustering parameters:

[clustering]
membership_scheme = "wka"
local_member_host = "10.0.2.2"
local_member_port = "5701"
members = ["127.0.0.1:5701", "10.0.2.2:5702"]
it automatically turns on Hazelcast:
<clustering class="org.wso2.carbon.core.clustering.hazelcast.HazelcastClusteringAgent" enable="true">

File Name: repository/conf/registry.xml Parameters: In our worker node, the registry is defined as: [7] <readOnly>true</readOnly>

Describe your solution:

Please have parameter equivalents defined for above-mentioned configurations in deployment.toml

Suggested Labels:

Priority/Highest/Urgent

amitofile commented 3 years ago

Any update on this? Do we have REST APIs for admin services?

amitofile commented 3 years ago

Part answer I found to enable HideAdminServiceWSDLs in deployment.toml is,

[admin_service.wsdl] enable = true