<commit_before># Copyright (c) 2016, 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.

wso2::hostname: wso2am-api-store
wso2::mgt_hostname: wso2am-api-store

wso2::apim_keymanager:
  host: wso2am-api-key-manager
  port: 9443
  username: admin
  password: <PASSWORD>

wso2::apim_gateway:
  host: wso2am-gateway-manager
  port: 32008
  api_endpoint_host: wso2am-gateway-manager
# In single-JVM mode, API endpoint ports should point to corresponding K8S service NodePorts which is shown to the user in Store Jaggery app
# This is because users can only access the API via NodePort (K8S services are not accessible externally)
  api_endpoint_port: 32005
  secure_api_endpoint_port: 32006
# Store and Gateway components may call revoke API internally (via K8S service) to invalidate access tokens
# Therefore, API token revoke port should point to corresponding K8S service target port
  api_token_revoke_endpoint_port: 8280
  secure_api_token_revoke_endpoint_port: 8243
  username: admin
  password: <PASSWORD>

wso2::apim_store:
  host: wso2am-api-store
# This port is used to generate the Store app URL to which the browser is redirected when accessing the Store from Publisher
# Therefore, it should point to the corresponding K8S service NodePort
  port: 32019

wso2::apim_publisher:
  host: wso2am-api-publisher
# This port is used to generate the Publisher app URL. It should point to the corresponding K8S service NodePort since it is accessed externally
  port: 32017

wso2::clustering:
  enabled: true
  domain: pub.store.am.wso2.domain
  sub_domain: worker
  membership_scheme: kubernetes
  local_member_port: 4000
  kubernetes:
    kubernetes_namespace: default
    kubernetes_services: wso2am-api-store,wso2am-api-publisher

# In Kubernetes proxy ports need to be configured to match with node ports.
# Following ports have been defined for servlet HTTP and HTTPS transports.
wso2::ports:
  proxyPort:
    http: 32018
    https: 32019

wso2::registry_mounts:
  wso2_config_db:
    path: /_system/config
    target_path: /_system/config/api-store
    read_only: false
    registry_root: /
    enable_cache: true

  wso2_gov_db:
    path: /_system/governance
    target_path: /_system/governance
    read_only: false
    registry_root: /
    enable_cache: true
<commit_msg>changing apim_gateway port to 9443 in /api-store.yaml<commit_after># Copyright (c) 2016, 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.

wso2::hostname: wso2am-api-store
wso2::mgt_hostname: wso2am-api-store

wso2::apim_keymanager:
  host: wso2am-api-key-manager
  port: 9443
  username: admin
  password: <PASSWORD>

wso2::apim_gateway:
  host: wso2am-gateway-manager
  port: 9443
  api_endpoint_host: wso2am-gateway-manager
# In single-JVM mode, API endpoint ports should point to corresponding K8S service NodePorts which is shown to the user in Store Jaggery app
# This is because users can only access the API via NodePort (K8S services are not accessible externally)
  api_endpoint_port: 32005
  secure_api_endpoint_port: 32006
# Store and Gateway components may call revoke API internally (via K8S service) to invalidate access tokens
# Therefore, API token revoke port should point to corresponding K8S service target port
  api_token_revoke_endpoint_port: 8280
  secure_api_token_revoke_endpoint_port: 8243
  username: admin
  password: <PASSWORD>

wso2::apim_store:
  host: wso2am-api-store
# This port is used to generate the Store app URL to which the browser is redirected when accessing the Store from Publisher
# Therefore, it should point to the corresponding K8S service NodePort
  port: 32019

wso2::apim_publisher:
  host: wso2am-api-publisher
# This port is used to generate the Publisher app URL. It should point to the corresponding K8S service NodePort since it is accessed externally
  port: 32017

wso2::clustering:
  enabled: true
  domain: pub.store.am.wso2.domain
  sub_domain: worker
  membership_scheme: kubernetes
  local_member_port: 4000
  kubernetes:
    kubernetes_namespace: default
    kubernetes_services: wso2am-api-store,wso2am-api-publisher

# In Kubernetes proxy ports need to be configured to match with node ports.
# Following ports have been defined for servlet HTTP and HTTPS transports.
wso2::ports:
  proxyPort:
    http: 32018
    https: 32019

wso2::registry_mounts:
  wso2_config_db:
    path: /_system/config
    target_path: /_system/config/api-store
    read_only: false
    registry_root: /
    enable_cache: true

  wso2_gov_db:
    path: /_system/governance
    target_path: /_system/governance
    read_only: false
    registry_root: /
    enable_cache: true

{'fraction_non_alphanumeric': 0.06345579187906486, 'fraction_numerical': 0.03146422921427316, 'mean_word_length': 4.429389312977099, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, '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': '3137028', 'n_tokens_mistral': 1855, 'n_tokens_neox': 1742, 'n_words': 650}