<commit_before># Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
classes:
  - wso2am
wso2::pack_filename: "%{::product_name}-%{::product_version}.zip"
wso2::pack_extracted_dir: "%{::product_name}-%{::product_version}"

wso2::template_list :
  - repository/conf/datasources/am-datasources.xml
  - repository/conf/api-manager.xml
#  - repository/conf/security/cipher-text.properties
#  - repository/conf/security/cipher-tool.properties
#  - bin/ciphertool.sh
#  - password-tmp

wso2::service_name: wso2am
# ip address is used here to avoid hostname resolving issues in APIM startup
wso2::hostname : "%{::ipaddress}"
wso2::mgt_hostname : am.wso2.com

wso2::apim_gateway :
    host : localhost
    port : 9443
    api_endpoint_port : 8280
    secure_api_endpoint_port : 8243
    username : admin
    password : <PASSWORD>

wso2::apim_keymanager :
    host : localhost
    port : 9443
    username : admin
    password : <PASSWORD>

wso2::apim_store :
    host : am.wso2.com
    port : 32004

wso2::apim_publisher :
    host : am.wso2.com
    port : 32004

wso2::clustering :
    enabled : true
    membership_scheme : kubernetes
    kubernetes :
       kubernetes_master : http://172.17.8.101:8080
       kubernetes_namespace : default
       kubernetes_services : wso2am-default
    #    kubernetes_master_username :
    #    kubernetes_master_password :

# for K8s scenario, need to enable proxy port to match NodePorts
# defined for servlet HTTP and HTTPS transport in K8s Service definition
wso2::ports:
  proxyPort :
    http: 32003
    https: 32004
<commit_msg>disabling clustering from APIM default profile<commit_after># Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

---
classes:
  - wso2am
wso2::pack_filename: "%{::product_name}-%{::product_version}.zip"
wso2::pack_extracted_dir: "%{::product_name}-%{::product_version}"

wso2::template_list :
  - repository/conf/datasources/am-datasources.xml
  - repository/conf/api-manager.xml
#  - repository/conf/security/cipher-text.properties
#  - repository/conf/security/cipher-tool.properties
#  - bin/ciphertool.sh
#  - password-tmp

wso2::service_name: wso2am
# ip address is used here to avoid hostname resolving issues in APIM startup
wso2::hostname : "%{::ipaddress}"
wso2::mgt_hostname : am.wso2.com

wso2::apim_gateway :
    host : localhost
    port : 9443
    api_endpoint_port : 8280
    secure_api_endpoint_port : 8243
    username : admin
    password : <PASSWORD>

wso2::apim_keymanager :
    host : localhost
    port : 9443
    username : admin
    password : <PASSWORD>

wso2::apim_store :
    host : am.wso2.com
    port : 32004

wso2::apim_publisher :
    host : am.wso2.com
    port : 32004

wso2::clustering :
    enabled : false
    membership_scheme : kubernetes
    kubernetes :
       kubernetes_master : http://172.17.8.101:8080
       kubernetes_namespace : default
       kubernetes_services : wso2am-default
    #    kubernetes_master_username :
    #    kubernetes_master_password :

# for K8s scenario, need to enable proxy port to match NodePorts
# defined for servlet HTTP and HTTPS transport in K8s Service definition
wso2::ports:
  proxyPort :
    http: 32003
    https: 32004

{'fraction_non_alphanumeric': 0.09665427509293681, 'fraction_numerical': 0.03671003717472119, 'mean_word_length': 3.7411894273127753, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4226616', 'n_tokens_mistral': 1462, 'n_tokens_neox': 1353, 'n_words': 393}