Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Runtime Error for API Invocation with Security Set to 'None' When Production Endpoint is Missing #13602

Merged
merged 3 commits into from
Dec 13, 2024

Conversation

ashanhr
Copy link
Contributor

@ashanhr ashanhr commented Nov 4, 2024

Purpose

Approach

  • Updated the Velocity template to properly handle resources when security is set to 'None'.
  • Tested all possible scenarios across the Hybrid, Sandbox, and Production environments to ensure the fix resolves the issue without impacting other functionalities.
  • Add two tests for the hybrid gateway environment and the sandbox gateway environment,
    • In the hybrid gateway environment, the following scenarios are tested:
      • Both production and sandbox endpoints are available.
      • Only the production endpoint is available.
      • Only the sandbox endpoint is available.
    • In the sandbox gateway environment, the following scenarios are tested:
      • Both production and sandbox endpoints are available.
      • Only the sandbox endpoint is available.

tharikaGitHub
tharikaGitHub previously approved these changes Nov 4, 2024
@Krishanx92 Krishanx92 merged commit d40f413 into wso2:master Dec 13, 2024
7 checks passed
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.

3 participants