Skip to content

Conversation

@Walapalam
Copy link
Contributor

Purpose

Resolves #9872. PizzaShack sample fails in distributed setup because backend isn't included.

Goals

Instruct users to host the 'pizzashack.war' separately for distributed deployments.

Approach

Added an '!!! Note' block in 'deploying-wso2-api-m-in-a-distributed-setup.md'.

User stories

As a DevOps engineer, I want to know why PizzaShack isn't working in my distributed cluster.

Release note

Fixed documentation issue regarding Resolves #9872. PizzaShack sample fails in distributed setup because backend isn't included..

Documentation

Updates 'deploying-wso2-api-m-in-a-distributed-setup.md'.

Training

N/A

Certification

N/A

Marketing

N/A

Automation tests

  • Unit tests

    N/A (Documentation change only)

  • Integration tests

    N/A (Documentation change only)

Security checks

Samples

N/A

Related PRs

Parallel PR targeting 'master' branch.

Migrations (if applicable)

N/A

Test environment

Local MkDocs build.

Learning

Reviewed existing documentation and verified links/commands.

Copilot AI review requested due to automatic review settings January 5, 2026 18:26
@coderabbitai
Copy link

coderabbitai bot commented Jan 5, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@CLAassistant
Copy link

CLAassistant commented Jan 5, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds documentation to address issue #9872, where users encounter failures when trying to use the PizzaShack sample API in a distributed WSO2 API-M deployment. The change clarifies that the PizzaShack backend must be hosted separately in distributed setups.

  • Adds an informational Note block explaining the PizzaShack backend deployment requirement
  • Instructs users to host pizzashack.war on a separate application server or container
  • Ensures users understand the backend must be accessible to the Gateway component

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

To enable high availability, you need a minimum of two nodes running each component distribution.

!!! Note
To use the PizzaShack sample API in a distributed deployment, you need to host the sample PizzaShack backend (`pizzashack.war`) on a separate application server or container, as the backend is not included in the distributed API-M components by default. Ensure the backend URL is accessible to the Gateway.
Copy link

Copilot AI Jan 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using "component distributions" instead of "API-M components" to maintain consistency with the terminology used elsewhere in this document (see line 3 and line 8 which reference "component distribution").

Suggested change
To use the PizzaShack sample API in a distributed deployment, you need to host the sample PizzaShack backend (`pizzashack.war`) on a separate application server or container, as the backend is not included in the distributed API-M components by default. Ensure the backend URL is accessible to the Gateway.
To use the PizzaShack sample API in a distributed deployment, you need to host the sample PizzaShack backend (`pizzashack.war`) on a separate application server or container, as the backend is not included in the API-M component distributions by default. Ensure the backend URL is accessible to the Gateway.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants