diff --git a/learn/on-premise/extensions/mb-integrate.md b/learn/on-premise/extensions/mb-integrate.md index 6da2db97b..d5d3d7059 100644 --- a/learn/on-premise/extensions/mb-integrate.md +++ b/learn/on-premise/extensions/mb-integrate.md @@ -9,46 +9,48 @@ id: "" ### Integrate Mockingbird with WME Platform - Make sure MockingBird domain is accessible with in developers and WME networks. -- Add the **loadBalancerSourceRanges** key in the **one-time-setup-values.yaml** file and replace [WHITELIST-IP-RANGE] property with concern network CIDR ranges +- Add the **loadBalancerSourceRanges** key in the **one-time-setup-values.yaml** file and replace ${WHITELIST-IP-RANGE} property with concern network CIDR ranges - Example ["1.2.3.4/32", "1.2.3.5/24"] -- Make sure that [MOCKINGBIRD-DOMAIN], [MOCKINGBIRD-STATIC-IP] as replaced with proper values. + + +- Make sure that ${} $${MOCKINGBIRD-DOMAIN} ${MOCKINGBIRD-STATIC-IP} as replaced with proper values. ```yaml global: - domainName: [MOCKINGBIRD-DOMAIN] + domainName: ${MOCKINGBIRD-DOMAIN} apimock-ingress-nginx: controller: service: - loadBalancerIP: [MOCKINGBIRD-STATIC-IP] - loadBalancerSourceRanges: [WHITELIST-IP-RANGE] + loadBalancerIP: ${MOCKINGBIRD-STATIC-IP} + loadBalancerSourceRanges: ${WHITELIST-IP-RANGE} ``` ```bash -helm upgrade mockingbird [HELM-PATCH-PACKAGE] -n mockingbird -f one-time-setup-values.yaml +helm upgrade mockingbird ${HELM-PACKAGE} -n mockingbird -f one-time-setup-values.yaml ``` ### Pairing up WME Platform and MockingBird Platform -- Here is the command to run from WME Pltform instance to integrate both the platforms +- Here is the command to run from WME Platform instance to integrate both the platforms ```bash -bash /usr/local/content/wme/wme-installer//wme-installer.sh --register_mocking_bird +bash /usr/local/content/wme/wme-installer//wme-installer.sh --register_mocking_bird ``` +- After entering the domain name of MockingBird the output screen will be as follows -![mb](/learn/assets/consul_mb_props.png)](/learn/assets/consul_mb_props.png) - +![mb](/learn/assets/consul_mb_props.png) ### Enable Mocking feature from WME Platform Launchpad team portal 1) Go to http://PLATFORM_DOMAIN/launchpad, select the "Teams" tab on the right nav and click on the permissions icon for the team that you want to enable APIMock server access as shown in the below screen. -![mb](/learn/assets/launchpad_mb_permission.png)](/learn/assets/launchpad_mb_permission.png) +![mb](/learn/assets/launchpad_mb_permission.png) 2) Select the project role for which the API Mock Server feature need to be enabled. -![mb](/learn/assets/launchpad_mb_enable.png)](/learn/assets/launchpad_mb_enable.png) +![mb](/learn/assets/launchpad_mb_enable.png) 3) Save the above changes as shown below. -![mb](/learn/assets/launchpad_mb_save.png)](/learn/assets/launchpad_mb_save.png) +![mb](/learn/assets/launchpad_mb_save.png)