Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 1 addition & 1 deletion charts/provisioner-config-local/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ apiVersion: v2
name: provisioner-config-local
description: Platform Provisioner local config
type: application
version: "1.11.3"
version: "1.11.8"
appVersion: "2.0.1"
home: https://github.com/TIBCOSoftware/tp-helm-charts
maintainers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,20 @@ groups:
* MailDev address: [https://mail.localhost.dataplanes.pro](https://mail.localhost.dataplanes.pro)
You can then follow the admin E-mail to create the admin user.
---
- title: "Flow control"
- title: "CP AI MCP Servers"
index: 10
description: |
## CP AI MCP Servers specific configurations.
* There are total 5 MCP servers in CP.
* CP MCP Server
* K8S MCP Server
* O11Y MCP Server
* FLOGO MCP Server
* BWCE MCP Server
* By default all MCP servers are disabled.
---
- title: "Flow control"
index: 11
description: |
## Change the installation flow control options.

Expand Down Expand Up @@ -493,105 +505,142 @@ options:
description: |
The Graph skip sent folder. The default value is false.

# groupIndex: 10 Flow control
- name: "Validate Cluster Resource"
# group: 10 CP AI MCP Servers
- name: "CP AI MCP Server"
groupIndex: 10
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_TP_AI_DEPLOY_CP_MCP_SERVER"
description: |
The CP AI MCP Server. Default value is false. Select this checkbox to enable the CP AI MCP server.
- name: "CP AI MCP k8s"
groupIndex: 10
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_TP_AI_DEPLOY_K8S_MCP_SERVER"
description: |
The CP AI MCP k8s. Default value is false. Select this checkbox to enable the CP AI k8s MCP server.
- name: "CP AI MCP o11y"
groupIndex: 10
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_TP_AI_DEPLOY_O11Y_MCP_SERVER"
description: |
The CP AI MCP o11y. Default value is false. Select this checkbox to enable the CP AI o11y MCP server.
- name: "CP AI MCP BW"
groupIndex: 10
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_TP_AI_DEPLOY_BW_MCP_SERVER"
description: |
The CP AI MCP BW. Default value is false. Select this checkbox to enable the CP AI BW MCP server.
- name: "CP AI MCP FLOGO"
groupIndex: 10
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_TP_AI_DEPLOY_FLOGO_MCP_SERVER"
description: |
The CP AI MCP FLOGO. Default value is false. Select this checkbox to enable the CP AI FLOGO MCP server.

# groupIndex: 11 Flow control
- name: "Validate Cluster Resource"
groupIndex: 11
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_CP_VALIDATE_CLUSTER_RESOURCE"
description: |
Before deploying the CP, set ture to validate that all resources are properly configured.
- name: "Create CP namespace"
groupIndex: 10
groupIndex: 11
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_CP_CREATE_NAMESPACE"
description: |
Create the CP namespace, service account, network policy, DB secret and certificate secret
- name: "Install MailDev"
groupIndex: 10
groupIndex: 11
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_CP_INSTALL_MAILDEV"
description: "Install maildev for testing email"
- name: "Install MailDev Ingress"
groupIndex: 10
groupIndex: 11
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_CP_INSTALL_MAILDEV_INGRESS"
description: "Install maildev ingress for testing email"
- name: "Install platform-bootstrap"
groupIndex: 10
groupIndex: 11
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_CP_INSTALL_PLATFORM_BOOTSTRAP"
description: "Install platform-bootstrap"
- name: "Install platform-base"
groupIndex: 10
groupIndex: 11
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_CP_INSTALL_PLATFORM_BASE"
description: "Install platform-base"
- name: "Install recipes"
groupIndex: 10
groupIndex: 11
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_CP_INSTALL_RECIPES"
description: ""
- name: "Install integration"
groupIndex: 10
groupIndex: 11
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_CP_INSTALL_INTEGRATION"
description: ""
- name: "Install integration BW"
groupIndex: 10
groupIndex: 11
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_CP_INSTALL_INTEGRATION_BW"
description: "New values for 1.8.0 and later"
- name: "Install integration BWCE utilities"
groupIndex: 10
groupIndex: 11
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_CP_INSTALL_INTEGRATION_BWCE_UTILITIES"
- name: "Install integration BW5CE utilities"
groupIndex: 10
groupIndex: 11
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_CP_INSTALL_INTEGRATION_BW5CE_UTILITIES"
- name: "Install integration Flogo"
groupIndex: 10
groupIndex: 11
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_CP_INSTALL_INTEGRATION_FLOGO"
description: ""
- name: "Install integration Flogo utilities"
groupIndex: 10
groupIndex: 11
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_CP_INSTALL_INTEGRATION_FLOGO_UTILITIES"
description: ""
- name: "Install tibcohub-contrib"
groupIndex: 10
groupIndex: 11
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_CP_INSTALL_TIBCOHUB_CONTRIB"
description: ""
- name: "Install msg-contrib"
groupIndex: 10
groupIndex: 11
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_CP_INSTALL_MSG_CONTRIB"
description: ""
- name: "Install hawk"
groupIndex: 10
groupIndex: 11
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_CP_INSTALL_HAWK"
description: ""
- name: "Enable debug log"
groupIndex: 10
groupIndex: 11
type: boolean
guiType: checkbox
reference: "meta.guiEnv.GUI_PIPELINE_LOG_DEBUG"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ meta:
GUI_CP_GLOBAL_ENABLE_RESOURCE_CONSTRAINTS: true
GUI_CP_GLOBAL_USE_SINGLE_NAMESPACE: true

# CP AI MCP servers
GUI_TP_AI_DEPLOY_CP_MCP_SERVER: false
GUI_TP_AI_DEPLOY_K8S_MCP_SERVER: false
GUI_TP_AI_DEPLOY_O11Y_MCP_SERVER: false
GUI_TP_AI_DEPLOY_BW_MCP_SERVER: false
GUI_TP_AI_DEPLOY_FLOGO_MCP_SERVER: false

# network policy
GUI_TP_CREATE_NETWORK_POLICIES: false

Expand Down Expand Up @@ -239,6 +246,13 @@ meta:
CP_PLATFORM_BOOTSTRAP_VERSION: ${GUI_CP_PLATFORM_BOOTSTRAP_VERSION:-1.11.0} # use ^1.0.0 for latest
CP_PLATFORM_BASE_VERSION: ${GUI_CP_PLATFORM_BASE_VERSION:-1.11.0} # use ^1.0.0 for latest

# CP AI MCP servers
CP_ENABLE_AI_MCP: ${GUI_TP_AI_DEPLOY_CP_MCP_SERVER:-false}
CP_ENABLE_K8S: ${GUI_TP_AI_DEPLOY_K8S_MCP_SERVER:-false}
CP_ENABLE_AI_O11Y_MCP: ${GUI_TP_AI_DEPLOY_O11Y_MCP_SERVER:-false}
CP_ENABLE_AI_BW_MCP: ${GUI_TP_AI_DEPLOY_BW_MCP_SERVER:-false}
CP_ENABLE_AI_FLOGO_MCP: ${GUI_TP_AI_DEPLOY_FLOGO_MCP_SERVER:-false}

# flow control
CP_VALIDATE_CLUSTER_RESOURCE: ${GUI_CP_VALIDATE_CLUSTER_RESOURCE:-true}
CP_CREATE_NAMESPACE: ${GUI_CP_CREATE_NAMESPACE:-true}
Expand All @@ -258,7 +272,6 @@ meta:
CP_INSTALL_INTEGRATION_BW5CE_UTILITIES: ${GUI_CP_INSTALL_INTEGRATION_BW5CE_UTILITIES:-true} # Env for before 1.8.0
CP_INSTALL_INTEGRATION_FLOGO: ${GUI_CP_INSTALL_INTEGRATION_FLOGO:-true}
CP_INSTALL_INTEGRATION_FLOGO_UTILITIES: ${GUI_CP_INSTALL_INTEGRATION_FLOGO_UTILITIES:-true}
CP_INSTALL_MCP_SERVER: ${TP_AI_DEPLOY_CP_MCP_SERVER:-true}
tools:
yq: "4.40" # this also have the logic to create soft link of yq-4.40 --> yq
preTasks:
Expand Down Expand Up @@ -850,6 +863,16 @@ helmCharts:
enabled: ${CP_INSTALL_HAWK}
tp-cp-recipes:
enabled: ${CP_INSTALL_RECIPES}
tp-cp-o11y:
o11ymcpserver:
enabled: ${CP_ENABLE_AI_O11Y_MCP}
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 200m
memory: 512Mi
tp-cp-integration:
enabled: ${CP_INSTALL_INTEGRATION}
tp-cp-integration-common:
Expand All @@ -873,6 +896,15 @@ helmCharts:
limits:
cpu: 200m
memory: 200Mi
bwmcpserver:
enabled: ${CP_ENABLE_AI_BW_MCP}
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 200m
memory: 512Mi
tp-cp-bwce-utilities:
enabled: ${CP_INSTALL_INTEGRATION_BWCE_UTILITIES}
tp-cp-bw5ce-utilities:
Expand All @@ -888,6 +920,15 @@ helmCharts:
limits:
cpu: 200m
memory: 200Mi
mcpserver:
enabled: ${CP_ENABLE_AI_FLOGO_MCP}
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 200m
memory: 512Mi
tp-cp-flogo-utilities:
enabled: ${CP_INSTALL_INTEGRATION_FLOGO_UTILITIES}
tp-cp-core:
Expand Down Expand Up @@ -979,7 +1020,14 @@ helmCharts:
cpu: 200m
memory: 200Mi
cpmcpserver:
enabled: ${CP_INSTALL_MCP_SERVER:-true}
enabled: ${CP_ENABLE_AI_MCP}
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 200m
memory: 512Mi
tp-cp-core-finops:
finops-service:
finopsservice:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ meta:
PYTHON_FILE_ENTRY_POINT: page_dp.py
PYTHON_FILE_ENTRY_POINT_BMDP: page_bmdp.py
PYTHON_FILE_ENTRY_POINT_O11Y: page_o11y.py
PYTHON_FILE_ENTRY_POINT_TOKEN: page_token.py
PYTHON_FILE_ENV_POINT: page_env.py
TP_OVERWRITE_DNS: ${GUI_TP_OVERWRITE_DNS:-false}
TP_PORT_FORWARD: ${GUI_TP_PORT_FORWARD:-true}
Expand Down Expand Up @@ -438,11 +439,11 @@ tasks:
fi
fi

echo "===== Task Name: create-oauth-token, Running file ${PYTHON_FILE_ENTRY_POINT_O11Y} ====="
echo "===== Task Name: create-oauth-token, Running file ${PYTHON_FILE_ENTRY_POINT_TOKEN} ====="
if command -v uv >/dev/null 2>&1; then
uv run --active ${PYTHON_FILE_ENTRY_POINT_O11Y}
uv run --active ${PYTHON_FILE_ENTRY_POINT_TOKEN}
else
python ${PYTHON_FILE_ENTRY_POINT_O11Y}
python ${PYTHON_FILE_ENTRY_POINT_TOKEN}
fi
_result=$?
echo "python return code: ${_result}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ helmCharts:
enabled: true
image:
repository: ghcr.io/tibcosoftware/platform-provisioner/platform-provisioner
tag: 1.6.5-auto-on-prem-jammy
tag: 1.6.6-auto-on-prem-jammy
ports:
http:
enabled: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ helmCharts:
enabled: true
image:
repository: ghcr.io/tibcosoftware/platform-provisioner/platform-provisioner
tag: 1.6.5-auto-on-prem-jammy
tag: 1.6.6-auto-on-prem-jammy
ports:
http:
enabled: true
Expand Down
4 changes: 4 additions & 0 deletions docs/recipes/automation/tp-setup/bootstrap/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [10/07/2025 13:51]
### Fixed
- If button "Use Global Activation URL" is disabled, skip config it.

## [10/04/2025 22:17]
### Added
- Support for creating OAuth Token and saving it to kubernetes secret.
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/automation/tp-setup/bootstrap/page_dp.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
)
# Note: Will switch to global dataplane configuration, remove config dataplane level o11y
# po_dp_config.o11y_config_dataplane_resource(ENV.TP_AUTO_K8S_DP_NAME)
po_dp_config.o11y_config_activation(ENV.TP_AUTO_K8S_DP_NAME)
po_dp_config.o11y_config_switch_to_global(ENV.TP_AUTO_K8S_DP_NAME)
po_dp_config.o11y_config_activation(ENV.TP_AUTO_K8S_DP_NAME)

# for provision Flogo capability, connector, app, and start app
if ENV.TP_AUTO_IS_PROVISION_FLOGO:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -438,12 +438,14 @@ def dp_config_activation(self, dp_name, use_global = False):
return

if use_global:
self.page.locator(".dp-activation").wait_for(state="visible")
print(f"Checking if dataplane {dp_name} is able to use global activation url...")
if self.page.locator(".activation-server-url").is_visible():
current_activation_url = self.page.locator(".activation-server-url").inner_text()
ColorLogger.success(f"ENV.TP_ACTIVATION_URL is empty, but Activation URL '{current_activation_url}' is already exist for Data Plane '{dp_name}'.")
return
# if "Use Global Activation URL" button is visible but not enabled, skip config
if self.page.locator("#use-global-activation-on-dp").is_visible() and not self.page.locator("#use-global-activation-on-dp").is_enabled():
if self.page.locator("#use-global-activation-on-dp").is_visible() and "pcp-disabled" in (self.page.locator("#use-global-activation-on-dp").get_attribute("class") or ""):
ColorLogger.warning("'Use Global Activation URL' button is not enabled, skip config Activation url.")
return

Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/automation/tp-setup/bootstrap/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10/04/2025 22:17
10/07/2025 13:51
Loading